performance-goal
Skill2 starsChanged 5 months agoMITView on GitHub
Run an evaluator-gated performance optimization loop with durable WorkBuddy artifacts and safe handoffs. Use when the user wants measurable performance/optimization work (latency, throughput, memory) driven by a pass/fail benchmark rather than a one-off review. Triggers: 'optimize performance', 'reduce latency', 'performance goal', 'benchmark-driven optimization'.
In this repository46 other files it gives its agents.
- AGENTS.mdAGENTS.md
- ai-slop-cleanerSkill
- analyzeSkill
- ask-claudeSkill
- ask-geminiSkill
- askSkill
- autopilotSkill
- autoresearch-goalSkill
- autoresearchSkill
- best-practice-researchSkill
- build-fixSkill
- cancelSkill
- code-reviewSkill
- configure-notificationsSkill
- deep-interviewSkill
- deepsearchSkill
- designSkill
- doctorSkill
- ecomodeSkill
- frontend-ui-uxSkill
- git-masterSkill
- helpSkill
- hudSkill
- noteSkill
- omx-setupSkill
- pipelineSkill
- planSkill
- prometheus-strictSkill
- ralph-initSkill
- ralphSkill
- ralplanSkill
- reviewSkill
- security-reviewSkill
- skillSkill
- swarmSkill
- tddSkill
- teamSkill
- traceSkill
- ultragoalSkill
- ultraqaSkill
- ultraworkSkill
- visual-ralphSkill
- visual-verdictSkill
- web-cloneSkill
- wikiSkill
- workerSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this skill when the user asks to optimize performance and wants a goal-oriented loop with a measurable pass/fail contract, not a …
- Distinctive: line 19
No optimization work may start until an evaluator command and a pass/fail contract exist.
- Distinctive: line 20
Do not declare the goal complete until the evaluator has a passing checkpoint and a completion audit proves the objective is met.
- Very specific: line 25
Create a context snapshot in .omw/performance-goal/<slug>.md containing:
- Distinctive: line 32
If no workflow exists yet, do step 1 before any optimization.
- Very specific: line 36
Read the snapshot at .omw/performance-goal/<slug>.md.
- Distinctive: line 40
Run the evaluator and related regression tests.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Ported from oh-my-codex
performance-goal. OMX runtime conventions ($macroinvocation,omxCLI,.omx/state directory) are replaced with WorkBuddy idioms (Skill tool, Agent tool, task list,.workbuddy/memory).
Performance Goal Workflow
Use this skill when the user asks to optimize performance and wants a goal-oriented loop with a measurable pass/fail contract, not a one-off review.
Contract
- WorkBuddy owns durable workflow state under
.omw/performance-goal/<slug>.md. - No optimization work may start until an evaluator command and a pass/fail contract exist.
- Do not declare the goal complete until the evaluator has a passing checkpoint and a completion audit proves the objective is met.
- Shell commands never mutate hidden runtime goal state — they run the evaluator and write evidence artifacts.
Setup (no omx CLI)
- Create a context snapshot in
.omw/performance-goal/<slug>.mdcontaining:objective: the measurable target (e.g. "reduce CLI startup p95 latency by 20%").evaluator_command: the command that produces the benchmark (e.g.npm run perf:startup).evaluator_contract: the PASS definition (e.g. "p95 latency improves >=20% AND regression tests pass").status:created.
- Record the same in the task list via
TaskCreate(one task per phase: start, optimize, checkpoint, complete).
If no workflow exists yet, do step 1 before any optimization.
Agent Loop
- Read the snapshot at
.omw/performance-goal/<slug>.md; if absent, run the Setup step. - Follow the handoff:
- Work only against the declared evaluator contract.
- Optimize in small, reversible patches.
- Run the evaluator and related regression tests.
- Record each result as a checkpoint in the snapshot (
pass/fail/blocked) with evidence text.
- Optimize in small reversible patches; run the evaluator and regression tests after each.
- Record every checkpoint (
pass/fail/blocked) in the snapshot with evidence. - Complete only when a
passcheckpoint exists and no required work remains.
Completion Gate
A performance goal is incomplete unless the snapshot contains a last_validation.status of pass matching the evaluator contract, plus a completion audit that maps the objective to concrete evidence (benchmark output + test results). Passing ordinary tests alone is not sufficient unless they are the declared evaluator contract.
Completion audit checklist
objectiverestated as deliverables/success criteria.evaluator_commandoutput read and confirmed to PASS perevaluator_contract.- Regression tests read and confirmed green.
- Every requirement from the objective mapped to evidence in the snapshot.
- Snapshot
statusset tocompleteand task list updated.
Lifecycle: created starts the goal, pass checkpoint marks validated progress, complete is set only after the audit passes. Update the task list (TaskUpdate) at each transition instead of shelling out to any runtime CLI.
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.

