[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JENC30HM3HS6HQJM2T4VRF":3,"skill-same:01M6JENC30HM3HS6HQJM2T4VRF":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":22,"publishedAt":40,"linkOnly":41,"markdownContent":42,"markdownBody":43,"frontMatter":44,"refName":53,"commitSha":54,"skillDirectory":55,"forksCount":56,"repositoryHtmlUrl":57,"repositoryHomepageUrl":58,"ownerHtmlUrl":59,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":60,"install":61,"resources":74},"01M6JENC30HM3HS6HQJM2T4VRF","hermes-agent",null,"Configure, extend, or contribute to Hermes Agent.","S3YED\u002Fappie-kit","S3YED","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F62743867?v=4","01M6JBKBRRVP6KMS0VWZ27T3R6","01M6JBKBX0KG30284PW1DBYJT1",14,"MIT","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fmisc\u002Fhermes-agent\u002FSKILL.md",[17],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[23,24,25,5,26,27,28,29,30,31,32,33,34,35,36,37,38,39],"hermes agent","hermes","contribute","multi","claude-code","configuration","opencode","multi-agent","cli","configure","https","gateway","code","development","setup","codex","github","2026-11-10 10:12:30",false,"---\nname: hermes-agent\ndescription: \"Configure, extend, or contribute to Hermes Agent.\"\nversion: 2.1.0\nauthor: Hermes Agent + Teknium\nlicense: MIT\nmetadata:\n  hermes:\n    tags: [hermes, setup, configuration, multi-agent, spawning, cli, gateway, development]\n    homepage: https:\u002F\u002Fgithub.com\u002FNousResearch\u002Fhermes-agent\n    related_skills: [claude-code, codex, opencode]\n---\n\n# Hermes Agent\n\nHermes Agent is an open-source AI agent framework by Nous Research that runs in your terminal, messaging platforms, and IDEs. It belongs to the same category as Claude Code (Anthropic), Codex (OpenAI), and OpenClaw — autonomous coding and task-execution agents that use tool calling to interact with your system. Hermes works with any LLM provider (OpenRouter, Anthropic, OpenAI, DeepSeek, local models, and 15+ others) and runs on Linux, macOS, and WSL.\n\nWhat makes Hermes different:\n\n- **Self-improving through skills** — Hermes learns from experience by saving reusable procedures as skills. When it solves a complex problem, discovers a workflow, or gets corrected, it can persist that knowledge as a skill document that loads into future sessions. Skills accumulate over time, making the agent better at your specific tasks and environment.\n- **Persistent memory across sessions** — remembers who you are, your preferences, environment details, and lessons learned. Pluggable memory backends (built-in, Honcho, Mem0, and more) let you choose how memory works.\n- **Multi-platform gateway** — the same agent runs on Telegram, Discord, Slack, WhatsApp, Signal, Matrix, Email, and 10+ other platforms with full tool access, not just chat.\n- **Provider-agnostic** — swap models and providers mid-workflow without changing anything else. Credential pools rotate across multiple API keys automatically.\n- **Profiles** — run multiple independent Hermes instances with isolated configs, sessions, skills, and memory.\n- **Extensible** — plugins, MCP servers, custom tools, webhook triggers, cron scheduling, and the full Python ecosystem.\n\nPeople use Hermes for software development, research, system administration, data analysis, content creation, home automation, and anything else that benefits from an AI agent with persistent context and full system access.\n\n**This skill helps you work with Hermes Agent effectively** — setting it up, configuring features, spawning additional agent instances, troubleshooting issues, finding the right commands and settings, and understanding how the system works when you need to extend or contribute to it.\n\n**Docs:** https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002F\n\n## Quick Start\n\n```bash\n# Install\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FNousResearch\u002Fhermes-agent\u002Fmain\u002Fscripts\u002Finstall.sh | bash\n\n# Interactive chat (default)\nhermes\n\n# Single query\nhermes chat -q \"What is the capital of France?\"\n\n# Setup wizard\nhermes setup\n\n# Change model\u002Fprovider\nhermes model\n\n# Check health\nhermes doctor\n```\n\n---\n\n## CLI Reference\n\n### Global Flags\n\n```\nhermes [flags] [command]\n\n  --version, -V             Show version\n  --resume, -r SESSION      Resume session by ID or title\n  --continue, -c [NAME]     Resume by name, or most recent session\n  --worktree, -w            Isolated git worktree mode (parallel agents)\n  --skills, -s SKILL        Preload skills (comma-separate or repeat)\n  --profile, -p NAME        Use a named profile\n  --yolo                    Skip dangerous command approval\n  --pass-session-id         Include session ID in system prompt\n```\n\nNo subcommand defaults to `chat`.\n\n### Chat\n\n```\nhermes chat [flags]\n  -q, --query TEXT          Single query, non-interactive\n  -m, --model MODEL         Model (e.g. anthropic\u002Fclaude-sonnet-4)\n  -t, --toolsets LIST       Comma-separated toolsets\n  --provider PROVIDER       Force provider (openrouter, anthropic, nous, etc.)\n  -v, --verbose             Verbose output\n  -Q, --quiet               Suppress banner, spinner, tool previews\n  --checkpoints             Enable filesystem checkpoints (\u002Frollback)\n  --source TAG              Session source tag (default: cli)\n```\n\n### Configuration\n\n```\nhermes setup [section]      Interactive wizard (model|terminal|gateway|tools|agent)\nhermes model                Interactive model\u002Fprovider picker\nhermes config               View current config\nhermes config edit          Open config.yaml in $EDITOR\nhermes config set KEY VAL   Set a config value\nhermes config path          Print config.yaml path\nhermes config env-path      Print .env path\nhermes config check         Check for missing\u002Foutdated config\nhermes config migrate       Update config with new options\nhermes login [--provider P] OAuth login (nous, openai-codex)\nhermes logout               Clear stored auth\nhermes doctor [--fix]       Check dependencies and config\nhermes status [--all]       Show component status\n```\n\n### Tools & Skills\n\n```\nhermes tools                Interactive tool enable\u002Fdisable (curses UI)\nhermes tools list           Show all tools and status\nhermes tools enable NAME    Enable a toolset\nhermes tools disable NAME   Disable a toolset\n\nhermes skills list          List installed skills\nhermes skills search QUERY  Search the skills hub\nhermes skills install ID    Install a skill (ID can be a hub identifier OR a direct https:\u002F\u002F…\u002FSKILL.md URL; pass --name to override when frontmatter has no name)\nhermes skills inspect ID    Preview without installing\nhermes skills config        Enable\u002Fdisable skills per platform\nhermes skills check         Check for updates\nhermes skills update        Update outdated skills\nhermes skills uninstall N   Remove a hub skill\nhermes skills publish PATH  Publish to registry\nhermes skills browse        Browse all available skills\nhermes skills tap add REPO  Add a GitHub repo as skill source\n```\n\n### MCP Servers\n\n```\nhermes mcp serve            Run Hermes as an MCP server\nhermes mcp add NAME         Add an MCP server (--url or --command)\nhermes mcp remove NAME      Remove an MCP server\nhermes mcp list             List configured servers\nhermes mcp test NAME        Test connection\nhermes mcp configure NAME   Toggle tool selection\n```\n\n### Gateway (Messaging Platforms)\n\n```\nhermes gateway run          Start gateway foreground\nhermes gateway install      Install as background service\nhermes gateway start\u002Fstop   Control the service\nhermes gateway restart      Restart the service\nhermes gateway status       Check status\nhermes gateway setup        Configure platforms\n```\n\nSupported platforms: Telegram, Discord, Slack, WhatsApp, Signal, Email, SMS, Matrix, Mattermost, Home Assistant, DingTalk, Feishu, WeCom, BlueBubbles (iMessage), Weixin (WeChat), API Server, Webhooks. Open WebUI connects via the API Server adapter.\n\nPlatform docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fmessaging\u002F\n\n### Sessions\n\n```\nhermes sessions list        List recent sessions\nhermes sessions browse      Interactive picker\nhermes sessions export OUT  Export to JSONL\nhermes sessions rename ID T Rename a session\nhermes sessions delete ID   Delete a session\nhermes sessions prune       Clean up old sessions (--older-than N days)\nhermes sessions stats       Session store statistics\n```\n\n### Cron Jobs\n\n```\nhermes cron list            List jobs (--all for disabled)\nhermes cron create SCHED    Create: '30m', 'every 2h', '0 9 * * *'\nhermes cron edit ID         Edit schedule, prompt, delivery\nhermes cron pause\u002Fresume ID Control job state\nhermes cron run ID          Trigger on next tick\nhermes cron remove ID       Delete a job\nhermes cron status          Scheduler status\n```\n\n### Webhooks\n\n```\nhermes webhook subscribe N  Create route at \u002Fwebhooks\u002F\u003Cname>\nhermes webhook list         List subscriptions\nhermes webhook remove NAME  Remove a subscription\nhermes webhook test NAME    Send a test POST\n```\n\n### Profiles\n\n```\nhermes profile list         List all profiles\nhermes profile create NAME  Create (--clone, --clone-all, --clone-from)\nhermes profile use NAME     Set sticky default\nhermes profile delete NAME  Delete a profile\nhermes profile show NAME    Show details\nhermes profile alias NAME   Manage wrapper scripts\nhermes profile rename A B   Rename a profile\nhermes profile export NAME  Export to tar.gz\nhermes profile import FILE  Import from archive\n```\n\n### Credential Pools\n\n```\nhermes auth add             Interactive credential wizard\nhermes auth list [PROVIDER] List pooled credentials\nhermes auth remove P INDEX  Remove by provider + index\nhermes auth reset PROVIDER  Clear exhaustion status\n```\n\n### Other\n\n```\nhermes insights [--days N]  Usage analytics\nhermes update               Update to latest version\nhermes pairing list\u002Fapprove\u002Frevoke  DM authorization\nhermes plugins list\u002Finstall\u002Fremove  Plugin management\nhermes honcho setup\u002Fstatus  Honcho memory integration (requires honcho plugin)\nhermes memory setup\u002Fstatus\u002Foff  Memory provider config\nhermes completion bash|zsh  Shell completions\nhermes acp                  ACP server (IDE integration)\nhermes claw migrate         Migrate from OpenClaw\nhermes uninstall            Uninstall Hermes\n```\n\n---\n\n## Slash Commands (In-Session)\n\nType these during an interactive chat session. New commands land fairly\noften; if something below looks stale, run `\u002Fhelp` in-session for the\nauthoritative list or see the [live slash commands reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fslash-commands).\nThe registry of record is `hermes_cli\u002Fcommands.py` — every consumer\n(autocomplete, Telegram menu, Slack mapping, `\u002Fhelp`) derives from it.\n\n### Session Control\n```\n\u002Fnew (\u002Freset)        Fresh session\n\u002Fclear               Clear screen + new session (CLI)\n\u002Fretry               Resend last message\n\u002Fundo                Remove last exchange\n\u002Ftitle [name]        Name the session\n\u002Fcompress            Manually compress context\n\u002Fstop                Kill background processes\n\u002Frollback [N]        Restore filesystem checkpoint\n\u002Fsnapshot [sub]      Create or restore state snapshots of Hermes config\u002Fstate (CLI)\n\u002Fbackground \u003Cprompt> Run prompt in background\n\u002Fqueue \u003Cprompt>      Queue for next turn\n\u002Fsteer \u003Cprompt>      Inject a message after the next tool call without interrupting\n\u002Fagents (\u002Ftasks)     Show active agents and running tasks\n\u002Fresume [name]       Resume a named session\n\u002Fgoal [text|sub]     Set a standing goal Hermes works on across turns until achieved\n                     (subcommands: status, pause, resume, clear)\n\u002Fredraw              Force a full UI repaint (CLI)\n```\n\n### Configuration\n```\n\u002Fconfig              Show config (CLI)\n\u002Fmodel [name]        Show or change model\n\u002Fpersonality [name]  Set personality\n\u002Freasoning [level]   Set reasoning (none|minimal|low|medium|high|xhigh|show|hide)\n\u002Fverbose             Cycle: off → new → all → verbose\n\u002Fvoice [on|off|tts]  Voice mode\n\u002Fyolo                Toggle approval bypass\n\u002Fbusy [sub]          Control what Enter does while Hermes is working (CLI)\n                     (subcommands: queue, steer, interrupt, status)\n\u002Findicator [style]   Pick the TUI busy-indicator style (CLI)\n                     (styles: kaomoji, emoji, unicode, ascii)\n\u002Ffooter [on|off]     Toggle gateway runtime-metadata footer on final replies\n\u002Fskin [name]         Change theme (CLI)\n\u002Fstatusbar           Toggle status bar (CLI)\n```\n\n### Tools & Skills\n```\n\u002Ftools               Manage tools (CLI)\n\u002Ftoolsets            List toolsets (CLI)\n\u002Fskills              Search\u002Finstall skills (CLI)\n\u002Fskill \u003Cname>        Load a skill into session\n\u002Freload-skills       Re-scan ~\u002F.hermes\u002Fskills\u002F for added\u002Fremoved skills\n\u002Freload              Reload .env variables into the running session (CLI)\n\u002Freload-mcp          Reload MCP servers\n\u002Fcron                Manage cron jobs (CLI)\n\u002Fcurator [sub]       Background skill maintenance (status, run, pin, archive, …)\n\u002Fkanban [sub]        Multi-profile collaboration board (tasks, links, comments)\n\u002Fplugins             List plugins (CLI)\n```\n\n### Gateway\n```\n\u002Fapprove             Approve a pending command (gateway)\n\u002Fdeny                Deny a pending command (gateway)\n\u002Frestart             Restart gateway (gateway)\n\u002Fsethome             Set current chat as home channel (gateway)\n\u002Fupdate              Update Hermes to latest (gateway)\n\u002Ftopic [sub]         Enable or inspect Telegram DM topic sessions (gateway)\n\u002Fplatforms (\u002Fgateway) Show platform connection status (gateway)\n```\n\n### Utility\n```\n\u002Fbranch (\u002Ffork)      Branch the current session\n\u002Ffast                Toggle priority\u002Ffast processing\n\u002Fbrowser             Open CDP browser connection\n\u002Fhistory             Show conversation history (CLI)\n\u002Fsave                Save conversation to file (CLI)\n\u002Fcopy [N]            Copy the last assistant response to clipboard (CLI)\n\u002Fpaste               Attach clipboard image (CLI)\n\u002Fimage               Attach local image file (CLI)\n```\n\n### Info\n```\n\u002Fhelp                Show commands\n\u002Fcommands [page]     Browse all commands (gateway)\n\u002Fusage               Token usage\n\u002Finsights [days]     Usage analytics\n\u002Fgquota              Show Google Gemini Code Assist quota usage (CLI)\n\u002Fstatus              Session info (gateway)\n\u002Fprofile             Active profile info\n\u002Fdebug               Upload debug report (system info + logs) and get shareable links\n```\n\n### Exit\n```\n\u002Fquit (\u002Fexit, \u002Fq)    Exit CLI\n```\n\n---\n\n## Key Paths & Config\n\n```\n~\u002F.hermes\u002Fconfig.yaml       Main configuration\n~\u002F.hermes\u002F.env              API keys and secrets\n$HERMES_HOME\u002Fskills\u002F        Installed skills\n~\u002F.hermes\u002Fsessions\u002F         Session transcripts\n~\u002F.hermes\u002Flogs\u002F             Gateway and error logs\n~\u002F.hermes\u002Fauth.json         OAuth tokens and credential pools\n~\u002F.hermes\u002Fhermes-agent\u002F     Source code (if git-installed)\n```\n\nProfiles use `~\u002F.hermes\u002Fprofiles\u002F\u003Cname>\u002F` with the same layout.\n\n### Config Sections\n\nEdit with `hermes config edit` or `hermes config set section.key value`.\n\n| Section | Key options |\n|---------|-------------|\n| `model` | `default`, `provider`, `base_url`, `api_key`, `context_length` |\n| `agent` | `max_turns` (90), `tool_use_enforcement` |\n| `terminal` | `backend` (local\u002Fdocker\u002Fssh\u002Fmodal), `cwd`, `timeout` (180) |\n| `compression` | `enabled`, `threshold` (0.50), `target_ratio` (0.20) |\n| `display` | `skin`, `tool_progress`, `show_reasoning`, `show_cost` |\n| `stt` | `enabled`, `provider` (local\u002Fgroq\u002Fopenai\u002Fmistral) |\n| `tts` | `provider` (edge\u002Felevenlabs\u002Fopenai\u002Fminimax\u002Fmistral\u002Fneutts) |\n| `memory` | `memory_enabled`, `user_profile_enabled`, `provider` |\n| `security` | `tirith_enabled`, `website_blocklist` |\n| `delegation` | `model`, `provider`, `base_url`, `api_key`, `max_iterations` (50), `reasoning_effort` |\n| `checkpoints` | `enabled`, `max_snapshots` (50) |\n\nFull config reference: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fconfiguration\n\n### Providers\n\n20+ providers supported. Set via `hermes model` or `hermes setup`.\n\n| Provider | Auth | Key env var |\n|----------|------|-------------|\n| OpenRouter | API key | `OPENROUTER_API_KEY` |\n| Anthropic | API key | `ANTHROPIC_API_KEY` |\n| Nous Portal | OAuth | `hermes auth` |\n| OpenAI Codex | OAuth | `hermes auth` |\n| GitHub Copilot | Token | `COPILOT_GITHUB_TOKEN` |\n| Google Gemini | API key | `GOOGLE_API_KEY` or `GEMINI_API_KEY` |\n| DeepSeek | API key | `DEEPSEEK_API_KEY` |\n| xAI \u002F Grok | API key | `XAI_API_KEY` |\n| Hugging Face | Token | `HF_TOKEN` |\n| Z.AI \u002F GLM | API key | `GLM_API_KEY` |\n| MiniMax | API key | `MINIMAX_API_KEY` |\n| MiniMax CN | API key | `MINIMAX_CN_API_KEY` |\n| Kimi \u002F Moonshot | API key | `KIMI_API_KEY` |\n| Alibaba \u002F DashScope | API key | `DASHSCOPE_API_KEY` |\n| Xiaomi MiMo | API key | `XIAOMI_API_KEY` |\n| Kilo Code | API key | `KILOCODE_API_KEY` |\n| AI Gateway (Vercel) | API key | `AI_GATEWAY_API_KEY` |\n| OpenCode Zen | API key | `OPENCODE_ZEN_API_KEY` |\n| OpenCode Go | API key | `OPENCODE_GO_API_KEY` |\n| Qwen OAuth | OAuth | `hermes login --provider qwen-oauth` |\n| Custom endpoint | Config | `model.base_url` + `model.api_key` in config.yaml |\n| GitHub Copilot ACP | External | `COPILOT_CLI_PATH` or Copilot CLI |\n\nFull provider docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fintegrations\u002Fproviders\n\n### Toolsets\n\nEnable\u002Fdisable via `hermes tools` (interactive) or `hermes tools enable\u002Fdisable NAME`.\n\n| Toolset | What it provides |\n|---------|-----------------|\n| `web` | Web search and content extraction |\n| `search` | Web search only (subset of `web`) |\n| `browser` | Browser automation (Browserbase, Camofox, or local Chromium) |\n| `terminal` | Shell commands and process management |\n| `file` | File read\u002Fwrite\u002Fsearch\u002Fpatch |\n| `code_execution` | Sandboxed Python execution |\n| `vision` | Image analysis |\n| `image_gen` | AI image generation |\n| `video` | Video analysis and generation |\n| `tts` | Text-to-speech |\n| `skills` | Skill browsing and management |\n| `memory` | Persistent cross-session memory |\n| `session_search` | Search past conversations |\n| `delegation` | Subagent task delegation |\n| `cronjob` | Scheduled task management |\n| `clarify` | Ask user clarifying questions |\n| `messaging` | Cross-platform message sending |\n| `todo` | In-session task planning and tracking |\n| `kanban` | Multi-agent work-queue tools (gated to workers) |\n| `debugging` | Extra introspection\u002Fdebug tools (off by default) |\n| `safe` | Minimal, low-risk toolset for locked-down sessions |\n| `spotify` | Spotify playback and playlist control |\n| `homeassistant` | Smart home control (off by default) |\n| `discord` | Discord integration tools |\n| `discord_admin` | Discord admin\u002Fmoderation tools |\n| `feishu_doc` | Feishu (Lark) document tools |\n| `feishu_drive` | Feishu (Lark) drive tools |\n| `yuanbao` | Yuanbao integration tools |\n| `rl` | Reinforcement learning tools (off by default) |\n| `moa` | Mixture of Agents (off by default) |\n\nFull enumeration lives in `toolsets.py` as the `TOOLSETS` dict; `_HERMES_CORE_TOOLS` is the default bundle most platforms inherit from.\n\nTool changes take effect on `\u002Freset` (new session). They do NOT apply mid-conversation to preserve prompt caching.\n\n---\n\n## Security & Privacy Toggles\n\nCommon \"why is Hermes doing X to my output \u002F tool calls \u002F commands?\" toggles — and the exact commands to change them. Most of these need a fresh session (`\u002Freset` in chat, or start a new `hermes` invocation) because they're read once at startup.\n\n### Secret redaction in tool output\n\nSecret redaction is **off by default** — tool output (terminal stdout, `read_file`, web content, subagent summaries, etc.) passes through unmodified. If the user wants Hermes to auto-mask strings that look like API keys, tokens, and secrets before they enter the conversation context and logs:\n\n```bash\nhermes config set security.redact_secrets true       # enable globally\n```\n\n**Restart required.** `security.redact_secrets` is snapshotted at import time — toggling it mid-session (e.g. via `export HERMES_REDACT_SECRETS=true` from a tool call) will NOT take effect for the running process. Tell the user to run `hermes config set security.redact_secrets true` in a terminal, then start a new session. This is deliberate — it prevents an LLM from flipping the toggle on itself mid-task.\n\nDisable again with:\n```bash\nhermes config set security.redact_secrets false\n```\n\n### PII redaction in gateway messages\n\nSeparate from secret redaction. When enabled, the gateway hashes user IDs and strips phone numbers from the session context before it reaches the model:\n\n```bash\nhermes config set privacy.redact_pii true    # enable\nhermes config set privacy.redact_pii false   # disable (default)\n```\n\n### Command approval prompts\n\nBy default (`approvals.mode: manual`), Hermes prompts the user before running shell commands flagged as destructive (`rm -rf`, `git reset --hard`, etc.). The modes are:\n\n- `manual` — always prompt (default)\n- `smart` — use an auxiliary LLM to auto-approve low-risk commands, prompt on high-risk\n- `off` — skip all approval prompts (equivalent to `--yolo`)\n\n```bash\nhermes config set approvals.mode smart       # recommended middle ground\nhermes config set approvals.mode off         # bypass everything (not recommended)\n```\n\nPer-invocation bypass without changing config:\n- `hermes --yolo …`\n- `export HERMES_YOLO_MODE=1`\n\nNote: YOLO \u002F `approvals.mode: off` does NOT turn off secret redaction. They are independent.\n\n### Shell hooks allowlist\n\nSome shell-hook integrations require explicit allowlisting before they fire. Managed via `~\u002F.hermes\u002Fshell-hooks-allowlist.json` — prompted interactively the first time a hook wants to run.\n\n### Disabling the web\u002Fbrowser\u002Fimage-gen tools\n\nTo keep the model away from network or media tools entirely, open `hermes tools` and toggle per-platform. Takes effect on next session (`\u002Freset`). See the Tools & Skills section above.\n\n---\n\n## Voice & Transcription\n\n### STT (Voice → Text)\n\nVoice messages from messaging platforms are auto-transcribed.\n\nProvider priority (auto-detected):\n1. **Local faster-whisper** — free, no API key: `pip install faster-whisper`\n2. **Groq Whisper** — free tier: set `GROQ_API_KEY`\n3. **OpenAI Whisper** — paid: set `VOICE_TOOLS_OPENAI_KEY`\n4. **Mistral Voxtral** — set `MISTRAL_API_KEY`\n\nConfig:\n```yaml\nstt:\n  enabled: true\n  provider: local        # local, groq, openai, mistral\n  local:\n    model: base          # tiny, base, small, medium, large-v3\n```\n\n### TTS (Text → Voice)\n\n| Provider | Env var | Free? |\n|----------|---------|-------|\n| Edge TTS | None | Yes (default) |\n| ElevenLabs | `ELEVENLABS_API_KEY` | Free tier |\n| OpenAI | `VOICE_TOOLS_OPENAI_KEY` | Paid |\n| MiniMax | `MINIMAX_API_KEY` | Paid |\n| Mistral (Voxtral) | `MISTRAL_API_KEY` | Paid |\n| NeuTTS (local) | None (`pip install neutts[all]` + `espeak-ng`) | Free |\n\nVoice commands: `\u002Fvoice on` (voice-to-voice), `\u002Fvoice tts` (always voice), `\u002Fvoice off`.\n\n---\n\n## Spawning Additional Hermes Instances\n\nRun additional Hermes processes as fully independent subprocesses — separate sessions, tools, and environments.\n\n### When to Use This vs delegate_task\n\n| | `delegate_task` | Spawning `hermes` process |\n|-|-----------------|--------------------------|\n| Isolation | Separate conversation, shared process | Fully independent process |\n| Duration | Minutes (bounded by parent loop) | Hours\u002Fdays |\n| Tool access | Subset of parent's tools | Full tool access |\n| Interactive | No | Yes (PTY mode) |\n| Use case | Quick parallel subtasks | Long autonomous missions |\n\n### One-Shot Mode\n\n```\nterminal(command=\"hermes chat -q 'Research GRPO papers and write summary to ~\u002Fresearch\u002Fgrpo.md'\", timeout=300)\n\n# Background for long tasks:\nterminal(command=\"hermes chat -q 'Set up CI\u002FCD for ~\u002Fmyapp'\", background=true)\n```\n\n### Interactive PTY Mode (via tmux)\n\nHermes uses prompt_toolkit, which requires a real terminal. Use tmux for interactive spawning:\n\n```\n# Start\nterminal(command=\"tmux new-session -d -s agent1 -x 120 -y 40 'hermes'\", timeout=10)\n\n# Wait for startup, then send a message\nterminal(command=\"sleep 8 && tmux send-keys -t agent1 'Build a FastAPI auth service' Enter\", timeout=15)\n\n# Read output\nterminal(command=\"sleep 20 && tmux capture-pane -t agent1 -p\", timeout=5)\n\n# Send follow-up\nterminal(command=\"tmux send-keys -t agent1 'Add rate limiting middleware' Enter\", timeout=5)\n\n# Exit\nterminal(command=\"tmux send-keys -t agent1 '\u002Fexit' Enter && sleep 2 && tmux kill-session -t agent1\", timeout=10)\n```\n\n### Multi-Agent Coordination\n\n```\n# Agent A: backend\nterminal(command=\"tmux new-session -d -s backend -x 120 -y 40 'hermes -w'\", timeout=10)\nterminal(command=\"sleep 8 && tmux send-keys -t backend 'Build REST API for user management' Enter\", timeout=15)\n\n# Agent B: frontend\nterminal(command=\"tmux new-session -d -s frontend -x 120 -y 40 'hermes -w'\", timeout=10)\nterminal(command=\"sleep 8 && tmux send-keys -t frontend 'Build React dashboard for user management' Enter\", timeout=15)\n\n# Check progress, relay context between them\nterminal(command=\"tmux capture-pane -t backend -p | tail -30\", timeout=5)\nterminal(command=\"tmux send-keys -t frontend 'Here is the API schema from the backend agent: ...' Enter\", timeout=5)\n```\n\n### Session Resume\n\n```\n# Resume most recent session\nterminal(command=\"tmux new-session -d -s resumed 'hermes --continue'\", timeout=10)\n\n# Resume specific session\nterminal(command=\"tmux new-session -d -s resumed 'hermes --resume 20260225_143052_a1b2c3'\", timeout=10)\n```\n\n### Tips\n\n- **Prefer `delegate_task` for quick subtasks** — less overhead than spawning a full process\n- **Use `-w` (worktree mode)** when spawning agents that edit code — prevents git conflicts\n- **Set timeouts** for one-shot mode — complex tasks can take 5-10 minutes\n- **Use `hermes chat -q` for fire-and-forget** — no PTY needed\n- **Use tmux for interactive sessions** — raw PTY mode has `\\r` vs `\\n` issues with prompt_toolkit\n- **For scheduled tasks**, use the `cronjob` tool instead of spawning — handles delivery and retry\n\n---\n\n## Durable & Background Systems\n\nFour systems run alongside the main conversation loop. Quick reference\nhere; full developer notes live in `AGENTS.md`, user-facing docs under\n`website\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002F`.\n\n### Delegation (`delegate_task`)\n\nSynchronous subagent spawn — the parent waits for the child's summary\nbefore continuing its own loop. Isolated context + terminal session.\n\n- **Single:** `delegate_task(goal, context, toolsets)`.\n- **Batch:** `delegate_task(tasks=[{goal, ...}, ...])` runs children in\n  parallel, capped by `delegation.max_concurrent_children` (default 3).\n- **Roles:** `leaf` (default; cannot re-delegate) vs `orchestrator`\n  (can spawn its own workers, bounded by `delegation.max_spawn_depth`).\n- **Not durable.** If the parent is interrupted, the child is\n  cancelled. For work that must outlive the turn, use `cronjob` or\n  `terminal(background=True, notify_on_complete=True)`.\n\nConfig: `delegation.*` in `config.yaml`.\n\n### Cron (scheduled jobs)\n\nDurable scheduler — `cron\u002Fjobs.py` + `cron\u002Fscheduler.py`. Drive it via\nthe `cronjob` tool, the `hermes cron` CLI (`list`, `add`, `edit`,\n`pause`, `resume`, `run`, `remove`), or the `\u002Fcron` slash command.\n\n- **Schedules:** duration (`\"30m\"`, `\"2h\"`), \"every\" phrase\n  (`\"every monday 9am\"`), 5-field cron (`\"0 9 * * *\"`), or ISO timestamp.\n- **Per-job knobs:** `skills`, `model`\u002F`provider` override, `script`\n  (pre-run data collection; `no_agent=True` makes the script the whole\n  job), `context_from` (chain job A's output into job B), `workdir`\n  (run in a specific dir with its `AGENTS.md` \u002F `CLAUDE.md` loaded),\n  multi-platform delivery.\n- **Invariants:** 3-minute hard interrupt per run, `.tick.lock` file\n  prevents duplicate ticks across processes, cron sessions pass\n  `skip_memory=True` by default, and cron deliveries are framed with a\n  header\u002Ffooter instead of being mirrored into the target gateway\n  session (keeps role alternation intact).\n\nUser docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fcron\n\n### Curator (skill lifecycle)\n\nBackground maintenance for agent-created skills. Tracks usage, marks\nidle skills stale, archives stale ones, keeps a pre-run tar.gz backup\nso nothing is lost.\n\n- **CLI:** `hermes curator \u003Cverb>` — `status`, `run`, `pause`, `resume`,\n  `pin`, `unpin`, `archive`, `restore`, `prune`, `backup`, `rollback`.\n- **Slash:** `\u002Fcurator \u003Csubcommand>` mirrors the CLI.\n- **Scope:** only touches skills with `created_by: \"agent\"` provenance.\n  Bundled + hub-installed skills are off-limits. **Never deletes** —\n  max destructive action is archive. Pinned skills are exempt from\n  every auto-transition and every LLM review pass.\n- **Telemetry:** sidecar at `~\u002F.hermes\u002Fskills\u002F.usage.json` holds\n  per-skill `use_count`, `view_count`, `patch_count`,\n  `last_activity_at`, `state`, `pinned`.\n\nConfig: `curator.*` (`enabled`, `interval_hours`, `min_idle_hours`,\n`stale_after_days`, `archive_after_days`, `backup.*`).\nUser docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fcurator\n\n### Kanban (multi-agent work queue)\n\nDurable SQLite board for multi-profile \u002F multi-worker collaboration.\nUsers drive it via `hermes kanban \u003Cverb>`; dispatcher-spawned workers\nsee a focused `kanban_*` toolset gated by `HERMES_KANBAN_TASK` so the\nschema footprint is zero outside worker processes.\n\n- **CLI verbs (common):** `init`, `create`, `list` (alias `ls`),\n  `show`, `assign`, `link`, `unlink`, `comment`, `complete`, `block`,\n  `unblock`, `archive`, `tail`. Less common: `watch`, `stats`, `runs`,\n  `log`, `dispatch`, `daemon`, `gc`.\n- **Worker toolset:** `kanban_show`, `kanban_complete`, `kanban_block`,\n  `kanban_heartbeat`, `kanban_comment`, `kanban_create`, `kanban_link`.\n- **Dispatcher** runs inside the gateway by default\n  (`kanban.dispatch_in_gateway: true`) — reclaims stale claims,\n  promotes ready tasks, atomically claims, spawns assigned profiles.\n  Auto-blocks a task after ~5 consecutive spawn failures.\n- **Isolation:** board is the hard boundary (workers get\n  `HERMES_KANBAN_BOARD` pinned in env); tenant is a soft namespace\n  within a board for workspace-path + memory-key isolation.\n\nUser docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fkanban\n\n---\n\n## Troubleshooting\n\n### Voice not working\n1. Check `stt.enabled: true` in config.yaml\n2. Verify provider: `pip install faster-whisper` or set API key\n3. In gateway: `\u002Frestart`. In CLI: exit and relaunch.\n\n### Tool not available\n1. `hermes tools` — check if toolset is enabled for your platform\n2. Some tools need env vars (check `.env`)\n3. `\u002Freset` after enabling tools\n\n### Model\u002Fprovider issues\n1. `hermes doctor` — check config and dependencies\n2. `hermes login` — re-authenticate OAuth providers\n3. Check `.env` has the right API key\n4. **Copilot 403**: `gh auth login` tokens do NOT work for Copilot API. You must use the Copilot-specific OAuth device code flow via `hermes model` → GitHub Copilot.\n\n### Changes not taking effect\n- **Tools\u002Fskills:** `\u002Freset` starts a new session with updated toolset\n- **Config changes:** In gateway: `\u002Frestart`. In CLI: exit and relaunch.\n- **Code changes:** Restart the CLI or gateway process\n\n### Skills not showing\n1. `hermes skills list` — verify installed\n2. `hermes skills config` — check platform enablement\n3. Load explicitly: `\u002Fskill name` or `hermes -s name`\n\n### Gateway issues\nCheck logs first:\n```bash\ngrep -i \"failed to send\\|error\" ~\u002F.hermes\u002Flogs\u002Fgateway.log | tail -20\n```\n\nCommon gateway problems:\n- **Gateway dies on SSH logout**: Enable linger: `sudo loginctl enable-linger $USER`\n- **Gateway dies on WSL2 close**: WSL2 requires `systemd=true` in `\u002Fetc\u002Fwsl.conf` for systemd services to work. Without it, gateway falls back to `nohup` (dies when session closes).\n- **Gateway crash loop**: Reset the failed state: `systemctl --user reset-failed hermes-gateway`\n\n### Platform-specific issues\n- **Discord bot silent**: Must enable **Message Content Intent** in Bot → Privileged Gateway Intents.\n- **Slack bot only works in DMs**: Must subscribe to `message.channels` event. Without it, the bot ignores public channels.\n- **Windows HTTP 400 \"No models provided\"**: Config file encoding issue (BOM). Ensure `config.yaml` is saved as UTF-8 without BOM.\n\n### Auxiliary models not working\nIf `auxiliary` tasks (vision, compression, session_search) fail silently, the `auto` provider can't find a backend. Either set `OPENROUTER_API_KEY` or `GOOGLE_API_KEY`, or explicitly configure each auxiliary task's provider:\n```bash\nhermes config set auxiliary.vision.provider \u003Cyour_provider>\nhermes config set auxiliary.vision.model \u003Cmodel_name>\n```\n\n---\n\n## Where to Find Things\n\n| Looking for... | Location |\n|----------------|----------|\n| Config options | `hermes config edit` or [Configuration docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fconfiguration) |\n| Available tools | `hermes tools list` or [Tools reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Ftools-reference) |\n| Slash commands | `\u002Fhelp` in session or [Slash commands reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fslash-commands) |\n| Skills catalog | `hermes skills browse` or [Skills catalog](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fskills-catalog) |\n| Provider setup | `hermes model` or [Providers guide](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fintegrations\u002Fproviders) |\n| Platform setup | `hermes gateway setup` or [Messaging docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fmessaging\u002F) |\n| MCP servers | `hermes mcp list` or [MCP guide](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fmcp) |\n| Profiles | `hermes profile list` or [Profiles docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fprofiles) |\n| Cron jobs | `hermes cron list` or [Cron docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fcron) |\n| Memory | `hermes memory status` or [Memory docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fmemory) |\n| Env variables | `hermes config env-path` or [Env vars reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fenvironment-variables) |\n| CLI commands | `hermes --help` or [CLI reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fcli-commands) |\n| Gateway logs | `~\u002F.hermes\u002Flogs\u002Fgateway.log` |\n| Session files | `~\u002F.hermes\u002Fsessions\u002F` or `hermes sessions browse` |\n| Source code | `~\u002F.hermes\u002Fhermes-agent\u002F` |\n\n---\n\n## Contributor Quick Reference\n\nFor occasional contributors and PR authors. Full developer docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fdeveloper-guide\u002F\n\n### Project Layout\n\n```\nhermes-agent\u002F\n├── run_agent.py          # AIAgent — core conversation loop\n├── model_tools.py        # Tool discovery and dispatch\n├── toolsets.py           # Toolset definitions\n├── cli.py                # Interactive CLI (HermesCLI)\n├── hermes_state.py       # SQLite session store\n├── agent\u002F                # Prompt builder, context compression, memory, model routing, credential pooling, skill dispatch\n├── hermes_cli\u002F           # CLI subcommands, config, setup, commands\n│   ├── commands.py       # Slash command registry (CommandDef)\n│   ├── config.py         # DEFAULT_CONFIG, env var definitions\n│   └── main.py           # CLI entry point and argparse\n├── tools\u002F                # One file per tool\n│   └── registry.py       # Central tool registry\n├── gateway\u002F              # Messaging gateway\n│   └── platforms\u002F        # Platform adapters (telegram, discord, etc.)\n├── cron\u002F                 # Job scheduler\n├── tests\u002F                # ~3000 pytest tests\n└── website\u002F              # Docusaurus docs site\n```\n\nConfig: `~\u002F.hermes\u002Fconfig.yaml` (settings), `~\u002F.hermes\u002F.env` (API keys).\n\n### Adding a Tool (3 files)\n\n**1. Create `tools\u002Fyour_tool.py`:**\n```python\nimport json, os\nfrom tools.registry import registry\n\ndef check_requirements() -> bool:\n    return bool(os.getenv(\"EXAMPLE_API_KEY\"))\n\ndef example_tool(param: str, task_id: str = None) -> str:\n    return json.dumps({\"success\": True, \"data\": \"...\"})\n\nregistry.register(\n    name=\"example_tool\",\n    toolset=\"example\",\n    schema={\"name\": \"example_tool\", \"description\": \"...\", \"parameters\": {...}},\n    handler=lambda args, **kw: example_tool(\n        param=args.get(\"param\", \"\"), task_id=kw.get(\"task_id\")),\n    check_fn=check_requirements,\n    requires_env=[\"EXAMPLE_API_KEY\"],\n)\n```\n\n**2. Add to `toolsets.py`** → `_HERMES_CORE_TOOLS` list.\n\nAuto-discovery: any `tools\u002F*.py` file with a top-level `registry.register()` call is imported automatically — no manual list needed.\n\nAll handlers must return JSON strings. Use `get_hermes_home()` for paths, never hardcode `~\u002F.hermes`.\n\n### Adding a Slash Command\n\n1. Add `CommandDef` to `COMMAND_REGISTRY` in `hermes_cli\u002Fcommands.py`\n2. Add handler in `cli.py` → `process_command()`\n3. (Optional) Add gateway handler in `gateway\u002Frun.py`\n\nAll consumers (help text, autocomplete, Telegram menu, Slack mapping) derive from the central registry automatically.\n\n### Agent Loop (High Level)\n\n```\nrun_conversation():\n  1. Build system prompt\n  2. Loop while iterations \u003C max:\n     a. Call LLM (OpenAI-format messages + tool schemas)\n     b. If tool_calls → dispatch each via handle_function_call() → append results → continue\n     c. If text response → return\n  3. Context compression triggers automatically near token limit\n```\n\n### Testing\n\n```bash\npython -m pytest tests\u002F -o 'addopts=' -q   # Full suite\npython -m pytest tests\u002Ftools\u002F -q            # Specific area\n```\n\n- Tests auto-redirect `HERMES_HOME` to temp dirs — never touch real `~\u002F.hermes\u002F`\n- Run full suite before pushing any change\n- Use `-o 'addopts='` to clear any baked-in pytest flags\n\n### Commit Conventions\n\n```\ntype: concise subject line\n\nOptional body.\n```\n\nTypes: `fix:`, `feat:`, `refactor:`, `docs:`, `chore:`\n\n### Key Rules\n\n- **Never break prompt caching** — don't change context, tools, or system prompt mid-conversation\n- **Message role alternation** — never two assistant or two user messages in a row\n- Use `get_hermes_home()` from `hermes_constants` for all paths (profile-safe)\n- Config values go in `config.yaml`, secrets go in `.env`\n- New tools need a `check_fn` so they only appear when requirements are met\n","# Hermes Agent\n\nHermes Agent is an open-source AI agent framework by Nous Research that runs in your terminal, messaging platforms, and IDEs. It belongs to the same category as Claude Code (Anthropic), Codex (OpenAI), and OpenClaw — autonomous coding and task-execution agents that use tool calling to interact with your system. Hermes works with any LLM provider (OpenRouter, Anthropic, OpenAI, DeepSeek, local models, and 15+ others) and runs on Linux, macOS, and WSL.\n\nWhat makes Hermes different:\n\n- **Self-improving through skills** — Hermes learns from experience by saving reusable procedures as skills. When it solves a complex problem, discovers a workflow, or gets corrected, it can persist that knowledge as a skill document that loads into future sessions. Skills accumulate over time, making the agent better at your specific tasks and environment.\n- **Persistent memory across sessions** — remembers who you are, your preferences, environment details, and lessons learned. Pluggable memory backends (built-in, Honcho, Mem0, and more) let you choose how memory works.\n- **Multi-platform gateway** — the same agent runs on Telegram, Discord, Slack, WhatsApp, Signal, Matrix, Email, and 10+ other platforms with full tool access, not just chat.\n- **Provider-agnostic** — swap models and providers mid-workflow without changing anything else. Credential pools rotate across multiple API keys automatically.\n- **Profiles** — run multiple independent Hermes instances with isolated configs, sessions, skills, and memory.\n- **Extensible** — plugins, MCP servers, custom tools, webhook triggers, cron scheduling, and the full Python ecosystem.\n\nPeople use Hermes for software development, research, system administration, data analysis, content creation, home automation, and anything else that benefits from an AI agent with persistent context and full system access.\n\n**This skill helps you work with Hermes Agent effectively** — setting it up, configuring features, spawning additional agent instances, troubleshooting issues, finding the right commands and settings, and understanding how the system works when you need to extend or contribute to it.\n\n**Docs:** https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002F\n\n## Quick Start\n\n```bash\n# Install\ncurl -fsSL https:\u002F\u002Fraw.githubusercontent.com\u002FNousResearch\u002Fhermes-agent\u002Fmain\u002Fscripts\u002Finstall.sh | bash\n\n# Interactive chat (default)\nhermes\n\n# Single query\nhermes chat -q \"What is the capital of France?\"\n\n# Setup wizard\nhermes setup\n\n# Change model\u002Fprovider\nhermes model\n\n# Check health\nhermes doctor\n```\n\n---\n\n## CLI Reference\n\n### Global Flags\n\n```\nhermes [flags] [command]\n\n  --version, -V             Show version\n  --resume, -r SESSION      Resume session by ID or title\n  --continue, -c [NAME]     Resume by name, or most recent session\n  --worktree, -w            Isolated git worktree mode (parallel agents)\n  --skills, -s SKILL        Preload skills (comma-separate or repeat)\n  --profile, -p NAME        Use a named profile\n  --yolo                    Skip dangerous command approval\n  --pass-session-id         Include session ID in system prompt\n```\n\nNo subcommand defaults to `chat`.\n\n### Chat\n\n```\nhermes chat [flags]\n  -q, --query TEXT          Single query, non-interactive\n  -m, --model MODEL         Model (e.g. anthropic\u002Fclaude-sonnet-4)\n  -t, --toolsets LIST       Comma-separated toolsets\n  --provider PROVIDER       Force provider (openrouter, anthropic, nous, etc.)\n  -v, --verbose             Verbose output\n  -Q, --quiet               Suppress banner, spinner, tool previews\n  --checkpoints             Enable filesystem checkpoints (\u002Frollback)\n  --source TAG              Session source tag (default: cli)\n```\n\n### Configuration\n\n```\nhermes setup [section]      Interactive wizard (model|terminal|gateway|tools|agent)\nhermes model                Interactive model\u002Fprovider picker\nhermes config               View current config\nhermes config edit          Open config.yaml in $EDITOR\nhermes config set KEY VAL   Set a config value\nhermes config path          Print config.yaml path\nhermes config env-path      Print .env path\nhermes config check         Check for missing\u002Foutdated config\nhermes config migrate       Update config with new options\nhermes login [--provider P] OAuth login (nous, openai-codex)\nhermes logout               Clear stored auth\nhermes doctor [--fix]       Check dependencies and config\nhermes status [--all]       Show component status\n```\n\n### Tools & Skills\n\n```\nhermes tools                Interactive tool enable\u002Fdisable (curses UI)\nhermes tools list           Show all tools and status\nhermes tools enable NAME    Enable a toolset\nhermes tools disable NAME   Disable a toolset\n\nhermes skills list          List installed skills\nhermes skills search QUERY  Search the skills hub\nhermes skills install ID    Install a skill (ID can be a hub identifier OR a direct https:\u002F\u002F…\u002FSKILL.md URL; pass --name to override when frontmatter has no name)\nhermes skills inspect ID    Preview without installing\nhermes skills config        Enable\u002Fdisable skills per platform\nhermes skills check         Check for updates\nhermes skills update        Update outdated skills\nhermes skills uninstall N   Remove a hub skill\nhermes skills publish PATH  Publish to registry\nhermes skills browse        Browse all available skills\nhermes skills tap add REPO  Add a GitHub repo as skill source\n```\n\n### MCP Servers\n\n```\nhermes mcp serve            Run Hermes as an MCP server\nhermes mcp add NAME         Add an MCP server (--url or --command)\nhermes mcp remove NAME      Remove an MCP server\nhermes mcp list             List configured servers\nhermes mcp test NAME        Test connection\nhermes mcp configure NAME   Toggle tool selection\n```\n\n### Gateway (Messaging Platforms)\n\n```\nhermes gateway run          Start gateway foreground\nhermes gateway install      Install as background service\nhermes gateway start\u002Fstop   Control the service\nhermes gateway restart      Restart the service\nhermes gateway status       Check status\nhermes gateway setup        Configure platforms\n```\n\nSupported platforms: Telegram, Discord, Slack, WhatsApp, Signal, Email, SMS, Matrix, Mattermost, Home Assistant, DingTalk, Feishu, WeCom, BlueBubbles (iMessage), Weixin (WeChat), API Server, Webhooks. Open WebUI connects via the API Server adapter.\n\nPlatform docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fmessaging\u002F\n\n### Sessions\n\n```\nhermes sessions list        List recent sessions\nhermes sessions browse      Interactive picker\nhermes sessions export OUT  Export to JSONL\nhermes sessions rename ID T Rename a session\nhermes sessions delete ID   Delete a session\nhermes sessions prune       Clean up old sessions (--older-than N days)\nhermes sessions stats       Session store statistics\n```\n\n### Cron Jobs\n\n```\nhermes cron list            List jobs (--all for disabled)\nhermes cron create SCHED    Create: '30m', 'every 2h', '0 9 * * *'\nhermes cron edit ID         Edit schedule, prompt, delivery\nhermes cron pause\u002Fresume ID Control job state\nhermes cron run ID          Trigger on next tick\nhermes cron remove ID       Delete a job\nhermes cron status          Scheduler status\n```\n\n### Webhooks\n\n```\nhermes webhook subscribe N  Create route at \u002Fwebhooks\u002F\u003Cname>\nhermes webhook list         List subscriptions\nhermes webhook remove NAME  Remove a subscription\nhermes webhook test NAME    Send a test POST\n```\n\n### Profiles\n\n```\nhermes profile list         List all profiles\nhermes profile create NAME  Create (--clone, --clone-all, --clone-from)\nhermes profile use NAME     Set sticky default\nhermes profile delete NAME  Delete a profile\nhermes profile show NAME    Show details\nhermes profile alias NAME   Manage wrapper scripts\nhermes profile rename A B   Rename a profile\nhermes profile export NAME  Export to tar.gz\nhermes profile import FILE  Import from archive\n```\n\n### Credential Pools\n\n```\nhermes auth add             Interactive credential wizard\nhermes auth list [PROVIDER] List pooled credentials\nhermes auth remove P INDEX  Remove by provider + index\nhermes auth reset PROVIDER  Clear exhaustion status\n```\n\n### Other\n\n```\nhermes insights [--days N]  Usage analytics\nhermes update               Update to latest version\nhermes pairing list\u002Fapprove\u002Frevoke  DM authorization\nhermes plugins list\u002Finstall\u002Fremove  Plugin management\nhermes honcho setup\u002Fstatus  Honcho memory integration (requires honcho plugin)\nhermes memory setup\u002Fstatus\u002Foff  Memory provider config\nhermes completion bash|zsh  Shell completions\nhermes acp                  ACP server (IDE integration)\nhermes claw migrate         Migrate from OpenClaw\nhermes uninstall            Uninstall Hermes\n```\n\n---\n\n## Slash Commands (In-Session)\n\nType these during an interactive chat session. New commands land fairly\noften; if something below looks stale, run `\u002Fhelp` in-session for the\nauthoritative list or see the [live slash commands reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fslash-commands).\nThe registry of record is `hermes_cli\u002Fcommands.py` — every consumer\n(autocomplete, Telegram menu, Slack mapping, `\u002Fhelp`) derives from it.\n\n### Session Control\n```\n\u002Fnew (\u002Freset)        Fresh session\n\u002Fclear               Clear screen + new session (CLI)\n\u002Fretry               Resend last message\n\u002Fundo                Remove last exchange\n\u002Ftitle [name]        Name the session\n\u002Fcompress            Manually compress context\n\u002Fstop                Kill background processes\n\u002Frollback [N]        Restore filesystem checkpoint\n\u002Fsnapshot [sub]      Create or restore state snapshots of Hermes config\u002Fstate (CLI)\n\u002Fbackground \u003Cprompt> Run prompt in background\n\u002Fqueue \u003Cprompt>      Queue for next turn\n\u002Fsteer \u003Cprompt>      Inject a message after the next tool call without interrupting\n\u002Fagents (\u002Ftasks)     Show active agents and running tasks\n\u002Fresume [name]       Resume a named session\n\u002Fgoal [text|sub]     Set a standing goal Hermes works on across turns until achieved\n                     (subcommands: status, pause, resume, clear)\n\u002Fredraw              Force a full UI repaint (CLI)\n```\n\n### Configuration\n```\n\u002Fconfig              Show config (CLI)\n\u002Fmodel [name]        Show or change model\n\u002Fpersonality [name]  Set personality\n\u002Freasoning [level]   Set reasoning (none|minimal|low|medium|high|xhigh|show|hide)\n\u002Fverbose             Cycle: off → new → all → verbose\n\u002Fvoice [on|off|tts]  Voice mode\n\u002Fyolo                Toggle approval bypass\n\u002Fbusy [sub]          Control what Enter does while Hermes is working (CLI)\n                     (subcommands: queue, steer, interrupt, status)\n\u002Findicator [style]   Pick the TUI busy-indicator style (CLI)\n                     (styles: kaomoji, emoji, unicode, ascii)\n\u002Ffooter [on|off]     Toggle gateway runtime-metadata footer on final replies\n\u002Fskin [name]         Change theme (CLI)\n\u002Fstatusbar           Toggle status bar (CLI)\n```\n\n### Tools & Skills\n```\n\u002Ftools               Manage tools (CLI)\n\u002Ftoolsets            List toolsets (CLI)\n\u002Fskills              Search\u002Finstall skills (CLI)\n\u002Fskill \u003Cname>        Load a skill into session\n\u002Freload-skills       Re-scan ~\u002F.hermes\u002Fskills\u002F for added\u002Fremoved skills\n\u002Freload              Reload .env variables into the running session (CLI)\n\u002Freload-mcp          Reload MCP servers\n\u002Fcron                Manage cron jobs (CLI)\n\u002Fcurator [sub]       Background skill maintenance (status, run, pin, archive, …)\n\u002Fkanban [sub]        Multi-profile collaboration board (tasks, links, comments)\n\u002Fplugins             List plugins (CLI)\n```\n\n### Gateway\n```\n\u002Fapprove             Approve a pending command (gateway)\n\u002Fdeny                Deny a pending command (gateway)\n\u002Frestart             Restart gateway (gateway)\n\u002Fsethome             Set current chat as home channel (gateway)\n\u002Fupdate              Update Hermes to latest (gateway)\n\u002Ftopic [sub]         Enable or inspect Telegram DM topic sessions (gateway)\n\u002Fplatforms (\u002Fgateway) Show platform connection status (gateway)\n```\n\n### Utility\n```\n\u002Fbranch (\u002Ffork)      Branch the current session\n\u002Ffast                Toggle priority\u002Ffast processing\n\u002Fbrowser             Open CDP browser connection\n\u002Fhistory             Show conversation history (CLI)\n\u002Fsave                Save conversation to file (CLI)\n\u002Fcopy [N]            Copy the last assistant response to clipboard (CLI)\n\u002Fpaste               Attach clipboard image (CLI)\n\u002Fimage               Attach local image file (CLI)\n```\n\n### Info\n```\n\u002Fhelp                Show commands\n\u002Fcommands [page]     Browse all commands (gateway)\n\u002Fusage               Token usage\n\u002Finsights [days]     Usage analytics\n\u002Fgquota              Show Google Gemini Code Assist quota usage (CLI)\n\u002Fstatus              Session info (gateway)\n\u002Fprofile             Active profile info\n\u002Fdebug               Upload debug report (system info + logs) and get shareable links\n```\n\n### Exit\n```\n\u002Fquit (\u002Fexit, \u002Fq)    Exit CLI\n```\n\n---\n\n## Key Paths & Config\n\n```\n~\u002F.hermes\u002Fconfig.yaml       Main configuration\n~\u002F.hermes\u002F.env              API keys and secrets\n$HERMES_HOME\u002Fskills\u002F        Installed skills\n~\u002F.hermes\u002Fsessions\u002F         Session transcripts\n~\u002F.hermes\u002Flogs\u002F             Gateway and error logs\n~\u002F.hermes\u002Fauth.json         OAuth tokens and credential pools\n~\u002F.hermes\u002Fhermes-agent\u002F     Source code (if git-installed)\n```\n\nProfiles use `~\u002F.hermes\u002Fprofiles\u002F\u003Cname>\u002F` with the same layout.\n\n### Config Sections\n\nEdit with `hermes config edit` or `hermes config set section.key value`.\n\n| Section | Key options |\n|---------|-------------|\n| `model` | `default`, `provider`, `base_url`, `api_key`, `context_length` |\n| `agent` | `max_turns` (90), `tool_use_enforcement` |\n| `terminal` | `backend` (local\u002Fdocker\u002Fssh\u002Fmodal), `cwd`, `timeout` (180) |\n| `compression` | `enabled`, `threshold` (0.50), `target_ratio` (0.20) |\n| `display` | `skin`, `tool_progress`, `show_reasoning`, `show_cost` |\n| `stt` | `enabled`, `provider` (local\u002Fgroq\u002Fopenai\u002Fmistral) |\n| `tts` | `provider` (edge\u002Felevenlabs\u002Fopenai\u002Fminimax\u002Fmistral\u002Fneutts) |\n| `memory` | `memory_enabled`, `user_profile_enabled`, `provider` |\n| `security` | `tirith_enabled`, `website_blocklist` |\n| `delegation` | `model`, `provider`, `base_url`, `api_key`, `max_iterations` (50), `reasoning_effort` |\n| `checkpoints` | `enabled`, `max_snapshots` (50) |\n\nFull config reference: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fconfiguration\n\n### Providers\n\n20+ providers supported. Set via `hermes model` or `hermes setup`.\n\n| Provider | Auth | Key env var |\n|----------|------|-------------|\n| OpenRouter | API key | `OPENROUTER_API_KEY` |\n| Anthropic | API key | `ANTHROPIC_API_KEY` |\n| Nous Portal | OAuth | `hermes auth` |\n| OpenAI Codex | OAuth | `hermes auth` |\n| GitHub Copilot | Token | `COPILOT_GITHUB_TOKEN` |\n| Google Gemini | API key | `GOOGLE_API_KEY` or `GEMINI_API_KEY` |\n| DeepSeek | API key | `DEEPSEEK_API_KEY` |\n| xAI \u002F Grok | API key | `XAI_API_KEY` |\n| Hugging Face | Token | `HF_TOKEN` |\n| Z.AI \u002F GLM | API key | `GLM_API_KEY` |\n| MiniMax | API key | `MINIMAX_API_KEY` |\n| MiniMax CN | API key | `MINIMAX_CN_API_KEY` |\n| Kimi \u002F Moonshot | API key | `KIMI_API_KEY` |\n| Alibaba \u002F DashScope | API key | `DASHSCOPE_API_KEY` |\n| Xiaomi MiMo | API key | `XIAOMI_API_KEY` |\n| Kilo Code | API key | `KILOCODE_API_KEY` |\n| AI Gateway (Vercel) | API key | `AI_GATEWAY_API_KEY` |\n| OpenCode Zen | API key | `OPENCODE_ZEN_API_KEY` |\n| OpenCode Go | API key | `OPENCODE_GO_API_KEY` |\n| Qwen OAuth | OAuth | `hermes login --provider qwen-oauth` |\n| Custom endpoint | Config | `model.base_url` + `model.api_key` in config.yaml |\n| GitHub Copilot ACP | External | `COPILOT_CLI_PATH` or Copilot CLI |\n\nFull provider docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fintegrations\u002Fproviders\n\n### Toolsets\n\nEnable\u002Fdisable via `hermes tools` (interactive) or `hermes tools enable\u002Fdisable NAME`.\n\n| Toolset | What it provides |\n|---------|-----------------|\n| `web` | Web search and content extraction |\n| `search` | Web search only (subset of `web`) |\n| `browser` | Browser automation (Browserbase, Camofox, or local Chromium) |\n| `terminal` | Shell commands and process management |\n| `file` | File read\u002Fwrite\u002Fsearch\u002Fpatch |\n| `code_execution` | Sandboxed Python execution |\n| `vision` | Image analysis |\n| `image_gen` | AI image generation |\n| `video` | Video analysis and generation |\n| `tts` | Text-to-speech |\n| `skills` | Skill browsing and management |\n| `memory` | Persistent cross-session memory |\n| `session_search` | Search past conversations |\n| `delegation` | Subagent task delegation |\n| `cronjob` | Scheduled task management |\n| `clarify` | Ask user clarifying questions |\n| `messaging` | Cross-platform message sending |\n| `todo` | In-session task planning and tracking |\n| `kanban` | Multi-agent work-queue tools (gated to workers) |\n| `debugging` | Extra introspection\u002Fdebug tools (off by default) |\n| `safe` | Minimal, low-risk toolset for locked-down sessions |\n| `spotify` | Spotify playback and playlist control |\n| `homeassistant` | Smart home control (off by default) |\n| `discord` | Discord integration tools |\n| `discord_admin` | Discord admin\u002Fmoderation tools |\n| `feishu_doc` | Feishu (Lark) document tools |\n| `feishu_drive` | Feishu (Lark) drive tools |\n| `yuanbao` | Yuanbao integration tools |\n| `rl` | Reinforcement learning tools (off by default) |\n| `moa` | Mixture of Agents (off by default) |\n\nFull enumeration lives in `toolsets.py` as the `TOOLSETS` dict; `_HERMES_CORE_TOOLS` is the default bundle most platforms inherit from.\n\nTool changes take effect on `\u002Freset` (new session). They do NOT apply mid-conversation to preserve prompt caching.\n\n---\n\n## Security & Privacy Toggles\n\nCommon \"why is Hermes doing X to my output \u002F tool calls \u002F commands?\" toggles — and the exact commands to change them. Most of these need a fresh session (`\u002Freset` in chat, or start a new `hermes` invocation) because they're read once at startup.\n\n### Secret redaction in tool output\n\nSecret redaction is **off by default** — tool output (terminal stdout, `read_file`, web content, subagent summaries, etc.) passes through unmodified. If the user wants Hermes to auto-mask strings that look like API keys, tokens, and secrets before they enter the conversation context and logs:\n\n```bash\nhermes config set security.redact_secrets true       # enable globally\n```\n\n**Restart required.** `security.redact_secrets` is snapshotted at import time — toggling it mid-session (e.g. via `export HERMES_REDACT_SECRETS=true` from a tool call) will NOT take effect for the running process. Tell the user to run `hermes config set security.redact_secrets true` in a terminal, then start a new session. This is deliberate — it prevents an LLM from flipping the toggle on itself mid-task.\n\nDisable again with:\n```bash\nhermes config set security.redact_secrets false\n```\n\n### PII redaction in gateway messages\n\nSeparate from secret redaction. When enabled, the gateway hashes user IDs and strips phone numbers from the session context before it reaches the model:\n\n```bash\nhermes config set privacy.redact_pii true    # enable\nhermes config set privacy.redact_pii false   # disable (default)\n```\n\n### Command approval prompts\n\nBy default (`approvals.mode: manual`), Hermes prompts the user before running shell commands flagged as destructive (`rm -rf`, `git reset --hard`, etc.). The modes are:\n\n- `manual` — always prompt (default)\n- `smart` — use an auxiliary LLM to auto-approve low-risk commands, prompt on high-risk\n- `off` — skip all approval prompts (equivalent to `--yolo`)\n\n```bash\nhermes config set approvals.mode smart       # recommended middle ground\nhermes config set approvals.mode off         # bypass everything (not recommended)\n```\n\nPer-invocation bypass without changing config:\n- `hermes --yolo …`\n- `export HERMES_YOLO_MODE=1`\n\nNote: YOLO \u002F `approvals.mode: off` does NOT turn off secret redaction. They are independent.\n\n### Shell hooks allowlist\n\nSome shell-hook integrations require explicit allowlisting before they fire. Managed via `~\u002F.hermes\u002Fshell-hooks-allowlist.json` — prompted interactively the first time a hook wants to run.\n\n### Disabling the web\u002Fbrowser\u002Fimage-gen tools\n\nTo keep the model away from network or media tools entirely, open `hermes tools` and toggle per-platform. Takes effect on next session (`\u002Freset`). See the Tools & Skills section above.\n\n---\n\n## Voice & Transcription\n\n### STT (Voice → Text)\n\nVoice messages from messaging platforms are auto-transcribed.\n\nProvider priority (auto-detected):\n1. **Local faster-whisper** — free, no API key: `pip install faster-whisper`\n2. **Groq Whisper** — free tier: set `GROQ_API_KEY`\n3. **OpenAI Whisper** — paid: set `VOICE_TOOLS_OPENAI_KEY`\n4. **Mistral Voxtral** — set `MISTRAL_API_KEY`\n\nConfig:\n```yaml\nstt:\n  enabled: true\n  provider: local        # local, groq, openai, mistral\n  local:\n    model: base          # tiny, base, small, medium, large-v3\n```\n\n### TTS (Text → Voice)\n\n| Provider | Env var | Free? |\n|----------|---------|-------|\n| Edge TTS | None | Yes (default) |\n| ElevenLabs | `ELEVENLABS_API_KEY` | Free tier |\n| OpenAI | `VOICE_TOOLS_OPENAI_KEY` | Paid |\n| MiniMax | `MINIMAX_API_KEY` | Paid |\n| Mistral (Voxtral) | `MISTRAL_API_KEY` | Paid |\n| NeuTTS (local) | None (`pip install neutts[all]` + `espeak-ng`) | Free |\n\nVoice commands: `\u002Fvoice on` (voice-to-voice), `\u002Fvoice tts` (always voice), `\u002Fvoice off`.\n\n---\n\n## Spawning Additional Hermes Instances\n\nRun additional Hermes processes as fully independent subprocesses — separate sessions, tools, and environments.\n\n### When to Use This vs delegate_task\n\n| | `delegate_task` | Spawning `hermes` process |\n|-|-----------------|--------------------------|\n| Isolation | Separate conversation, shared process | Fully independent process |\n| Duration | Minutes (bounded by parent loop) | Hours\u002Fdays |\n| Tool access | Subset of parent's tools | Full tool access |\n| Interactive | No | Yes (PTY mode) |\n| Use case | Quick parallel subtasks | Long autonomous missions |\n\n### One-Shot Mode\n\n```\nterminal(command=\"hermes chat -q 'Research GRPO papers and write summary to ~\u002Fresearch\u002Fgrpo.md'\", timeout=300)\n\n# Background for long tasks:\nterminal(command=\"hermes chat -q 'Set up CI\u002FCD for ~\u002Fmyapp'\", background=true)\n```\n\n### Interactive PTY Mode (via tmux)\n\nHermes uses prompt_toolkit, which requires a real terminal. Use tmux for interactive spawning:\n\n```\n# Start\nterminal(command=\"tmux new-session -d -s agent1 -x 120 -y 40 'hermes'\", timeout=10)\n\n# Wait for startup, then send a message\nterminal(command=\"sleep 8 && tmux send-keys -t agent1 'Build a FastAPI auth service' Enter\", timeout=15)\n\n# Read output\nterminal(command=\"sleep 20 && tmux capture-pane -t agent1 -p\", timeout=5)\n\n# Send follow-up\nterminal(command=\"tmux send-keys -t agent1 'Add rate limiting middleware' Enter\", timeout=5)\n\n# Exit\nterminal(command=\"tmux send-keys -t agent1 '\u002Fexit' Enter && sleep 2 && tmux kill-session -t agent1\", timeout=10)\n```\n\n### Multi-Agent Coordination\n\n```\n# Agent A: backend\nterminal(command=\"tmux new-session -d -s backend -x 120 -y 40 'hermes -w'\", timeout=10)\nterminal(command=\"sleep 8 && tmux send-keys -t backend 'Build REST API for user management' Enter\", timeout=15)\n\n# Agent B: frontend\nterminal(command=\"tmux new-session -d -s frontend -x 120 -y 40 'hermes -w'\", timeout=10)\nterminal(command=\"sleep 8 && tmux send-keys -t frontend 'Build React dashboard for user management' Enter\", timeout=15)\n\n# Check progress, relay context between them\nterminal(command=\"tmux capture-pane -t backend -p | tail -30\", timeout=5)\nterminal(command=\"tmux send-keys -t frontend 'Here is the API schema from the backend agent: ...' Enter\", timeout=5)\n```\n\n### Session Resume\n\n```\n# Resume most recent session\nterminal(command=\"tmux new-session -d -s resumed 'hermes --continue'\", timeout=10)\n\n# Resume specific session\nterminal(command=\"tmux new-session -d -s resumed 'hermes --resume 20260225_143052_a1b2c3'\", timeout=10)\n```\n\n### Tips\n\n- **Prefer `delegate_task` for quick subtasks** — less overhead than spawning a full process\n- **Use `-w` (worktree mode)** when spawning agents that edit code — prevents git conflicts\n- **Set timeouts** for one-shot mode — complex tasks can take 5-10 minutes\n- **Use `hermes chat -q` for fire-and-forget** — no PTY needed\n- **Use tmux for interactive sessions** — raw PTY mode has `\\r` vs `\\n` issues with prompt_toolkit\n- **For scheduled tasks**, use the `cronjob` tool instead of spawning — handles delivery and retry\n\n---\n\n## Durable & Background Systems\n\nFour systems run alongside the main conversation loop. Quick reference\nhere; full developer notes live in `AGENTS.md`, user-facing docs under\n`website\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002F`.\n\n### Delegation (`delegate_task`)\n\nSynchronous subagent spawn — the parent waits for the child's summary\nbefore continuing its own loop. Isolated context + terminal session.\n\n- **Single:** `delegate_task(goal, context, toolsets)`.\n- **Batch:** `delegate_task(tasks=[{goal, ...}, ...])` runs children in\n  parallel, capped by `delegation.max_concurrent_children` (default 3).\n- **Roles:** `leaf` (default; cannot re-delegate) vs `orchestrator`\n  (can spawn its own workers, bounded by `delegation.max_spawn_depth`).\n- **Not durable.** If the parent is interrupted, the child is\n  cancelled. For work that must outlive the turn, use `cronjob` or\n  `terminal(background=True, notify_on_complete=True)`.\n\nConfig: `delegation.*` in `config.yaml`.\n\n### Cron (scheduled jobs)\n\nDurable scheduler — `cron\u002Fjobs.py` + `cron\u002Fscheduler.py`. Drive it via\nthe `cronjob` tool, the `hermes cron` CLI (`list`, `add`, `edit`,\n`pause`, `resume`, `run`, `remove`), or the `\u002Fcron` slash command.\n\n- **Schedules:** duration (`\"30m\"`, `\"2h\"`), \"every\" phrase\n  (`\"every monday 9am\"`), 5-field cron (`\"0 9 * * *\"`), or ISO timestamp.\n- **Per-job knobs:** `skills`, `model`\u002F`provider` override, `script`\n  (pre-run data collection; `no_agent=True` makes the script the whole\n  job), `context_from` (chain job A's output into job B), `workdir`\n  (run in a specific dir with its `AGENTS.md` \u002F `CLAUDE.md` loaded),\n  multi-platform delivery.\n- **Invariants:** 3-minute hard interrupt per run, `.tick.lock` file\n  prevents duplicate ticks across processes, cron sessions pass\n  `skip_memory=True` by default, and cron deliveries are framed with a\n  header\u002Ffooter instead of being mirrored into the target gateway\n  session (keeps role alternation intact).\n\nUser docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fcron\n\n### Curator (skill lifecycle)\n\nBackground maintenance for agent-created skills. Tracks usage, marks\nidle skills stale, archives stale ones, keeps a pre-run tar.gz backup\nso nothing is lost.\n\n- **CLI:** `hermes curator \u003Cverb>` — `status`, `run`, `pause`, `resume`,\n  `pin`, `unpin`, `archive`, `restore`, `prune`, `backup`, `rollback`.\n- **Slash:** `\u002Fcurator \u003Csubcommand>` mirrors the CLI.\n- **Scope:** only touches skills with `created_by: \"agent\"` provenance.\n  Bundled + hub-installed skills are off-limits. **Never deletes** —\n  max destructive action is archive. Pinned skills are exempt from\n  every auto-transition and every LLM review pass.\n- **Telemetry:** sidecar at `~\u002F.hermes\u002Fskills\u002F.usage.json` holds\n  per-skill `use_count`, `view_count`, `patch_count`,\n  `last_activity_at`, `state`, `pinned`.\n\nConfig: `curator.*` (`enabled`, `interval_hours`, `min_idle_hours`,\n`stale_after_days`, `archive_after_days`, `backup.*`).\nUser docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fcurator\n\n### Kanban (multi-agent work queue)\n\nDurable SQLite board for multi-profile \u002F multi-worker collaboration.\nUsers drive it via `hermes kanban \u003Cverb>`; dispatcher-spawned workers\nsee a focused `kanban_*` toolset gated by `HERMES_KANBAN_TASK` so the\nschema footprint is zero outside worker processes.\n\n- **CLI verbs (common):** `init`, `create`, `list` (alias `ls`),\n  `show`, `assign`, `link`, `unlink`, `comment`, `complete`, `block`,\n  `unblock`, `archive`, `tail`. Less common: `watch`, `stats`, `runs`,\n  `log`, `dispatch`, `daemon`, `gc`.\n- **Worker toolset:** `kanban_show`, `kanban_complete`, `kanban_block`,\n  `kanban_heartbeat`, `kanban_comment`, `kanban_create`, `kanban_link`.\n- **Dispatcher** runs inside the gateway by default\n  (`kanban.dispatch_in_gateway: true`) — reclaims stale claims,\n  promotes ready tasks, atomically claims, spawns assigned profiles.\n  Auto-blocks a task after ~5 consecutive spawn failures.\n- **Isolation:** board is the hard boundary (workers get\n  `HERMES_KANBAN_BOARD` pinned in env); tenant is a soft namespace\n  within a board for workspace-path + memory-key isolation.\n\nUser docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fkanban\n\n---\n\n## Troubleshooting\n\n### Voice not working\n1. Check `stt.enabled: true` in config.yaml\n2. Verify provider: `pip install faster-whisper` or set API key\n3. In gateway: `\u002Frestart`. In CLI: exit and relaunch.\n\n### Tool not available\n1. `hermes tools` — check if toolset is enabled for your platform\n2. Some tools need env vars (check `.env`)\n3. `\u002Freset` after enabling tools\n\n### Model\u002Fprovider issues\n1. `hermes doctor` — check config and dependencies\n2. `hermes login` — re-authenticate OAuth providers\n3. Check `.env` has the right API key\n4. **Copilot 403**: `gh auth login` tokens do NOT work for Copilot API. You must use the Copilot-specific OAuth device code flow via `hermes model` → GitHub Copilot.\n\n### Changes not taking effect\n- **Tools\u002Fskills:** `\u002Freset` starts a new session with updated toolset\n- **Config changes:** In gateway: `\u002Frestart`. In CLI: exit and relaunch.\n- **Code changes:** Restart the CLI or gateway process\n\n### Skills not showing\n1. `hermes skills list` — verify installed\n2. `hermes skills config` — check platform enablement\n3. Load explicitly: `\u002Fskill name` or `hermes -s name`\n\n### Gateway issues\nCheck logs first:\n```bash\ngrep -i \"failed to send\\|error\" ~\u002F.hermes\u002Flogs\u002Fgateway.log | tail -20\n```\n\nCommon gateway problems:\n- **Gateway dies on SSH logout**: Enable linger: `sudo loginctl enable-linger $USER`\n- **Gateway dies on WSL2 close**: WSL2 requires `systemd=true` in `\u002Fetc\u002Fwsl.conf` for systemd services to work. Without it, gateway falls back to `nohup` (dies when session closes).\n- **Gateway crash loop**: Reset the failed state: `systemctl --user reset-failed hermes-gateway`\n\n### Platform-specific issues\n- **Discord bot silent**: Must enable **Message Content Intent** in Bot → Privileged Gateway Intents.\n- **Slack bot only works in DMs**: Must subscribe to `message.channels` event. Without it, the bot ignores public channels.\n- **Windows HTTP 400 \"No models provided\"**: Config file encoding issue (BOM). Ensure `config.yaml` is saved as UTF-8 without BOM.\n\n### Auxiliary models not working\nIf `auxiliary` tasks (vision, compression, session_search) fail silently, the `auto` provider can't find a backend. Either set `OPENROUTER_API_KEY` or `GOOGLE_API_KEY`, or explicitly configure each auxiliary task's provider:\n```bash\nhermes config set auxiliary.vision.provider \u003Cyour_provider>\nhermes config set auxiliary.vision.model \u003Cmodel_name>\n```\n\n---\n\n## Where to Find Things\n\n| Looking for... | Location |\n|----------------|----------|\n| Config options | `hermes config edit` or [Configuration docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fconfiguration) |\n| Available tools | `hermes tools list` or [Tools reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Ftools-reference) |\n| Slash commands | `\u002Fhelp` in session or [Slash commands reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fslash-commands) |\n| Skills catalog | `hermes skills browse` or [Skills catalog](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fskills-catalog) |\n| Provider setup | `hermes model` or [Providers guide](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fintegrations\u002Fproviders) |\n| Platform setup | `hermes gateway setup` or [Messaging docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fmessaging\u002F) |\n| MCP servers | `hermes mcp list` or [MCP guide](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fmcp) |\n| Profiles | `hermes profile list` or [Profiles docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Fprofiles) |\n| Cron jobs | `hermes cron list` or [Cron docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fcron) |\n| Memory | `hermes memory status` or [Memory docs](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fuser-guide\u002Ffeatures\u002Fmemory) |\n| Env variables | `hermes config env-path` or [Env vars reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fenvironment-variables) |\n| CLI commands | `hermes --help` or [CLI reference](https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Freference\u002Fcli-commands) |\n| Gateway logs | `~\u002F.hermes\u002Flogs\u002Fgateway.log` |\n| Session files | `~\u002F.hermes\u002Fsessions\u002F` or `hermes sessions browse` |\n| Source code | `~\u002F.hermes\u002Fhermes-agent\u002F` |\n\n---\n\n## Contributor Quick Reference\n\nFor occasional contributors and PR authors. Full developer docs: https:\u002F\u002Fhermes-agent.nousresearch.com\u002Fdocs\u002Fdeveloper-guide\u002F\n\n### Project Layout\n\n```\nhermes-agent\u002F\n├── run_agent.py          # AIAgent — core conversation loop\n├── model_tools.py        # Tool discovery and dispatch\n├── toolsets.py           # Toolset definitions\n├── cli.py                # Interactive CLI (HermesCLI)\n├── hermes_state.py       # SQLite session store\n├── agent\u002F                # Prompt builder, context compression, memory, model routing, credential pooling, skill dispatch\n├── hermes_cli\u002F           # CLI subcommands, config, setup, commands\n│   ├── commands.py       # Slash command registry (CommandDef)\n│   ├── config.py         # DEFAULT_CONFIG, env var definitions\n│   └── main.py           # CLI entry point and argparse\n├── tools\u002F                # One file per tool\n│   └── registry.py       # Central tool registry\n├── gateway\u002F              # Messaging gateway\n│   └── platforms\u002F        # Platform adapters (telegram, discord, etc.)\n├── cron\u002F                 # Job scheduler\n├── tests\u002F                # ~3000 pytest tests\n└── website\u002F              # Docusaurus docs site\n```\n\nConfig: `~\u002F.hermes\u002Fconfig.yaml` (settings), `~\u002F.hermes\u002F.env` (API keys).\n\n### Adding a Tool (3 files)\n\n**1. Create `tools\u002Fyour_tool.py`:**\n```python\nimport json, os\nfrom tools.registry import registry\n\ndef check_requirements() -> bool:\n    return bool(os.getenv(\"EXAMPLE_API_KEY\"))\n\ndef example_tool(param: str, task_id: str = None) -> str:\n    return json.dumps({\"success\": True, \"data\": \"...\"})\n\nregistry.register(\n    name=\"example_tool\",\n    toolset=\"example\",\n    schema={\"name\": \"example_tool\", \"description\": \"...\", \"parameters\": {...}},\n    handler=lambda args, **kw: example_tool(\n        param=args.get(\"param\", \"\"), task_id=kw.get(\"task_id\")),\n    check_fn=check_requirements,\n    requires_env=[\"EXAMPLE_API_KEY\"],\n)\n```\n\n**2. Add to `toolsets.py`** → `_HERMES_CORE_TOOLS` list.\n\nAuto-discovery: any `tools\u002F*.py` file with a top-level `registry.register()` call is imported automatically — no manual list needed.\n\nAll handlers must return JSON strings. Use `get_hermes_home()` for paths, never hardcode `~\u002F.hermes`.\n\n### Adding a Slash Command\n\n1. Add `CommandDef` to `COMMAND_REGISTRY` in `hermes_cli\u002Fcommands.py`\n2. Add handler in `cli.py` → `process_command()`\n3. (Optional) Add gateway handler in `gateway\u002Frun.py`\n\nAll consumers (help text, autocomplete, Telegram menu, Slack mapping) derive from the central registry automatically.\n\n### Agent Loop (High Level)\n\n```\nrun_conversation():\n  1. Build system prompt\n  2. Loop while iterations \u003C max:\n     a. Call LLM (OpenAI-format messages + tool schemas)\n     b. If tool_calls → dispatch each via handle_function_call() → append results → continue\n     c. If text response → return\n  3. Context compression triggers automatically near token limit\n```\n\n### Testing\n\n```bash\npython -m pytest tests\u002F -o 'addopts=' -q   # Full suite\npython -m pytest tests\u002Ftools\u002F -q            # Specific area\n```\n\n- Tests auto-redirect `HERMES_HOME` to temp dirs — never touch real `~\u002F.hermes\u002F`\n- Run full suite before pushing any change\n- Use `-o 'addopts='` to clear any baked-in pytest flags\n\n### Commit Conventions\n\n```\ntype: concise subject line\n\nOptional body.\n```\n\nTypes: `fix:`, `feat:`, `refactor:`, `docs:`, `chore:`\n\n### Key Rules\n\n- **Never break prompt caching** — don't change context, tools, or system prompt mid-conversation\n- **Message role alternation** — never two assistant or two user messages in a row\n- Use `get_hermes_home()` from `hermes_constants` for all paths (profile-safe)\n- Config values go in `config.yaml`, secrets go in `.env`\n- New tools need a `check_fn` so they only appear when requirements are met\n",{"name":5,"author":45,"license":14,"version":46,"metadata":47,"description":7},"Hermes Agent + Teknium","2.1.0",{"hermes":48},{"tags":49,"homepage":51,"related_skills":52},[24,37,28,30,50,31,34,36],"spawning","https:\u002F\u002Fgithub.com\u002FNousResearch\u002Fhermes-agent",[27,38,29],"master","8ec37df6d71fb664ea19d32c079e7d3ff931a8e0","skills\u002Fmisc\u002Fhermes-agent",3,"https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit","https:\u002F\u002Fweblyfe.ai","https:\u002F\u002Fgithub.com\u002FS3YED","2026-08-27 01:54:02",{"source":8,"skillName":5,"commands":62,"prompt":72,"zipAvailable":73},[63,66,69],{"tool":64,"command":65},"npx","npx skills add S3YED\u002Fappie-kit --skill hermes-agent",{"tool":67,"command":68},"bunx","bunx skills add S3YED\u002Fappie-kit --skill hermes-agent",{"tool":70,"command":71},"pnpm","pnpm dlx skills add S3YED\u002Fappie-kit --skill hermes-agent","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fmisc\u002Fhermes-agent\u002FSKILL.md",true,[],[76,106,141,167,197,221],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":89,"publishedAt":40},"01M6JFD4M6N4DSGC7TXEJ5R3J2","ai-music","AI music generation and audio tools: HeartMuLa lyrics-to-music generation, songwriting craft (+ Suno prompts), and audio spectrogram\u002Ffeature visualization.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fwethlete\u002Fai-music\u002FSKILL.md",[82,85,88],{"categoryNo":83,"categoryName":84,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000013","分析与可视化",{"categoryNo":86,"categoryName":87,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[90,91,92,93,94,95,24,23,96,97,98,99,100,101,102,103,104,105],"music","ai music","humanizer","visualization","Tools","Audio","songwriting","suno","lyrics","prompts","heartmula","craft","generation","feature","ai music generation","music generation",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":120,"publishedAt":40},"01M6JFCZE4XNFQFMNZDHKHT5V5","agentic-webdesign-design-system-ingestion","Use v0 Design Systems 2.0, Bolt Design System Agents, or Lovable to generate production UI from a client's real design system components — not generic Tailwind. Use when building a client website where brand consistency matters.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-design\u002Fagentic-webdesign-design-system-ingestion\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140],"design","agentic","design system","system","ingestion","webdesign","agentic webdesign design system ingestion","components","generate","design systems","website","ui","Tailwind","bolt","lovable","v0","design-system","wed","design system components","appie",{"skillNo":142,"name":143,"nameZh":6,"description":144,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":149,"publishedAt":40},"01M6JFCVPX3913CFAS6QQJ33ZB","agentic-webdesign-agent-elements","Use 21st.dev Agent Elements — 25 shadcn\u002Fui components purpose-built for AI agent UIs. Tool cards (Bash, Edit, Search, Plan, Subagent, MCP), chat, input, streaming. Open source, shadcn-registry install, no runtime lock-in.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fweb-design\u002Fagentic-webdesign-agent-elements\u002FSKILL.md",[147,148],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},{"categoryNo":116,"categoryName":117,"taxonomyType":118,"taxonomyTypeDesc":119},[122,150,126,151,152,153,128,154,155,156,157,158,159,160,161,162,163,164,165,166],"elements","agentic webdesign agent elements","MCP","ai agent","registry","search","streaming","open source","open","Bash","plan","subagent","edit","install","input","lock","source",{"skillNo":168,"name":169,"nameZh":6,"description":170,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":171,"categories":172,"keywords":177,"publishedAt":40},"01M6JFCQC7H65M9QJ6TRE71BS1","vercel-deployment","Deploy static sites and frontends to Vercel — handles both CLI and REST API paths, including the CLI token sanitization workaround.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Fvercel-deployment\u002FSKILL.md",[173,176],{"categoryNo":174,"categoryName":175,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[178,179,180,181,31,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196],"deployment","vercel deployment","vercel","macos","linux","windows","deploy","vercel deploy","REST","api","site","deploy to vercel","token","rest api","host","sites","paths","sanitization","static site",{"skillNo":198,"name":199,"nameZh":6,"description":200,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":201,"categories":202,"keywords":204,"publishedAt":40},"01M6JFCM4SMTXBM5A01BK2YQG1","software-quality-workflows","Umbrella workflow for TDD, debugging, code simplification, spikes, pre-commit review, and debugger-assisted investigation.","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Fsoftware-quality-workflows\u002FSKILL.md",[203],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[205,206,207,208,209,210,211,212,213,35,214,215,216,217,218,219,220],"workflows","quality","software","software quality workflows","review","tdd","workflow","commit","debugging","debugger","pre-commit","investigation","code simplification","user","simplification","for",{"skillNo":222,"name":223,"nameZh":6,"description":224,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":225,"categories":226,"keywords":234,"publishedAt":40},"01M6JFCGD0M6CEATY01W7YN6DB","react-component-refactoring","Safely refactor large React components into smaller, maintainable pieces using proven patterns","https:\u002F\u002Fgithub.com\u002FS3YED\u002Fappie-kit\u002Fblob\u002Fmaster\u002Fskills\u002Fsoftware-development\u002Freact-component-refactoring\u002FSKILL.md",[227,230,233],{"categoryNo":228,"categoryName":229,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000007","代码审查",{"categoryNo":231,"categoryName":232,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000009","前端开发",{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},[235,236,237,238,239,240,241,242,181,243,244,128,245,183,246,35,247,248,249,250],"react","component","refactoring","component refactoring","react component","react component refactoring","frontend","writing","safe","typescript","react components","modular","refactor","simplify","patterns","test-driven-development"]