Developer Tools Live

Claude Code Encyclopedia

A Searchable Reference for Claude Code, Codex CLI and GitHub CLI

Aydin Ayanzadeh
Claude, Codex and GitHub CLI in one page
2026

Overview

Terminal coding agents move fast enough that their documentation is hard to hold in your head. The Claude Code Encyclopedia collapses three toolchains — Claude Code, OpenAI’s Codex CLI, and the GitHub CLI — into one searchable page: every command, flag, slash command, settings key, hook event, permission rule, gh workflow 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.

Claude Code and Codex ship inside the page, so that half of the reference works offline after the first load. GitHub CLI entries are read from a structured JSON file on the same site, which is how a new gh command can be added as a data edit rather than a rewrite of the interface.

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

Claude Code and Codex entries live in the encyclopedia document so that half of the reference works offline. GitHub CLI entries are fetched from catalog.json and rendered with the same layout, so a new gh command is a data edit.

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.

GitHub CLI: the gh command line end to end — authentication, repositories, the full pull request lifecycle, issues, Actions workflows and their secrets, releases and gists, raw REST and GraphQL calls, configuration and environment variables, plus the git commands that a GitHub review workflow actually rests on.

History: a timeline of the last 20 releases and what each one changed.

One Interface, Structured Data

There is one UI. The encyclopedia design is the product; GitHub CLI is a family inside it, not a second app.

Claude Code and Codex remain embedded in the encyclopedia so the agent reference stays fast and works offline after first load. The GitHub CLI family is ingested at runtime from data/catalog.json in the standalone claude-code-encyclopedia repo — 99 entries across nine sections — and rendered with the same rows, search, starring and OS switch. Adding a gh command is a data edit; the page does not change.

Older /apps/claude-code-catalog.html links redirect to the standalone app and keep ?family=github, search and hash so bookmarks still land on the right family. A CI check validates the JSON schema on every push: unknown section references, duplicate ids, untagged entries and malformed examples all fail the build.

Technologies Used

Vanilla JavaScript HTML5 CSS Custom Properties Web Storage API Dialog Element TreeWalker API Responsive Design Zero Dependencies

Try the Encyclopedia

Search Claude Code, Codex CLI and GitHub CLI in one page — commands, flags, settings and the gh workflows that sit beside them.

Launch the Encyclopedia