hermes-dojo
Continuous self-improvement system for Hermes Agent. Analyzes your past sessions to find recurring failures and skill gaps, then automatically creates or…
от skillmds★ 42 звезды на GitHub
Установить hermes-dojo в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Overview
Hermes Dojo is your agent's training gym. It reads your past sessions, finds where the agent struggles, creates or improves skills to fix those weaknesses, and tracks improvement over time.
The core loop: measure → identify weakness → fix → evolve → verify → report
Commands
/dojoor/dojo analyze— Analyze recent sessions for failure patterns/dojo improve— Fix the top weaknesses (patch skills + run self-evolution)/dojo report— Show current performance metrics and improvement history/dojo history— Show learning curve over time/dojo auto— Set up overnight cron: analyze + improve + report at 6am/dojo status— Quick summary of agent health
Workflow
Step 1: Analyze
Run python3 ~/.hermes/skills/hermes-dojo/scripts/monitor.py to scan recent sessions.
This reads ~/.hermes/state.db and produces a JSON report with:
- Per-tool success/failure rates
- Error patterns (grouped by tool and error type)
- User correction signals (messages containing "no,", "wrong", "I meant", "not what I")
- Skill gap detection (repeated manual tasks with no skill)
- Session-level metrics (tool calls per session, retry patterns)
Present the results as a clear dashboard:
=== Hermes Dojo Analysis ===
Sessions analyzed: 23 (last 7 days)
Total tool calls: 156
Overall success rate: 78%
Top Weaknesses:
1. terminal_run: 73% success (12 failures) — common error: "command not found"
2. web_extract: 81% success (4 failures) — common error: "timeout"
3. No skill for: CSV parsing (requested 4 times)
User Corrections Detected: 7
- 3x wrong file path
- 2x wrong command syntax
- 2x misunderstood request
Step 2: Improve
For each identified weakness, decide the fix:
A) Existing skill fails → patch it:
- Read the current skill's SKILL.md
- Analyze the failure patterns from Step 1
- Use
skill_managewith action "patch" to add error handling, better instructions, or edge case coverage - Log the change
B) No skill exists for a recurring need → create one:
- Analyze the session patterns where this capability was needed
- Use
skill_managewith action "create" to make a new skill - Include specific instructions based on what worked in past sessions
- Log the creation
C) Skill exists but needs deeper improvement → run self-evolution:
- Run:
cd ~/.hermes/hermes-agent-self-evolution && .venv/bin/python3 -m evolution.skills.evolve_skill --skill <name> --hermes-repo ~/.hermes --iterations 5 --eval-source synthetic - This uses GEPA to analyze execution traces and propose targeted improvements
- Review the evolution output — accept if score improved
- Log before/after scores
Step 3: Verify
After improvements:
- Re-run
monitor.pyto compute new metrics - Compare before/after success rates
- If improvement < 5%, flag for manual review
- Store results in metrics history
Step 4: Report
Run python3 ~/.hermes/skills/hermes-dojo/scripts/reporter.py to generate a report.
Format for Telegram delivery:
🥋 Hermes Dojo — Overnight Report
📊 Analyzed: 23 sessions, 156 tool calls
📈 Overall: 78% → 85% (+7%)
✅ Improved:
• terminal_run: 73% → 96% (added PATH check)
• web_extract: 81% → 95% (added retry + timeout)
🆕 New skill created:
• csv-handler: for CSV parsing you keep asking about
⚠️ Still working on:
• File path resolution (need more examples)
📉 Learning curve: 71% → 78% → 85% (3 days)
Step 5: Track
Run python3 ~/.hermes/skills/hermes-dojo/scripts/tracker.py save to persist metrics.
Run python3 ~/.hermes/skills/hermes-dojo/scripts/tracker.py history to show the learning curve.
Setting Up Overnight Cron
When the user says /dojo auto:
Set up a cron job that runs at 6:00 AM daily: "Run /dojo analyze, then /dojo improve on the top 3 weaknesses, then send the report to my home channel."
This makes the agent literally improve while you sleep.
Important Notes
- Never modify bundled skills (in hermes-agent/skills/). Only modify user skills in ~/.hermes/skills/
- Self-evolution requires ~/.hermes/hermes-agent-self-evolution to be cloned
- Metrics are stored in ~/.hermes/skills/hermes-dojo/data/metrics.json
- Each analysis run is timestamped so you can track improvement over days/weeks
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
- 01
Bash(python3:*) - 02
Read - 03
Write - 04
skill_manage - 05
delegate_task - 06
session_search - 07
memory
Вложенные файлы
- .gitignore
- LICENSE
- README.md
- install.sh
- references/failure_patterns.md
- scripts/analyzer.py
- scripts/demo.py
- scripts/fixer.py
- scripts/monitor.py
- scripts/reporter.py
- scripts/seed_demo_data.py
- scripts/tracker.py
FAQ
Что делает скилл hermes-dojo?
Continuous self-improvement system for Hermes Agent. Analyzes your past sessions to find recurring failures and skill gaps, then automatically creates or patches skills and runs self-evolution to fix them. Set it to run overnight and wake up to a better agent. Use /dojo to start.
Как установить скилл hermes-dojo?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hermes-dojo запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…