/reflect
Analyze command history to identify which skills work, which fail, and where to improve.
$ npx -y skills add sharpdeveye/maestro --skill reflect --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/reflect
Context preview
The summary Claude sees to decide when to auto-load this skill.
Analyze command history to identify which skills work, which fail, and where to improve.
SKILL.md
reflect.SKILL.mdname: reflect
description: "Analyze command history to identify which skills work, which fail, and where to improve."
argument-hint: "[time period]"
category: analysis
version: 2.0.0
user-invocable: true
MANDATORY PREPARATION
Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.
---
Analyze the Maestro audit trail and decision log to produce a skill-effectiveness scorecard. This tells you which commands work, which fail, and where your workflow needs attention.
Data Sources
Read these files from the project root:
1. **`.maestro/audit.jsonl`** — every command invocation with duration, cost, and outcome 2. **`.maestro/decisions.jsonl`** — decisions made with outcomes and next steps
If neither file exists, respond: *"No audit data found. Run commands with Maestro to start tracking, then come back."*
Analysis Dimensions
**1. Usage Frequency**
- Which commands run most/least?
- Are any commands never used? (candidates for removal)
**2. Completion Rate**
- What % of invocations complete successfully?
- Which commands fail most often?
**3. Command Flow**
- What are the most common command sequences (A → B)?
- Which commands lead to follow-ups vs. abandonment?
- Abandonment rate per command (no follow-up within 30 min)
**4. Cost Distribution**
- Total estimated cost across all commands
- Cost per command (average)
- Most/least expensive commands
**5. Duration Analysis**
- Average duration per command
- Outliers (unusually slow invocations)
Output Format
╔══════════════════════════════════════════╗
║ MAESTRO EFFECTIVENESS ║
╠══════════════════════════════════════════╣
║ Commands Run __ (__ unique) ║
║ Completion Rate __% ║
║ Most Used /_____ (__×) ║
║ Most Abandoned /_____ (__% ⚠️) ║
║ Avg Duration __s ║
║ Total Cost ~$__.__ ║
╠══════════════════════════════════════════╣
║ STRONGEST PIPELINES ║
╠══════════════════════════════════════════╣
║ /_____ → /_____ __× ║
║ /_____ → /_____ __× ║
╠══════════════════════════════════════════╣
║ COST PER COMMAND ║
╠══════════════════════════════════════════╣
║ /_____ $__.__/run ████░░ avg ║
║ /_____ $__.__/run █░░░░░ cheap ║
║ /_____ $__.__/run █████░ costly ║
╚══════════════════════════════════════════╝
INSIGHTS:
1. [Data-driven observation with recommended action]
2. [Data-driven observation with recommended action]
3. [Data-driven observation with recommended action]
Insights Rules
Every insight MUST:
- Reference specific data (e.g., "40% abandonment rate")
- Suggest a specific Maestro command to address it
- Distinguish correlation from causation
Reflection Checklist
- [ ] All 5 analysis dimensions covered
- [ ] Scorecard generated with real data
- [ ] Insights are data-driven, not speculative
- [ ] Cost estimates labeled as approximate (~)
- [ ] Recommended actions reference specific Maestro commands
Recommended Next Step
After reflecting, run `/streamline` to remove unused commands, or `/refine` on the most-abandoned command to improve its prompt quality.
**NEVER**:
- Require audit data to exist — degrade gracefully
- Invent metrics beyond what the logs contain
- Show cost data without the "estimate" disclaimer (~)
- Make judgments without evidence (say "100% completion rate" not "works great")
- Compare across projects — reflect is project-scoped
Read more
name: reflect description: "Analyze command history to identify which skills work, which fail, and where to improve." argument-hint: "[time period]" category: analysis version: 2.0.0 user-invocable: true
MANDATORY PREPARATION
Invoke /agent-workflow — it contains workflow principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no workflow context exists yet, you MUST run /teach-maestro first.
---
Analyze the Maestro audit trail and decision log to produce a skill-effectiveness scorecard. This tells you which commands work, which fail, and where your workflow needs attention.
Data Sources
Read these files from the project root:
1. **`.maestro/audit.jsonl`** — every command invocation with duration, cost, and outcome 2. **`.maestro/decisions.jsonl`** — decisions made with outcomes and next steps
If neither file exists, respond: *"No audit data found. Run commands with Maestro to start tracking, then come back."*
Analysis Dimensions
**1. Usage Frequency**
- Which commands run most/least?
- Are any commands never used? (candidates for removal)
**2. Completion Rate**
- What % of invocations complete successfully?
- Which commands fail most often?
**3. Command Flow**
- What are the most common command sequences (A → B)?
- Which commands lead to follow-ups vs. abandonment?
- Abandonment rate per command (no follow-up within 30 min)
**4. Cost Distribution**
- Total estimated cost across all commands
- Cost per command (average)
- Most/least expensive commands
**5. Duration Analysis**
- Average duration per command
- Outliers (unusually slow invocations)
Output Format
╔══════════════════════════════════════════╗ ║ MAESTRO EFFECTIVENESS ║ ╠══════════════════════════════════════════╣ ║ Commands Run __ (__ unique) ║ ║ Completion Rate __% ║ ║ Most Used /_____ (__×) ║ ║ Most Abandoned /_____ (__% ⚠️) ║ ║ Avg Duration __s ║ ║ Total Cost ~$__.__ ║ ╠══════════════════════════════════════════╣ ║ STRONGEST PIPELINES ║ ╠══════════════════════════════════════════╣ ║ /_____ → /_____ __× ║ ║ /_____ → /_____ __× ║ ╠══════════════════════════════════════════╣ ║ COST PER COMMAND ║ ╠══════════════════════════════════════════╣ ║ /_____ $__.__/run ████░░ avg ║ ║ /_____ $__.__/run █░░░░░ cheap ║ ║ /_____ $__.__/run █████░ costly ║ ╚══════════════════════════════════════════╝ INSIGHTS: 1. [Data-driven observation with recommended action] 2. [Data-driven observation with recommended action] 3. [Data-driven observation with recommended action]
Insights Rules
Every insight MUST:
- Reference specific data (e.g., "40% abandonment rate")
- Suggest a specific Maestro command to address it
- Distinguish correlation from causation
Reflection Checklist
- [ ] All 5 analysis dimensions covered
- [ ] Scorecard generated with real data
- [ ] Insights are data-driven, not speculative
- [ ] Cost estimates labeled as approximate (~)
- [ ] Recommended actions reference specific Maestro commands
Recommended Next Step
After reflecting, run `/streamline` to remove unused commands, or `/refine` on the most-abandoned command to improve its prompt quality.
**NEVER**:
- Require audit data to exist — degrade gracefully
- Invent metrics beyond what the logs contain
- Show cost data without the "estimate" disclaimer (~)
- Make judgments without evidence (say "100% completion rate" not "works great")
- Compare across projects — reflect is project-scoped
Workflow fluency for AI coding agents. 1 core skill · 25 commands · 7 domain references · memory layer · audit trail — works across Cursor, Claude Code, Gemini CLI, Copilot, and 6 more.
Repo: sharpdeveye/maestro
Other skills on maestro.
- /accelerate
Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization.
Open skill - /adapt-workflow
Use when porting a workflow to a different AI provider, deployment environment, model tier, or organizational context.
Open skill - /agent-workflow
Use when any Maestro command is invoked — provides foundational workflow design principles across prompt engineering, context management, tool orchestration, agent architecture, feedback loops, knowledge systems, and guardrails.
Open skill - /amplify
Use when the workflow works but needs to handle more complex cases or produce higher-quality output through better tools, context, prompts, or models.
Open skill - /calibrate
Use when workflow components are inconsistent, naming conventions vary, or a new team member's work needs alignment to project standards.
Open skill - /capture
Capture a session summary — what was done, what decisions were made, and what to do next.
Open skill

