Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Quick execution for small tasks — minimal run lifecycle (start + done) with evidence recording. Full LLM capability, scoped to mechanically clear tasks.
.claude/skills/catlog22-maestro-companion/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | 9% | 0% |
| case-05 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 33% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 152% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 35% | 0% |
> Agent timeout: spawn_agent 异步执行且无内置超时 — 除明确短任务外一律 spawn_agent 后立即 wait_agent({ timeout_ms: 3600000 })(上限 1 小时)阻塞等待,绝不依赖 30000 默认值;timed_out: true 且 Agent 未完成时再次 wait_agent 续等,不丢弃。批量场景使用 spawn_agents_on_csv({ max_runtime_seconds: 3600, ... })。
<required_reading> @~/.maestro/workflows/run-mode.md @~/.maestro/workflows/codex-run-mode.md </required_reading>
If any required file above was not expanded into context by the host, or its content is no longer in context, Read it explicitly before executing any step.
<purpose> Minimal-run execution channel. Full LLM capability with one bounded Run and evidence appended to {run_dir}/evidence/companion-log.md.
Use when:
Lightweight self-check (all must hold):
If self-check fails mid-execution, stop and suggest /maestro-next for re-routing. </purpose>
<context> $ARGUMENTS — intent text + optional flags.
| Flag | Effect | |------|--------| | -y | Skip confirmation, execute directly |
Mode detection: intent → execute | empty → request_user_input: request intent text; if still empty → display usage hint and exit
Knowledge utilities (note/log/promote) are available via /maestro-knowledge. </context>
<invariants>
run-mode.md.</invariants>
<flow>
Linear: resolve Session identity -> dispatch Run -> explore -> confirm -> do -> check -> complete Run -> complete Session when the chain is terminal.
Follow the self-start flow in run-mode.md: negotiate capabilities, open or resolve the explicit Session identity (maestro session open "<objective>" --id <slug> ... --json / maestro session status --session {session_id} --json), then invoke the complete fenced maestro run create companion option set with --intent "<intent>" and --arg "<intent>". Intent is Session metadata only; --arg supplies the required command arguments. Do not use a Session lifecycle alias or omit the Session locator, the orchestration_revision/Run revision fence, or the --participant/--actor identity.
Init {run_dir}/evidence/companion-log.md:
markdown# Companion Log: {intent} > run_id: {run_id} | session: {session_id} ## Evidence
Locate targets and gather evidence before touching anything. Methods (pick what fits):
maestro explore "FIND: ...\nSCOPE: ..." — codebase searchmaestro search "<keywords>" --type spec --type knowhow — knowledge recallRecord findings under ## Evidence:
markdown## Evidence - {file:line — what was found} - {spec/knowhow entries loaded, or "none"} - {subagent conclusions if used}
Before executing, verify evidence is sufficient:
If insufficient → continue exploring or ask user. If -y → skip user confirmation interaction, but still perform evidence sufficiency self-check. If critical targets are unlocated, continue exploring (without asking user); only the 'ask user' branch is skipped.
Execute the task. After each meaningful action, append under ## Work Log:
markdown### {HH:MM} — {summary} {outcome, files touched if any}
Rules: batch trivial reads; 1-5 lines per entry; focus on outcome not process.
Append outcome:
markdown## Outcome **Status:** done | partial **Summary:** {1-2 sentences} **Files:** {modified/created, or "none"}
Before completion, put accepted decisions/locked constraints in report.md. If a reusable recipe or pitfall emerged, stage it now:
bashmaestro knowledge stage knowhow "<title>" "<content>" --run <run_id> # Then use the complete fenced `maestro run complete ... --advance` and, when the # chain is terminal, `maestro session complete` from run-mode.md with the current # locator, orchestration_revision, and identity.
Display: Companion done. Run: {run_id} | Evidence: {path}
If the completion receipt contains candidate IDs, display its review_command. Do not persist the same insight again through /maestro-spec or /maestro-knowhow.
If execution revealed the task requires multi-phase audit/diagnosis (e.g., root cause unknown, >3 files need coordinated changes), suggest: /maestro-odyssey "<scope>" --mode debug|improve for re-planning.
</flow>
<error_codes> | Code | Severity | Condition | Recovery | |------|----------|-----------|----------| | E001 | error | session open failed (CLI unavailable, invalid args) | Check maestro CLI installation | | E003 | error | Evidence log creation failed | Check run_dir permissions | | W001 | warning | Explore tools unavailable (maestro explore/search) | Degrade to direct Read/Grep | </error_codes>
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 12,958 | 7,986 | -38% | 1 | 1 | 0% | 2,068 | 2,036 | -2% | 0 | 0 | — |
case-02 | pass→fail | 12,640 | 12,049 | -5% | 1 | 1 | 0% | 1,849 | 1,940 | +5% | 0 | 0 | — |
case-03 | fail→pass | 11,492 | 3,504 | -70% | 1 | 1 | 0% | 1,862 | 2,026 | +9% | 0 | 0 | — |
case-04 | fail→fail | 16,848 | 3,443 | -80% | 1 | 1 | 0% | 2,579 | 1,923 | -25% | 0 | 0 | — |
case-05 | fail→pass | 13,152 | 2,318 | -82% | 1 | 1 | 0% | 1,992 | 1,771 | -11% | 0 | 0 | — |
case-06 | fail→pass | 9,658 | 2,741 | -72% | 1 | 1 | 0% | 1,386 | 1,848 | +33% | 0 | 0 | — |
case-07 | fail→pass | 5,725 | 3,060 | -47% | 1 | 1 | 0% | 759 | 1,911 | +152% | 0 | 0 | — |
case-08 | fail→pass | 11,292 | 4,209 | -63% | 1 | 1 | 0% | 1,583 | 2,140 | +35% | 0 | 0 | — |
case-09 | fail→pass | 13,056 | 2,272 | -83% | 1 | 1 | 0% | 1,895 | 1,759 | -7% | 0 | 0 | — |
case-10 | pass→pass | 11,446 | 2,314 | -80% | 1 | 1 | 0% | 1,649 | 1,770 | +7% | 0 | 0 | — |
case-15 | fail→pass | 7,278 | 2,435 | -67% | 1 | 1 | 0% | 1,082 | 1,772 | +64% | 0 | 0 | — |
case-11 | fail→fail | 6,163 | 5,142 | -17% | 1 | 1 | 0% | 920 | 2,254 | +145% | 0 | 0 | — |
case-12 | fail→pass | 10,686 | 2,846 | -73% | 1 | 1 | 0% | 1,647 | 1,954 | +19% | 0 | 0 | — |
case-13 | fail→pass | 10,571 | 2,872 | -73% | 1 | 1 | 0% | 1,427 | 1,814 | +27% | 0 | 0 | — |
case-14 | fail→pass | 14,530 | 3,531 | -76% | 1 | 1 | 0% | 1,982 | 2,004 | +1% | 0 | 0 | — |
case-16 | pass→pass | 8,252 | 4,763 | -42% | 1 | 1 | 0% | 1,144 | 2,138 | +87% | 0 | 0 | — |
case-17 | pass→pass | 16,042 | 3,867 | -76% | 1 | 1 | 0% | 2,241 | 2,057 | -8% | 0 | 0 | — |
case-18 | fail→fail | 9,500 | 1,564 | -84% | 1 | 1 | 0% | 1,515 | 1,628 | +7% | 0 | 0 | — |
case-19 | pass→pass | 9,277 | 2,307 | -75% | 1 | 1 | 0% | 1,285 | 1,726 | +34% | 0 | 0 | — |
case-20 | fail→pass | 14,957 | 5,750 | -62% | 1 | 1 | 0% | 2,045 | 2,337 | +14% | 0 | 0 | — |
case-21 | fail→pass | 13,904 | 3,841 | -72% | 1 | 1 | 0% | 2,080 | 2,022 | -3% | 0 | 0 | — |
case-22 | fail→pass | 15,721 | 7,896 | -50% | 1 | 1 | 0% | 2,138 | 2,673 | +25% | 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 20 counted toward the lift figure. The other 2 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 +55 percentage points is the difference between those two pass rates over the 20 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.
Other measured skills in the registry, with their headline benchmark lift.