task-orchestrator
Skill1 starsChanged 5 months agoMITView on GitHub
Meta-skill that enforces a structured Research-Design-Plan-Execute-Verify pipeline for every atomic task. Compensates for model/agent weaknesses (especially DeepSeek, non-native models) by adapting plan template strictness based on detected capabilities. Self-improving: records better approaches back into templates.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- jdrhyne/agent-skillstheir own version, first seen Aug 30, 2026
- phamduchuong517-hub/hermes-self-evolutiontheir own version, first seen May 30, 2026
- jopre0502/claude-persisttheir own version, first seen Mar 4, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- jdrhyne/agent-skills★ 240same name
- jopre0502/claude-persist★ 1same name
- phamduchuong517-hub/hermes-self-evolution★ 1same 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 repository42 other files it gives its agents.
- codex/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-hookSkill
- new-ruleSkill
- new-skillSkill
- publishSkill
- agent-config-adapterSkill
- agent-update-watcherSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- claude-desktop-sessionsSkill
- code-verifierSkill
- doc-writingSkill
- end-of-turn-markerSkill
- figma-authoring-constraintsSkill
- figma-design-fetchSkill
- autopilotSkill
- autoresearch-toolfinderSkill
- code-verifierSkill
- linux-freeze-triageSkill
- long-running-tasksSkill
- preview-templateSkill
- privacy-redactSkill
- research-criticSkill
- agent-harness-generalSkill
- system-cleanupSkill
- verify-templateSkill
- verify-visualSkill
- init-codex-configSkill
- long-running-tasksSkill
- memory-flywheelSkill
- preview-templateSkill
- privacy-redactSkill
- prompt-librarySkill
- research-criticSkill
- system-cleanupSkill
- feature-audit-templateSkill
- workflow-fix-templateSkill
- task-relationship-analysisSkill
- tui-installerSkill
- verify-templateSkill
- verify-visualSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 40
If the model/agent suggests a BETTER approach than the template: flag it for template upgrade
- Distinctive: line 46
If using a template: adapt the template steps to the specific context
- Very specific: line 47
Use update_plan tool when available
- Distinctive: line 51
Follow the plan step by step
- Distinctive: line 52
Do NOT skip verification steps
- Distinctive: line 53
Do NOT claim completion without evidence
- Distinctive: line 58
Run structural checks (validator, linter, test suite)
- Distinctive: line 59
Check CI status if applicable
- Distinctive: line 60
If verification fails: return to RESEARCH phase
- Distinctive: line 87
Use it to cut token cost WITHOUT losing quality on the hard steps:
- Distinctive: line 137
When any model/agent discovers a BETTER approach than the template:
- Very specific: line 196
When EXECUTE or VERIFY phases involve code quality claims, code-verifier is invoked automatically (via allow_implicit_invocation).
- Very specific: line 200
After all tasks complete and the session ends, review-gate fires automatically (via Stop hook).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
task-orchestrator
This is a meta-skill. It controls HOW other tasks are executed, not WHAT they do. It must be loaded before any non-trivial work begins.
Pipeline (mandatory for every atomic task)
graph LR
R["🔍 RESEARCH<br/>audit, gather<br/>evidence"] --> D["🎨 DESIGN<br/>design/optimize<br/>select template"]
D --> P["📋 PLAN<br/>numbered steps<br/>verification per step"]
P --> E["⚡ EXECUTE<br/>follow plan<br/>record results"]
E --> V["✅ VERIFY<br/>check evidence<br/>run CI, tests"]
V -->|fail| R
V -->|pass| DONE["Done"]Phase 1: RESEARCH
- Audit current state: read relevant files, check CI logs, inspect git status
- Identify all stakeholders: which files, systems, or processes are affected
- Gather evidence: do NOT assume, do NOT guess, do NOT rely on memory
- Record findings in
.task-orchestrator/research-${task}.md
Phase 2: DESIGN
- Design the solution approach (or select from existing template)
- For known task types: load the subskill template from
skills/.task-orchestrator-templates/ - For novel tasks: design from first principles
- If the model/agent suggests a BETTER approach than the template: flag it for template upgrade
- Record design decisions in
.task-orchestrator/design-${task}.md
Phase 3: PLAN
- Decompose into numbered, verifiable steps
- Each step must have: action, expected outcome, verification method
- If using a template: adapt the template steps to the specific context
- Use
update_plantool when available - Record plan in
.task-orchestrator/plan-${task}.md
Phase 4: EXECUTE
- Follow the plan step by step
- Do NOT skip verification steps
- Do NOT claim completion without evidence
- Record completion status per step
Phase 5: VERIFY
- For each step: confirm the expected outcome with evidence
- Run structural checks (validator, linter, test suite)
- Check CI status if applicable
- If verification fails: return to RESEARCH phase
- Record verification in
.task-orchestrator/verify-${task}.md
Model/Agent Capability Profiling
The orchestrator adapts its strictness based on detected capabilities:
| Profile | Agent | Model | Strategy |
| High-capability | Claude Code | Opus 4.6+, GPT-5+ | Templates are REFERENCE only. Agent can self-derive approach. Light audit at end. |
| Medium-capability | Codex | GPT-4, Claude 3.5 | Templates are GUIDELINES. Follow pipeline but allow adaptation. Full verify. |
| Low-capability | Codex | DeepSeek, Gemini, local | Templates are MANDATORY. Strict pipeline enforced. No deviation without explicit approval. Extra verification gates. |
Model-tier sub-agent routing (token thrift, task 10)
Model tiers per agent are declared once in adapters/models.config.json (high/mid/small) and resolved by
scripts/resolve_model.mjs:
node scripts/resolve_model.mjs <agent> <tier|task-kind> # e.g. claude research -> claude-opus-4-8
node scripts/resolve_model.mjs <agent> <tier|task-kind> --effort # e.g. claude mid -> maxEach tier also carries a reasoning effort (adapters/models.config.json → effort). The mid tier is
claude-sonnet-5 at max effort — a strong Sonnet-5 run costs far less than Opus but, at max effort, holds
quality on implement/verify. So when you spawn a mid sub-agent, pass model: claude-sonnet-5, effort: max.
Use it to cut token cost WITHOUT losing quality on the hard steps:
- Claude Code cannot switch model mid-session, so run the MAIN loop on
highand delegate the cheap, mechanical, or verify steps to SUB-AGENTS resolved tomid/small(e.g.resolve_model.mjs claude verify→claude-sonnet-5+--effort→max). Guard: only delegate when the sub-agent's token-in is less than the tokens saved by the smaller model — spawning a sub-agent that re-reads a huge context can cost MORE. Measure before defaulting. - opencode switches natively; its
model/small_modelinopencode.jsonare generated from this same config, so the tiers already apply. - Codex switches via external tooling (cc-switch / provider config). NEVER auto-configure provider switching for Claude Code (account-ban risk).
Map task-kinds → tiers via the config's task_tier (research/design → high, implement/verify → mid,
mechanical → small) so the RESEARCH→DESIGN→IMPLEMENT→VERIFY pipeline can pick a sensible model per stage.
Capability detection
# The orchestrator detects capability from:
# 1. Environment variables: CODEX_MODEL, CLAUDE_MODEL
# 2. Config files: ~/.codex/config.toml, ~/.claude/settings.json
# 3. Self-assessment: ask model to rate its own capability on known benchmarksSubskill Plan Templates
Templates live in skills/.task-orchestrator-templates/. Each template is a subskill with frontmatter that records:
template-for: what task type this coverslast-updated: when the template was last improvedmin-capability: minimum model capability needed to skip this templateimprovements-from: which model/agent contributed improvements
Available templates
Each is a directory under skills/.task-orchestrator-templates/ containing a SKILL.md.
| Template | Task | Auto-selects when |
feature-audit/ | Audit existing features for gaps | task mentions "audit" or "check" or "verify all" |
workflow-fix/ | Fix CI/CD workflow failures | task mentions "fix workflow" or "fix CI" or "fix actions" |
For task types without a template, derive the plan from the RESEARCH→DESIGN→IMPLEMENT→VERIFY pipeline directly — do not reference a template that has no directory.
Planned templates (NOT yet shipped — must NOT be auto-selected)
On the roadmap but no SKILL.md exists yet, so the orchestrator must not load or advertise them as available: hook-add (add a hook, Claude + Codex), skill-create (Claude source + Codex wrapper), rename-project (rename across all files), dependency-update (safe dependency upgrades). Add a directory + SKILL.md before wiring any of these in — otherwise it is a dead knob.
Template self-improvement protocol
When any model/agent discovers a BETTER approach than the template:
- Record the improvement in
.task-orchestrator/improvements/${task}-${date}.md - Flag with
@template-upgradein the improvement record - The maintainer reviews flagged improvements periodically
- Approved improvements are merged into the template
- Template
last-updatedandimprovements-fromfields are updated
Template version tracking
Each template has a version history in its frontmatter:
template-version: 3
version-history:
- version: 1
date: 2026-07-01
author: claude-code/opus-4.6
changes: Initial template
- version: 2
date: 2026-07-05
author: codex/deepseek-v3
changes: Added OpenSSL fix, gitleaks allowlist step
- version: 3
date: 2026-07-08
author: codex/gpt-5
changes: Added pre-commit-ci.yml multi-workflow audit stepQuickstart
For any task
- Load this skill:
/skills→task-orchestrator - State your task. The orchestrator will: a. Detect model/agent capability b. Select appropriate template (if exists) c. Guide you through Research → Design → Plan → Execute → Verify
- The orchestrator creates artifacts in
.task-orchestrator/
For maintainers adding new templates
# Use the new-skill meta-skill, selecting "task-orchestrator-template" type
/new-skill
# Answer: type=task-orchestrator-template, task=<describe what tasks this covers>Template files go in skills/.task-orchestrator-templates/<template-name>/SKILL.md.
Anti-patterns (what this skill prevents)
- "I'll just fix it" without checking CI logs → RESEARCH phase catches this
- "This looks right" without running verification → VERIFY phase catches this
- "I already fixed this" based on memory → evidence requirement catches this
- "The workflow should pass now" without checking CI → CI check in VERIFY catches this
- "All the other features are fine" without auditing → systematic audit template catches this
Integration with code-verifier
When EXECUTE or VERIFY phases involve code quality claims, code-verifier is invoked automatically (via allow_implicit_invocation). The orchestrator does not replace code-verifier; it ensures code-verifier is called at the right time.
Integration with review-gate
After all tasks complete and the session ends, review-gate fires automatically (via Stop hook). The orchestrator's .task-orchestrator/ directory provides the review-gate with structured evidence of what was done and verified.
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.

