optimize
Skill1 starsChanged 5 months agoMITView on GitHub
USER-INVOKED ONLY (e.g. on a weekly schedule) — review the pipeline run measurements under .pipeline/.stats/ (durations, outcomes, tokens, tool failures), inspect run logs where something regressed or repeatedly failed, and apply targeted improvements to specific pipelines via pipeline-improver. Never auto-invoke this skill; it exists so measurement review costs zero tokens until the user explicitly asks for it.
45 other projects use a version of this.
Adopted by
Most recently taken up by
- flavien-ia/hypervibe-harnesstheir own version, first seen Oct 4, 2026
- dracocephalum/dc-agenticstheir own version, first seen Oct 4, 2026
- daintreehq/daintreetheir own version, first seen Oct 1, 2026
- OpenPerfAgent/who-ate-my-flopstheir own version, first seen Sep 30, 2026
- tradeblocks-org/tradeblocks-skillstheir own version, first seen Sep 28, 2026
- theexperiencecompany/gaiatheir own version, first seen Sep 17, 2026
Used with
Projects with it also use arrange, overdrive and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
nikafastovets-langSkillarrange
Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.
Also in 6 projects that use this
nikafastovets-langSkilloverdrive
Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?
Also in 10 projects that use this
mtctSkillquieter
Tone down overly bold or visually aggressive designs. Reduces intensity while maintaining design quality and impact.
Also in 14 projects that use this
mtctSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 10 projects that use this
zwy123zwySkillnormalize
将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。
Also in 10 projects that use this
mickeylorenziniSkillharden
Audits any substantial deliverable — documents, grant sections, strategies, protocols, skills, configs, roadmaps, plans — against domain-specific quality criteria before delivery. Searches the web for best practices, runs dual-pass thematic and structural audit with severity classification, fixes all issues, and iterates until convergence. Activates when producing deliverables exceeding 4 paragraphs or 20 lines, or when the user says "harden", "audit", "stress test", or "review before delivering", or when re-auditing a modified deliverable for regressions. Does not activate for conversational responses, brainstorming, web search summaries, or rough drafts.
Also in 14 projects that use this
- +4 more from mtct
- +1 more from nikafastovets-lang
Other versions45 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 45
- kovrichard/catalyst★ 469same name
- 10xChengTu/Mux0★ 346same name
- theexperiencecompany/gaia★ 306same name
- akseolabs-seo/AK-Threads-booster★ 274same name
- AkaraChen/aghub★ 271same name
- marketcalls/vectorbt-backtesting-skills★ 207same name
- atelier-fashion/adlc-toolkit★ 171same name
- rwliebs/Dossier★ 89same name
- daintreehq/daintree★ 75same name
- StyleSwift/StyleSwift★ 62same name
35 more not listed
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.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 1 is distinctive, and 5 are very specific to this project.
0
Common
Most of the 44 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 22
Read SUMMARY.md first — it is the whole picture.
- Distinctive: line 24
Read a pipeline's iteration files ONLY when you are about to propose a concrete improvement.
- Very specific: line 30
Refresh + load the summary: Run pipeline stats from the project root and read its output (it regenerates and prints SUMMARY.md).
- Very specific: line 50
Investigate each flagged pipeline, cheaply: Read its 2–3 most recent runs/<run-id>.log files.
- Very specific: line 62
If needed, check leftover feedback (<pipeline>/.feedback/) and design-time lint (pipeline plan --root <pipeline> --json → warnings).
- Very specific: line 89
If .stats/ shows tokens pending everywhere, note that enrichment happens when a manager-driven run's session ends (driver runs enrich …
“Common” is measured: kept by at least 6 in 10 of the 44 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
Optimize pipelines from their run measurements
You are running the periodic optimization pass over the measurement files the stats system
(pure software, PIPELINE_STATS_ENABLED, default on) has been writing under
<project>/.pipeline/.stats/. The user invokes this deliberately (typically weekly).
$ARGUMENTS may narrow the pass to specific pipelines; empty means review everything.
Token discipline
The measurement system itself never spends LLM tokens — all analysis cost lives in THIS skill,
which only the user can trigger (disable-model-invocation: true). Keep the pass cheap:
- Read
SUMMARY.mdfirst — it is the whole picture. Do NOT read every runs.jsonl. - Drill into a per-run log (
.stats/<pipeline>/runs/<run-id>.log) ONLY for pipelines you flagged. - Read a pipeline's iteration files ONLY when you are about to propose a concrete improvement.
- Apply edits through ONE
pipeline-improverspawn per flagged pipeline — never edit iteration files yourself from this skill, and never spawn improvers for healthy pipelines.
Procedure
- Refresh + load the summary. Run
pipeline statsfrom the project root and read its output (it regenerates and printsSUMMARY.md). If it reports no measurements, say so and stop — nothing to optimize. - Flag problem pipelines (restricted to
$ARGUMENTSwhen given). A pipeline is flagged when, compared with ITS OWN history in the summary/records:- halts or non-completed outcomes are frequent (≥ ~25% of recent runs), or a repeating
halt_reasonappears; - tool failures are frequent or recurring — the "Tool fails" columns (avg per run in the
rollup; per-run count + worst offender, e.g.
7 (Bash 5), in Recent runs). Flag when recent runs repeatedly fail the SAME tool, or the fail rate jumped vs. the pipeline's history. A run can becompletedand still be sick — dozens of failed calls mean steps are retrying their way to success and burning time/tokens on wrong instructions; - average duration or out-tokens drifted clearly upward across recent runs (bloat — steps re-reading too much, or iteration files growing);
- a single step dominates the run duration in recent per-run logs (extraction candidate);
- runs sit in "In-flight or crashed runs" with large buffer ages (crash/kill pattern). Healthy pipelines are reported as healthy in one line each — no further reading.
- halts or non-completed outcomes are frequent (≥ ~25% of recent runs), or a repeating
- Investigate each flagged pipeline, cheaply. Read its 2–3 most recent
runs/<run-id>.logfiles; correlate withhalt_reasons from the summary. For tool failures, the evidence is IN the .log: enrichment appends atool fails (N):section — one line per failure with timestamp, tool,[step]when attributable (exact fordriverruns; timestamp-mapped for manager runs), and the error the tool returned. Classify each pattern:- pipeline-attributable — the same error recurs across runs and points at the iteration's instructions: a wrong/stale command or path in Steps, a missing preflight (tool not installed, server not running, file assumed to exist), wrong assumptions about repo layout, or a step retrying a forbidden operation. These justify an improvement.
- environment noise — one-off network timeouts, transient lock contention, a tool erroring
once and succeeding on the retry with no pattern across runs. Report it, but do NOT "fix"
noise by editing the pipeline.
If needed, check leftover feedback (
<pipeline>/.feedback/) and design-time lint (pipeline plan --root <pipeline> --json→warnings). Form ONE concrete improvement hypothesis per pipeline: e.g. "step 03 halts on a missing preflight — add it to Steps", "step 02 failsbun test5× per run because Steps saysbun testbut this repo needsbun run test— fix the command", "step 02 doubled in tokens — compact via replace-don't-append", "extract the deterministic block in step 04 to a script".
- Ask before applying (one AskUserQuestion): list flagged pipelines with the one-line diagnosis + proposed improvement each, and let the user pick which to apply (multiSelect). Skip the question only when the user's invocation already named the pipelines AND asked to fix.
- Apply via the improver. For each approved pipeline, spawn
pipeline:pipeline-improverwith a Tier-1-style improvement brief built from your diagnosis (symptom, evidence — run ids, durations, halt_reasons, and for failure-driven fixes the failing tool + the exact recurring error line from the .log — and the specific proposed edit; respect its token-budget counter-pressure rules). Relay its structured report. If the improver emitsscript_creation_briefs, spawnpipeline:pipeline-script-creatoronce per brief, sequentially. - Report. Per pipeline: status (healthy / improved / needs-human), what changed, and the
measurement that should move next week. Remind the user the next
/pipeline:optimizerun will show whether the change helped (the stats files are the before/after evidence).
Boundaries
- Blast radius: pipeline folders only (
.pipeline/**) — never consumer code, never the plugin install, never.stats/contents (the evidence is append-only; do not "clean" it). - This skill NEVER runs pipelines and NEVER deletes measurement files.
- If
.stats/shows tokenspendingeverywhere, note that enrichment happens when a manager-driven run's session ends (driverruns enrich themselves at their terminal action) — that is expected, not a defect. Runs recorded BEFORE the plugin learned to persist tool failures show—in the Tool fails columns; that means "not measured", not "zero".
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.

