# All codebase-snapshot documentation

Every page on this site, grouped by the job you are doing. If you are new, start with the
[overview](../README.md), then [installation](install.md), then the [CLI reference](cli.md).

## Start here

- [Overview and quick start](../README.md) — what the tool does, install, first run and the shape
  of the output.
- [Installation](install.md) — npm, yarn, pnpm, bun, npx, version pinning and a shadowed npx.
- [CLI reference](cli.md) — every command, option, default and exit code.
- [Configuration](configuration.md) — every setting, the 25 project presets, budgets and hooks.
- [Snapshot output](output.md) — parts, manifest, reports and the schema.
- [AI agents](agent.md) — the machine-readable contract and the installable skill.

## Core workflows

- [Impact reports](impact.md) — what a change reaches and which tests to run.
- [Change Guard](guard.md) — the untouched consumers, tests and routes after an edit, with a
  hook mode for Claude Code, Copilot and Codex.
- [Briefs](brief.md) — one redacted, bounded review pack.
- [MCP server](mcp.md) — transports, sessions, resources and protocol details.
- [MCP server for a codebase](mcp-server-for-codebase.md) — setup for Claude, Cursor and generic
  clients, the seven tools, security and limits.
- [MCP tools](tools.md) — every tool schema and an example call.
- [snapshot_context](answer.md) — cited, line-numbered context in one call.
- [Health](health.md) — hashes, secrets, host paths, accounting and freshness.
- [Serve](serve.md) — the browser page and the MCP endpoint on one local port.
- [Remote sources](remote.md) — shallow, SSRF-safe cloning.
- [Delta snapshots](delta.md) — send only what changed since a base.
- [Slices](slice.md) — a snapshot for one question.
- [Token budgets](budget.md) — fit a repository into a window by selecting whole files.
- [Benchmarks](benchmarks.md) — measured tokens and time on ten public repositories.
- [Workspaces](workspace.md) — one snapshot per member, plus an index.
- [Signing](signing.md) — Ed25519 signatures and verification.

## Guides and concepts

- [LLM codebase context](llm-codebase-context.md) — what it is, why raw dumps fail, and the four
  practical approaches.
- [How to feed a repository to Claude or ChatGPT](how-to-feed-a-repo-to-claude.md) — the end-to-end
  recipe.
- [Budgeting LLM context](how-to-context-budget.md) — choose maxPartBytes from the destination.
- [How many tokens is a codebase?](codebase-token-budget.md) — the arithmetic and a budget table.
- [Stale context is your bug](stale-context-is-your-bug.md) — detect drift and gate it in CI.
- [Glossary](glossary.md) — codebase snapshot, token budget, manifest, drift, MCP, AX and more.
- [FAQ](faq.md) — direct answers about MCP, tokens, secrets, CI and comparisons.

## Comparisons

- [vs repomix](vs-repomix.md) — two ways to pack a repository, and when repomix is the better fit.
- [vs gitingest](vs-gitingest.md) — a CLI artefact versus a URL-to-text trick.
- [vs code2prompt](vs-code2prompt.md) — a prompt versus an indexed artefact.

## Operations and trust

- [Migration to 0.21](migration.md) — the seven-tool MCP surface, live impact and every breaking
  change.
- [Deploy](deploy.md) — a container, compose file and systemd timer.
- [Security review](security-review.md) — the threat model, controls and residual risks.
- [Troubleshooting](troubleshooting.md) — every message and its one-line fix.
- [About this project](about.md) — who maintains it, how claims are tested and the editorial policy.

## Machine-readable

- [llms.txt](https://ankurhalder.github.io/codebase-snapshot/llms.txt) — a compact index for agents.
- [llms-full.txt](https://ankurhalder.github.io/codebase-snapshot/llms-full.txt) — every page in one file.
- [Sitemap](https://ankurhalder.github.io/codebase-snapshot/sitemap.xml) — every canonical URL.
