andresgongora/agent-config/minion-delegation

Claude Code and agent skill by andresgongora/agent-config

Trust tier 2
  • community
  • ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Pick and drive bounded minion workers: locate code, edit, lint, review, cleanup, or execute a frozen multi-step mission. Load for any multi-step or context-heavy repository task, feature and refactor work, before choosing inline versus delegated work, or minion subagent delegation. Skip single-step answers and non-repository work.

Install

npx vskill@latest install andresgongora/agent-config/minion-delegation

Semi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard

SKILL.md

The same SKILL.md was published earlier as andresgongora/agent-config/minion-delegation.

Decision Gate

Choose by needed evidence and authority, not convenience.

Task stepDelegate to
Locate focused definitions, callers, usages, tests, imports, or structure@minion-investigator
Make an obvious change in one or two known files@minion-builder
Format or lint supplied targets with safe automatic fixes (batched: end of large chunk or pre-commit)@minion-linter
Find defects in a supplied diff or one bounded file after finished code edit@minion-reviewer
Find removable residue after long session or long rework in a supplied area@minion-vestige-hunter
Drive a Git or repository operation@minion-repomaster
Hand off a frozen, independent multi-step mission@minion-master only when main context is already costly and the prompt carries all needed context; load minion-master skill
Read one quick git status or git diff to orientMain thread; do not delegate
Locate code plus suggest fixes, explain architecture, or diagnose an unknown defectMain thread or general exploration capability
Give broad review, design advice, or general feedbackMain thread or a suitable review capability
Run tests, builds, or installs; conduct external research; handle unclear or risky workMain thread or a capability with required tools
Answer already known in one lineMain thread; do not delegate

Rules

  • Spawn a minion for each bounded, independent step that matches a delegation row. Calling thread owns integration and final judgment.
  • Give target, outcome, scope, and authoritative context. Omit only irrelevant fields.
  • Choose smallest worker whose authority and output complete next step.
  • Treat minion output as evidence, not a replacement for inspection, validation, or user-facing explanation.
  • Pass only results, targets, and constraints next worker needs.
  • Calling thread owns integration: after any minion edit, inspect the diff and run relevant validation before a later worker.
  • Parallel minions only on non-overlapping tasks. Spawned as multiple task calls in one message, then aggregate before choosing the next worker.
Delegation prompt

Give each minion a bounded mission:

md
Task: <one bounded outcome>.
Target: <paths, symbols, supplied diff, or repository area>.
Scope: <included work and explicit exclusions>.
Context: <authoritative facts and constraints; `none` if none>.
Parameters: <tool/access limits, execution constraints, required checks, and acceptance criteria>.
Return: <evidence focus caller needs next. It will still honor its own output contract>.
<Optional: any other relevant information deemed useful and appropriate for the mission; free format: text, bullet lists, checklists, etc.>.
Reacting to Minion Output

Every minion returns **status**, **gap** (in-scope work not done), and **issue** (why it stopped). Act on status; do not re-prompt blindly.

statusMain-thread response
doneUse evidence. Still owns validation.
noneComplete negative result: no change needed, no result found. Widen or re-approach only if your original objective is still unmet.
partialUse delivered evidence. Cover the gap inline or in a narrower mission; for a valid attempt that broke, resolve its issue and retry at most once if the cause is resolved.
blockedissue holds a question or missing authorization. Answer it in the retry prompt; a retry without the answer blocks again.
refusedWrong worker or oversized mission. Re-read the decision gate, split, or stay in main thread. Never re-send to same worker.
failedUse delivered evidence. Resolve its issue, then retry at most once if the cause is resolved; otherwise cover the gap inline or re-plan.
  • Minion status is self-report: done and gap: none mean the worker believes it finished, never that the change is correct, tested, or complete.
  • refused with a split proposal is a plan suggestion; validate the split before delegating its parts.
  • Same status twice on one mission: stop delegating, do the step inline.

Minions

minion-investigator
  • What: read-only locator. Returns definitions, callers, usages, tests, imports, or a directory map as path-based evidence.
  • When: edit or review sites are unknown, or several independent lookups can run at once.
  • How: give symbols, strings, paths, or an area, and name the evidence kind wanted.
  • Not when: fix suggestions, architecture explanation, or defect diagnosis are wanted; it reports sites, not conclusions.
minion-builder
  • What: applies one decided change across at most two known files. Returns an edit receipt after re-reading them.
  • When: target files and intended change are both already known.
  • How: give exact paths, the change, and constraints. Authorize new files and destructive operations explicitly; silence means no.
  • Not when: sites are unknown (investigate first), the change needs design decisions, or coupling spreads past two files.
minion-linter
  • What: selects project formatters and linters for supplied targets, applies presentation-only automatic fixes, reports each check. Handles repository-wide targets in one pass.
  • When: batched at the end of a large chunk of work or right before a commit, so one pass covers every touched file.
  • How: give explicit files, directories, or the repository area and permission to auto-fix.
  • Not when: between small steps of an ongoing change; per-edit lint passes cost more than the single batched run. Never for behavior changes, dependency installs, or tool-config edits.
minion-reviewer
  • What: read-only defect check of one supplied diff or one bounded file. Returns severity-tagged verified findings plus any in-scope area left unreviewed.
  • When: default after every @minion-builder edit, once main has inspected the diff and run validation.
  • How: supply the diff or file, the review focus, and whether nits are wanted.
  • Not when: design rationale, alternatives, or broad architecture opinion are wanted. Empty findings are a valid result, and no finding is an approval.
minion-vestige-hunter
  • What: read-only residue scan of a supplied area. Returns removal candidates, the zero-impact basis for each, and inspection coverage.
  • When: after a long session or large rework lands, when accumulated leftovers are likely.
  • How: give changed files, directory, or area plus current-purpose context so an active constraint is not read as residue.
  • Not when: after each single edit, or when correctness analysis is the real need. Candidates are proposals; main thread verifies removal safety before any edit.
minion-repomaster
  • What: owns a whole Git or repository operation. Absorbs large Git output and returns a distilled receipt: commit-message proposal and commit transaction, revert or recovery plan and execution, history summary or commit comparison, secret and pre-commit preflight, .gitignore/.gitattributes correctness.
  • When: the step needs many Git commands, approval back-and-forth, or Git output large enough to contaminate main context.
  • How: give the mission kind, scope, and explicit authority for any state change. Silence means read-only.
  • Not when: one quick git status or git diff is enough to orient; run that in main thread. It never pushes, tags, rebases, merges, rewrites history, or edits source files.

Delegation Chaining

Locate, fix, verify

Direct workflow for bounded operations:

  1. @minion-investigator returns sites for a focused question. Spawn multiple investigators when investigation is broad (different angles: defs vs callers vs tests). Aggregate in main thread.
  2. Main thread selects one or two known edit sites and gives @minion-builder an exact prompt. Dispatch multiple independent edits in parallel if they do not overlap.
  3. Give the resulting diff to @minion-reviewer.
Parallel investigation

When investigation is broad:

  • Spawn multiple @minion-investigator calls in one message with different angles (eg: defs vs callers vs tests). Aggregate in main thread.
Single-shot edit

When site is already known:

  • Skip investigator in Locate, fix, verify. Hand exact path:line to @minion-builder directly.
Batched cleanup
  • At the end of a large chunk of work or right before a commit, give @minion-linter every touched path in one pass.
  • After a long session or large rework, give the touched area and current-purpose context to @minion-vestige-hunter.
Git commit
  1. When the caller or repository policy requires project validation, run each applicable check once over the coherent work package: use @minion-linter for presentation-only lint/format, and use the main thread or a capability with the required tools for tests, typecheck, or build. Run no checks by default for commit-only missions.
  2. Give @minion-repomaster the exact scoped Git transaction and commit authority.

Boundaries

  • If next worker lacks target, outcome, or authoritative context, resolve it in main thread. Do not delegate an incomplete mission.
  • If evidence reveals coupled change beyond worker scope, stop chain and re-plan in main thread. Do not split a coupled refactor to fit two-file limit.
  • A nested @minion-master cannot perform or hand off Git state-changing work under its current authority; route it back to caller.
  • If no decision-gate row fits, do not use a minion. Select another capability or continue in the main thread.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Extension points

  • hookPre/post lifecycle hooks

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/andresgongora/agent-config/minion-delegation/badge)](https://verified-skill.com/skills/andresgongora/agent-config/minion-delegation)

Something wrong with this skill or its page? Tell us.