Claude Code Encyclopedia
A Searchable Reference for Claude Code and OpenAI Codex CLI
Overview
Terminal coding agents move fast enough that their documentation is hard to hold in your head. The Claude Code Encyclopedia collapses two toolchains — Claude Code and OpenAI’s Codex CLI — into one searchable page: 504 entries covering every command, flag, slash command, settings key, hook event, permission rule and config path.
Each entry ships with a runnable example and resolves to the path that actually applies on your machine, because a reference that shows you the macOS path while you are on Windows has not answered the question. An OS switch rewrites every path and example in place, and a version selector marks the entries that did not exist yet in the release you are running.
The whole thing is a single self-contained HTML file with no build step, no framework and no backend. It loads once and then works entirely offline — the search index, the 504 entries and the release history all ship inside the page.
Key Features
Ranked Instant Search
A scoring function weighs exact names, aliases and descriptions, so the entry you meant comes first rather than the one that merely contains the word.
OS-Aware Paths
One switch rewrites every config path and example for macOS, Windows or Linux, so you copy the line that works on the machine in front of you.
Version Awareness
Tell it your installed version and it flags what you do not have yet — or shows only what a release would add, backed by 20 releases of history.
Keyboard Driven
Slash to search, arrows to move, Enter to copy the highlighted command, S to star. Starred entries persist locally as a personal cheat sheet.
How It Is Built
1. A Single Static File
Everything — markup, styles, search logic and all 504 entries — lives in one HTML document. There is no bundler, no dependency tree and nothing to install; the browser runs the source exactly as written, and the page keeps working with no network after first load.
2. Data-Driven Rendering
Entries are plain objects carrying a name, description, type, aliases, examples and the version that introduced them. Sections, navigation counts, statistics and the release timeline are all derived from that one array, so adding an entry updates the entire interface.
3. Search Ranking and Safe Highlighting
Queries are tokenised and scored against names, aliases and descriptions. Matches are highlighted by walking the text nodes and inserting real elements rather than splicing HTML strings, which keeps arbitrary search input from ever being interpreted as markup.
4. State That Survives a Reload
Chosen OS, theme, version and starred entries are written to localStorage behind try/catch, so the page degrades quietly to defaults in private windows or wherever storage is unavailable.
What It Covers
Claude Code: installation and updates, CLI commands and flags, slash commands, keyboard shortcuts, Vim mode, files and paths, settings.json keys, permission rules and modes, hook events, MCP servers, subagents and skills, memory and CLAUDE.md, environment variables, and built-in tool names.
OpenAI Codex CLI: subcommands and global flags, slash commands, and config.toml keys including sandbox policies and AGENTS.md.
History: a timeline of the last 20 releases and what each one changed.
Technologies Used
Try the Encyclopedia
Search 504 commands, flags and config paths for Claude Code and Codex CLI.
Launch the Encyclopedia