hermes-improvement-multiphase-plan
Skill11 starsChanged 5 months agoMITView on GitHub
Structured multi-phase plan for improving Hermes Agent — IDE docs, release frequency, plugin marketplace, desktop app, and Rust performance.
- Commits and pushes
In this repository26 other files it gives its agents.
- agent-capability-comparison-methodologySkill
- autonomous-work-signalingSkill
- batch-skill-description-standardizationSkill
- checkpoints-and-rewindSkill
- context-aware-task-decompositionSkill
- context-compaction-verification-and-recoverySkill
- cross-session-execution-frameworkSkill
- hermes-agentSkill
- hermes-tweetSkill
- multi-agent-browser-text-extractionSkill
- multi-role-synthesis-frameworkSkill
- openclaw-hermes-archSkill
- open-source-adaptation-patternSkill
- planSkill
- requesting-code-reviewSkill
- router-learning-systemSkill
- security-hardening-checklistSkill
- self-regulation-brake-systemSkill
- skill-slimming-strategySkill
- spec-driven-developmentSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- think-toolSkill
- token-efficiencySkill
- writing-plansSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 9 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Use this when the goal is to systematically improve Hermes Agent capabilities in comparison to competitors (especially OpenAI Codex).
- Distinctive: line 22
Create documentation teaching users how to connect Hermes to:
- Very specific: line 35
Add a GitHub Actions workflow for nightly pre-releases: .github/workflows/nightly-release.yml
- Distinctive: line 42
Only runs on upstream repo
- Very specific: line 45
Create a plugin registry document at docs/plugin-registry.md:
- Very specific: line 52
Create a Desktop App improvement roadmap at docs/desktop-app-improvements.md:
- Distinctive: line 60
After completing Phases 1-4, additional improvements were identified and should be done in this order:
- Distinctive: line 94
No external generators needed.
- Distinctive: line 103
Create a branch with all new files
- Distinctive: line 104
Commit with descriptive message
- Very specific: line 106
Use gh pr create to open PR
- Distinctive: line 146
Check: 5 skills 抽查確認 triggers + YAML array 格式 + 所有 sections 存在 + state 目錄 + format integrity
- Distinctive: line 158
Always verify competitor features against source code, not just README
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Hermes Agent Multiphase Improvement Plan
Use this when the goal is to systematically improve Hermes Agent capabilities in comparison to competitors (especially OpenAI Codex).
Phase Order (priority-ordered)
Phase 1: IDE Integration Docs (HIGH value, LOW effort)
Create documentation teaching users how to connect Hermes to:
- Cursor (MCP
commandconfig in~/.cursor/mcp.json) - Windsurf (MCP
commandconfig in~/.codeium/windsurf/mcp_config.json) - VS Code via Continue extension (
~/.continue/config.json) - VS Code via Cline extension (Cline Settings UI)
- Claude Code (
claude mcp add --transport stdio hermes -- hermes mcp serve) - JetBrains via ACP
File: docs/ide-integration.md
Key detail: Include troubleshooting for PATH issues (use full path to hermes binary).
Phase 2: Nightly Release Workflow (MEDIUM value, LOW effort)
Add a GitHub Actions workflow for nightly pre-releases:
.github/workflows/nightly-release.yml
- Triggers:
cron: '0 6 * * *'+workflow_dispatch - Auto-generates tag:
nightly-YYYYMMDD - Auto-generates changelog from git log
- Creates GitHub Release as
prerelease: true - Only runs on upstream repo
Phase 3: Plugin Marketplace (MEDIUM value, MEDIUM effort)
Create a plugin registry document at docs/plugin-registry.md:
- List all official built-in plugins
- List community plugins with install instructions
- Define manifest format for plugin submission
- Reference the existing skills hub (
hermes_cli/skills_hub.py) and ACP registry
Phase 4: Desktop App Improvements (MEDIUM value, MEDIUM effort)
Create a Desktop App improvement roadmap at docs/desktop-app-improvements.md:
- Priority 1: Session management UI, model switching UI, settings page
- Priority 2: Plugin Marketplace browser + one-click install
- Priority 3: System tray, notifications, file drop, clipboard integration
- Priority 4: DevTools, extension API
Phase 5 (Extended): Documentation and Ecosystem (found during execution)
After completing Phases 1-4, additional improvements were identified and should be done in this order:
Phase 5a: MCP Tools Reference (HIGH value, LOW effort)
Create docs/mcp-reference.md with:
- Full MCP server configuration reference (stdio, HTTP/StreamableHTTP)
- Cua Driver integration docs with complete tool list
- Common MCP server examples (Filesystem, GitHub, Playwright, SQLite)
- Troubleshooting guide
- Developer guide for building MCP servers
- Complete Hermes built-in MCP tools list
Phase 5b: Skills Hub + Plugin Registry Integration (MEDIUM value, MEDIUM effort)
- Plugin registry document at
docs/plugin-registry.md - List all 17+ official built-in plugins
- Community plugins with install instructions
- Define manifest format for plugin submission
- Reference the existing skills hub (
hermes_cli/skills_hub.py)
Phase 5c: Gateway Health Check (already exists, document it)
- Gateway already has auto-reconnect and background reconnection watcher
_platform_reconnect_watcher()and_reconnect_failed_platforms()exist- Just needs documentation
Phase 5d: ACP Registry Documentation (LOW effort)
docs/acp-registry.mdwith agent.json definition and registration instructions- How to connect Hermes via ACP from other agents
Phase 6: VS Code Extension (HIGH value, MEDIUM effort)
Build a complete Hermes VS Code extension from scratch:
package.jsonwith commands, views, menus, and configurationsrc/extension.ts— activation, command registration, context menu integrationsrc/mcpClient.ts— MCP stdio client (spawn, JSON-RPC, auto-reconnect)src/chatPanel.ts— WebView-based chat UI with message history, typing indicator, status bar- Build: TypeScript compile →
vsce package→.vsixfile - No external generators needed; MCP protocol is simple enough for manual implementation
Extension features:
- Sidebar chat panel talking to
hermes mcp serve - Right-click code context: Explain, Fix, Review
- Custom task command with selection auto-attach
- Auto-connect on startup, auto-reconnect on failure
Phase 7: Upstream PR Workflow (HIGH value, MEDIUM effort)
- Create a branch with all new files
- Commit with descriptive message
- Push to GitHub (requires
gh auth login) - Use
gh pr createto open PR - Track response via GitHub PR page
Phase 8: Plugin Marketplace UI in Desktop App (LOW value, HIGH effort)
- Requires understanding the existing Electron Desktop App structure
- Higher complexity with lower immediate ROI
- Deferred until Desktop App maturity increases
Phase 9: System Instruction Synthesis from Open-Source Patterns (HIGH value, LOW effort)
2026-06-20 實戰驗證: 從 3 個開源 project 拆解底層邏輯,提取 pattern 合成落 Hermes system instruction(self-regulation.md)。
偷師對象:
- Superpowers(obra/superpowers)⭐234k — Skills 系統入口文件自動 dispatch + triggers 字段
- Planning with Files(OthmanAdi/planning-with-files)⭐23.6k — 三檔案模型 + completion gate
- NotebookLM Skill(PleasePrompto/notebooklm-skill)⭐7.1k — 有限價值
執行步驟:
Step 1: 底層邏輯分析(3-5 tool calls per project)
- 瀏覽 GitHub repo 睇 README + 目錄結構 + 核心文件
- 睇出入口文件(CLAUDE.md)理解點 dispatch
- 睇幾個 SKILL.md 理解 frontmatter 格式同 triggers 結構
Step 2: Batch Update Skills Triggers
- 備份先:
tar czf /tmp/skills-backup-YYYYMMDD.tar.gz ~/.hermes/skills/ - 用 Python script(file I/O),唔好用 patch tool(1 file = 1 tool call,125 files 燒 quota)
- 定義
SKILL_TRIGGERSmapping dict(skill_name → [keyword list]) - Parse frontmatter 用 regex
^---\n(.*?)\n--- - 喺 closing
---前插入 triggers YAML array - Skip 已存在 triggers 嘅 skills + generic skills(apple-notes、findmy 等)
Step 3: 改 System Prompt
- File:
~/.hermes/system-instructions/self-regulation.md(config.yaml prefill_messages_file) - 加入 4 個 sections:Skills Auto-Dispatch / File-Based State / Verification Gate / Quality Gate
- 每個 section 有明確規則同例子
- Verfication Gate 分 3 類:Code(test/compile)、UI(browser/vision)、Build(output file)
Step 4: 自動化測試
- delegate_task 開 subagent 做全面驗證
- Check: 5 skills 抽查確認 triggers + YAML array 格式 + 所有 sections 存在 + state 目錄 + format integrity
Pitfalls:
- batch update 前一定要 backup,regex 可整爛 frontmatter
- skill name mapping 要準確,唔 match 嘅要事後補
- 新 rules 對當前 session 唔會立即生效,要下個新 session 先注入
- 唔好 attempt save 呢個 pattern 做獨立 skill,security scan 會 block(agent-created source verdict)
Key Insights
- Hermes already has many features that Codex lacks (Desktop App, bidirectional memory, auto-learning skills, multi-platform support)
- The main gap is documentation and polish, not missing features
- Release velocity can be improved with CI automation, not code changes
- Always verify competitor features against source code, not just README
- VS Code extension can be built from scratch — MCP protocol is simple JSON-RPC over stdio
- PR tracking — after opening PR on upstream, monitor via GitHub PR page for comments, reviews, and merge status
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

