一键导入
agentrc
Orchestrate multiple Claude Code workers in tmux panes. Use when the user wants to run parallel tasks, dispatch workers, or manage a multi-agent workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Orchestrate multiple Claude Code workers in tmux panes. Use when the user wants to run parallel tasks, dispatch workers, or manage a multi-agent workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Per-project key provisioning for git signing and authentication. Invoke to configure git signing, set up keys for this project, bypass 1Password for git operations, add a key to GitHub or Forgejo, troubleshoot signing prompts, or check key status. Generates ed25519 SSH keys (GitHub) or GPG keys (Forgejo), configures git signing, registers keys on the forge, and sets up SSH host aliases to bypass global agents.
Trove collection and normalization for swain-design artifacts. Collects sources from the web, local files, and media (video/audio), normalizes them to markdown, and caches them in reusable troves. Use when researching a topic for a spike, ADR, vision, or any artifact that needs structured research. Also use to refresh stale troves or extend existing ones with new sources. Triggers on: 'research X', 'gather sources for', 'compile research on', 'search for sources about', 'refresh the trove', 'find existing research on X', or when swain-design needs research inputs for a spike or ADR.
Create, validate, and transition documentation artifacts (Vision, Initiative, Epic, Spec, Spike, ADR, Persona, Runbook, Design, Journey) through lifecycle phases. Handles spec writing, feature planning, epic creation, initiative creation, ADR drafting, research spikes, persona definition, runbook creation, design capture, architecture docs, phase transitions, implementation planning, cross-reference validation, and audits. Also invoke to update frontmatter fields, re-parent an artifact under a different epic or initiative, or set priority on a Vision or Initiative. Chains into swain-do for implementation tracking on SPEC; decomposes EPIC/VISION/INITIATIVE/JOURNEY into children first.
Auto-invoked at session start when swain-preflight detects issues. Also user-invocable for on-demand health checks. Validates project health: governance rules, tool availability, memory directory, settings files, script permissions, .agents directory, and .tickets/ validation. Auto-migrates stale .beads/ directories to .tickets/ and removes them. Remediates issues across all swain skills. Idempotent — safe to run any time.
Project onboarding and session entry point for swain. On first run, performs full onboarding: migrates CLAUDE.md to AGENTS.md, verifies vendored tk, configures pre-commit security hooks, and offers swain governance rules — then writes a .swain/init.json marker. On subsequent runs, detects the marker and runs the per-session fast path (greeting, focus lane, session state). Use as a single entry point — it routes automatically. Triggers also on: 'session', 'session info', 'focus on', 'tab name'.
Cut a release — detect versioning context, generate a changelog from conventional commits, bump versions, create a git tag, and optionally squash-merge to a release branch. Use when the user says "release", "cut a release", "tag a release", "bump the version", "create a changelog", "ship a version", "publish", or any variation of shipping/publishing a version. This skill is intentionally generic and works across any repo — it infers context from git history and project structure rather than assuming a specific setup. Supports the trunk+release branch model (ADR-013) when a `release` branch exists.
| name | agentrc |
| description | Orchestrate multiple Claude Code workers in tmux panes. Use when the user wants to run parallel tasks, dispatch workers, or manage a multi-agent workflow. |
You are the orchestrator. You coordinate multiple Claude Code worker sessions running in tmux panes via the agentrc CLI binary.
Every time this skill is loaded, immediately run these steps before doing anything else:
tmux rename-window 'agent.rc'
tmux split-window -h -l 45% 'agentrc dashboard'
.orchestrator/ does not exist in the current project, run agentrc init.Then proceed with the user's request.
| Command | Purpose |
|---|---|
agentrc init | Initialize .orchestrator/ in current project |
agentrc run create --slug <name> | Start a new run |
agentrc spawn <task-id> | Launch a worker in a tmux pane |
agentrc status [--json] | Check all task statuses |
agentrc dashboard | Interactive TUI with worker table and actions |
agentrc integrate [--dry-run] | Merge completed writer branches |
agentrc teardown <id> [--all] [--force] | Clean up workers |
agentrc respawn <task-id> | Re-launch dead worker from existing branch |
agentrc checkpoint save [-m "msg"] | Save run state snapshot |
agentrc checkpoint restore [id] [--respawn] | Restore from checkpoint |
agentrc resume | Context dump for session recovery |
agentrc layout [tile|collate] | Retile worker panes |
agentrc run archive | Archive current run |
.orchestrator/active/plan.md.agentrc run create --slug <name>.orchestrator/active/tasks/.agentrc spawn <task-id> for each task with no unresolved dependencies.On each user interaction or self-check:
agentrc status [--json] for the full picture. Always use agentrc commands to check worker state — never use raw tmux capture-pane or tmux list-panes. The CLI is the interface.completed task whose dependencies are already integrated:
a. agentrc teardown <id> to clean up pane/worktree.
b. REVIEW GATE: Dispatch parallel code reviews before merging:
voltagent-lang:rust-engineer (or stack-appropriate specialist) reviews the diffvoltagent-qa-sec:security-auditor reviews for security concernsgit merge --no-ff orc/<branch> — merges the reviewed branch into base.
d. If merge succeeds: the task is done. If dependent tasks are now unblocked, spawn them.
e. If conflict/test failure: handle per error rules (redispatch or surface to user).Do NOT wait for all tasks to complete before integrating. Integrate each task as soon as it finishes and its dependencies are merged. This reduces merge conflicts and unblocks dependent tasks faster.
Summarize results. Offer cleanup: agentrc teardown --all.
git merge, git push, or any remote git operations.--no-ff.git add, git commit, git status, git diff, git log. Nothing else.git push, git pull, git fetch, git rebase, git merge, git checkout (branch switching), git reset --hard, git branch -D, any remote operations.git add or git commit. Write/edit files and report back.agentrc worker * commands exclusively.completed/failed, or heartbeat is stale AND pane is dead. Do not prompt the user about slow workers unless they ask.cargo fmt && cargo build && cargo test, verify ALL pass, THEN commit. Never commit between edits. Never commit a broken build. If a hook or linter reformats your work, pull first, then re-apply on top. Check git status before every edit to ensure you're working on the latest state.If you're picking up a run from a previous session:
agentrc resume and read the output.