Zum Inhalt springen
Skillpedia
Allgemeines Programmieren34k · #8422

performance-goal

Was er macht

Dieser Skill führt einen Agenten durch eine messbare, zielbasierte Beschleunigung deines Codes. Er ist für Entwickler gedacht, die Belege wollen, dass jede Änderung wirklich hilft.

Wann du ihn nutzt

  • ✓Wenn du die Startzeit, Latenz oder ein anderes messbares Geschwindigkeitsziel senken willst.
  • ✓Wenn jede Optimierung durch einen wiederholbaren Benchmark oder Test geprüft werden soll.
  • ✓Wenn du den Fortschritt eines Performance-Ziels als Protokoll speichern willst.

Link zum Skill

https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/performance-goal/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/performance-goal/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Verringere unsere CLI-Startzeit um 20 Prozent und belege jede Änderung mit dem Benchmark.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Er legt einen Evaluator-Befehl und eine Bestanden-oder-Nicht-bestanden-Regel fest, bevor die Arbeit beginnt. Dann hält er Checkpoints mit Belegen fest und markiert das Ziel erst als erledigt, wenn ein bestandenes Ergebnis und eine Prüfung vorliegen.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Performance Goal Workflow

Use this skill when a user asks OMX to optimize performance and wants a goal-oriented loop rather than a one-off review.

Contract

  • OMX owns durable workflow state under .omx/goals/performance/<slug>/.
  • Codex goal mode owns only the active-thread focus/accounting primitive.
  • Shell commands do not mutate hidden Codex goal state. They write artifacts and emit model-facing handoff text.
  • No optimization work may start until an evaluator command and pass/fail contract exist.
  • Do not call update_goal({status: "complete"}) until the evaluator has a passing checkpoint and a completion audit proves the objective is done; then call get_goal again and pass that fresh snapshot to omx performance-goal complete --codex-goal-json.

CLI

Create the workflow and evaluator contract:

omx performance-goal create \
  --objective "Reduce CLI startup latency by 20%" \
  --evaluator-command "npm run perf:startup" \
  --evaluator-contract "PASS when p95 latency improves by 20% and regression tests pass" \
  --slug startup-latency

Emit the Codex goal handoff:

omx performance-goal start --slug startup-latency

Record evaluator evidence:

omx performance-goal checkpoint --slug startup-latency --status pass --evidence "benchmark + tests passed"
omx performance-goal checkpoint --slug startup-latency --status fail --evidence "benchmark regressed"
omx performance-goal checkpoint --slug startup-latency --status blocked --evidence "missing fixture"

Complete only after a passing checkpoint:

omx performance-goal complete --slug startup-latency --evidence "final evaluator evidence" --codex-goal-json <get_goal-json-or-path>

Agent Loop

  1. Run omx performance-goal create if no workflow exists.
  2. Run omx performance-goal start and follow the handoff:
    • call get_goal;
    • call create_goal only when no active goal exists and the objective is explicit;
    • work only against the evaluator contract;
    • after evaluator pass and completion audit, call update_goal({status: "complete"}), call get_goal again, and pass that snapshot to omx performance-goal complete --codex-goal-json;
    • after omx performance-goal complete succeeds, run /goal clear in the Codex UI before starting another goal in this same thread/session; OMX prints this terminal cleanup step but does not invoke hidden clear routes;
  3. Optimize in small reversible patches.
  4. Run the evaluator and related regression tests.
  5. Record each pass/fail/blocker with checkpoint.
  6. Complete only when the pass artifact exists and no required work remains.

Completion Gate

A performance goal is incomplete unless .omx/goals/performance/<slug>/state.json contains a lastValidation.status of pass and omx performance-goal complete receives a matching complete Codex get_goal snapshot via --codex-goal-json. Passing ordinary tests alone is not sufficient unless they are the declared evaluator contract.

Lifecycle: create_goal starts the Codex thread goal, update_goal({status: "complete"}) marks terminal success after the evaluator and audit pass, and /goal clear removes the completed thread goal when another same-thread goal is needed. OMX shell commands and hooks reconcile snapshots and print the cleanup instruction; they must not mutate hidden Codex goal state.

Häufige Fragen

Kann er mit der Optimierung beginnen, bevor ein Benchmark existiert?

Nein. Ein Evaluator-Befehl und eine Bestanden-oder-Nicht-bestanden-Regel müssen vorher existieren.

Wo wird der Fortschritt gespeichert?

Seine Dateien liegen in einem Performance-Ziel-Ordner im Projekt.

Ist es eine einmalige Prüfung?

Nein. Es ist eine zielorientierte Schleife, die weiterläuft, bis der Evaluator das Ergebnis bestätigt.

Details

Originalbeschreibung des Autors

Run an evaluator-gated performance optimization workflow over Codex goal mode with durable OMX artifacts and safe goal handoffs.

repo: Yeachan-Heo/oh-my-codex

Beliebtheit

GitHub-Sterne
34k
Platz im Ranking
#8422
Lizenz
MIT
Aktualisiert
2.11.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills