subagent-execution
Skill2 starsChanged 9 months agoMITView on GitHub
Execute implementation plans using subagents. Three modes: single task, batch (sequential), parallel. Two-stage review for every task.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- cill-i-am/skillstheir own version, first seen Oct 20, 2026
- karim-bhalwani/agentic-harnesstheir own version, first seen Jul 12, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- cill-i-am/skills★ 1same name
- karim-bhalwani/agentic-harness★ 0same 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 repository27 other files it gives its agents.
- Agent BrowserSkill
- agent-governanceSkill
- agent-system-learning-loopSkill
- agent-system-live-quality-opsSkill
- agent-system-memory-proactivity-opsSkill
- agent-system-output-hygiene-opsSkill
- agent-system-stability-opsSkill
- auto-updaterSkill
- deep-researchSkill
- domaindetailsSkill
- hnSkill
- humanizerSkill
- memory-hygieneSkill
- model-usageSkill
- nano-pdfSkill
- news-aggregator-skillSkill
- orchestrator-loopSkill
- prompt-guardSkill
- security-reviewSkill
- self-improvementSkill
- structured-brainstormingSkill
- summarizeSkill
- systematic-debuggingSkill
- tavilySkill
- tdd-workflowSkill
- topic-monitorSkill
- verification-gateSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
Run 2+ independent tasks simultaneously.
- Very specific: line 59
Use $AEK_HOME/tasks/current-plan.md for plan tracking:
- Distinctive: line 213
Do not rush them -- good questions lead to good results
- Distinctive: line 220
Do NOT skip the re-review
- Distinctive: line 227
Run multiple implementer subagents in parallel on dependent tasks
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
Subagent Execution
Overview
Execute implementation plans using fresh subagents. Each task gets a new session. Every task goes through two-stage review (spec compliance + code quality).
Core principle: One subagent per task + two-stage review = high quality, fast iteration.
3 Execution Modes
Mode A -- Single Task Execution
Delegate a single task to a subagent.
1. Prepare task text (full context + requirements)
2. Spawn an implementer subagent
3. When subagent completes, run spec review
4. When spec passes, run code quality review
5. Update task statusMode B -- Batch (Sequential Execution)
Execute tasks from a plan file in order. Checkpoint between each task.
1. Read the plan file, extract all tasks
2. Create $AEK_HOME/tasks/current-plan.md (for tracking)
3. Apply Mode A for each task
4. Update task status after each task
5. Run final review when all tasks completeMode C -- Parallel Execution
Run 2+ independent tasks simultaneously.
1. Verify independence (no shared files/state)
2. Spawn separate subagent for each task
3. Collect results when all subagents complete
4. Run spec + quality review for each
5. Resolve merge conflicts if anyDo NOT use parallel when:
- Tasks modify the same files
- Tasks have sequential dependencies
- Task outputs depend on each other
Task Tracking
Use $AEK_HOME/tasks/current-plan.md for plan tracking:
# Plan: [Feature Name]
Date: YYYY-MM-DD
Source: [plan file path]
## Task 1: [Name] -- COMPLETED
- Implementer: session_xxx
- Review: PASSED
- Commit: abc1234
## Task 2: [Name] -- IN PROGRESS
- Implementer: session_yyy
## Task 3: [Name] -- PENDINGProcess Flow (Mode B -- Detailed)
Read plan file
|
v
Extract all tasks (full text + context)
|
v
Create current-plan.md
|
v
[For each task]
|
v
Spawn implementer subagent
|
v
Subagent asking questions? --YES--> Answer, provide context
| |
NO v
| Subagent implements
v |
Subagent implements <----------------------+
|
v
Spawn spec reviewer subagent
|
v
Spec compliant? --NO--> Implementer fixes --> re-run spec review
|
YES
|
v
Spawn code quality reviewer subagent
|
v
Quality approved? --NO--> Implementer fixes --> re-run quality review
|
YES
|
v
Mark task as COMPLETED
|
v
More tasks? --YES--> Next task
|
NO
|
v
Final code review (entire implementation)
|
v
Pass through verification-gateSubagent Prompts
Implementer Subagent
[spawn subagent]:
task="Implement Task N: [task name]
[FULL task text -- do not make the subagent read files, provide everything]
## Context
[Where this task fits, dependencies, architecture]
## Before You Start
If you have questions about requirements or approach, ASK FIRST.
## Task
1. Implement exactly what the spec says
2. Write tests (TDD)
3. Verify
4. Commit
5. Self-review
6. Report what was done"
model="[your model]"Spec Reviewer Subagent
[spawn subagent]:
task="Spec Compliance Review -- Task N
## What Was Requested
[FULL task requirements]
## Implementer's Claim
[From their report]
## CRITICAL: Do NOT Trust the Report
The implementer may have rushed. Verify everything INDEPENDENTLY.
- Do not accept their claims at face value
- Read the actual code
- Compare requirements line by line
- Look for missing parts, look for extra features
Report: PASS -- Spec compliant OR FAIL -- Issues [list]"
model="[your model]"Code Quality Reviewer Subagent
[spawn subagent]:
task="Code Quality Review -- Task N
## What Was Implemented
[Summary]
## Checklist
- OWASP Top 10 security
- Clean code principles
- Test quality (tests real behavior, not mocks)
- Error handling appropriateness
- Naming conventions
- YAGNI -- any unnecessary complexity?
Report: Strengths, Issues (Critical/Important/Minor), Verdict"
model="[your model]"When a Subagent Asks Questions
- Answer clearly and completely
- Provide additional context if needed
- Do not rush them -- good questions lead to good results
When a Reviewer Finds Issues
- The implementer (same subagent) fixes the issues
- The reviewer reviews again
- Repeat until approved
- Do NOT skip the re-review
Red Flags
Never:
- Skip reviews (spec OR quality)
- Proceed with unfixed issues
- Run multiple implementer subagents in parallel on dependent tasks
- Make the subagent read the plan file (PROVIDE the full text)
- Send a subagent without context
- Ignore subagent questions
- Accept "approximately compliant" (reviewer found issues = not done)
- Start code quality review before spec review passes (wrong order)
- Move to the next task while the current review has open issues
Integration
Required skills:
structured-brainstorming-- Creates the plan that this skill executestdd-workflow-- Subagents follow TDDverification-gate-- Final verification when all tasks completesystematic-debugging-- When a subagent hits an error
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.

