accelerate
Use when the workflow is too slow, too expensive, or both and needs latency, cost, or token usage optimization.
pinned to #00f9115updated 3 months ago
Ask your AI client: “install skills/accelerate”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install skills/acceleratemetahub onboarded this repo on the author's behalf.
If you own github.com/sharpdeveye/maestro on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
402
Last commit
3 months ago
Latest release
published
- #agent-orchestration
- #ai
- #ai-agents
- #ai-workflows
- #claude-code
- #codex
- #copilot
- #cursor
- #developer-tools
- #gemini
- #open-source
- #prompt-engineering
- #skills
Automated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.00f9115· 3 months ago
Behavioral checks ran but aren't published for this artifact; the static checks above ran at publish time.
Kind-specific
3 passed1 warningSkill: triggers declaredwarn
No `trigger` phrases in SKILL.md frontmatter
Add `trigger:` lines so Claude knows when to activate this skill — e.g. `when building MCP servers` or `for diagram creation`.
Skill: SKILL.md present
found at source/skills/accelerate/SKILL.md · frontmatter source: SKILL.md
Skill: body content present
382 words · 2,733 chars · 6 sections · 1 code block
Skill: allowed-tools scope
no allowed-tools restriction (Claude may use anything)
Release history
1- releasecurrent00f9115warn3 months ago
Contents
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:
- What changed: Specific modification
- Before: Latency/cost/tokens before
- After: Latency/cost/tokens after
- Quality impact: Any quality change (verify with golden tests)
- 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)
Reviews
No reviews yet. Be the first.
Related
Verification Before Completion
Evidence before assertions, always
Writing Plans
Turn specs into phased implementation plans
Test-Driven Development
Red → green → refactor discipline for any feature or bugfix
mh install skills/accelerate