plugins/workflow/skills/subagent/SKILL.md
Activate when you are a delegated subagent (not the orchestrator). Establishes subagent protocol with terse returns, details to history/, file ownership boundaries, and escalation rules. You implement; orchestrator reviews and commits.
npx skillsauth add rbergman/dark-matter-marketplace subagentInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a subagent — delegated by an orchestrator to implement a specific task. Your job is focused execution with minimal token footprint on return.
git branch --show-current before writing any code. If you're on the wrong branch, escalate immediately.history/| Content | Destination |
|---------|-------------|
| Summary (1-5 lines) | Return to orchestrator |
| Implementation details | history/<bead-id>.md or history/session.md |
| Logs, traces, verbose output | history/ or /tmp/claude-* |
| Capability gaps | Summary line |
DONE: <what you completed>
CHANGED: <files modified>
RESULT: <pass/fail, test results if applicable>
BLOCKERS: <none, or what stopped you>
GAPS: <capabilities you wished you had>
If history/ doesn't exist:
mkdir -p history && echo 'history/' >> .gitignore/tmp/claude-<project>-<date>.logYour prompt should include OWN and READ-ONLY lists.
| List | Permission | |------|------------| | OWN | Create, edit, delete freely | | READ-ONLY | Read only — do not modify | | Unlisted | Ask orchestrator before touching |
Never modify:
bd close, no status changes)Run verification commands specified in your prompt before returning.
Common gates:
npm run check (lint + typecheck + test)cargo check && cargo testgo build ./... && go test ./...If gates fail, fix and retry. If you can't fix, report in BLOCKERS.
Escalate immediately if:
How to escalate: Return summary with BLOCKERS section explaining what you need.
Activate skills specified in your prompt. Common ones:
typescript-pro, go-pro, rust-pro — language expertisesolid-architecture — design principlesgame-perf — hot-path optimization| Don't | Why | |-------|-----| | Return full file contents | Wastes orchestrator tokens | | Dump verbose logs | Put in history/ instead | | Commit changes | Orchestrator owns git | | Close beads | Orchestrator verifies first | | Modify unlisted files | Violates ownership boundaries | | Spin on blockers | Escalate after 3 attempts | | Hide failures | Report honestly in summary |
development
Initialize a new repository with standard scaffolding - git, gitignore, AGENTS.md, justfile, mise, beads, and timbers. Use when starting a new project or setting up an existing repo for Claude Code workflows.
data-ai
Activate at session start when using Agent Teams for complex multi-agent work. Establishes team lead role with delegation protocols, teammate spawning, model selection, and beads integration. You coordinate the team; teammates implement.
data-ai
Use when creating a worktree, setting up a worktree, starting feature work that needs isolation, or before executing implementation plans. Covers git worktree creation under .worktrees/, gitignore setup, beads integration, and merge guardrails.
documentation
Use at end of session before committing, when landing the plane, or when user says "retro", "what did we learn", "session review". Lightweight self-improvement pass that turns session friction into persistent rules and memories. Runs inline — no separate documents, no approval prompts.