hermes-cli-repair
Diagnose and repair a Hermes Agent install when the CLI won't even start (import-time crashes from shadowed stdlib modules, broken venv) and perform the…
Skill by RekapalliVasudeva-MBU
Chalk Labs
Need help deploying hermes-cli-repair?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/rekapallivasudeva-mbu-hermes-cli-repair
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/hermes-cli-repair
What's inside
- Skill name
hermes-cli-repair- Description
- Diagnose and repair a Hermes Agent install when the CLI won't even start (import-time crashes from shadowed stdlib modules, broken venv) and perform the Windows git-checkout self-update safely without breaking the gateway.
- License
- MIT
- Instructions
- 78 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: references/windows-update-procedure.md
- body: contains an absolute path from the author's machine
Files (2)
- SKILL.md
- import-crash-transcript.md · references/
SKILL.md (first lines)
# Hermes CLI Repair & Self-Update Use when `hermes` (or `hermes doctor`, `python -m pip`) crashes at import time before doing anything, OR when the user asks to update Hermes and the normal `hermes update` flow is unavailable/broken. **Overlap note:** the happy-path Windows update procedure also lives in the bundled `hermes-agent` skill (`references/windows-update-procedure.md`). This skill covers the *repair* class — when the CLI is dead on arrival and the standard update can't run — plus the git-checkout update with the stray-file rescue. Keep both; the curator consolidates. ## Signal 1 — ImportError at import time (CLI won't start) Symptom: every `hermes` call prints `Error processing line 1 of .../site-packages/__editable__.hermes_agent-*.pth` then `ImportError: cannot import name 'Sequence' from 'collections'`. ### Root cause (most common real case) A **top-level module in the venv's `site-packages` shadows a stdlib module**. The flagship case: the `pathlib` PyPI backport (package `pathlib-1.0.1`) drops a `pathlib.py` into site-packages that does `from collections import Sequence` — removed in Python 3.10+. It is NOT a Hermes dependency (Hermes uses stdlib `pathlib`), so it is always safe to remove. ### Diagnostic (don't guess — read the first traceback) 1. The `.pth` loader error names the broken file and the failing import. 2. The chain points at `site-packages/pathlib.py` line ~10 `from collections import Sequence`. 3. Confirm it's foreign: grep Hermes requirements — no standalone `pathlib` dep. 4. Confirm it's a separately-installed package: `ls -d venv/Lib/site-packages/pathlib*` ### Fix — remove by hand (pip is also broken by the shadow) The shadowed `pathlib` breaks pip's own entrypoint, so `python -m pip uninstall pathlib` crashes with the SAME ImportError. Delete the files directly: ```bash cd "<HERMES>/hermes-agent/venv/Lib/site-packages" rm -rf pathlib.py pathlib-1.0.1.dist-info # POSIX equivalent: rm -rf pathlib.py pathlib-*.dist-info ``` Verify: ```bash cd "<HERMES>/hermes-agent" ./venv/Scripts/hermes.exe --version # Windows # ./venv/bin/hermes --version # POSIX ``` If it prints a version instead of an ImportError, the blocker is cleared. Generic form of this class: ANY `ImportError`/`AttributeError` at import that names a stdlib module means a same-named top-level file in site-packages is shadowing it. Find the owning `*.dist-info`, confirm it's not a real dep, remove the file + dist-info, re-verify. ## Signal 2 — Updating Hermes on Windows (git-checkout method) Do NOT use `hermes update` if the CLI was broken, and do NOT stop the gateway yourself. 1. Source checkout: `C:\Users\<user>\AppData\Local\hermes\hermes-agent` (or `$HERMES_HOME/hermes-agent`). 2. `git stash` — preserve any local source mods. 3. `git fetch origin` 4. **Rescue stray root-level artifacts BEFORE cleaning** — they are untracked and `git clean -fd` would wipe them. Move files like `*.md` notes, `*.html`, scratch `*.py`, `*.orig`, and `nul` to `AppData\Local\hermes\update_backup\`. 5. `git clean -fd` — drops desktop-app source etc. that the new tag restores (safe). 6. `git checkout v2026.7.7.2` — pick the **newest stable tag** from `git tag --sort=-v:refname | head`. Prefer a release tag over `main` unless the user explicitly wants bleeding edge. 7. `./venv/Scripts/python.exe -m pip install -e . --force-reinstall --no-cache-dir` 8. Verify: `./venv/Scripts/hermes.exe --version` ### Pitfall: checkout aborts on untracked files `error: The following untracked working tree files would be overwritten by checkout` → rescue the stray non-repo files (step 4), then `git clean -fd` the rest, then retry the checkout. Do NOT force-checkout blindly over them. ### Pitfall: gateway still runs old code After update, the **running gateway holds old code in memory** — restarting it is the USER's call. Do not restart the gateway autonomously. Tell the user to send `/restart` (gateway) or restart the service. New `hermes` CLI invocations already use the new version. ### Pitfall: version still reports "behind" `hermes --version` may say "N commits behind" after a release-tag checkout — that's unreleased `main`. Confirm success via `git describe --tags` and `hermes_cli/__init__.py` `__version__`, both matching the target tag. ## Verification checklist - [ ] `hermes --version` prints the new version (not an ImportError) - [ ] `hermes doctor` runs; Python env + SSL show ✓ - [ ] `git describe --tags` matches intended tag - [ ] Gateway restart deferred to user ## References - `references/import-crash-transcript.md` — real error output for the pathlib backport case.
From RekapalliVasudeva-MBU/aether-desktop, MIT.
More from RekapalliVasudeva-MBU/aether-desktop
- 0.549score
azure-container-apps-deployment
RekapalliVasudeva-MBU
Deploy containerized Python apps (FastAPI, RAG, agent backends) to Azure Container Apps with cost optimization for free/student subscriptions.
SkillBFreshness: B★ 1Claude Code +9 - 0.548score
cloudflare-tunnel-management
RekapalliVasudeva-MBU
Manage Cloudflare Tunnel (cloudflared) for local server exposure with daily cron automation.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
autonomous-coding-agents
RekapalliVasudeva-MBU
Delegate coding to CLI agents — Codex, Claude Code, OpenCo — and orchestrate autonomous coding sessions via Hermes terminal.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
visual-design
RekapalliVasudeva-MBU
Visual design and creative coding: ASCII art, animations, diagrams, and generative visuals.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
multi-source-content-aggregation
RekapalliVasudeva-MBU
Automated content aggregation from multiple APIs (arXiv, Hacker News, RSS feeds, etc.) into curated digests.
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
azure-container-deployment
RekapalliVasudeva-MBU
Troubleshooting Azure container deployments (Container Apps, Container Instances, App Service) with focus on region restrictions, policy blocks, and…
SkillBFreshness: B★ 1Claude Code +9 - 0.537score
app-auto-update-crash-reporting
RekapalliVasudeva-MBU
Desktop app auto-update with GitHub Releases, crash reporting, and crash log collection.
SkillBFreshness: B★ 1Claude Code +9 - 0.536score
hermes-cron-debugging
RekapalliVasudeva-MBU
Diagnose and fix failing Hermes cron jobs — read output logs, identify model-related root causes (esp.
SkillBFreshness: B★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
- Last release
- Aug 27, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from RekapalliVasudeva-MBU
- 0.549score
azure-container-apps-deployment
RekapalliVasudeva-MBU
Deploy containerized Python apps (FastAPI, RAG, agent backends) to Azure Container Apps with cost optimization for free/student subscriptions.
SkillBFreshness: B★ 1Claude Code +9 - 0.548score
cloudflare-tunnel-management
RekapalliVasudeva-MBU
Manage Cloudflare Tunnel (cloudflared) for local server exposure with daily cron automation.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
autonomous-coding-agents
RekapalliVasudeva-MBU
Delegate coding to CLI agents — Codex, Claude Code, OpenCo — and orchestrate autonomous coding sessions via Hermes terminal.
SkillBFreshness: B★ 1Claude Code +9 - 0.547score
visual-design
RekapalliVasudeva-MBU
Visual design and creative coding: ASCII art, animations, diagrams, and generative visuals.
SkillBFreshness: B★ 1Claude Code +9 - 0.544score
multi-source-content-aggregation
RekapalliVasudeva-MBU
Automated content aggregation from multiple APIs (arXiv, Hacker News, RSS feeds, etc.) into curated digests.
SkillBFreshness: B★ 1Claude Code +9 - 0.539score
azure-container-deployment
RekapalliVasudeva-MBU
Troubleshooting Azure container deployments (Container Apps, Container Instances, App Service) with focus on region restrictions, policy blocks, and…
SkillBFreshness: B★ 1Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get hermes-cli-repair running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
hermes-cli-repair skill. Agent Mart. https://agentmart.dev/skills/rekapallivasudeva-mbu-hermes-cli-repair (last updated 2026-10-24)