Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Automatically coordinates multi-skill workflows and triggers follow-up actions. Use when completing PRD creation, implementation, or any milestone that should trigger additional skills. This skill reads the auto-trigger configuration and executes the workflow chain.
.claude/skills/workflow-orchestrator/SKILL.md| Model | Eval pass | Runs |
|---|---|---|
| gemini-3.6-flash | 100% | 22 |
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 69% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 77% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 54% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 47% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 47% | 0% |
A skill that coordinates workflows across multiple skills by evaluating hook metadata, recording pending follow-ups, and running only the actions that are safe and supported in the current host runtime.
This skill should be used when:
┌─────────────────────────────────────────────────────────────┐
│ Workflow Orchestration │
├─────────────────────────────────────────────────────────────┤
│ │
│ 1. Detect Milestone → 2. Read Hooks → 3. Record/Run Safe Follow-ups │
│ │
│ prd-planner complete │
│ ↓ │
│ workflow-orchestrator │
│ ↓ │
│ ┌─────────────────────────────────────┐ │
│ │ declared self-improving follow-up │ (record/run) │
│ │ declared session logging follow-up │ (record/run) │
│ └─────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────┘Read trigger definitions from skills/auto-trigger/SKILL.md:
yamlhooks: after_complete: - trigger: self-improving-agent mode: background - trigger: session-logger mode: auto on_error: - trigger: self-improving-agent mode: background
| Mode | Behavior | Use When | |------|----------|----------| | auto | Run or record a low-risk follow-up when the host supports it | Logging, status updates | | background | Record a non-blocking follow-up | Reflection, analysis | | ask_first | Ask user before executing | PRs, deployments, major changes |
markdownDetected when: - docs/{scope}-prd.md exists - All phases in {scope}-prd-task-plan.md are checked - Status shows "COMPLETE" Actions: 1. Record self-improving-agent as a background follow-up 2. Run or record session-logger if the host supports it
markdownDetected when: - All PRD requirements implemented - Tests pass - Code committed Actions: 1. Ask before running code-reviewer 2. Run create-pr only when the user requested submission 3. Run or record session-logger if the host supports it
markdownDetected when: - Candidate validated with auditable evidence - One named durable owner changed - Representative behavior rerun - Candidate recorded as applied Actions: 1. Ask before running create-pr 2. Run or record session-logger if the host supports it
markdownDetected when: - A skill completes its workflow and produces reusable evidence - User provides feedback - Error or issue encountered Actions: 1. Record self-improving-agent as a background follow-up 2. Run or record session-logger if the host supports it The self-improving-agent: - Captures a candidate only when reusable evidence exists - Excludes raw transcripts and private tool payloads - Keeps uncertain findings under observation - Validates candidates only with explicit, auditable evidence - Applies validated changes only to a named durable owner with a change reference - Proves the representative behavior after application
Detected when:
Actions:
To declare follow-up metadata, add this section to any skill's SKILL.md:
markdown## Auto-Trigger (After Completion) When this skill completes, record or run supported follow-ups:
hooks: after_complete:
mode: auto|background|ask_first context: "relevant context" on_error:
mode: background
### Current Hook Contract
Hook metadata is declarative intent, not proof of CLI automation. Read the
current skill front matter before acting. An absent hook means no declared
follow-up; an existing hook still requires host support and the permission
boundary for the target action.
### Universal Learning Pattern
┌─────────────────────────────────────────────────────────────┐ │ Skill Completes With Evidence │ └──────────────┬──────────────────────────────────────────────┘ │ ↓ ┌──────────────────────┐ │ workflow-orchestrator │ └──────────┬───────────┘ │ ┌──────────┴─────────┐ ↓ ↓ self-improving-agent session-logger ↓ ↓ Capture candidate Save bounded context ↓ ↓ Validate evidence Log session ↓ Apply to named owner ↓ create-pr (only if submission was requested)
User: "Create a PRD for user authentication"
↓
prd-planner executes
↓
Phase 6 complete: PRD delivered
↓
workflow-orchestrator detects milestone
↓
┌─────────────────────────────────┐
│ Background: self-improving-agent │ → Records learning proposal
│ Auto: session-logger │ → Saves session when supported
└─────────────────────────────────┘User: "Create a PRD and implement it"
↓
prd-planner → workflow-orchestrator
↓
self-improving-agent (candidate capture only)
↓
prd-implementation-precheck
↓
implementation complete → workflow-orchestrator
↓
code-reviewer → optional candidate capture
↓
create-pr (only when requested) → workflow-orchestrator
↓
session-loggerEach milestone can produce a self-improving-agent follow-up, but durable skill edits still require validation or explicit approval.
Check for completion indicators:
bash# PRD complete? grep -q "COMPLETE" docs/{scope}-prd-task-plan.md # All phases checked? grep -q "^\- \[x\].*Phase 6" docs/{scope}-prd-task-plan.md # PRD file exists? ls docs/{scope}-prd.md
bash# Read hooks from auto-trigger skill cat skills/auto-trigger/SKILL.md
For each hook in order (before_start, after_complete, on_error):
Log what was triggered and the result:
markdown## Workflow Execution - [x] self-improving-agent (background) - Started - [x] session-logger (auto) - Session saved - [ ] create-pr (ask_first) - Pending user approval
| Skill | Triggers After | |-------|----------------| | prd-planner | self-improving-agent, session-logger | | self-improving-agent | No automatic PR; applied changes may declare a logging follow-up | | prd-implementation-precheck | self-improving-agent, session-logger | | code-reviewer | self-improving-agent, session-logger | | create-pr | session-logger | | refactoring-specialist | self-improving-agent, session-logger | | debugger | self-improving-agent, session-logger |
To add follow-up metadata to an existing skill, add to the end of its SKILL.md:
markdown--- ## Auto-Trigger When this skill completes, record or run supported follow-ups:
hooks: after_complete:
mode: auto context: "Save session context"
For more complex triggers, specify mode and context:
markdown## Auto-Trigger When this skill completes:
hooks: after_complete:
mode: background context: "Description"
mode: auto context: "Save session"
mode: ask_first context: "Create PR if files modified" on_error:
mode: background
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-05 | fail→pass | 17,022 | 12,001 | -29% | 1 | 1 | 0% | 1,886 | 3,184 | +69% | 0 | 0 | — |
case-06 | fail→pass | 16,425 | 14,133 | -14% | 1 | 1 | 0% | 1,924 | 3,414 | +77% | 0 | 0 | — |
case-11 | fail→pass | 15,672 | 8,015 | -49% | 1 | 1 | 0% | 1,715 | 2,633 | +54% | 0 | 0 | — |
case-04 | fail→pass | 19,760 | 11,993 | -39% | 1 | 1 | 0% | 2,350 | 3,455 | +47% | 0 | 0 | — |
case-01 | fail→fail | 19,305 | 14,503 | -25% | 1 | 1 | 0% | 1,731 | 2,445 | +41% | 0 | 0 | — |
case-02 | fail→pass | 22,590 | 15,711 | -30% | 1 | 1 | 0% | 2,523 | 3,705 | +47% | 0 | 0 | — |
case-03 | fail→pass | 13,512 | 22,490 | +66% | 1 | 1 | 0% | 1,304 | 3,607 | +177% | 0 | 0 | — |
case-07 | fail→pass | 26,005 | 4,748 | -82% | 1 | 1 | 0% | 1,430 | 3,085 | +116% | 0 | 0 | — |
case-08 | pass→pass | 10,161 | 8,702 | -14% | 1 | 1 | 0% | 884 | 2,724 | +208% | 0 | 0 | — |
case-09 | fail→pass | 16,151 | 3,933 | -76% | 1 | 1 | 0% | 1,616 | 2,866 | +77% | 0 | 0 | — |
case-10 | fail→pass | 13,569 | 10,501 | -23% | 1 | 1 | 0% | 2,376 | 3,098 | +30% | 0 | 0 | — |
case-12 | fail→pass | 11,036 | 8,631 | -22% | 1 | 1 | 0% | 1,460 | 2,706 | +85% | 0 | 0 | — |
case-13 | fail→pass | 18,853 | 11,432 | -39% | 1 | 1 | 0% | 1,865 | 3,079 | +65% | 0 | 0 | — |
case-14 | pass→pass | 18,950 | 11,804 | -38% | 1 | 1 | 0% | 2,002 | 4,122 | +106% | 0 | 0 | — |
case-15 | fail→pass | 15,867 | 8,367 | -47% | 1 | 1 | 0% | 1,407 | 2,623 | +86% | 0 | 0 | — |
case-16 | fail→pass | 13,180 | 4,764 | -64% | 1 | 1 | 0% | 1,327 | 2,830 | +113% | 0 | 0 | — |
case-17 | pass→fail | 16,944 | 9,700 | -43% | 1 | 1 | 0% | 1,380 | 3,436 | +149% | 0 | 0 | — |
case-18 | fail→pass | 20,674 | 7,314 | -65% | 1 | 1 | 0% | 1,938 | 3,698 | +91% | 0 | 0 | — |
case-19 | pass→pass | 13,336 | 3,009 | -77% | 1 | 1 | 0% | 980 | 2,653 | +171% | 0 | 0 | — |
case-20 | pass→pass | 14,934 | 14,048 | -6% | 1 | 1 | 0% | 1,850 | 4,003 | +116% | 0 | 0 | — |
case-21 | fail→pass | 12,537 | 17,679 | +41% | 1 | 1 | 0% | 1,249 | 3,994 | +220% | 0 | 0 | — |
case-22 | pass→pass | 16,189 | 16,221 | +0% | 1 | 1 | 0% | 1,495 | 3,907 | +161% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted, and 21 counted toward the lift figure. The other 1 produced results that are not comparable between the two arms, so they are excluded from the headline rather than averaged into it. The headline lift of +64 percentage points is the difference between those two pass rates over the 21 comparable cases. 1 case got worse with the skill loaded, and it is included in that figure.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 8/2/2026 | +68% |
| gemini-3.6-flash | verified | 7/24/2026 | +82% |
Other measured skills in the registry, with their headline benchmark lift.