C.W.K.
Stream
Lesson 07 of 11 · published

Slash Command + 커스텀

~12 min · codex, slash, commands, automation

Level 0🌱 입문자
0 XP0/70 lessons0/11 achievements
0/120 XP to next level120 XP to go0% complete

빌트인 + 직접

Codex 의 slash command 가 Claude Code 와 같은 ground 커버: /help, /permissions, /compact, /clear, /theme, /cost, /model. /init 이 project 에서 AGENTS.md 부트스트랩. 커스텀 명령어가 .codex/commands/<name>.md 에 살아; body 가 prompt, $ARGUMENTS 가 명령어 뒤 입력 substitute.

Code

Built-in commands you'll actually use·text
/help            # full reference
/permissions     # browse / change approval mode + sandbox
/compact         # squeeze conversation history
/cost            # session $$$
/model gpt-5-codex
/clear           # reset conversation
/theme github-dark --save
/init            # generate AGENTS.md from project state
Custom /review command·markdown
# .codex/commands/review.md
Review the file at $ARGUMENTS for:

1. Logic bugs and edge cases
2. Security: SQL injection, XSS, auth bypass
3. Performance: N+1 queries, blocking I/O
4. Style violations against AGENTS.md

Output:
[SEVERITY] description (file:line)
- Sort by severity descending.
- If no findings, print "No issues."

External links

Exercise

반복 작업 (review, summarize, refactor) 위한 커스텀 Codex 명령어 작성. .codex/commands/ 에 저장. 실제 input 에 두 번 run; prompt iterate.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.