performance-goal

performance-goal is a skill for Claude Code, Codex from mrzhangguoguo/oh-my-workbuddy. It costs 75 tokens per session (805 once invoked), scanned A, original, MIT.

A performance-optimization workflow that uses a measurable benchmark and a pass-or-fail target before and after changes.

In plain words
What is it for?
Use it for benchmark-driven performance work, such as reducing startup latency or memory use, with saved evidence and completion checks.
Why use it?
It prevents declaring an optimization successful without evidence that the agreed latency, throughput, or memory goal was met.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Good fit Use it for benchmark-driven performance work, such as reducing startup latency or memory use, with saved evidence and completion checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mrzhangguoguo/oh-my-workbuddy/performance-goal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mrzhangguoguo/oh-my-workbuddy --skill performance-goal
Clone the repo
git clone --depth 1 https://github.com/mrzhangguoguo/oh-my-workbuddy

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for performance-goal

README.md
[![agentmods](https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/performance-goal/github.svg)](https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/performance-goal)
Your own site
<a href="https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/performance-goal"><img src="https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/performance-goal/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for performance-goal

Your own site · 80×15
<a href="https://agentmods.dev/skills/mrzhangguoguo/oh-my-workbuddy/performance-goal"><img src="https://agentmods.dev/badge/skills/mrzhangguoguo/oh-my-workbuddy/performance-goal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 805 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.00805
Opus 5 $0.00037 $0.00402
Sonnet 5 $0.00015 $0.00161
Haiku 4.5 $0.00007 $0.00081

Measured 11d ago against content hash edd5981ce433, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

performance-goal scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/performance-goal/SKILL.md · 58 lines

How it starts

The opening of the file, as written. The whole thing — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ported from oh-my-codex performance-goal. OMX runtime conventions ($macro invocation, omx CLI, .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)

  1. Create a context snapshot in .omw/performance-goal/<slug>.md containing:
    • 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.
  2. 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

  1. Read the snapshot at .omw/performance-goal/<slug>.md; if absent, run the Setup step.
  2. 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.
  3. Optimize in small reversible patches; run the evaluator and regression tests after each.
  4. Record every checkpoint (pass/fail/blocked) in the snapshot with evidence.
  5. Complete only when a pass checkpoint exists and no required work remains.

Read the full file on GitHub · 58 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 58 lines · 75 tokens per session scan A edd5981ce433

Subscribe to this mod's changes

performance-goal is a skill published in the GitHub repository mrzhangguoguo/oh-my-workbuddy (2 stars, last pushed 2mo ago), licensed MIT. It adds 75 tokens to every session and 805 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

performance-optimization

Optimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks.

addyosmani/agent-skills · 59 tokens

gke-node-notready

Diagnoses GKE nodes reporting NotReady or Unknown status by inspecting node conditions, events, kubelet/containerd logs, and node metrics, then proposing safe remediations. Use when nodes show NotReady, when the kubelet stops posting node status, or when workloads are evicted or stuck Pending due to node health. Don't…

google/skills · 112 tokens

gke-ai-troubleshooting-tpu-vbar-oom

Diagnoses and prevents vbarcontrolagent segfaults, out-of-memory (OOM) errors, and TPU device initialization failures on TPU v6e nodes in GKE caused by race conditions during TPU device resets or high-frequency metrics polling. Use when troubleshooting vbarcontrolagent crashes, memory cgroup OOMs in serial console…

google/skills · 125 tokens

systematic-debugging

A step-by-step method for finding the underlying cause of technical problems before changing code. It covers reading errors, reproducing failures, checking recent changes, and tracing data across system components.

jnMetaCode/superpowers-zh · 24 tokens

comet-hotfix

A quick workflow for fixing an existing bug in Comet, a tool that manages structured code changes. It moves through opening the change, building, checking, and archiving it.

rpamis/comet · 29 tokens

comet-hotfix

Comet preset path: Bug fix / hotfix. Skip brainstorming, directly open → build → verify → archive. Applicable for behavior fixes, scenarios not involving new capability design.

rpamis/comet · 40 tokens