performance-goal
하는 일
이 스킬은 코드를 측정 가능하고 목표 중심적인 방식으로 빠르게 만들도록 에이전트를 이끕니다. 각 변경이 실제로 도움이 되었다는 증거를 원하는 개발자를 위한 스킬입니다.
사용하는 경우
- ✓시작 시간, 지연 시간 또는 다른 측정 가능한 속도 목표를 줄이고 싶을 때.
- ✓모든 최적화를 반복 가능한 벤치마크나 테스트로 점검해야 할 때.
- ✓성능 목표의 진행 상황을 기록으로 저장하고 싶은 경우.
스킬 링크
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/performance-goal/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“CLI 시작 시간을 20퍼센트 줄이고, 각 변경을 벤치마크로 증명해 주세요.”
매주 새 스킬 5개. 읽는 데 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.
자주 묻는 질문
벤치마크가 없어도 최적화를 시작하나요?
아닙니다. 최적화 작업을 시작하기 전에 평가 명령과 합격 규칙이 있어야 합니다.
진행 상황은 어디에 저장되나요?
프로젝트 안의 성능 목표 폴더에 파일이 저장됩니다.
한 번만 하는 검토인가요?
아닙니다. 평가자가 결과를 확인할 때까지 계속되는, 목표 지향적 루프입니다.
상세 정보
작성자의 원본 설명
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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ai-slop-cleaner
34k에이전트가 죽은 코드와 불필요한 래퍼를 제거하는 등, 부풀어 있고 반복적이거나 AI가 만든 코드를 정리하도록 돕습니다. 동작은 그대로 유지합니다.
analyze
34k에이전트가 관련 코드를 읽고 근거와 함께 순위가 매겨진 설명을 제공해, 코드베이스에 관한 질문에 답하도록 돕습니다. 변경은 하지 않습니다.
ask
34k에이전트가 로컬에 설치된 Claude 또는 Gemini 명령줄 도구에 두 번째 의견이나 검토를 요청하고, 답변을 파일로 저장하도록 돕습니다.
autopilot
34k아이디어에서 요구 사항, 계획, 실행까지 프로젝트 전체를 진행하며, 실제 장애물이 있을 때만 멈춥니다.