maestro-companion
SkillProductivityQuick execution for small tasks, minimal run lifecycle (start +
Use maestro-companion in Claude, ChatGPT or Ahel Desktop
Free. Sign in, add maestro-companion and connect your AI. About a minute.
Also: Claude Code · Cursor · Codex
Then ask your AI: use the maestro-companion skill
Details
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
No other account needed.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
What this skill tells your AI
The instructions your AI receives, as published by catlog22/maestro-flow in .codex/skills/maestro-companion/SKILL.md and read by ahel’s review.
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/ref/knowledge-closeout.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 every required file explicitly before executing any step; for knowledge closeout, Read @~/.maestro/ref/knowledge-closeout.md explicitly before closeout.
Use when:
- Intent is mechanically clear (no design decisions needed; file count irrelevant)
- No typed artifact consumed by downstream steps
- No gate/verdict needed for lifecycle tracking
Lightweight self-check (all must hold):
- Intent specifies a concrete, bounded action with named target (file, function, error message)
- No typed artifact consumed by downstream steps
- No gate/verdict for lifecycle tracking
- Single concern, no multi-phase span
If self-check fails mid-execution, stop and suggest
/maestro-nextfor re-routing.
| Flag | Effect |
|---|---|
-y | Skip bounded task confirmation; never grants knowledge publication approval |
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.
Execute (default)
Linear: resolve Session identity -> dispatch Run -> explore -> confirm -> do -> check -> complete Run -> complete Session when the chain is terminal.
1. Create
Follow the self-start flow in run-mode.md. Negotiate capabilities, then execute the three receipt-chained mutations below. --actor carries the authorized identity (--participant defaults to it); use the exact session_id and orchestration_revision returned by each preceding receipt.
maestro session open "<intent>" --id <slug> --actor {actor_id} --json
maestro session chain insert --session {session_id} --step-id {step_id} --command companion --arg "<intent>" --actor {actor_id} --expected-orchestration-revision {open_orchestration_revision} --json
maestro run next --session {session_id} --actor {actor_id} --expected-orchestration-revision {insert_orchestration_revision} --json
The Session objective is metadata; session chain insert --arg "<intent>" supplies Companion's positional domain text. Never pass task prose through --input; that option accepts only sealed same-Session Artifact IDs. Consume the run next birth packet's task and structured continuation, and retain its exact Run locator and revisions.
Init {run_dir}/evidence/companion-log.md:
# Companion Log: {intent}
> run_id: {run_id} | session: {session_id}
## Evidence
2. Explore
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 recall- spawn_agent(subagent) — multi-file analysis, cross-reference, pattern discovery
- Direct Read/Grep/Glob — known targets, quick lookups
Record findings under ## Evidence:
## Evidence
- {file:line — what was found}
- {spec/knowhow entries loaded, or "none"}
- {subagent conclusions if used}
3. Confirm
Before executing, verify evidence is sufficient:
- Target files/locations identified?
- Change scope clear (what to modify, what to leave alone)?
- No ambiguity requiring design decisions?
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.
4. Do
Execute the task. After each meaningful action, append under ## Work Log:
### {HH:MM} — {summary}
{outcome, files touched if any}
Rules: batch trivial reads; 1-5 lines per entry; focus on outcome not process.
5. Seal
Append outcome:
## 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:
maestro knowledge stage knowhow "<title>" --content-file <path|-> --run <run_id>
# Then use fenced `maestro run complete ... --advance` from run-mode.md.
# At terminal closeout, the completion owner executes knowledge-closeout.md,
# then `maestro session complete` with the current locator/revision/identity.
Display: Companion done. Run: {run_id} | Evidence: {path}
As completion owner, execute @~/.maestro/ref/knowledge-closeout.md (Review → Refresh → Present → Authorize → Execute → Verify) at terminal overall-task closeout; displaying only the receipt's review_command is insufficient. Zero candidates, rejection, or deferral allow completion with any backlog reported. If dispatched, return candidate IDs/warnings to the orchestrator instead of repeating its approval question. 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.
<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> |
Signals
- GitHub stars
- 560
- Forks
- 68
- Last commit
- Sep 2026
Advanced
- Item type
- skill
- Key
maestro-companion- Source
- github.com/catlog22/maestro-flow
github.com/catlog22/maestro-flow
Related picks
Skill · larksuite
The pick for Markdownmarkdown-formatter
Skill · nvidia
The pick for Markdownsocial
Skill · coreyhaines31
More in Productivitygws-calendar
Skill · googleworkspace
More in Productivitylark-minutes
Skill · larksuite
More in Productivityenergy-procurement
Skill · affaan-m
More in Productivity