반응형
Codex에 goal 기능이 나온지는 현 시점 기준 꽤? 지난걸로 알고있다.
소식을 접하고 써봐야지 써봐야지 하다가 이제서야 접하게 되었다..
goal 셋팅 및 사용 방법
1. cli창에서 codex 실행!
2. 버전 0.128.0 이상인지 확인!
- 0.128.0 이하인 경우 업데이트 진행
# Windows PowerShell 설치/업데이트 방식
powershell -ExecutionPolicy ByPass -c "irm https://chatgpt.com/codex/install.ps1 | iex"
npm install -g @openai/codex@latest
3. /goal 명령어로 원하는 작업 실행 (긴 작업시에 용이하다고 합니다.)
👀 확인사항
???: 저는 0.128.0 버전인데 /goal 명령어를 입력할 경우 아래와 같이 나와요
• Unrecognized command '/goal'. Type "/" for a list of supported commands.
│ │
│ See full release notes: │
│ https://github.com/openai/codex/releases/latest │
╰─────────────────────────────────────────────────╯
╭──────────────────────────────────────────────────╮
│ >_ OpenAI Codex (v0.128.0) │
│ │
│ model: gpt-5.5 xhigh /model to change │
│ directory: D: │
╰──────────────────────────────────────────────────╯
Tip: GPT-5.5 is now available in Codex. It's our strongest agentic coding model yet, built to reason through large codebases, check assumptions with tools, and keep going until the work is done.
Learn more: https://openai.com/index/introducing-gpt-5-5/
• Unrecognized command '/goal'. Type "/" for a list of supported commands.
• Unrecognized command '/goal'. Type "/" for a list of supported commands.
해당 내용을 찾아보다가 방법은
- 업데이트를 다시 진행한다.
- v0.128.0 이미 이상인 경우 "해줘" 하면 알아서 인식하고 처리해준다고 함
사례


/goal 뿐만 아니라 여러 수명주기가 존재한다고 함.
- Goal 설정 및 수명주기 명령
- /goal <결과> 형식으로 설정, 예: /goal Reduce p95 latency below 120 ms without regressing correctness tests
- /goal: 현재 Goal 보기
- /goal pause: 활성 Goal 일시정지
- /goal resume: 일시정지된 Goal 재개
- /goal clear: 현재 Goal 제거
아직은 긴 작업을 할 일이 당장 없어서 우선 goal 스킬이 동작하는지만 확인하고 esc로 종료시켰다.
다음에 쓰게되면 사용 이후 결과를 업데이트 하도록 하겠음
참고
https://news.hada.io/topic?id=29639
Codex의 Goals를 활용하는 법 | GeekNews
Goals는 Codex 스레드가 정의된 결과를 향해 여러 턴에 걸쳐 작업을 지속하도록 만드는 영속적 목표(persistent objective) 기능단일 프롬프트로 처리하기 어려운 프로파일링, 패치, 벤치마킹, 플레이키
news.hada.io
반응형
