/accelerate
Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization.
$ npx -y skills add sharpdeveye/maestro --skill accelerate --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
/accelerate
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization.
SKILL.md
accelerate.SKILL.mdname: accelerate
description: "Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization."
argument-hint: "[target metric]"
category: enhancement
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. Consult the context-management reference in the agent-workflow skill for window optimization and budget strategies.
---
Make the workflow faster and cheaper without sacrificing quality. Measure before and after.
Performance Audit
Measure current performance:
Current metrics:
Latency (p50): ___ms
Latency (p95): ___ms
Cost per request: $___
Token usage (avg): ___ input / ___ output
Error rate: ___%
Acceleration Strategies
**Reduce Token Usage**
- Shorten system prompts (remove redundant instructions)
- Compress few-shot examples to minimum viable length
- Use structured output schemas instead of verbose text
- Summarize context instead of passing raw documents
- Reduce output length requirements
**Model Cascading**
- Route simple tasks to cheaper/faster models
- Escalate only complex tasks to capable models
- Use classification to determine complexity
**Caching**
- Cache responses for identical or near-identical inputs
- Cache tool results with appropriate TTL
- Cache embeddings for frequently-queried documents
- Use semantic caching for similar (not identical) queries
**Parallelization**
- Run independent tool calls in parallel
- Run independent agent steps in parallel
- Use streaming to start processing before full response
**Context Optimization**
- Retrieve less, retrieve better (improve retrieval precision)
- Use context compression techniques
- Implement sliding window for long conversations
Acceleration Report
For each optimization:
1. **What changed**: Specific modification 2. **Before**: Latency/cost/tokens before 3. **After**: Latency/cost/tokens after 4. **Quality impact**: Any quality change (verify with golden tests) 5. **Trade-off**: What was sacrificed for the improvement
Acceleration Checklist
- [ ] Baseline metrics recorded before any changes
- [ ] Each optimization measured with before/after comparison
- [ ] Quality impact verified (golden tests still pass)
- [ ] Trade-offs documented for each change
- [ ] Cost/latency improvements quantified
Recommended Next Step
After optimization, run `/evaluate` to verify quality didn't degrade, or `/iterate` to set up continuous monitoring.
**NEVER**:
- Optimize without measuring first (you need a baseline)
- Sacrifice quality for speed without explicit user approval
- Cache outputs that depend on real-time data
- Skip the quality check after optimization
- Optimize prematurely (make it correct first, then make it fast)
Read more
name: accelerate description: "Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization." argument-hint: "[target metric]" category: enhancement 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. Consult the context-management reference in the agent-workflow skill for window optimization and budget strategies.
---
Make the workflow faster and cheaper without sacrificing quality. Measure before and after.
Performance Audit
Measure current performance:
Current metrics: Latency (p50): ___ms Latency (p95): ___ms Cost per request: $___ Token usage (avg): ___ input / ___ output Error rate: ___%
Acceleration Strategies
**Reduce Token Usage**
- Shorten system prompts (remove redundant instructions)
- Compress few-shot examples to minimum viable length
- Use structured output schemas instead of verbose text
- Summarize context instead of passing raw documents
- Reduce output length requirements
**Model Cascading**
- Route simple tasks to cheaper/faster models
- Escalate only complex tasks to capable models
- Use classification to determine complexity
**Caching**
- Cache responses for identical or near-identical inputs
- Cache tool results with appropriate TTL
- Cache embeddings for frequently-queried documents
- Use semantic caching for similar (not identical) queries
**Parallelization**
- Run independent tool calls in parallel
- Run independent agent steps in parallel
- Use streaming to start processing before full response
**Context Optimization**
- Retrieve less, retrieve better (improve retrieval precision)
- Use context compression techniques
- Implement sliding window for long conversations
Acceleration Report
For each optimization:
1. **What changed**: Specific modification 2. **Before**: Latency/cost/tokens before 3. **After**: Latency/cost/tokens after 4. **Quality impact**: Any quality change (verify with golden tests) 5. **Trade-off**: What was sacrificed for the improvement
Acceleration Checklist
- [ ] Baseline metrics recorded before any changes
- [ ] Each optimization measured with before/after comparison
- [ ] Quality impact verified (golden tests still pass)
- [ ] Trade-offs documented for each change
- [ ] Cost/latency improvements quantified
Recommended Next Step
After optimization, run `/evaluate` to verify quality didn't degrade, or `/iterate` to set up continuous monitoring.
**NEVER**:
- Optimize without measuring first (you need a baseline)
- Sacrifice quality for speed without explicit user approval
- Cache outputs that depend on real-time data
- Skip the quality check after optimization
- Optimize prematurely (make it correct first, then make it fast)
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.
- /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 - /chain
Use when the workflow needs multi-step processing with sequential, parallel, or conditional tool compositions and proper data flow.
Open skill

