/code-reviewReviews the diff, a PR or a branch for correctness bugs. --fix applies the fixes and --comment posts them on the PR.
Library
A practical guide for people who use Claude Code (Anthropic) and Codex (OpenAI/ChatGPT) every day: the best skills, the commands that save the most time, and the shortcuts and settings that matter. Every entry was checked against the official documentation.
/code-reviewReviews the diff, a PR or a branch for correctness bugs. --fix applies the fixes and --comment posts them on the PR.
/simplifyFour parallel agents look for reuse, simplification, efficiency and abstraction level, then apply fixes. It does not hunt bugs.
/security-reviewScans the branch's changes against origin for vulnerabilities.
/loop 5m /comandoRepeats a prompt or command while the session stays open; without an interval Claude paces itself (1 min to 1 h). Good for watching a deploy or CI.
/scheduleCreates, lists and runs scheduled cloud routines (needs a claude.ai login).
/batchLarge-scale changes: 5 to 30 independent units, one subagent per unit in its own worktree.
/deep-researchFan-out web searches, source cross-checking and a cited report.
/run · /verify/run launches the project's app so you can see a change working; /verify checks that the change does what it should.
/initGenerates a starter CLAUDE.md with what Claude needs to know about the project.
/update-configClaude edits the right settings.json for you: permissions, environment variables and hooks.
/fewer-permission-promptsScans your transcripts and proposes a read-only allowlist so you stop getting interrupted.
/claude-apiLoads the Claude API reference (models, caching, tool use, agents); it triggers by itself when you import the Anthropic SDK.
anthropic-skills:skill-creatorCreates and improves your own skills with the right structure.
anthropic-skills:docx · pdf · pptx · xlsxCreate and edit Word documents, PDFs, slide decks and spreadsheets.
anthropic-skills:mcp-builderGuide to building high-quality MCP servers.
engineering:debug · code-review · architecture · incident-response · deploy-checklistEngineering pack: structured debugging, review, architecture decisions, incident response and deploy checklist.
$openai-docsAnswers questions about Codex models, pricing, skills, settings and automations from the official docs.
$skill-creator · $skill-installerCreate Codex skills and install them from a curated list or a GitHub repo.
$review-agentRead-only, defect-first review of a specific change; returns every actionable finding.
$imagegenGenerates or edits raster images (photos, illustrations, textures, mockups) when a task needs them.
documents · pdf · presentations · spreadsheetsDocument plugins: Word/Docs with render-and-verify, PDF (including forms), PowerPoint/Slides and Excel/CSV.
computer-use · browser · chromeDrive Windows apps and the browser from Codex.
visualizeBuilds visualisations and interactive tools right in the conversation.
$brainstorming · $writing-plans · $test-driven-development“Superpowers” pack: explore requirements before coding, write the plan, and work test-first.
$systematic-debugging · $verification-before-completionRoot-cause debugging before proposing fixes, and demanding evidence (passing tests) before calling work done.
$subagent-driven-development · $dispatching-parallel-agents · $using-git-worktreesRun plans with subagents, parallelise independent tasks, and isolate work in Git worktrees.
$security-scan · $threat-model · $fix-findingcodex-security plugin: phased security scan (threat model, discovery, validation) and verified fixes.
$evaluate-skill · $improve-skillplugin-eval plugin: scores a skill or plugin, measures real token use and turns findings into an improvement brief.
$frontend-app-builder · $react-best-practices · $shadcnbuild-web-apps plugin: frontend apps from scratch, React/Next.js best practices (Vercel) and shadcn components.
$wrangler · $workers-best-practices · $web-perfcloudflare plugin: Workers and wrangler CLI, best practices and web performance (Core Web Vitals).
/clearNew conversation with an empty context (aliases /reset, /new).
/compact [instruções]Summarises the conversation to free context without losing the thread.
/contextShows how much context is in use, with suggestions.
/resume · /branch · /forkResume a conversation, branch it to try another path, or copy it to a background session.
/rewindRewinds the conversation and/or the code (aliases /checkpoint, /undo).
/model · /effort · /fastPick the model, effort level (low to max) and fast mode.
/usageSession cost, plan limits and stats (aliases /cost, /stats).
/permissionsManage allow/ask/deny rules, directories and auto mode.
/memoryEdit CLAUDE.md files and automatic memory.
/mcpManage MCP servers and their authentication.
/plugin · /skills · /hooksManage plugins, list skills (with context cost) and view hooks.
/goal · /plan/goal: Claude keeps going until a condition is met. /plan: enters plan mode.
/btw perguntaSide question that does not enter the conversation history.
/background · /tasksMoves the session to the background and shows running work (shells and subagents).
/add-dir · /cdGrants access to another directory or changes the working directory.
/config · /statusline · /terminal-setupSettings, status line and terminal setup (Shift+Enter, etc.).
/diff · /exportReview the project's changes; export the conversation as text.
/new · /clearNew chat in the same session / clear the screen and start over.
/resume · /fork · /sideResume a saved session, fork it, or open an ephemeral side chat (/btw).
/compactSummarises the visible chat to free tokens.
/model · /fastPick the model and reasoning effort; toggle the Fast tier when offered.
/plan · /goalPlan mode, and a task goal you can pause and resume.
/permissionsApproval and sandbox presets: Auto, Read Only, Full Access.
/review · /diffReview uncommitted work, a commit or the base branch; show the Git diff.
/initGenerates a starter AGENTS.md in the current directory.
/status · /usageSession configuration, token use and limits.
/mcp · /apps · /plugins · /skillsSee MCP tools, connectors, plugins and skills; skills are also invoked with $name.
/hooks · /memoriesManage lifecycle hooks and memory usage.
/mention · /importAttach a file to the chat; import settings and chats from Claude Code or Cursor.
/ps · /stopSee and stop background terminals.
/keymap · /vim · /statuslineRemap shortcuts, enable Vim mode and configure the status line.
/appContinues the current session in the ChatGPT desktop app.
Shift+TabCycles permission modes (normal, accept edits, plan…).
Esc · Esc EscInterrupts without losing work; twice on an empty prompt opens the rewind menu.
Ctrl+OToggles the transcript: tools, timestamps and model per message.
Ctrl+RReverse search in prompt history.
Ctrl+GOpens the prompt in your text editor (handy for long prompts).
Ctrl+BSends Bash commands and agents to the background.
Ctrl+TShows or hides Claude's task list.
Alt+P · Alt+T · Alt+OSwitch model, toggle extended thinking and fast mode without losing your draft.
Alt+V (Windows)Pastes an image from the clipboard into the prompt.
! · @ · /At the start: ! runs a shell command, @ mentions a file, / opens commands and skills.
\ + Enter · Ctrl+JNew line in the prompt without sending.
Ctrl+X Ctrl+KStops all background subagents (twice within 3 s).
Ctrl+/ (app, Windows)Lists every shortcut in the Claude desktop app.
Ctrl+N · Ctrl+W · Ctrl+TabDesktop app: new session, close session, next session.
Ctrl+Shift+D · Ctrl+Shift+B · Ctrl+`Desktop app: diff pane, browser pane and terminal.
Ctrl+Esc (VS Code)Toggles focus between editor and Claude; Alt+K inserts an @-mention of the file and selection.
@ · !@ finds project files; a leading ! runs a local command under the current approval and sandbox.
Tab · Enter (a trabalhar)While Codex works: Tab queues your instruction for the next turn; Enter injects it into the current turn.
Esc EscOn an empty prompt: edit your previous message and fork from there.
Ctrl+R · Ctrl+O · Ctrl+LSearch history; copy the last output; clear the view without losing the chat.
?Shows shortcut help in the composer.
Ctrl+K · Ctrl+Shift+P (app)The app's command palette; Ctrl+/ lists every shortcut.
Alt+1 · Alt+2 · Alt+3 (app)Switches between Chat, Work and Codex modes.
Ctrl+N · Ctrl+Alt+S · Ctrl+Alt+A (app)New chat, side chat and next chat needing attention.
Ctrl+Shift+M · Alt+M (app)Model picker and recent models.
Ctrl+J · Ctrl+` · Ctrl+P (app)Bottom panel, integrated terminal and file search.
Ctrl+Shift+G · Ctrl+T (app)Review tab and new browser tab.
CLAUDE.md · AGENTS.mdProject instruction file: Claude Code reads CLAUDE.md and Codex reads AGENTS.md. Both are generated with /init.
settings.json · config.tomlConfiguration: ~/.claude/settings.json (Claude Code) and ~/.codex/config.toml (Codex).
Skills = SKILL.mdIn both, a skill is a folder with a SKILL.md (name + description + instructions). The agent picks it by its description, so a good description is half the job.
MCPConnects external tools: “claude mcp add …” in Claude Code and “codex mcp add …” in Codex; /mcp shows status.
Permissões vs. sandboxClaude Code: permission modes (Shift+Tab) and allow/deny rules. Codex: read-only / workspace-write / danger-full-access sandbox plus an approval policy (on-request, never).
claude -p · codex execNon-interactive mode for scripts and CI: “claude -p "task"” and “codex exec "task"” (with --json and --output-schema in Codex).
HooksScripts the tool itself runs on events (before/after a tool, on finish…). The right way to say “whenever X, do Y”: model memory is not enough.
Worktrees e subagentesParallel work without stepping on files: each agent in its own Git worktree. Claude Code has /batch and subagents; Codex has /worktree, /side and subagent skills.
Tarefas agendadasClaude Code: /schedule (cloud routines) and /loop (while the session is open). Codex: Automations (“Scheduled”) in the desktop app.
No results. Try another word.
Tip: in Claude Code type “/” to see everything available; in Codex type “/” or “$” (skills). Commands change quickly: /help (Claude Code) and /status (Codex) override this guide.
Command, skill and shortcut names are not translated. Last verified: .
Official sources