Claude Code Schema banner
amitray007 amitray007

Claude Code Schema

Development community

Description

Machine-readable, versioned schema of Claude Code's configuration surface — settings, env vars, CLI flags, and keybindings, auto-generated per release.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

claude-code-schema

A machine-readable, versioned description of selected **Claude Code configuration interfaces**: validation schemas for `settings.json` and `keybindings.json`, an environment-map schema, and catalogs for CLI flags and default keybindings.

It is purpose-built for Claude Code and **auto-maintained**: keyed on the actual npm release, grounded in first-party sources, and independently checked against the integrity-verified release binary. SchemaStore is a benchmark, not a generation dependency.

**Status:** production generator, validation suite, release discovery, review workflow, and publication staging are implemented. [`experiments/`](experiments/) retains the four source-strategy proofs that established the production design.

Release files

Start with `settings.schema.json` for `settings.json`, or `environment.schema.json` for environment variables. Both files are self-contained; the settings schema bundles the environment schema for its `env` field.

File Contains
catalog.json Entry point and file guide
settings.schema.json settings.json keys and validation
settings.catalog.json Settings source and runtime evidence
environment.schema.json Environment-variable names and validation
environment.catalog.json Environment source and binary evidence
cli.catalog.json CLI commands, arguments, and options
global-config.schema.json ~/.claude.json validation
keybindings.schema.json ~/.claude/keybindings.json validation
keybindings.compat.schema.json More permissive keybinding validation