When your agentic workflow is burning tokens or taking too long to respond, this walks you through a systematic performance audit. It measures baseline metrics like p50/p95 latency and cost per request, then guides you through specific optimizations: token reduction, model cascading to cheaper models for simple tasks, caching strategies, and parallelization. The structure is methodical, maybe overly so, but that's the point. It forces you to measure before and after each change and verify quality didn't regress with golden tests. The trade-off documentation is smart because speed improvements always cost something, even if it's just added complexity. Best used when you've got a working workflow that's too expensive to run at scale.

skills.sh installs
344
GitHub stars
602
last updated
Aug 21, 2026

Install

$ npx -y skills add sharpdeveye/maestro --skill accelerate --agent claude-code

Installs into .claude/skills of the current project.

Files

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

Sponsors

Details

Repository
github.com/sharpdeveye/maestro
Category
Automation & Workflows
First seen
Jun 3, 2026

More from sharpdeveye/maestro

All 22
1sharpdeveye avataramplifysharpdeveye/maestroUse when the workflow works but needs to handle more complex cases or produce higher-quality output through better tools, context, prompts, or models.344skills.sh installs
2sharpdeveye avatarcalibratesharpdeveye/maestroUse when workflow components are inconsistent, naming conventions vary, or a new team member's work needs alignment to project standards.344skills.sh installs
3kazukinagata avatare-taxkazukinagata/shinkokuThis skill should be used when the user wants to file their tax return electronically via the 確定申告書等作成コーナー (NTA Tax Return Preparation Corner) using Claude in C342skills.sh installs
4mindmorass avatarffmpeg-patternsmindmorass/reflexFFmpeg video and audio processing patterns. Use when transcoding video/audio, extracting clips, adding filters, merging media, creating thumbnails, or batch pro342skills.sh installs
5rysweet avatarlearning-path-builderrysweet/amplihackCreates personalized learning paths for technologies, frameworks, or concepts. Use for user-interactive session only for onboarding new technologies, hackathon 342skills.sh installs
6sharpdeveye avatarfortifysharpdeveye/maestroUse when the workflow lacks error handling, has been failing in production, or needs retry logic, fallback strategies, and circuit breakers.342skills.sh installs