ai-token-improvement-plan-engineer
Skill9 starsChanged 6 months agoMITView on GitHub
Guides creation of AI token and cost improvement plans—baseline audits, spend attribution, optimization initiative backlog (prompt, context, model routing, RAG, agents), impact estimates, quality guardrails, measurement KPIs, and phased rollout with owners. Use when building a token reduction roadmap, cost optimization program, LLM unit-economics improvement plan, or executive brief on cutting inference spend without breaking evals—not for hands-on context layout implementation (ai-context-engineer), single-prompt rewrites (prompt-engineer), RAG pipeline build (ai-engineer), or AI ops cadence and vendor governance (ai-lead-ops). For end-to-end commercial/enterprise AI solution architecture before cost programs, use applied-ai-architect-commercial-enterprise. Empirical token studies and ablations: research-engineer-scientist-tokens.
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 94
Every initiative must list:
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AI Token Improvement Plan Engineer
When to Use
- Audit where tokens are spent (by feature, model, tenant, turn type)
- Prioritize cost-saving initiatives with estimated savings and risk
- Draft a phased improvement plan with metrics and rollback criteria
- Define eval gates so cost cuts do not regress quality or safety
- Brief leadership on trade-offs (model tier, context size, agent depth)
When NOT to Use
- Implement context packing or compression code →
ai-context-engineer - Rewrite one prompt or agent tool schema →
prompt-engineer - Build RAG ingest, chunking, or agent runtime →
ai-engineer - Weekly cost review ritual and release governance →
ai-lead-ops - Memory store architecture →
ai-memory-developer - Adversarial safety testing →
ai-redteam - AI policy and regulatory mapping →
ai-risk-governance
Related skills
| Need | Skill |
| Context budget and truncation | ai-context-engineer |
| Prompt patterns and eval of wording | prompt-engineer |
| RAG and agent implementation | ai-engineer |
| Production ops and cost reviews | ai-lead-ops |
| Memory write/read policy | ai-memory-developer |
| Safety regression testing | ai-redteam |
| AI solution architecture (commercial/enterprise) | applied-ai-architect-commercial-enterprise |
| Token efficiency experiments and benchmarks | research-engineer-scientist-tokens |
Core Workflows
1. Scope and baseline
Define:
- Surface area — chat, copilot, batch, agents, embeddings-only
- Time window — 7/30 days; exclude anomalies (launches, incidents)
- Segmentation — model, feature flag, tenant tier, environment
Collect baseline metrics (see references/token_audit.md).
Deliverable: current state table with top 5 cost drivers (≥70% of spend if possible).
2. Categorize spend
Bucket each driver:
| Category | Examples |
| Input bloat | Long system prompts, duplicated docs, full chat history |
| Output bloat | Verbose defaults, no max_tokens, unconstrained agents |
| Model choice | Opus-class for simple classification |
| Retrieval | Over-fetching chunks, huge tool results in context |
| Agent loops | Extra tool rounds, retry storms |
| Infrastructure | Re-embedding unchanged corpora, log payloads in prompts |
Tag fixed per request vs scales with users/sessions.
3. Initiative backlog
For each idea record:
- Description and owner team
- Estimated savings (% tokens or $/month) with assumptions
- Effort (S/M/L) and dependencies
- Quality risk (low/med/high) and required evals
- Measurement — metric that proves success
Prioritize with impact × confidence ÷ effort; never ship without eval plan.
See references/improvement_backlog.md and references/optimization_playbook.md.
4. Quality and safety guardrails
Every initiative must list:
- Golden-set evals (task accuracy, format)
- Safety set (if user-facing)
- Latency check (p95)
- Rollback trigger (e.g., CSAT drop, eval regression >X%)
See references/measurement_and_kpis.md.
5. Phased plan
Typical phases:
| Phase | Focus | Duration |
| 0 — Measure | Instrumentation, dashboards, attribution | 1–2 weeks |
| 1 — Quick wins | max_tokens, model routing, prompt trim, cache | 2–4 weeks |
| 2 — Structure | RAG top-k, history compression, tool output limits | 4–8 weeks |
| 3 — Architecture | Agent budget caps, routing policies, batch/offline | 8+ weeks |
Each phase: goals, initiatives, owners, exit criteria.
See references/rollout_plan.md.
6. Executive summary
## Situation — spend and growth rate
## Target — $ or tokens/session goal by date
## Top drivers — ranked list
## Plan — 3–5 initiatives per phase
## Risks — quality, latency, eng capacity
## Asks — budget, headcount, eval timeHand ongoing ops to ai-lead-ops after plan approval.
When to load references
- Baseline and attribution →
references/token_audit.md - Backlog template and scoring →
references/improvement_backlog.md - Technique catalog →
references/optimization_playbook.md - KPIs and eval gates →
references/measurement_and_kpis.md - Phasing and rollback →
references/rollout_plan.md
Other versions1 project uses a version of this.
Word for word · 1
- daemon-blockint-tech/Agentic-Enteprises-Skill★ 8100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository197 other files it gives its agents.
- ab-testing-engineerSkill
- actuarial-analystSkill
- actuarial-consultingSkill
- actuarySkill
- advanced-long-term-actuarial-mathematicsSkill
- advanced-persistent-threatSkill
- advanced-short-term-actuarial-mathematicsSkill
- agentic-ai-developerSkill
- ai-adversarial-robustness-engineerSkill
- ai-context-engineerSkill
- ai-engineerSkill
- ai-lead-opsSkill
- ai-memory-developerSkill
- ai-redteamSkill
- ai-researcherSkill
- ai-risk-governanceSkill
- ai-skill-managerSkill
- aml-cftSkill
- aml-complianceSkill
- analytics-data-engineering-manager-productSkill
- analytics-data-engineerSkill
- anti-false-positive-decision-makingSkill
- applied-ai-architect-commercial-enterpriseSkill
- appointed-chief-actuarySkill
- asset-liability-managementSkill
- associate-actuarySkill
- assumption-settingSkill
- auditorSkill
- bcm-disaster-recovery-specialistSkill
- bi-analystSkill
- build-validatorSkill
- business-analystSkill
- business-consultantSkill
- business-model-researcherSkill
- certified-information-systems-security-professionalSkill
- chief-information-security-officerSkill
- ci-cd-engineerSkill
- cicd-engineerSkill
- cisco-certified-network-professionalSkill
- classified-cyber-security-senior-managerSkill
- classified-software-devsecops-engineerSkill
- cloud-architectSkill
- cloud-compliance-specialistSkill
- cloud-economistSkill
- cloud-engineerSkill
- cloud-security-engineerSkill
- cloud-system-administratorSkill
- cluster-deployment-engineerSkill
- code-securitySkill
- commercial-counselSkill
- communication-leadSkill
- community-executive-escalations-program-managerSkill
- compliance-engineerSkill
- compliance-specialistSkill
- compute-accounting-managerSkill
- control-software-developerSkill
- corporate-counselSkill
- country-managerSkill
- cross-department-translationSkill
- cryptographer-specialistSkill
- The first 60 shown.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

