performance-goal
यह क्या करती है
यह स्किल आपके कोड को मापे जाने योग्य लक्ष्य के आधार पर तेज़ करने में मार्गदर्शन देती है। यह उन डेवलपर्स के लिए है जिन्हें हर बदलाव से होने वाले फ़ायदे का सबूत चाहिए।
कब इस्तेमाल करें
- ✓जब आप स्टार्टअप समय, लेटेंसी या किसी और मापे जाने वाले गति लक्ष्य को घटाना चाहें।
- ✓जब हर सुधार को दोहराए जा सकने वाले बेंचमार्क या टेस्ट से जाँचना हो।
- ✓जब आप परफ़ॉर्मेंस लक्ष्य की प्रगति को रिकॉर्ड के रूप में सहेजना चाहें।
Skill का लिंक
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/performance-goal/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“हमारे CLI का स्टार्टअप समय 20 प्रतिशत घटाइए, और हर बदलाव को बेंचमार्क से साबित कीजिए।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
काम शुरू होने से पहले यह एक इवैल्यूएटर कमांड और पास या फ़ेल नियम तय करती है। फिर चेकपॉइंट सबूत के साथ दर्ज करती है, और लक्ष्य तभी पूरा मानती है जब पास नतीजा और ऑडिट हो जाए।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे 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 callget_goalagain and pass that fresh snapshot toomx 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
- Run
omx performance-goal createif no workflow exists. - Run
omx performance-goal startand follow the handoff:- call
get_goal; - call
create_goalonly 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"}), callget_goalagain, and pass that snapshot toomx performance-goal complete --codex-goal-json; - after
omx performance-goal completesucceeds, run/goal clearin 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;
- call
- Optimize in small reversible patches.
- Run the evaluator and related regression tests.
- Record each pass/fail/blocker with
checkpoint. - 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.
अक्सर पूछे जाने वाले सवाल
क्या बेंचमार्क बनने से पहले सुधार शुरू हो सकता है?
नहीं। काम शुरू होने से पहले इवैल्यूएटर कमांड और पास या फ़ेल नियम होना ज़रूरी है।
प्रगति कहाँ सहेजी जाती है?
इसकी फ़ाइलें प्रोजेक्ट के अंदर एक performance-goal फ़ोल्डर में सहेजी जाती हैं।
क्या यह एक बार की समीक्षा है?
नहीं। यह एक लक्ष्य-आधारित लूप है, जो तब तक चलता है जब तक इवैल्यूएटर नतीजे की पुष्टि न कर दे।
जानकारी
लेखक का मूल विवरण
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
लोकप्रियता
- GitHub स्टार
- 34k
- रैंकिंग में स्थान
- #8422
- लाइसेंस
- MIT
- अपडेट की गई
- 2/11/2026
कमेंट
- …
इस repository की और skills
ai-slop-cleaner
34kयह आपके एजेंट को फूले, दोहराव वाले या AI से बने कोड को साफ़ करने में मदद करती है, बेकार कोड और अनावश्यक रैपर हटाते हुए, व्यवहार अक्षुण्ण रखते हुए।
analyze
34kयह आपके एजेंट को संबंधित कोड पढ़कर कोडबेस के सवाल का जवाब देने देती है, बिना बदलाव किए, सबूत के साथ क्रम से रखी व्याख्याएँ देते हुए।
ask
34kयह आपके एजेंट को स्थानीय Claude या Gemini CLI टूल से दूसरी राय या समीक्षा लेने देती है, और जवाब को फ़ाइल में सहेजती है।
autopilot
34kएक विचार से लेकर योजना और काम तक पूरे प्रोजेक्ट को बिना ज़्यादा निगरानी के चलाती है, और केवल असली रुकावट आने पर रुकती है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।