hermes-kanban
Skill0 starsChanged 5 months agoMITView on GitHub
Teaches agents to use Hermes Agent's built-in Kanban system for durable multi-agent task orchestration. Workers drive the board through kanban_* tool calls; humans use the CLI, dashboard, or slash commands. Covers solo dev, fleet farming, role pipelines with retry, and circuit breaker patterns.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- wxxb789/hoatheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- wxxb789/hoa★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- kanban-planningSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. About 0 are common, 9 are distinctive, and 8 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.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 50
Create tasks with appropriate profiles and dependency linking:
- Distinctive: line 78
Every completion should leave metadata for the next downstream worker:
- Distinctive: line 94
Every downstream worker should be able to answer from the metadata: What changed?
- Very specific: line 101
If blocked, human unblocks via dashboard "Unblock" button, hermes kanban unblock <id>, or slash command
- Distinctive: line 107
When you need to control concurrency and prevent all tasks from flooding "Ready" at once, use these strategies in order of preference:
- Very specific: line 111
Create explicit parent→child chains.
- Distinctive: line 131
Use when you need time-based staggering but no data dependency between tasks.
- Very specific: line 135
Create tasks in triage, then promote to ready in controlled batches:
- Distinctive: line 142
Use for manual batch gating or human review gates.
- Distinctive: line 154
Use as a safety net, not primary load control.
- Very specific: line 166
Only the first task starts in ready.
- Distinctive: line 176
Create many tasks with different assignees — all get claimed in parallel on each dispatcher tick:
- Very specific: line 190
If blocked, worker calls kanban_block(reason="...") — task transitions to blocked
- Very specific: line 195
Circuit breaker: After kanban.failure_limit consecutive spawn failures (default 2), task auto-blocks with outcome gave_up.
- Very specific: line 213
If the auto-decomposer isn't routing correctly, switch to manual mode: toggle "Orchestration: Auto/Manual" in the dashboard, or set …
- Very specific: line 216
If a worker doesn't call kanban_heartbeat() within dispatch_stale_timeout_seconds (default 4 hours), the dispatcher considers it stale.
- Distinctive: line 222
Create isolated boards per project:
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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 Kanban Skill
Teaches agents to use Hermes Agent's built-in Kanban system for durable multi-agent task orchestration. Unlike ad-hoc subagent delegation, Hermes Kanban provides a persistent SQLite-backed board with per-task workspaces, structured handoffs, retry/recovery, and human-in-the-loop support.
Covers the four canonical patterns:
- Solo dev with dependency chain — parent→child auto-promotion
- Fleet farming — parallel tasks across multiple specialist profiles
- Role pipeline with retry — spec → implement → review → iterate with block/unblock
- Circuit breaker & crash recovery — auto-block after N failures, PID-level crash detection
When to Use This Skill
Activate when the user:
- Mentions Hermes Agent kanban or multi-agent board
- Wants to decompose work across named profiles (researcher, writer, engineer, reviewer)
- Needs structured handoff between agent stages
- Faces work that might need retry, human review, or survive restarts
- Asks about fleet farming, role pipelines, or circuit breaker patterns
- Says phrases like "use kanban", "orchestrate with hermes", "multi-agent board"
The Kanban Workflow
Step 1: Initialize the Board and Gateway
Set up the foundation:
# One-time board initialization
hermes kanban init
# Start the gateway (hosts the embedded dispatcher)
hermes gateway startThe board has six columns: Triage → Todo → Ready → In Progress → Blocked → Done.
Step 2: Create Tasks with Profiles and Dependencies
Create tasks with appropriate profiles and dependency linking:
hermes kanban create "Design auth schema" --assignee backend-dev
hermes kanban create "Implement auth API" --assignee backend-dev --parent $SCHEMA_IDKey creation options:
--assignee <profile>— route task to a specialist profile--parent <id>— creates dependency chain (child auto-promoted when parent completes)--goal— enable judge-loop verification--goal-max-turns <N>— limit goal-mode iterations--max-retries <N>— override circuit breaker threshold per task
For orchestrator tasks (decomposition), use kanban_create() via the toolset to create child cards programmatically.
Step 3: Workers Claim and Execute via Tool Calls
Workers do NOT shell out to hermes kanban — they use the injected kanban_* toolset. The dispatcher sets HERMES_KANBAN_TASK=t_abcd in the worker's environment.
Worker lifecycle:
kanban_show()— read title, body, parent handoffs, prior attempts, comments- Work in the task workspace (
$HERMES_KANBAN_WORKSPACE) kanban_heartbeat(note="...")— signal liveness during long ops (at least once per hour)kanban_complete(summary="...", metadata={...})orkanban_block(reason="...")
Step 4: Structured Handoff
Every completion should leave metadata for the next downstream worker:
kanban_complete(
summary="migrated limiter.py to token-bucket; added 14 tests, all pass",
metadata={
"changed_files": ["limiter.py", "tests/test_limiter.py"],
"verification": ["pytest tests/ -q"],
"dependencies": None,
"blocked_reason": None,
"retry_notes": None,
"residual_risk": ["edge case in concurrent refresh not yet tested"],
},
)Every downstream worker should be able to answer from the metadata: What changed? How was it verified? What can unblock/retry? What risk remains?
Orchestrator tasks should profile-discover first via kanban_list() with no filters to see installed profiles.
Step 5: Review and Iterate
- Human reviews completed work via dashboard or CLI
- If blocked, human unblocks via dashboard "Unblock" button,
hermes kanban unblock <id>, or slash command - Retrying worker sees prior block reason in
worker_contextviakanban_show() - Circuit breaker auto-blocks after
failure_limitconsecutive spawn failures (default 2) — human must unblock
Load Distribution Strategies (Load Control)
When you need to control concurrency and prevent all tasks from flooding "Ready" at once, use these strategies in order of preference:
Strategy 1: Sequential Dependency Chains (Primary — Recommended)
Create explicit parent→child chains. Children stay in todo until their parent completes, then auto-promote to ready. This naturally serializes work and caps concurrency to 1 active task per chain.
# Parent runs first; children auto-promote sequentially
PARENT=$(hermes kanban create "Research" --assignee researcher --json | jq -r .id)
hermes kanban create "Task A" --assignee dev --parent $PARENT
hermes kanban create "Task B" --assignee dev --parent $PARENTWhy this is primary: Children auto-promote only when parent completes → natural serialization, no external scheduling needed, workers see upstream handoff metadata via kanban_show().
Strategy 2: Staggered Start Times (--scheduled-at)
Schedule tasks to enter ready at specific future times:
hermes kanban create "Task 1" --assignee dev --scheduled-at "2026-07-02T10:00:00Z"
hermes kanban create "Task 2" --assignee dev --scheduled-at "2026-07-02T10:05:00Z"Use when you need time-based staggering but no data dependency between tasks.
Strategy 3: Triage + Manual Promote (Batch Control)
Create tasks in triage, then promote to ready in controlled batches:
hermes kanban create "Task" --assignee dev --triage # Creates in triage column
hermes kanban promote <id> # Promote when readyUse for manual batch gating or human review gates.
Strategy 4: Global Concurrency Caps (Config)
Cap concurrency globally or per-profile via ~/.hermes/config.yaml:
kanban:
max_in_progress: 3 # Board-wide limit
max_in_progress_per_profile: 2 # Per-worker-type limitUse as a safety net, not primary load control.
Orchestration Patterns
Pattern 1: Solo Dev with Dependency Chain
schema ──parent──→ api ──parent──→ testsOnly the first task starts in ready. When a parent completes, the child auto-promotes to ready. Downstream workers see the upstream summary + metadata via kanban_show().
SCHEMA=$(hermes kanban create "Design auth schema" --assignee backend-dev --json | jq -r .id)
API=$(hermes kanban create "Implement auth API" --assignee backend-dev --parent $SCHEMA --json | jq -r .id)
hermes kanban create "Write auth tests" --assignee qa-dev --parent $APIPattern 2: Fleet Farming (Parallel)
Create many tasks with different assignees — all get claimed in parallel on each dispatcher tick:
for lang in Spanish French German; do
hermes kanban create "Translate to $lang" --assignee translator
doneThe In Progress column groups by profile ("Lanes by profile" default).
Pattern 3: Role Pipeline with Retry
PM writes spec → engineer implements → reviewer rejects → engineer retries → reviewer approves.
- If blocked, worker calls
kanban_block(reason="...")— task transitions toblocked - Human unblocks; retrying worker sees prior block reason in
worker_context
Pattern 4: Circuit Breaker & Crash Recovery
- Circuit breaker: After
kanban.failure_limitconsecutive spawn failures (default 2), task auto-blocks with outcomegave_up. Override per task with--max-retries N. - Crash recovery: Dispatcher polls
kill(pid, 0). When PID disappears before TTL, claim releases, task goes back toready. Retrying worker sees prior crash error inworker_context.
Error Handling
Gateway Not Running
The dispatcher needs the gateway: hermes gateway start. If workers aren't claiming tasks, check if the gateway is active.
Circuit Breaker Tripped
A task exceeded failure_limit consecutive failures. Run hermes kanban unblock <id> or use the dashboard "Unblock" button to reset. Consider increasing --max-retries for flaky work.
Worker Crashed (PID Lost)
The dispatcher detected a disappeared PID. The task returns to ready automatically for a fresh attempt. The retrying worker sees the prior crash error in worker_context via kanban_show().
Blocked Task (Human Input Needed)
A worker called kanban_block(reason="..."). Review the block reason in the dashboard or via hermes kanban show <id>. Unblock with the dashboard button, hermes kanban unblock <id>, or slash command.
Auto Decomposer Issues
If the auto-decomposer isn't routing correctly, switch to manual mode: toggle "Orchestration: Auto/Manual" in the dashboard, or set kanban.auto_decompose: false in ~/.hermes/config.yaml. Then use the ⚗ Decompose button manually.
Stale Heartbeat
If a worker doesn't call kanban_heartbeat() within dispatch_stale_timeout_seconds (default 4 hours), the dispatcher considers it stale. The claim releases and the task goes back to ready.
Configuration
Boards (Multi-project)
Create isolated boards per project:
hermes kanban boards create atm10-server --name "ATM10 Server" --switch
hermes kanban --board atm10-server create "Restart server" --assignee opsWorkers see ONLY their board's tasks (HERMES_KANBAN_BOARD pinned in env). Cross-board linking is not allowed.
Goal-mode Cards
Pass --goal to run a worker in a judge loop — checks output against acceptance criteria, continues until done or budget exhausted:
hermes kanban create "Translate docs to French" --assignee linguist --goal --goal-max-turns 15Auto vs Manual Orchestration
- Auto (default): dispatcher runs the decomposer on triage tasks each tick (up to 3 per tick)
- Manual: triage tasks wait for the ⚗ Decompose button or
hermes kanban decompose <id> - Toggle via the "Orchestration: Auto/Manual" pill in the dashboard, or
kanban.auto_decomposein config
Key Config Options
Keys under kanban: in ~/.hermes/config.yaml:
| Key | Default | Purpose |
auto_decompose | true | Auto-run decomposer on triage tasks |
auto_decompose_per_tick | 3 | Cap per dispatcher tick |
orchestrator_profile | "" | Profile for root task after decomposition |
default_assignee | "" | Fallback when LLM picks unknown profile |
failure_limit | 2 | Consecutive failures before circuit breaker |
dispatch_interval_seconds | 60 | Dispatcher tick interval |
dispatch_stale_timeout_seconds | 14400 | Max run time without heartbeat (4 h) |
Auxiliary LLM slots: auxiliary.kanban_decomposer, auxiliary.profile_describer, auxiliary.triage_specifier.
Dashboard
Open visual board with hermes dashboard. Features: drag-drop columns, inline create, multi-select bulk actions, card drawer with dependency editor, LLM-driven Decompose/Specify buttons on triage cards, profile-lane grouping, search/assignee filters, and Nudge dispatcher button.
File Attachments
Tasks can carry file attachments (up to 25 MB each). Upload via dashboard drawer. Workers see attachment paths in their context.
References
See references/card-templates.md for template examples and references/decomposition-patterns.md for task sizing and dependency guidelines.
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.

