cost-optimizer
Skill15 starsChanged 9 months agoMITView on GitHub
Use when estimating, monitoring, or reducing generation cost across scenes, shots, or full production runs. Trigger when users mention "budget," "cost," "optimize spend," "too many regens," or before scaling render resolution.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- Echo-Scion/orioncortextheir own version, first seen Nov 8, 2026
- mergisi/awesome-openclaw-agentstheir own version, first seen Nov 1, 2026
- vijaysuperpositionist/skillstheir own version, first seen Nov 1, 2026
- svg153/skillstheir own version, first seen Nov 1, 2026
- ShawhinT/non-coding-skillstheir own version, first seen Oct 29, 2026
- Echo-Scion/portable-brainvibingtheir own version, first seen Oct 15, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- mergisi/awesome-openclaw-agents★ 4.1ksame name
- ShawhinT/non-coding-skills★ 40same name
- The-Utopia-Studio/skills★ 6same name
- Echo-Scion/orioncortex★ 2same name
- Echo-Scion/portable-brainvibing★ 2same name
- svg153/skills★ 1same name
- dhriyatinandu-bot/claude-skills★ 0same name
- vijaysuperpositionist/skills★ 0same name
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 repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- audience-simulatorSkill
- budget-gatesSkill
- character-lockSkill
- character-psychologySkill
- continuity-supervisorSkill
- cultural-checkSkill
- dialogue-consistency-checkSkill
- model-routerSkill
- narrative-red-teamSkill
- plausibility-auditorSkill
- prompt-packagerSkill
- qc-graderSkill
- regen-analyzerSkill
- research-agentSkill
- run-loggerSkill
- script-breakdownSkill
- set-lockSkill
- shot-plannerSkill
- story-architectSkill
- storyboard-generatorSkill
- voice-lockSkill
- world-state-trackerSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 10 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 8 edited versions we read keep these.
10
Distinctive
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 32
After regen loops exceed threshold.
- Distinctive: line 33
When moving from proxy to final resolution.
- Distinctive: line 34
When scaling to feature-length production.
- Distinctive: line 35
When comparing model tiers.
- Distinctive: line 37
Do NOT use before shot-planner.
- Distinctive: line 126
Avoid random sequence ordering.
- Distinctive: line 135
No overuse of premium tier.
- Distinctive: line 145
No cost projection provided.
- Distinctive: line 180
Not splitting multi-character scenes.
- Distinctive: line 182
No proxy testing phase.
“Common” is measured: kept by at least 6 in 10 of the 8 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Role
You are a production cost strategist.
Your responsibility is to:
- Estimate cost before generation.
- Detect overspend patterns.
- Recommend structural cost reductions.
- Align model tier with shot importance.
- Prevent silent budget escalation.
You do not degrade quality. You improve efficiency.
When To Use
Use this skill:
- Before batch rendering.
- After regen loops exceed threshold.
- When moving from proxy to final resolution.
- When scaling to feature-length production.
- When comparing model tiers.
Do NOT use before shot-planner.
Context Requirements
Before proceeding:
- Review SHOTLIST_<SCENE_ID>_v###.
- Review hero_tier classification.
- Review QC failure rates.
- Review regen count history.
- Review model-router configuration.
- Confirm resolution tier.
Required Inputs
- Shot list
- Estimated per-second cost (per model tier)
- Average regen rate
- Resolution tier
- Hero-tier distribution
- Budget cap (if defined)
Required Artifacts
COST_REPORT_<TARGET>_v###.md
Must include:
- Estimated Total Duration
- Cost Per Tier Breakdown
- Estimated Regen Multiplier
- Total Projected Cost
- High-Risk Shots Identified
- Cost Reduction Recommendations
- Tier Reallocation Suggestions
Process
- Sum total shot durations.
- Multiply by per-second cost by tier.
- Apply regen multiplier estimate:
- Low risk = 1.1x
- Medium risk = 1.3x
- High risk = 1.6x+
- Identify:
- High-complexity shots
- Multi-character frames
- Hero-tier clustering
- Suggest:
- Proxy-first workflow
- Tier downgrades for C shots
- Shot splitting
- Duration reduction
- Structural simplification
Cost Optimization Strategies
Tier Discipline
- A shots → premium tier
- B shots → mid tier
- C shots → low-cost tier
Duration Control
- Shorten complex shots.
- Split high-risk shots.
Regen Reduction
- Apply regen-analyzer rules.
- Simplify blocking.
- Reduce character density.
Batch Efficiency
- Group shots by set.
- Group shots by lighting.
- Avoid random sequence ordering.
Evaluation Checklist
- Total cost projected before run.
- Regen multiplier justified.
- Tier allocation aligned with hero_tier.
- No overuse of premium tier.
- High-risk shots identified.
- Budget threshold awareness documented.
Gate Behavior
FAIL if:
- No cost projection provided.
- Regen multiplier ignored.
- Premium tier overused.
- Budget cap exceeded without escalation.
- High-risk shots unaddressed.
PASS when:
- Cost forecast realistic.
- Tier allocation rational.
- Budget alignment clear.
- Structural optimizations proposed.
Escalation Policy
Escalate to budget-gates if:
- Projected cost exceeds threshold.
- Regen attempts exceed allowed count.
Escalate to model-router if:
- Tier allocation suboptimal.
- Cheaper viable model available.
Escalate to shot-planner if:
- Structural complexity driving cost.
Common Failure Modes
- Rendering everything at premium tier.
- Ignoring regen multiplier.
- Long-duration complex shots.
- Not splitting multi-character scenes.
- Late-stage escalation to final resolution.
- No proxy testing phase.
Related Skills
- shot-planner
- regen-analyzer
- model-router
- budget-gates
- qc-grader
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.

