Skip to content
Contact

Library

Library for Claude Code and Codex

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.

Best skills 30

Claude Code
/code-review

Reviews the diff, a PR or a branch for correctness bugs. --fix applies the fixes and --comment posts them on the PR.

Claude Code
/simplify

Four parallel agents look for reuse, simplification, efficiency and abstraction level, then apply fixes. It does not hunt bugs.

Claude Code
/security-review

Scans the branch's changes against origin for vulnerabilities.

Claude Code
/loop 5m /comando

Repeats 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.

Claude Code
/schedule

Creates, lists and runs scheduled cloud routines (needs a claude.ai login).

Claude Code
/batch

Large-scale changes: 5 to 30 independent units, one subagent per unit in its own worktree.

Claude Code
/deep-research

Fan-out web searches, source cross-checking and a cited report.

Claude Code
/run · /verify

/run launches the project's app so you can see a change working; /verify checks that the change does what it should.

Claude Code
/init

Generates a starter CLAUDE.md with what Claude needs to know about the project.

Claude Code
/update-config

Claude edits the right settings.json for you: permissions, environment variables and hooks.

Claude Code
/fewer-permission-prompts

Scans your transcripts and proposes a read-only allowlist so you stop getting interrupted.

Claude Code
/claude-api

Loads the Claude API reference (models, caching, tool use, agents); it triggers by itself when you import the Anthropic SDK.

Claude Code
anthropic-skills:skill-creator

Creates and improves your own skills with the right structure.

Claude Code
anthropic-skills:docx · pdf · pptx · xlsx

Create and edit Word documents, PDFs, slide decks and spreadsheets.

Claude Code
anthropic-skills:mcp-builder

Guide to building high-quality MCP servers.

Claude Code
engineering:debug · code-review · architecture · incident-response · deploy-checklist

Engineering pack: structured debugging, review, architecture decisions, incident response and deploy checklist.

Codex
$openai-docs

Answers questions about Codex models, pricing, skills, settings and automations from the official docs.

Codex
$skill-creator · $skill-installer

Create Codex skills and install them from a curated list or a GitHub repo.

Codex
$review-agent

Read-only, defect-first review of a specific change; returns every actionable finding.

Codex
$imagegen

Generates or edits raster images (photos, illustrations, textures, mockups) when a task needs them.

Codex
documents · pdf · presentations · spreadsheets

Document plugins: Word/Docs with render-and-verify, PDF (including forms), PowerPoint/Slides and Excel/CSV.

Codex
computer-use · browser · chrome

Drive Windows apps and the browser from Codex.

Codex
visualize

Builds visualisations and interactive tools right in the conversation.

CodexOptional plugin
$brainstorming · $writing-plans · $test-driven-development

“Superpowers” pack: explore requirements before coding, write the plan, and work test-first.

CodexOptional plugin
$systematic-debugging · $verification-before-completion

Root-cause debugging before proposing fixes, and demanding evidence (passing tests) before calling work done.

CodexOptional plugin
$subagent-driven-development · $dispatching-parallel-agents · $using-git-worktrees

Run plans with subagents, parallelise independent tasks, and isolate work in Git worktrees.

CodexOptional plugin
$security-scan · $threat-model · $fix-finding

codex-security plugin: phased security scan (threat model, discovery, validation) and verified fixes.

CodexOptional plugin
$evaluate-skill · $improve-skill

plugin-eval plugin: scores a skill or plugin, measures real token use and turns findings into an improvement brief.

CodexOptional plugin
$frontend-app-builder · $react-best-practices · $shadcn

build-web-apps plugin: frontend apps from scratch, React/Next.js best practices (Vercel) and shadcn components.

CodexOptional plugin
$wrangler · $workers-best-practices · $web-perf

cloudflare plugin: Workers and wrangler CLI, best practices and web performance (Core Web Vitals).

/ Commands 32

Claude Code
/clear

New conversation with an empty context (aliases /reset, /new).

Claude Code
/compact [instruções]

Summarises the conversation to free context without losing the thread.

Claude Code
/context

Shows how much context is in use, with suggestions.

Claude Code
/resume · /branch · /fork

Resume a conversation, branch it to try another path, or copy it to a background session.

Claude Code
/rewind

Rewinds the conversation and/or the code (aliases /checkpoint, /undo).

Claude Code
/model · /effort · /fast

Pick the model, effort level (low to max) and fast mode.

Claude Code
/usage

Session cost, plan limits and stats (aliases /cost, /stats).

Claude Code
/permissions

Manage allow/ask/deny rules, directories and auto mode.

Claude Code
/memory

Edit CLAUDE.md files and automatic memory.

Claude Code
/mcp

Manage MCP servers and their authentication.

Claude Code
/plugin · /skills · /hooks

Manage plugins, list skills (with context cost) and view hooks.

Claude Code
/goal · /plan

/goal: Claude keeps going until a condition is met. /plan: enters plan mode.

Claude Code
/btw pergunta

Side question that does not enter the conversation history.

Claude Code
/background · /tasks

Moves the session to the background and shows running work (shells and subagents).

Claude Code
/add-dir · /cd

Grants access to another directory or changes the working directory.

Claude Code
/config · /statusline · /terminal-setup

Settings, status line and terminal setup (Shift+Enter, etc.).

Claude Code
/diff · /export

Review the project's changes; export the conversation as text.

Codex
/new · /clear

New chat in the same session / clear the screen and start over.

Codex
/resume · /fork · /side

Resume a saved session, fork it, or open an ephemeral side chat (/btw).

Codex
/compact

Summarises the visible chat to free tokens.

Codex
/model · /fast

Pick the model and reasoning effort; toggle the Fast tier when offered.

Codex
/plan · /goal

Plan mode, and a task goal you can pause and resume.

Codex
/permissions

Approval and sandbox presets: Auto, Read Only, Full Access.

Codex
/review · /diff

Review uncommitted work, a commit or the base branch; show the Git diff.

Codex
/init

Generates a starter AGENTS.md in the current directory.

Codex
/status · /usage

Session configuration, token use and limits.

Codex
/mcp · /apps · /plugins · /skills

See MCP tools, connectors, plugins and skills; skills are also invoked with $name.

Codex
/hooks · /memories

Manage lifecycle hooks and memory usage.

Codex
/mention · /import

Attach a file to the chat; import settings and chats from Claude Code or Cursor.

Codex
/ps · /stop

See and stop background terminals.

Codex
/keymap · /vim · /statusline

Remap shortcuts, enable Vim mode and configure the status line.

Codex
/app

Continues the current session in the ChatGPT desktop app.

Keyboard shortcuts 27

Claude Code
Shift+Tab

Cycles permission modes (normal, accept edits, plan…).

Claude Code
Esc · Esc Esc

Interrupts without losing work; twice on an empty prompt opens the rewind menu.

Claude Code
Ctrl+O

Toggles the transcript: tools, timestamps and model per message.

Claude Code
Ctrl+R

Reverse search in prompt history.

Claude Code
Ctrl+G

Opens the prompt in your text editor (handy for long prompts).

Claude Code
Ctrl+B

Sends Bash commands and agents to the background.

Claude Code
Ctrl+T

Shows or hides Claude's task list.

Claude Code
Alt+P · Alt+T · Alt+O

Switch model, toggle extended thinking and fast mode without losing your draft.

Claude Code
Alt+V (Windows)

Pastes an image from the clipboard into the prompt.

Claude Code
! · @ · /

At the start: ! runs a shell command, @ mentions a file, / opens commands and skills.

Claude Code
\ + Enter · Ctrl+J

New line in the prompt without sending.

Claude Code
Ctrl+X Ctrl+K

Stops all background subagents (twice within 3 s).

Claude Code
Ctrl+/ (app, Windows)

Lists every shortcut in the Claude desktop app.

Claude Code
Ctrl+N · Ctrl+W · Ctrl+Tab

Desktop app: new session, close session, next session.

Claude Code
Ctrl+Shift+D · Ctrl+Shift+B · Ctrl+`

Desktop app: diff pane, browser pane and terminal.

Claude Code
Ctrl+Esc (VS Code)

Toggles focus between editor and Claude; Alt+K inserts an @-mention of the file and selection.

Codex
@ · !

@ finds project files; a leading ! runs a local command under the current approval and sandbox.

Codex
Tab · Enter (a trabalhar)

While Codex works: Tab queues your instruction for the next turn; Enter injects it into the current turn.

Codex
Esc Esc

On an empty prompt: edit your previous message and fork from there.

Codex
Ctrl+R · Ctrl+O · Ctrl+L

Search history; copy the last output; clear the view without losing the chat.

Codex
?

Shows shortcut help in the composer.

Codex
Ctrl+K · Ctrl+Shift+P (app)

The app's command palette; Ctrl+/ lists every shortcut.

Codex
Alt+1 · Alt+2 · Alt+3 (app)

Switches between Chat, Work and Codex modes.

Codex
Ctrl+N · Ctrl+Alt+S · Ctrl+Alt+A (app)

New chat, side chat and next chat needing attention.

Codex
Ctrl+Shift+M · Alt+M (app)

Model picker and recent models.

Codex
Ctrl+J · Ctrl+` · Ctrl+P (app)

Bottom panel, integrated terminal and file search.

Codex
Ctrl+Shift+G · Ctrl+T (app)

Review tab and new browser tab.

Settings and concepts 9

Claude Code + Codex
CLAUDE.md · AGENTS.md

Project instruction file: Claude Code reads CLAUDE.md and Codex reads AGENTS.md. Both are generated with /init.

Claude Code + Codex
settings.json · config.toml

Configuration: ~/.claude/settings.json (Claude Code) and ~/.codex/config.toml (Codex).

Claude Code + Codex
Skills = SKILL.md

In 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.

Claude Code + Codex
MCP

Connects external tools: “claude mcp add …” in Claude Code and “codex mcp add …” in Codex; /mcp shows status.

Claude Code + Codex
Permissões vs. sandbox

Claude 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 Code + Codex
claude -p · codex exec

Non-interactive mode for scripts and CI: “claude -p "task"” and “codex exec "task"” (with --json and --output-schema in Codex).

Claude Code + Codex
Hooks

Scripts 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.

Claude Code + Codex
Worktrees e subagentes

Parallel 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.

Claude Code + Codex
Tarefas agendadas

Claude Code: /schedule (cloud routines) and /loop (while the session is open). Codex: Automations (“Scheduled”) in the desktop app.

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

← Back to the site