Every RESOURCE CLEANUP run reported failed (1) for the nested docker images and builder prune of the production and core stacks with no reason, because run_step()'s standard error was dropped. A failed line now ends with the last non-empty stderr line, cut to CAUSE_LIMIT (160) characters, for the leftover listing, each rmi and every worktree step. The project lookup itself works from / (docker compose -p production ps lists the services), so the cause sits inside the exec. 🎯 Fix: 93 % 💥 Break: 2 % 💸 Tokens: – ⏱️ Velocity: – 🛡️ Security: 100 % 🏆 Score: 91 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
skills 🧠
The agent skill collection of Kevin Veen-Birkenbach.
Every skill is pinned in skills-lock.json for reproducible installs.
First-party skills live under skills/ and are layered on top of the locked ones at install time.
Compatible with Claude Code, Codex, Gemini CLI, Cursor, Copilot, Windsurf, Cline, and other agents.
Naming 🏷️
Every first-party skill is named kvb-<category>-<name> with one of these categories: think, create, code, ci, git, release, check, org, agent, skill: think thinks without producing a file, create produces an artifact, code works on code, ci on pipelines, git on history and forges, release announces a release (changelog, article, posts), check analyses and reports findings, org coordinates agents, agent acts on one agent itself: its repository setup (code index, agent instructions) and its state (drain, suspend, resume), skill works on skills themselves. The coach skills (kvb-coach, kvb-coach-on, kvb-coach-off, kvb-coach-meditation) live in their own repository, coach, which skills-lock.json pins and make install installs. Only kvb-cleanup, kvb-help, kvb-match and the collectors kvb-dream, kvb-optimize, kvb-release and kvb-transcend stand without a category. Names use a-z, 0-9 and single hyphens, at most 64 characters, and equal their directory name. tests/test_naming.py enforces all of it, including that the organigram below lists every skill under its category.
Organigram 🏛️
Every first-party skill under its category.
flowchart LR
kvb((kvb))
kvb --> think[think]
kvb --> create[create]
kvb --> code[code]
kvb --> ci[ci]
kvb --> git[git]
kvb --> release[release]
kvb --> check[check]
kvb --> org[org]
kvb --> agent[agent]
kvb --> skill[skill]
kvb --> none[no category]
think --> think_listen[kvb-think-listen]
think --> think_explain[kvb-think-explain]
think --> think_dialectic[kvb-think-dialectic]
think --> think_criticize[kvb-think-criticize]
think --> think_brainstorm[kvb-think-brainstorm]
think --> think_gaps[kvb-think-gaps]
create --> create_plan[kvb-create-plan]
create --> create_requirement[kvb-create-requirement]
code --> code_scope_guard[kvb-code-scope-guard]
code --> code_clean[kvb-code-clean]
code --> code_refactor[kvb-code-refactor]
code --> code_test[kvb-code-test]
code --> code_tune[kvb-code-tune]
code --> code_transcend[kvb-code-transcend]
code --> code_review[kvb-code-review]
ci --> ci_triage[kvb-ci-triage]
ci --> ci_artifacts[kvb-ci-artifacts]
ci --> ci_observe[kvb-ci-observe]
ci --> ci_track[kvb-ci-track]
git --> git_commit_next[kvb-git-commit-next]
git --> git_commit_no_verify[kvb-git-commit-no-verify]
git --> git_merge_fix[kvb-git-merge-fix]
git --> git_issue_close[kvb-git-issue-close]
git --> git_issue_solve[kvb-git-issue-solve]
git --> git_pr_create[kvb-git-pr-create]
git --> git_pr_label[kvb-git-pr-label]
git --> git_update_branches[kvb-git-update-branches]
git --> git_branch_cleanup[kvb-git-branch-cleanup]
git --> git_worktree_cleanup[kvb-git-worktree-cleanup]
git --> git_gc[kvb-git-gc]
git --> git_worktree_up[kvb-git-worktree-up]
git --> git_worktree_orphans[kvb-git-worktree-orphans]
release --> release_changelog[kvb-release-changelog]
release --> release_article[kvb-release-article]
release --> release_post[kvb-release-post]
git --> git_hotfix[kvb-git-hotfix]
git --> git_push[kvb-git-push]
git --> git_diff[kvb-git-diff]
check --> check_legal[kvb-check-legal]
check --> check_security[kvb-check-security]
check --> check_principles[kvb-check-principles]
check --> check_confidence[kvb-check-confidence]
check --> check_break_risk[kvb-check-break-risk]
check --> check_gate[kvb-check-gate]
check --> check_efficiency[kvb-check-efficiency]
check --> check_ansible[kvb-check-ansible]
check --> check_score[kvb-check-score]
org --> org_organize[kvb-org-organize]
org --> org_swarm[kvb-org-swarm]
org --> org_unify[kvb-org-unify]
org --> org_coordinate[kvb-org-coordinate]
org --> org_perform[kvb-org-perform]
org --> org_matrix[kvb-org-matrix]
org --> org_rasci[kvb-org-rasci]
org --> org_artefacts[kvb-org-artefacts]
org --> org_wsjf[kvb-org-wsjf]
org --> org_robot[kvb-org-robot]
org --> org_operator[kvb-org-operator]
org --> org_priority[kvb-org-priority]
org --> org_drain[kvb-org-drain]
org --> org_suspend[kvb-org-suspend]
org --> org_resume[kvb-org-resume]
think --> think_choice[kvb-think-choice]
org --> org_radio[kvb-org-radio]
org --> org_queue[kvb-org-queue]
org --> org_queue_estimate[kvb-org-queue-estimate]
org --> org_queue_cleanup[kvb-org-queue-cleanup]
org --> org_update[kvb-org-update]
agent --> agent_optimize[kvb-agent-optimize]
agent --> agent_drain[kvb-agent-drain]
agent --> agent_suspend[kvb-agent-suspend]
agent --> agent_resume[kvb-agent-resume]
skill --> skill_tune[kvb-skill-tune]
skill --> skill_auto[kvb-skill-auto]
skill --> skill_essence[kvb-skill-essence]
skill --> skill_transcend[kvb-skill-transcend]
skill --> skill_compile[kvb-skill-compile]
skill --> skill_cleanup[kvb-skill-cleanup]
skill --> skill_silence[kvb-skill-silence]
none --> cleanup[kvb-cleanup]
none --> help[kvb-help]
none --> transcend_all[kvb-transcend]
none --> dream_all[kvb-dream]
none --> optimize_all[kvb-optimize]
none --> release_all[kvb-release]
none --> match_all[kvb-match]
Skill map 🗺️
How the first-party skills work together. A solid arrow means the skill invokes or relies on the other one; a dotted arrow means it fires automatically. Every skill that reports a result closes with the kvb-check-confidence block; those arrows are left out. The locked third-party skills (caveman, ponytail, archify, motion-designer, motion-presenter) are not drawn.
flowchart LR
subgraph triggers [Triggers]
commit_req([commit request])
stage_req([staging or fix ready])
edit_hook([edit in a git worktree])
reminders([agent hint and GNOME popup, off until switched on in Schedules])
noon_midnight([00:00 and 12:00 timer])
code_task([code task])
spawn([subagent spawn])
end
subgraph cat_think [think]
active_listening[kvb-think-listen]
explain[kvb-think-explain]
dialectic[kvb-think-dialectic]
criticize[kvb-think-criticize]
brainstorm[kvb-think-brainstorm]
gaps[kvb-think-gaps]
choice[kvb-think-choice]
end
subgraph cat_create [create]
plan[kvb-create-plan]
requirement[kvb-create-requirement]
end
subgraph cat_code [code]
scope_guard[kvb-code-scope-guard]
clean[kvb-code-clean]
refactor[kvb-code-refactor]
test[kvb-code-test]
tune[kvb-code-tune]
code_transcend[kvb-code-transcend]
code_review[kvb-code-review]
end
subgraph cat_ci [ci]
triage[kvb-ci-triage]
ci_artifacts[kvb-ci-artifacts]
observe[kvb-ci-observe]
track[kvb-ci-track]
end
subgraph cat_git [git]
commit_next[kvb-git-commit-next]
commit_no_verify[kvb-git-commit-no-verify]
merge_fix[kvb-git-merge-fix]
issue_close[kvb-git-issue-close]
issue_solve[kvb-git-issue-solve]
pr_create[kvb-git-pr-create]
pr_label[kvb-git-pr-label]
update_branches[kvb-git-update-branches]
branch_cleanup[kvb-git-branch-cleanup]
worktree_cleanup[kvb-git-worktree-cleanup]
git_gc[kvb-git-gc]
worktree_up[kvb-git-worktree-up]
worktree_orphans[kvb-git-worktree-orphans]
hotfix[kvb-git-hotfix]
git_push[kvb-git-push]
git_diff[kvb-git-diff]
end
subgraph cat_release [release]
changelog[kvb-release-changelog]
release_article[kvb-release-article]
release_post[kvb-release-post]
end
subgraph cat_check [check]
advocate[kvb-check-legal]
medusa[kvb-check-security]
sceptic[kvb-check-principles]
confidence[kvb-check-confidence]
break_risk[kvb-check-break-risk]
gate[kvb-check-gate]
efficiency[kvb-check-efficiency]
check_ansible[kvb-check-ansible]
score[kvb-check-score]
end
subgraph cat_org [org]
democracy[kvb-org-organize]
funnel[kvb-org-swarm]
unify[kvb-org-unify]
coordinate[kvb-org-coordinate]
subagent_model[kvb-org-perform]
status_matrix[kvb-org-matrix]
rasci[kvb-org-rasci]
artefacts[kvb-org-artefacts]
wsjf[kvb-org-wsjf]
robot[kvb-org-robot]
operator[kvb-org-operator]
priority[kvb-org-priority]
org_drain[kvb-org-drain]
org_suspend[kvb-org-suspend]
org_resume[kvb-org-resume]
radio[kvb-org-radio]
queue[kvb-org-queue]
queue_estimate[kvb-org-queue-estimate]
queue_cleanup[kvb-org-queue-cleanup]
org_update[kvb-org-update]
end
subgraph cat_agent [agent]
agent_optimize[kvb-agent-optimize]
agent_drain[kvb-agent-drain]
agent_suspend[kvb-agent-suspend]
agent_resume[kvb-agent-resume]
end
subgraph cat_skill [skill]
autotune[kvb-skill-tune]
autoskill[kvb-skill-auto]
essence[kvb-skill-essence]
skill_transcend[kvb-skill-transcend]
compile[kvb-skill-compile]
skill_cleanup[kvb-skill-cleanup]
silence[kvb-skill-silence]
end
subgraph cat_none [no category]
cleanup[kvb-cleanup]
help_skills[kvb-help]
transcend[kvb-transcend]
dream[kvb-dream]
optimize[kvb-optimize]
release_all[kvb-release]
match[kvb-match]
end
commit_req -.-> commit_next
commit_req -.-> commit_no_verify
stage_req -.-> confidence
edit_hook -. council gate .-> democracy
reminders -.-> dream
noon_midnight -.-> queue_cleanup
code_task -.-> clean
code_task -.-> scope_guard
spawn -.-> subagent_model
commit_next --> merge_fix
commit_next --> commit_no_verify
commit_next --> explain
commit_next --> dialectic
issue_close --> confidence
issue_solve --> issue_close
issue_solve --> funnel
issue_solve --> pr_create
pr_create --> issue_close
pr_create --> pr_label
pr_create -. push .-> operator
update_branches --> active_listening
update_branches -. conflicts .-> merge_fix
update_branches -. pushes .-> operator
commit_no_verify --> clean
commit_next --> clean
clean --> sceptic
clean --> refactor
commit_no_verify --> advocate
commit_next --> git_diff
commit_no_verify --> git_diff
advocate --> dialectic
confidence --> break_risk
confidence --> gate
pr_label --> gate
stage_req -.-> score
score --> confidence
score --> break_risk
score --> efficiency
efficiency -. heavy commands .-> queue
git_push --> code_review
code_review --> medusa
code_review --> sceptic
code_review --> advocate
code_review --> efficiency
code_review --> score
code_review -. heavy lenses .-> queue
democracy -. push row without a clean stamp .-> code_review
gate --> democracy
gate --> hotfix
triage --> hotfix
democracy --> hotfix
hotfix --> rasci
confidence -. objective .-> autotune
coordinate --> democracy
cleanup --> democracy
cleanup --> worktree_orphans
branch_cleanup --> democracy
worktree_cleanup --> branch_cleanup
git_gc --> branch_cleanup
git_gc --> worktree_cleanup
worktree_up --> democracy
worktree_up --> rasci
worktree_orphans --> git_gc
worktree_orphans --> choice
worktree_orphans --> operator
funnel --> democracy
funnel --> dialectic
funnel --> subagent_model
dialectic --> subagent_model
democracy --> merge_fix
democracy -. claim and release .-> rasci
funnel --> rasci
unify --> funnel
unify --> rasci
unify --> gate
unify --> branch_cleanup
unify --> cleanup
unify --> radio
status_matrix --> rasci
cleanup --> artefacts
cleanup -. request .-> queue_cleanup
queue_cleanup --> queue
queue_cleanup -. pan-pan, security .-> radio
queue_cleanup --> rasci
artefacts --> rasci
democracy --> wsjf
wsjf --> rasci
priority --> rasci
priority -. pins outrank .-> wsjf
operator --> rasci
dream --> rasci
org_update -. newsletter .-> radio
observe --> triage
observe --> ci_artifacts
observe --> track
triage --> track
track --> ci_artifacts
track --> hotfix
triage --> ci_artifacts
triage --> democracy
triage --> dialectic
triage --> funnel
triage --> tune
tune --> democracy
tune --> funnel
tune --> merge_fix
tune --> dialectic
tune --> check_ansible
check_ansible -. heavy commands .-> queue
dialectic --> active_listening
criticize --> dialectic
criticize --> active_listening
sceptic --> dialectic
gaps --> sceptic
gaps --> active_listening
gaps --> requirement
requirement --> active_listening
requirement --> brainstorm
requirement -. offer .-> plan
brainstorm --> dialectic
plan --> robot
plan --> active_listening
robot --> dialectic
dream --> dialectic
dream --> optimize
dream --> cleanup
dream --> worktree_orphans
optimize --> skill_cleanup
optimize --> transcend
optimize --> autoskill
optimize --> autotune
optimize --> compile
optimize --> essence
optimize --> refactor
optimize --> tune
optimize --> silence
silence -. peer protocol .-> democracy
optimize --> agent_optimize
optimize --> gaps
agent_optimize -. install .-> operator
agent_optimize -. domain graphs .-> rasci
org_drain -. message .-> agent_drain
org_suspend -. message .-> agent_suspend
org_resume -. message .-> agent_resume
agent_drain --> agent_suspend
org_suspend -. hold and accept .-> operator
org_resume -. hold and accept .-> operator
agent_suspend -. stops .-> robot
autoskill --> autotune
autotune --> essence
transcend --> skill_transcend
transcend --> code_transcend
release_all --> changelog
release_all --> release_article
release_all --> release_post
release_all --> active_listening
release_all --> brainstorm
release_article --> active_listening
release_article --> brainstorm
release_post --> active_listening
release_post --> brainstorm
changelog --> active_listening
changelog --> brainstorm
skill_transcend --> active_listening
skill_transcend --> autotune
code_transcend --> active_listening
autotune -. own scripts .-> skill_transcend
autotune -. deterministic prose .-> compile
autoskill -. deterministic steps .-> compile
skill_transcend -. deterministic moves .-> compile
essence -. procedures .-> compile
compile --> active_listening
skill_cleanup --> operator
skill_cleanup -. unknown skills .-> transcend
tune -. measurements .-> code_transcend
test --> triage
test --> dialectic
test --> clean
refactor --> clean
pkgmgr wrappers 🔗
These git skills are thin wrappers: the pkgmgr command holds the logic, the skill adds claims, picks and the operator handover.
| Skill | pkgmgr command |
|---|---|
kvb-git-worktree-up |
pkgmgr worktree up |
kvb-git-worktree-cleanup |
pkgmgr worktree cleanup |
kvb-git-branch-cleanup |
pkgmgr branch cleanup, pkgmgr branch purge |
kvb-git-gc |
pkgmgr gc |
kvb-git-worktree-orphans |
pkgmgr worktree orphans |
Requirements 📦
- Node.js (provides
npx skills). jq(only required formake update).- Python
jinja2formake test(pinned inorchestrator/requirements.txt). - Docker with the compose plugin (optional, runs the Agent Orchestrator).
Installation 🚀
Install the skills globally into your home (~/.agents/skills and ~/.claude/skills):
make install
Copy the skills into a specific project (<repo>/.agents/skills and <repo>/.claude/skills):
make project TARGET=/path/to/repo
Both commands also patch the target's .claude/settings.local.json, the machine-local, untracked file, so a project's reviewed .claude/settings.json is never rewritten by an install: the caveman and ponytail plugins are enabled so their modes auto-activate on session start, and two reminder hooks are registered, both silent until switched on in the hub's Controls › Schedules tab (<council>/schedules.json): kvb-dream points each agent at /kvb-dream once every N hours (default 12, stamped per session in ~/.claude/.dream-stamps/), and kvb-coach from the coach repository runs its short form at the first prompt every N hours (default 1), once across all agents (stamped in ~/.claude/.coach-hours/); the global install also copies the kvb-dream-notify.timer systemd user timer, which recommends /kvb-dream in a GNOME notification daily at the set times (default 17:00, off) and catches up once after a missed run, enables the kvb-org-queue-cleanup.timer and kvb-org-queue-cleanup.path user units, which start a kvb-org-queue-cleanup round at 00:00 and 12:00 local time without catch-up and whenever an agent runs cleanup.py request, and enables kvb-schedules.path and kvb-schedules.timer, which run skills/kvb-org-organize/scripts/schedules.py run on every change of schedules.json and every 5 minutes: it switches and retimes the first-party units and the kvb-orchestrator-* timers to their rows (a drop-in schedule.conf; an OnCalendar that systemd-analyze calendar refuses keeps the old schedule and shows as the row's error) and lists every user timer and every Claude task of a .claude/scheduled_tasks.json under ~/Repositories for the hub. A PreToolUse gate from the kvb-org-organize skill blocks edits to files in a git worktree until the session holds a claim (skills/kvb-org-organize/scripts/council.py), and its resource watch (skills/kvb-org-organize/scripts/watch.py) measures disk, Docker and caches, cleans up low-risk data and blocks new heavy jobs before the disk runs out; it stays inactive until ~/.claude/agents-council/config.json exists, and because its hooks run that config's commands outside the sandbox, the install adds Edit(~/.claude/agents-council/**) to permissions.deny, which also covers Write in every permission mode; Edit(~/.local/state/agents-council/**) joins it, so the state the skills' scripts keep there changes only through those scripts. The global install writes both rules into ~/.claude/settings.json too (scripts/council-deny.js), the only user-wide settings file, so they bind sessions in every repository. The kvb-org-radio skill registers five hooks: its prompt hook and a PostToolBatch hook deliver the immediate radio (call, broadcast, security, pan-pan, mayday) mid-turn, a Stop hook delivers the post (post, newsletter and call receipts) when the turn ends, an asyncRewake Stop hook wakes an idle session for the radio, and a PreToolUse hook refuses every writing action while a mayday holds, except those of its sender and of the agents that join it with radio.py assist. The PreToolUse hook of the kvb-org-queue skill sends heavy commands through queue.py hold once the config sets queue_enforce, and holds a held command to the settings' Bash deny and ask rules, which see only queue.py hold. The global install also installs the MEDUSA security scanner with pipx for kvb-check-security, unless medusa is already on the PATH. It clones microsoft/TokenEconomizer at the commit pinned in plugins-lock.json to ~/Repositories/github.com/microsoft/TokenEconomizer and installs it for Claude Code and, when codex is on the PATH, for Codex, which runs its hooks once they are approved with /hooks; tool pruning only proposes deny lists and never drops AskUserQuestion, Artifact, Skill, Agent, ToolSearch or the hub and code graph MCP tools, micro-skills learn only from repeated failures, and the loop guard stays on (requirement 021). Two hooks of the kvb-org-perform skill (skills/kvb-org-perform/scripts/log.py) log every Agent spawn with its task class, model and effort, and store the quality feedback a sandboxed session prints, in ~/.local/state/agents-council/subagent-model.jsonl. Every hook runs /usr/bin/python3 -I, so neither the python3 of a sandbox-writable virtualenv on the PATH nor PYTHONPATH reaches the hooks, which run outside the sandbox; older bare python3 hook entries are rewritten. On a Bash call the radio, watch, queue, code graph and log hooks run in one interpreter per event, skills/kvb-org-organize/scripts/hooks.py pre-bash and post-bash, each handler in its own try; an exit 2 of any handler still blocks with its text, and the six older separate Bash entries are rewritten to these two. The reminder hooks run /usr/bin/bash and pin PATH=/usr/bin:/bin, and the council scripts keep only the PATH directories this uid cannot write (skills/kvb-org-organize/scripts/hookpath.py), so no binary an agent plants on the inherited PATH runs outside the sandbox. Existing settings are preserved.
The council root is the one directory every kvb-org script, hook and the hub share: the register, radio, queue, claims, operator rows, score journal, gate receipts, security cache and night state, plus pages/ (the kvb-git-diff review pages the hub reads), approvals/ (the replay stores of approval.py verify) and gates/ (gate logs). skills/kvb-org-organize/scripts/councilroot.py alone resolves it: $AGENTS_COUNCIL_ROOT, else $XDG_STATE_HOME/agents-shared, else ~/.local/state/agents-shared, so it survives a reboot; councilroot.py root prints it and councilroot.py dir <part> creates and prints a part. It and agents-release below are the only state paths a sandbox's allowWrite may name. Its sibling ~/.local/state/agents-council (councilroot.py durable) is host-only and never belongs in allowWrite: only hooks, the runner and the systemd units write it (gates.db, the watch hook's copies of the receipt, parent, acceptance and queue-history journals, queue-cleanup.json, resources/, subagent-model.jsonl), and the hub mounts it read-only; no directory is both agent-writable and host-written except the council root, where every host writer opens files through nofollow.py. The kvb-release drafts lie in agents-release/<version> beside both (councilroot.py release <version>). The global install first runs councilroot.py preflight and stops before it copies anything unless ~/.claude/settings.json lists both agents-shared and agents-release in sandbox.filesystem.allowWrite, no allowWrite entry reaches agents-council in the managed file, its managed-settings.d drop-ins, the user or user-local file (the list councilroot.py shares with the queue's permission check), in a project .claude/settings.json or .claude/settings.local.json below the pkgmgr repositories and worktrees directories (directory and file links followed), or in the start directory of any session listed in ~/.claude/projects, and the move below would succeed; it warns while the agents are not suspended. Fixing those entries is the operator's step. It then builds the skills, stops the hub, the runner, the offices, resources and queue-cleanup units, runs councilroot.py migrate, which moves an earlier council root in /tmp/agents-council into the council root, copies the skills, runs migrate --catch-up for what the old skills wrote meanwhile, and starts the units again; the hub image is built before the container is replaced, and a failed build leaves the hub down and fails the install until bash scripts/orchestrator.sh install succeeds. Migrate refuses while a lock there is held or a queue job waits, and, checked under those locks, moves nothing (exit 4) while a file cannot be moved or a whole file both roots hold differs; the install then stops with the earlier root intact. Each file is renamed to a .migrating name before it is copied, so a writer that opens the old name meanwhile makes a new file the catch-up moves. An identical file leaves one copy, a .jsonl journal gets the rows it lacks (by id, else each exact line as often as the earlier root holds it more often, in ts order), links are skipped, and a second run moves nothing and duplicates no row. The catch-up keeps a differing whole file beside its namesake as <name>.legacy-<hash> (exit 3); a file that fails after the check stays behind (exit 5). After exit 3 or 5 the install goes on so the new skills read the new root, names every such file and exits 1 at the end. ~/.local/state/agents-council/migrate.started exists from the first move to the end of a run; when a crash leaves it, the install copies the new skills anyway, names it and exits 1, and the next completed migrate removes it. Because the council root survives reboots, each kvb-org-queue-cleanup round first runs councilroot.py retire, which moves gate logs and review pages older than 30 days into archive/<date>/, and the radio appends the rows it drops past its last 500 to archive/news-<date>.jsonl; no reader opens archive/, which kvb-cleanup offers for deletion. Run the install with every agent suspended (kvb-org-suspend) and the queue empty, so nothing writes either root during the move.
The global install also runs the Agent Orchestrator, a local review page in which the operator approves or rejects the agents' staged commits (the kvb-git-diff skill): it copies orchestrator/ to ~/.local/share/kvb-orchestrator, starts it there with docker compose up -d --build (restart unless-stopped, bound to 127.0.0.1 only, state in ~/.local/state/kvb-orchestrator) and registers its MCP server for Claude Code at user scope. Its port is KVB_ORCHESTRATOR_PORT in orchestrator/.env; the hub page is http://localhost:<port>/, the MCP endpoint /mcp. Without docker the hub is skipped and the commit skills ask in chat. The hub reads new radio traffic aloud in maritime phraseology and takes push-to-talk input; its image builds both engines from pinned, sha256-verified sources and runs each as a separate process: Piper (piper-tts, GPL-3.0-or-later) with the en_US-libritts-high voice (904 speakers, trained on LibriTTS, CC BY 4.0, from rhasspy/piper-voices) and whisper.cpp (MIT) with the multilingual ggml-small-q8_0 model (OpenAI Whisper weights, MIT, 264 MB). The operator's own voice is KVB_ORCHESTRATOR_OPERATOR_VOICE in orchestrator/.env. Its Tree reads only the file pkgmgr branch tree writes: the install clones PKGMGR_REPO (default the GitHub repository, never the sandbox-writable local checkout), builds the newest v* tag a fully trusted GPG key signed into ~/.local/share/kvb-orchestrator/pkgmgr, and enables the kvb-orchestrator-tree.timer user timer, which writes ~/.local/state/pkgmgr/tree/branch-tree.json a minute after its previous run while the hub page polls, on at most half a core; the hub mounts that directory read-only and starts no git. A signed tag without branch tree leaves the timer off.
Stream → Radio (#stream/radio) is the hub's radio interface. Its station list shows one line per station, the full name in the tooltip, with its state and a play or stop button; when the browser blocks autoplay, the stream fails or the CSP refuses its origin, the row and a toast say so, and one click starts the station. New stations play daily around the clock. While the hub reads a message aloud, the speaking agent pulses there and in the Orbit and Chord views, under the caption " speaking" with the message's first line; under prefers-reduced-motion the ring stays still. The speech bubble icon in the header (a hub setting, kept across reloads) puts a bubble at each speaking agent in the Agents graph, 3D, Hierarchy, Radio and Stream views, or in a caption bar at the bottom when the view does not show that agent: the agent being read gets the largest bubble and its words appear in time with the audio, waiting messages show a smaller … bubble per agent, and without speech output the same rows run at 180 words a minute, at least 1.5 s each. The composer sends on all seven channels: post and call to one agent, newsletter, broadcast, pan-pan, security and mayday to all. "Record" records with MediaRecorder; the hub transcribes the recording with whisper.cpp off the request thread (at most 120 s of audio, a 120 s timeout, four at a time), keeps it for replay in ~/.local/state/kvb-orchestrator/voice (the newest 50) and puts the transcript into the field to edit; the message goes out as text, with the recording's host path and sha256 only when "Attach recording" is ticked. The hub transcribes at most six recordings a minute and 600 s of audio an hour. Every operator message is passkey-signed, and the hub verifies the signature against the pinned keys, each once, before it relays; operator_message(id, text, to) answers match only for the signed text and recipient; for a denial the signature covers the recipient the inbox resolved at signing, and the answer's text is only the signed reason, never the agent's own words the radio row quotes. "Cancel mayday", Evening, Sunset, Sunrise and a settings save that adds a stream URL take the passkey the same way.
The hub page loads nothing from the network: its icons come from Bootstrap Icons 1.13.1 (orchestrator/vendor/bootstrap-icons, MIT), inlined per page as the symbols it uses, and its 3D views from 3d-force-graph 1.80.1 and three 0.186.1 (orchestrator/vendor, MIT, served by the hub under /vendor/); the radio's Gibberlink mode encodes with ggwave 0.4.0 (orchestrator/vendor/ggwave, MIT, the npm build), which only the sandboxed encoder frame /gibberlink loads under its own CSP, since it needs the eval and WebAssembly the hub page never allows; the speech bubbles use Comic Neue 400 latin from @fontsource/comic-neue 5.3.0 (orchestrator/vendor/comic-neue, SIL OFL 1.1), which the page fetches and adds through the FontFace API, so the CSP needs no font-src. In the Artifacts Tree, "Delete" on a merged-clean branch without skip reason, or "Delete all merged", shows the dry-run lines and asks for the passkey signature; the hub then writes a job (repository, branch, worktree and tip per item, no command) into ~/.local/state/kvb-orchestrator/cleanup/jobs. The kvb-orchestrator-cleanup.path user unit runs client/cleanup.py on the host, which verifies the signature against the pinned keys, runs pkgmgr branch cleanup --json --local --branch <name> as a dry run in the repository, then --apply only when that plan names exactly the signed branch as merged-clean at the signed tip and worktree, refuses everything else unchanged, writes each result to cleanup/results and rewrites the tree file. The buttons stay disabled while the tree file says delete_ready: false.
The Agents view "Hierarchy" draws the council's formal offices as a collapsible organigram: the Operator above the chair; in line under the chair one unit per dimension with its domain chairs (<dimension>/<line>) and one for the presidents (work/<slug>); beside the chair, on a side branch, the staff positions: organisers (cluster/<slug>) and single-segment offices such as stack-architecture. Each box shows the office and its holder, so an agent with several offices appears in each of them. A dashed line marks an additional superior, read live from the kvb-org-rasci register: an open task whose R (or worker) holds an office and that names another office holder A or C links that holder's first office to the agent's office for the task (the office or claimed work named like the task, else the agent's first office); the chair adds none, its solid line already runs there. On a narrow screen the chart scrolls inside its own frame, never the page. The chair in every graph is the holder of the chair office, not a fixed name. Appointing, handing over or recalling an office there asks for the passkey signature; the hub writes a job (office, signed holder, successor session, work; no command) into ~/.local/state/kvb-orchestrator/offices/jobs, and the kvb-orchestrator-offices.path user unit runs client/offices.py on the host, which verifies the signature, refuses a council directory others can write, a link on the path or a holder that changed since the signature. For a takeover or recall it moves the office aside and removes it only while the claim there still names the signed holder; an appoint or takeover then runs a plain council.py claim <office> for the successor by argv. council.py itself has no flag that overrides a live holder. The same view holds the operator's agent order as a drag list with up and down buttons: rasci.py agents order stores it in agent-order.json beside the register, where it breaks ties of equal task priority and orders the chair's grants without touching any task's --prio pin.
The Tasks tab (key 4, #tasks/list, #tasks/board, #tasks/rasci) shows the kvb-org-rasci register as a list, a board by status and a RASCI matrix; queue jobs from council/queue.json appear as "waiting for a grant", and the filter "Waits on Operator" is the inbox, which the Inbox entry under Stream opens: every pending review, ask, rule request, operator row and choice card, with no Choices column of its own. The Tasks toolbar is one row that wraps on narrow screens (views, filter, estimation, sort and business value, trend on the burn view), the status chips the second; every list row shows its ETA, and #tasks/3d draws the tasks and their dependencies on the 3D engine. Its "Request choices" dropdown has one button per channel, post and call to the agents ticked in it, newsletter, broadcast, pan-pan, Sécurité and mayday to all, that sends the fixed request "send me your open decisions as choices" without a text field, one passkey assertion over every recipient (/api/choices/sign, then /api/choices). Agents answer with decision_request, shown as choice cards, and a click on an option is the passkey-signed answer: after the 3 s undo the hub verifies the signature and posts the answer to the asking agent, whose decision_wait returns it as message and answer for operator_message. A task's sheet pins its priority (rasci.py set <task> --prio <n>) or sets and drops the operator's WSJF estimate (rasci.py estimate <task> Operator --value <fib> --complexity <fib> or --drop) after a passkey signature; the hub writes an argv-only job, and the runner, started with --rasci <rasci.py> --council <council root>, verifies it like an operator command and runs rasci.py from / without a shell, killing it after 30 s. Agent order stays untouched. The install copies the fresh runner unit and restarts the runner when it is enabled, and only while the installed council.py, nofollow.py and rasci.py match this tree: otherwise it disables the runner and asks for make install. The home install and orchestrator.sh install, stop and runner refuse while ~/.local/state/kvb-orchestrator/runner-job.json names a live runner pid, which the runner keeps only while it runs a hub row, because stopping the runner kills that row; run them in a terminal once no row runs, never as a hub row. A starting runner has the hub fail every job an earlier runner left running back to its agent (/api/runner/restart). The runner unit pins PATH to /usr/bin:/bin, so a signed command names any other program by its full path; a runner started without --rasci and --council keeps running signed commands and refuses task changes, and so does one whose council is a symlink or another uid's. Each worktree in the tree file may carry "flow": {"pull": [...], "push": [...], "source": "file"} or null, which the Tree, the Chord edges, the detail panel and the matching task show; a malformed flow shows as invalid. Worktrees and tasks with open work (uncommitted, unpushed, unmerged, task not done) carry a warning bar.
Every request has exactly one kind (requirement 093): expired (an ask or decision lapsed_of() keeps, listed as lapsed in the state), failed (an operator row whose last hub job failed or the runner refused), stale (a review whose staged tree or HEAD moved, a row whose merge preview moved off its Match snapshot) or open. The Stream shows open requests inline and a failed row once, its runner line folded into it; expired and stale requests only behind one collapsed footer line "N stale requests · n expired · n stale" that opens them in place. Tasks → Operator has the chips Open, Expired, Stale, Failed and All, each with its count and listing exactly its kind (All by default). The footer and every chip have "Select all" and "Delete N": one passkey assertion over a dismiss item per request (/api/sign, then POST /api/requests/dismiss), refused unsigned, for a request no longer listed (404), held, or of another kind than its chip (409), so an open request goes only from Open or All. The requests leave every browser's state, Match and the badge at once; /api/inbox/undo/<batch> brings them back within the undo window, after which dismissals.json in the hub state keeps them hidden while their command and hub job stay the same. No agent gets a message; an open ask is also denied without a reason, so its hook stops waiting, while every other request keeps its record.
The board marks what runs right now (requirement 074), one labelled chip per mark in this order: a running queue job of the task or the queue card's own (bi-cpu, accent, its kind and runtime) from the active entries of council/queue.json; an agent working (bi-person-workspace, ok, the agent and how long ago it beat) when the task's worker or one of its R beat within the last 5 minutes, read from the busy sessions of the host snapshot agent-sessions.json and the council claims (state field beats); a hub job running (bi-terminal, info, the command's head) while runner-job.json in the hub state dir names the task (state field runner, read without following a link and dropped once the hub records the job as ended). A marked card gets a 2 px border in its first mark's tone and a 3 s glow that animates opacity only; with prefers-reduced-motion the border stays and the glow stops. The board chip "Running" shows only marked cards, kept in the page like "Older Done".
Without reinstalling the skills, make orchestrator-install installs, builds and starts only the hub, make orchestrator-check checks the installed hub (image, container, logs, HTTP, pinned keys, hook, runner, tree timer, disk; exit 1 on a failure), make orchestrator-pin CREDENTIAL=<blob> pins the passkey that "Register passkey" shows, make orchestrator-runner enables the runner service, and make orchestrator-hook registers the PermissionRequest hook in ~/.claude/settings.json, waiting the minutes of Settings › Claude dialogs (1 to 60, default 60; 3600 s while the hub has saved none), beside the same client as closing hooks (async PostToolUse, Stop and UserPromptSubmit, and SessionEnd), replacing an earlier Agent Orchestrator entry and keeping the file mode, after a copy to settings.json.before-kvb-orchestrator-hook (Claude Code reads ~/.claude/settings.local.json only in sessions started in the home directory). Agents that reach the Docker socket are root-equivalent: until the agent VMs of core requirement 093 isolate them, the signatures do not hold against such an agent. make watch-check shows whether the resource watch hook is stuck (running hooks, holders of the kept queue history, age of the stored stage).
The Controls › Queue tab lists the waiting queue jobs, the learnings queue.py learned --json prints (per kind the runs, shares, slot limit and caps, per signature the learned values, the last 20 history rows) and the settings budget_percent, ram_cap_percent and slot_limits per kind and load_limits. The hub runs queue.py read-only with the queue config mounted read-only at /queue-config and never writes the config. "Start now" on a waiting job, there and on the queue job rows of a Kanban card, signs queue.py override <id>; staged settings are signed together under one passkey assertion as one queue.py config set <key> <value> each (POST /api/queue). The runner, started with --queue <queue.py> --council <council root>, verifies each like a gate change and runs queue.py from / without a shell with the operator's HOME, refusing every argv but override <id> and config set of a known key with a plain number; queue.py itself refuses a value its config check rejects, leaving the file unchanged. An overridden job skips the band, slot limits, reservations and rank, never the live guard (load_limits) or the disk (skills/kvb-org-queue/controls.md).
The Hardware chart of Resources draws the limits of <council>/limits.json (requirements 083, 084 and 091): for the metric picked above the chart (CPU, RAM, swap, disk or PSI) a labelled line each for lower, upper, STOP and MAYDAY, and for CPU and RAM a thin read-only line at the live AIMD target of limits-target.json; each line's tooltip says what its level means and does. The lines move vertically by mouse or touch (pointer events) or, focused, by the arrow keys (1 point) and Page Up/Down (5); a moved line turns dashed and shows its new and old value, and the moves collect in a bar "Save N changes / Discard". Save sends every staged value in one request; an order break blocks it and names the line. The Limits menu holds a checkbox per level (lower, upper, STOP, MAYDAY, target) to show or hide its lines, the Calm (band 50 to 70), Balanced (70 to 90) and Max (80 to 95) profiles, which set every value at once (orchestrator/kvb_orchestrator/limiting.py, PROFILE_TABLE), and "Matrix…", the table of every value as number inputs that stage the same way; a right click on the chart opens it too. The View menu beside Panels shows or hides the legend, the queue markers, the wait bands and the limit lines (series stay on their legend chips); this browser keeps every such choice in localStorage. The hub checks every save with the installed kvb-org-organize/scripts/limits.py (a broken lower < upper < STOP < MAYDAY is refused, 400) and writes the file itself through nofollow.py, as the council root is mounted read-write. A batch whose every value stays at or below the one in force saves at once (POST /api/limits with {limits, proof: null}); one with a higher value, or any save while no limits file is in force, needs one passkey signature over the whole limits object (POST /api/limits/sign), else nothing is written. A GPU span without a reading names the first nvidia-smi error line the sampler kept (gpus[].error, such as "Failed to initialize NVML: Driver/library version mismatch") in its tooltip.
"Prune" on the board's toolbar opens the stale task prune: a checklist of every open register task without a register change for N days and without a running mark (N from the days stepper, 3 to start with; changing it recomputes the list, all ticked), grouped by the slug's prefix before the first "/" (slugs without one under "other"), each group collapsible with a tri-state checkbox and its count, each row with its owner's avatar and its age; a filter field narrows the rows and "Prune N" counts the ticked rows it shows, and a sticky footer keeps the dial and the Prune button in view; and the answer window on the analog dial, one dial component shared with the undo window (1 to 60 minutes, 10 to start with). One passkey assertion signs two runner jobs (POST /api/prune): the announce job, which the runner runs at once as radio.py send security, naming every task and the deadline in local HH:MM and ISO 8601, and the apply job rasci.py prune --since <epoch> <task>..., whose signed not_before is the deadline: the runner leaves a job with a not_before ahead queued and unclaimed and runs the next one, never waiting on it. At the deadline rasci.py prune sets every listed task stopped that is still open, has no active queue job and no register change since the list was taken; an agent keeps a task before then with rasci.py keep <task>, which only touches its change time. The board shows a countdown chip until the deadline. The runner needs --radio <radio.py> beside --rasci and --council and refuses a prune without them, an argv of another shape, no task or one named twice (no cap on their number beyond the hub's 1 MiB body limit), an operator/ or hotfix/ row, an announce whose deadline passed or lies over an hour ahead, and an apply job before its deadline; its replay store accepts the approval's counter again for the apply job, which runs after later signatures moved the counter on.
The Controls › Schedules tab is one table of every timer and cron on the host (requirement 068): Source (Skills, Hub, Claude, System, one filter chip each), Name, Schedule, Next, Last and On, with the reconciler's last run once in the header. A click on a schedule cell turns it into a field and Enter saves: daily times (17:00, 21:30) or a raw OnCalendar expression for a timer, whole hours for a reminder hook, a 5-field cron for a Claude task, which the hub checks, naming the field it refuses (400). Skills and Hub rows go into schedules.json without a passkey (POST /api/schedules with {row, value} or {unit, value}); a System timer or a Claude task needs a passkey signature over schedules.py timer <unit> --on|--off|--reset|--calendar <expr>|--at <HH:MM>... or schedules.py cron <file> <id> --cron <expr>|--remove ({items, proof}; 403 without a valid proof, nothing stored). The runner, started with --schedules <schedules.py> --council <council root>, verifies each like a queue change and runs schedules.py from / without a shell, refusing every other argv and every kvb-orchestrator-* unit; schedules.py writes the drop-in and reloads, or edits the task's cron keeping every other byte of the file, and refreshes the view. Reset removes only the drop-in; the hub never deletes a unit file.
For approvals the hub is only a relay: every approval of an ask, a staged commit or an operator command is signed end to end with a WebAuthn passkey held in KeePassXC (through KeePassXC-Browser, relying party localhost, origin http://localhost:<port>; ES256, EdDSA and RS256, so a hardware key can be pinned beside it). To register, open the hub at http://localhost:<port>/ (WebAuthn needs the domain; on 127.0.0.1 the page links there), choose "Register passkey" in the settings and run the host command the page shows, python3 ~/.local/share/kvb-orchestrator/client/approval.py pin --port <port> --approvers ~/.config/kvb-orchestrator/approvers.json --credential '<blob>', in a terminal outside every sandbox: it pins the key in ~/.config/kvb-orchestrator/approvers.json with mode 0600, a file no sandboxed agent can write and the hub mounts read-only; the hub never pins. Each approval, or one bulk selection, is one signature over the hashes of every item, a nonce and an expiry; each auto-approval rule is signed once. In the inbox, an operator command run with "Run" shows the runner's output in a console under its row until "Close". "Deny" on an ask, an operator row or a rule request signs the denial with its channel and optional reason (a hash no approval shares) and, after the 3 s undo, tells the requesting agent by post or by the radio class picked, never mayday; the hub verifies that signature against the pinned keys before it stores or sends anything, the hook passes the reason on only when it verifies the signature too, and a denied operator row ends as stopped. Agents ask for an auto-approval rule with the MCP tool rule_request (the rules form's limits; a request stays open for the ask lifetime of one hour, at most 20 in all, and 3 per agent name, which only spreads the queue since MCP names no caller); its row shows a dry run over the last 7 days, and only "Accept" with the passkey stores it. The Controls › Rules tab lists the stored rules grouped as Ask, Review and Decision, each row with its on switch, pattern, directory, the agents it applies to, an expiry chip that turns red under 2 days, and how many of the last 50 asks, reviews or decisions of its kind the rule matcher would have granted; "New rule" opens the rules form in a sheet whose live count POST /api/rules/match answers for the draft with the same matcher, reading only and granting nothing, and the settings files, the never-granted patterns, the agent groups and the rule sets follow as sections collapsed by default. The hub stores no rule, of any kind, whose passkey assertion it cannot verify. The executors verify it themselves against the pinned keys and fail closed: the runner (client/runner.py, the kvb-orchestrator-runner user service) runs only signed commands, each signature once, recorded in ~/.local/state/kvb-orchestrator-approvals/runner.json; the PermissionRequest hook (client/permission_hook.py --port <port> --timeout <seconds> --approvers ~/.config/kvb-orchestrator/approvers.json --replay ~/.local/state/kvb-orchestrator-approvals/hook.json) allows only a signed item that matches its own tool, command, cwd and session, else it leaves the decision to Claude Code's own prompt; it runs for every tool, and its command is a Bash call's command line, or for any other call, and for a Bash call that sets more than its command, description, timeout and background flag, the whole tool input as sorted JSON, so a signature never covers a value the hub did not show (over 4000 characters Claude Code asks itself); the inbox, the stream and Match show an ask like Claude Code's dialog, 1 Yes, 2 No and "Tell Claude what to do instead", whose text denies with it as the reason; it also turns each question of an AskUserQuestion call into a decision card that expires with its timeout, answering the call only once a pinned key signed the pick of every question (a multi-select card toggles options and sends them with one signature, and every such card also takes one signed line of "Other" text); the commit skills run approval.py verify on the staged tree before committing, else they ask in the terminal. With no key pinned, every executor refuses; review rejections and a decision a rule takes stay unsigned. A signed rule never covers a command holding ;, &, |, a backtick, $, <, >, parentheses or a line break: such a command always asks. The hub page is trusted while it asks for a signature or shows the blob to pin: whoever controls the hub container can show one item and have another signed, or hand over a key of its own. Any local process, sandboxed agents included, can also send the unsigned operator actions (the bare decision choice /api/decisions/<id>/choose, which sends no answer, the priority order, settings that add no stream origin, review rejections, the bare ask denial /api/asks/<id>/deny, console dismissals) with the hub's guard headers, and the container reads the review pages from pages/ of the council root, which every sandboxed agent can write; it mounts the council root at its host path and no longer reads the host /tmp. All three close with the agent VMs of core requirement 093, like the Docker-socket gap.
A hub card of a Claude dialog, an ask or an AskUserQuestion decision, lives as long as that dialog (requirement 094): Claude shows its own dialog at once while the hook waits, and whichever side answers first wins. Each closing hook sends one small POST /api/asks/ran with the session_id of its input and reads nothing back: PostToolUse closes the oldest open ask of its call and the decisions of an AskUserQuestion call, with the answers from its tool response, as "answered in Claude"; Stop and UserPromptSubmit close every still open card of the session's main agent (a denial or an interrupt in Claude), never a subagent's; SessionEnd closes every card of the session as "session ended". The route takes only the hub's local guard header and no foreign origin, validates every field and closes only cards of the session it names; it approves and denies nothing. Since the guard header alone proves no session, the hook keeps one random closer token per session id in a mode 0600 file beside its replay store (~/.local/state/kvb-orchestrator-approvals/closers/<session>.token), sends it as closer with every ask, hooked decision and closing report, and deletes it after its SessionEnd report; the hub keeps only the token's sha256 digest and closes a card only for a report whose token matches it, so another local process can neither end a session's cards nor write a choice into its decisions. A card an older hook registered without a token still closes by its call key on PostToolUse, without a choice, but never by Stop, UserPromptSubmit or SessionEnd. A card whose hook stopped waiting reads "open in Claude: answer it there" with the IN CLAUDE stamp, never stale or expired, counts as open in Tasks › Operator, and stays until a closing hook ends it or 24 hours pass; only a card of a registration without the closing hooks (no --bound) still expires as before. An open Match deck and the inbox poll GET /api/match/closed every 2 s while the tab is shown, a counter of closed cards that builds neither the state nor a card, and fetch at once when it moves, so a card answered in Claude leaves within about 3 s. After make orchestrator-install, run make orchestrator-hook and restart every Claude Code session; a changed wait applies after the next make orchestrator-hook.
Restart your agent afterwards so it loads the new skills.
Maintenance 🔧
Refresh every skill to its latest version and rewrite skills-lock.json:
make update
Validate skills-lock.json and shellcheck the scripts (also run by CI on every push and after every update):
make test
Related Tools 🧰
This collection is part of a wider toolset for managing IT and infrastructure:
- alias — shell aliases for common commands.
- package-manager —
pkgmgr, a single command to install and manage these repositories. - infinito-nexus — automation platform for self-hosted infrastructure.
License 📜
MIT License, Copyright (c) 2026 Kevin Veen-Birkenbach.
Author 👤
Kevin Veen-Birkenbach kevin@veen.world
Thanks 🙏
Thanks to the #ai:infinito.nexus community, and especially to Paulinhx for the inspiration.
Donation ❤️
If these tools help you, consider supporting their development: