codebase-snapshot 0.22.2 → 0.22.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -30,6 +30,29 @@ deprecated with an explanatory message instead. `latest` has pointed at 0.9.0 si
30
30
 
31
31
  ---
32
32
 
33
+ ## 0.22.4
34
+
35
+ **SEO discovery patch: comparison hub and a concrete distribution checklist.**
36
+
37
+ - New [best codebase context tools](codebase-context-tools.md) comparison: Repomix, Gitingest, code2prompt, CodeNib, SigMap, riprewire, readfirst, ContextPacker and codebase-snapshot compared by job, not by feature checklist.
38
+ - Linked the hub from the repo-to-LLM, codebase-to-Markdown and codebase-prompt guides, the docs index and site navigation.
39
+ - Added `.github/SEO-CHECKLIST.md` with Search Console/Bing steps, target URLs, directory updates, backlink targets, weekly measurement and explicit don'ts.
40
+ - No runtime behavior changed.
41
+
42
+ ---
43
+
44
+ ## 0.22.3
45
+
46
+ **SEO and discovery patch: query-owned guides, clearer titles and package metadata.**
47
+
48
+ - New guides for [repo to LLM](repo-to-llm.md), [codebase to Markdown](codebase-to-markdown.md) and [codebase prompt](codebase-prompt.md). Each covers the query intent, the trade-offs and the commands, rather than restating the homepage.
49
+ - The site title and description now lead with “Codebase snapshot for AI agents”; the new pages are in the site navigation, sitemap, llms.txt and docs index.
50
+ - The README H1, npm description/keywords and GitHub repository description now name the target queries directly.
51
+ - `seo-rank` tracks the new query set for npm and GitHub; the weekly workflow keeps the trend.
52
+ - No runtime behavior changed.
53
+
54
+ ---
55
+
33
56
  ## 0.22.2
34
57
 
35
58
  **Line-targeted context, hidden-instruction filtering and verifiable receipts.**
package/README.md CHANGED
@@ -1,11 +1,10 @@
1
1
  <div align="center">
2
2
  <img src="https://raw.githubusercontent.com/ankurhalder/codebase-snapshot/main/docs/assets/favicon.svg" width="64" height="64" alt="codebase-snapshot">
3
3
 
4
- <h1>codebase-snapshot</h1>
4
+ <h1>Codebase snapshot for AI agents</h1>
5
5
 
6
- <p><b>Turn a codebase into LLM-ready context you can verify.</b><br>
7
- Bounded, redacted snapshots with a manifest, plus live impact and review briefs —<br>
8
- local, deterministic, and no native binary. A snapshot is still there when you need it.</p>
6
+ <p><b>codebase-snapshot</b> turns a repository into LLM-ready context you can verify.<br>
7
+ Bounded, redacted snapshots with a manifest, plus live impact and review briefs.</p>
9
8
 
10
9
  <p>
11
10
  <a href="https://www.npmjs.com/package/codebase-snapshot"><img alt="npm version" src="https://img.shields.io/npm/v/codebase-snapshot.svg"></a>
@@ -238,7 +237,7 @@ Everything an agent needs is available as data, and the tool can install its own
238
237
  ```bash
239
238
  npx codebase-snapshot describe --format json # contract: workflow, options, exit codes
240
239
  npx codebase-snapshot skill --install # into .agents, .claude and .cursor
241
- npx -y codebase-snapshot@0.22.2 mcp # or serve it over MCP
240
+ npx -y codebase-snapshot@0.22.4 mcp # or serve it over MCP
242
241
  ```
243
242
 
244
243
  An agent told only "use `npx codebase-snapshot`" can read the contract, follow its ordered
@@ -322,6 +321,9 @@ others.
322
321
  | [MCP server](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/mcp.md) | 7 tools, resources, both protocol eras, modern HTTP conformance |
323
322
  | [MCP tools](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/tools.md) | Every tool schema and an example call |
324
323
  | [snapshot_context](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/answer.md) | One question, declaration spans or ranges, a hard token budget, hidden-text filtering and a verifiable receipt |
324
+ | [Repo to LLM](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/repo-to-llm.md) | Five ways to give a model a repo |
325
+ | [Codebase to Markdown](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/codebase-to-markdown.md) | Convert a repo without silent truncation |
326
+ | [Codebase prompt](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/codebase-prompt.md) | Task, evidence and verification |
325
327
  | [Glossary](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/glossary.md) | Codebase snapshot, token budget, manifest, drift, MCP and agent experience |
326
328
  | [FAQ](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/faq.md) | Direct answers about MCP, tokens, secrets, CI and comparisons |
327
329
  | [All documentation](https://github.com/ankurhalder/codebase-snapshot/blob/main/docs/contents.md) | Every page, grouped by the job you are doing |
package/dist/bin.js CHANGED
@@ -2895,7 +2895,7 @@ function verifySnapshotSignature(snapshotDir) {
2895
2895
 
2896
2896
  // src/version.ts
2897
2897
  var GENERATOR_NAME = "codebase-snapshot";
2898
- var GENERATOR_VERSION = "0.22.2";
2898
+ var GENERATOR_VERSION = "0.22.4";
2899
2899
  var SCHEMA_VERSION = "3.0.0";
2900
2900
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
2901
2901
  function isOurGeneratorName(name) {
@@ -4684,7 +4684,7 @@ function verifySnapshotSignature(snapshotDir) {
4684
4684
 
4685
4685
  // src/version.ts
4686
4686
  var GENERATOR_NAME = "codebase-snapshot";
4687
- var GENERATOR_VERSION = "0.22.2";
4687
+ var GENERATOR_VERSION = "0.22.4";
4688
4688
  var SCHEMA_VERSION = "3.0.0";
4689
4689
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
4690
4690
  function isOurGeneratorName(name) {
package/dist/cli.cjs CHANGED
@@ -2913,7 +2913,7 @@ function verifySnapshotSignature(snapshotDir) {
2913
2913
 
2914
2914
  // src/version.ts
2915
2915
  var GENERATOR_NAME = "codebase-snapshot";
2916
- var GENERATOR_VERSION = "0.22.2";
2916
+ var GENERATOR_VERSION = "0.22.4";
2917
2917
  var SCHEMA_VERSION = "3.0.0";
2918
2918
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
2919
2919
  function isOurGeneratorName(name) {
package/dist/cli.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import './chunk-WMEZFLUT.js';
2
- import { shouldCheck, checkForUpdate, GENERATOR_VERSION, cacheFilePath, formatUpdateNotice, installKind, buildAgentContract, startWebServer, startHttpTransport, buildTools, runStdioServer, parseRemoteSource, assertPublicHost, cloneRepository, makeCloneDirectory, loadConfigFileDetailed, assertServerSafeConfig, resolveConfig, validateSnapshot, readConfinedText, auditSnapshot, describeManifestShapeProblem, loadManifest, buildLiveIndex, resolveImpactChanges, computeImpact, DEFAULT_MAX_PROGRAM_FILES, findMultipleSymbolReferences, planTestRun, renderImpactText, runTestPlan, briefFromPaths, resolveDiffBase, filterAndRedactDiff, matchesExclude, defaultIgnoreReason, isSensitivePath, findSection, parsePartSections, buildBrief, explainPath, compareManifests, renderDiffText, generateSnapshot, getGitInfo, loadSigningKey, SIGNATURE_FILE, formatNumber, isDiscoveryMode, ARTIFACT_NAMES, COMMAND_OPTION_SCOPE, commandsForOption, getPreset, unknownPresetMessage, GENERATOR_NAME, runInit, installPreCommitHook, PromptCancelled, SKILL_NAME, renderSkill, resolveLatest, isNewer, updateCommand, findConfigFile, planFirstRun, isEffectivelyEmpty, isInteractive, defaultIO, hasPriorSnapshot, DEFAULT_ANSWERS, firstRunMessage, escapeControls, stripJsonComments, parseByteSize, gitignorePath, appendGitignoreEntries, runWithStdoutCapture, inlineCode, findSecretInPath, MIN_MAX_PART_TOKENS, MIN_MAX_PART_BYTES, renderContractText, renderExplainText } from './chunk-OVH6B3GV.js';
3
- export { buildAgentContract } from './chunk-OVH6B3GV.js';
2
+ import { shouldCheck, checkForUpdate, GENERATOR_VERSION, cacheFilePath, formatUpdateNotice, installKind, buildAgentContract, startWebServer, startHttpTransport, buildTools, runStdioServer, parseRemoteSource, assertPublicHost, cloneRepository, makeCloneDirectory, loadConfigFileDetailed, assertServerSafeConfig, resolveConfig, validateSnapshot, readConfinedText, auditSnapshot, describeManifestShapeProblem, loadManifest, buildLiveIndex, resolveImpactChanges, computeImpact, DEFAULT_MAX_PROGRAM_FILES, findMultipleSymbolReferences, planTestRun, renderImpactText, runTestPlan, briefFromPaths, resolveDiffBase, filterAndRedactDiff, matchesExclude, defaultIgnoreReason, isSensitivePath, findSection, parsePartSections, buildBrief, explainPath, compareManifests, renderDiffText, generateSnapshot, getGitInfo, loadSigningKey, SIGNATURE_FILE, formatNumber, isDiscoveryMode, ARTIFACT_NAMES, COMMAND_OPTION_SCOPE, commandsForOption, getPreset, unknownPresetMessage, GENERATOR_NAME, runInit, installPreCommitHook, PromptCancelled, SKILL_NAME, renderSkill, resolveLatest, isNewer, updateCommand, findConfigFile, planFirstRun, isEffectivelyEmpty, isInteractive, defaultIO, hasPriorSnapshot, DEFAULT_ANSWERS, firstRunMessage, escapeControls, stripJsonComments, parseByteSize, gitignorePath, appendGitignoreEntries, runWithStdoutCapture, inlineCode, findSecretInPath, MIN_MAX_PART_TOKENS, MIN_MAX_PART_BYTES, renderContractText, renderExplainText } from './chunk-DJQEU7RR.js';
3
+ export { buildAgentContract } from './chunk-DJQEU7RR.js';
4
4
  import { spawnSync } from 'child_process';
5
5
  import * as fs4 from 'fs';
6
6
  import * as path4 from 'path';
package/dist/index.cjs CHANGED
@@ -4702,7 +4702,7 @@ function verifySnapshotSignature(snapshotDir) {
4702
4702
 
4703
4703
  // src/version.ts
4704
4704
  var GENERATOR_NAME = "codebase-snapshot";
4705
- var GENERATOR_VERSION = "0.22.2";
4705
+ var GENERATOR_VERSION = "0.22.4";
4706
4706
  var SCHEMA_VERSION = "3.0.0";
4707
4707
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
4708
4708
  function isOurGeneratorName(name) {
package/dist/index.d.cts CHANGED
@@ -742,7 +742,7 @@ declare function validateSnapshot(configInput: ResolvedSnapshotConfig | Snapshot
742
742
  * `package.json` carries the same version; `npm run verify` compares the two.
743
743
  */
744
744
  declare const GENERATOR_NAME = "codebase-snapshot";
745
- declare const GENERATOR_VERSION = "0.22.2";
745
+ declare const GENERATOR_VERSION = "0.22.4";
746
746
  /**
747
747
  * The manifest and ownership-marker schema this build writes and understands.
748
748
  *
package/dist/index.d.ts CHANGED
@@ -742,7 +742,7 @@ declare function validateSnapshot(configInput: ResolvedSnapshotConfig | Snapshot
742
742
  * `package.json` carries the same version; `npm run verify` compares the two.
743
743
  */
744
744
  declare const GENERATOR_NAME = "codebase-snapshot";
745
- declare const GENERATOR_VERSION = "0.22.2";
745
+ declare const GENERATOR_VERSION = "0.22.4";
746
746
  /**
747
747
  * The manifest and ownership-marker schema this build writes and understands.
748
748
  *
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export { ARTIFACT_NAMES, CHECK_INTERVAL_MS, CONFIG_KEYS, DEFAULT_ANSWERS, DEFAULT_MAX_PROGRAM_FILES, DEFAULT_SECRET_PATTERNS, FAILURE_INTERVAL_MS, GENERATOR_NAME, GENERATOR_VERSION, HOOK_MARKER, LANGUAGE_PROFILES, MIN_MAX_PART_BYTES, MIN_MAX_PART_TOKENS, PACKAGE_LATEST_URL, PRESETS, PromptBack, PromptCancelled, REQUEST_TIMEOUT_MS, SCHEMA_VERSION, UP_TO_DATE_INTERVAL_MS, anchorForPath, appendGitignoreEntries, assertPublicHost, assertReplaceable, assertServerSafeConfig, assertUsableConfigInput, assertUsableRef, auditSnapshot, buildBrief, buildImportResolver, bytesForTokens, cacheDirectory, cacheFilePath, checkForUpdate, classifyKind, classifyLayer, cloneRepository, collectFiles, compareManifests, computeImpact, configDigest, countInvalidUtf8Bytes, countLines, crc32, createScopedProgram, decodeText, defineConfig, detectLanguage, detectPreset, displayPath, displayWidth, enforceBudget, estimateTokens, explainPath, fenceForContent, fenceForText, fetchLatestVersion, findMultipleSymbolReferences, findSecretInPath, findSymbolReferences, firstRunMessage, formatTokens, formatUpdateNotice, generateProjectTree, generateSarifReport, generateSnapshot, generateSnapshotAsync, getGitInfo, getPreset, gitignorePath, globToRegExp, hasPriorSnapshot, importsChangedFile, importsOfFile, importsOfText, installKind, installPreCommitHook, isBinaryBuffer, isBinaryExtension, isBinaryFile, isEffectivelyEmpty, isInteractive, isNewer, isPrivateHost, isResolvedConfig, isSensitivePath, isSkeletonizable, isTsxFileName, listPresetNames, loadConfigFile, loadConfigFileDetailed, loadManifest, lockPathFor, makeCloneDirectory, markResolvedConfig, matchRule, matchesExclude, normalizeResolvedConfig, parseByteSize, parseRemoteSource, partitionFiles, planFirstRun, planTestRun, profileForPath, releaseAbandonedRun, renderConfig, renderDiffText, renderExplainText, renderImpactText, renumberParts, resolveChangedScope, resolveConfig, resolveDiffBase, resolveDiffChangedLines, resolveImpactChanges, resolveLatest, resolvePreciseChangedCallers, resolveSafeOutputDirs, resolveSpecifier, resolveSpecifierDetailed, runInit, runTestPlan, scanAndRedactSecrets, shouldCheck, skeletonizeTypeScript, startWebServer, stripJsonComments, summarizeJson, summarizeMarkdown, summarizeTypeScriptSource, summarizeWithProfile, supportsTypeScriptImports, tokenAllowedForHost, treeTruncationWarnings, truncatePreview, truncateToBytes, tsconfigFromWorkspace, tsconfigPathsFor, updateCommand, validateSnapshot, walkFiles, workerEntry, workspaceResolutionFor, wrapLines, writeZip } from './chunk-OVH6B3GV.js';
1
+ export { ARTIFACT_NAMES, CHECK_INTERVAL_MS, CONFIG_KEYS, DEFAULT_ANSWERS, DEFAULT_MAX_PROGRAM_FILES, DEFAULT_SECRET_PATTERNS, FAILURE_INTERVAL_MS, GENERATOR_NAME, GENERATOR_VERSION, HOOK_MARKER, LANGUAGE_PROFILES, MIN_MAX_PART_BYTES, MIN_MAX_PART_TOKENS, PACKAGE_LATEST_URL, PRESETS, PromptBack, PromptCancelled, REQUEST_TIMEOUT_MS, SCHEMA_VERSION, UP_TO_DATE_INTERVAL_MS, anchorForPath, appendGitignoreEntries, assertPublicHost, assertReplaceable, assertServerSafeConfig, assertUsableConfigInput, assertUsableRef, auditSnapshot, buildBrief, buildImportResolver, bytesForTokens, cacheDirectory, cacheFilePath, checkForUpdate, classifyKind, classifyLayer, cloneRepository, collectFiles, compareManifests, computeImpact, configDigest, countInvalidUtf8Bytes, countLines, crc32, createScopedProgram, decodeText, defineConfig, detectLanguage, detectPreset, displayPath, displayWidth, enforceBudget, estimateTokens, explainPath, fenceForContent, fenceForText, fetchLatestVersion, findMultipleSymbolReferences, findSecretInPath, findSymbolReferences, firstRunMessage, formatTokens, formatUpdateNotice, generateProjectTree, generateSarifReport, generateSnapshot, generateSnapshotAsync, getGitInfo, getPreset, gitignorePath, globToRegExp, hasPriorSnapshot, importsChangedFile, importsOfFile, importsOfText, installKind, installPreCommitHook, isBinaryBuffer, isBinaryExtension, isBinaryFile, isEffectivelyEmpty, isInteractive, isNewer, isPrivateHost, isResolvedConfig, isSensitivePath, isSkeletonizable, isTsxFileName, listPresetNames, loadConfigFile, loadConfigFileDetailed, loadManifest, lockPathFor, makeCloneDirectory, markResolvedConfig, matchRule, matchesExclude, normalizeResolvedConfig, parseByteSize, parseRemoteSource, partitionFiles, planFirstRun, planTestRun, profileForPath, releaseAbandonedRun, renderConfig, renderDiffText, renderExplainText, renderImpactText, renumberParts, resolveChangedScope, resolveConfig, resolveDiffBase, resolveDiffChangedLines, resolveImpactChanges, resolveLatest, resolvePreciseChangedCallers, resolveSafeOutputDirs, resolveSpecifier, resolveSpecifierDetailed, runInit, runTestPlan, scanAndRedactSecrets, shouldCheck, skeletonizeTypeScript, startWebServer, stripJsonComments, summarizeJson, summarizeMarkdown, summarizeTypeScriptSource, summarizeWithProfile, supportsTypeScriptImports, tokenAllowedForHost, treeTruncationWarnings, truncatePreview, truncateToBytes, tsconfigFromWorkspace, tsconfigPathsFor, updateCommand, validateSnapshot, walkFiles, workerEntry, workspaceResolutionFor, wrapLines, writeZip } from './chunk-DJQEU7RR.js';
package/dist/mcp.cjs CHANGED
@@ -3157,7 +3157,7 @@ function verifySnapshotSignature(snapshotDir) {
3157
3157
 
3158
3158
  // src/version.ts
3159
3159
  var GENERATOR_NAME = "codebase-snapshot";
3160
- var GENERATOR_VERSION = "0.22.2";
3160
+ var GENERATOR_VERSION = "0.22.4";
3161
3161
  var SCHEMA_VERSION = "3.0.0";
3162
3162
  var LEGACY_GENERATOR_NAMES = ["@ankurhalder/codebase-snapshot"];
3163
3163
  function isOurGeneratorName(name) {
package/dist/mcp.js CHANGED
@@ -1,2 +1,2 @@
1
1
  import './chunk-WMEZFLUT.js';
2
- export { ERROR_CODES, LEGACY_PROTOCOL_VERSIONS, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, REPORT_RESOURCE_URIS, RESOURCE_TEMPLATE_URIS, SERVER_INSTRUCTIONS, STATIC_RESOURCE_URIS, SUPPORTED_PROTOCOL_VERSIONS, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, findSection, generateInWorker, generateToken, inspectModernMeta, isCommentStrippable, negotiateLegacyVersion, parsePartSections, runStdioServer, startHttpTransport, stripComments, validateArguments, windowText } from './chunk-OVH6B3GV.js';
2
+ export { ERROR_CODES, LEGACY_PROTOCOL_VERSIONS, MAX_LINE_BYTES, METHOD, MODERN_PROTOCOL_VERSIONS, REPORT_RESOURCE_URIS, RESOURCE_TEMPLATE_URIS, SERVER_INSTRUCTIONS, STATIC_RESOURCE_URIS, SUPPORTED_PROTOCOL_VERSIONS, buildPrompts, buildResourceProvider, buildTools, classifyRequest, coerceNumericStrings, createLineReader, createMcpServer, createServer, createSession, createWriter, findSection, generateInWorker, generateToken, inspectModernMeta, isCommentStrippable, negotiateLegacyVersion, parsePartSections, runStdioServer, startHttpTransport, stripComments, validateArguments, windowText } from './chunk-DJQEU7RR.js';
package/docs/cli.md CHANGED
@@ -104,7 +104,7 @@ Exit `0` when the snapshot passes its own integrity check, `1` when it does not.
104
104
 
105
105
  ```
106
106
  📸 Generating snapshot for: /path/to/repo
107
- Branch: main (fallback) | Part budget: 300 KB | Generator: 0.22.2 (project dependency ^0.22.2)
107
+ Branch: main (fallback) | Part budget: 300 KB | Generator: 0.22.4 (project dependency ^0.22.4)
108
108
 
109
109
  ✅ Snapshot generated in 0.14s:
110
110
  - Tracked files: 121 included of 128 paths found — 7 skipped (default-ignore 5, binary 1, sensitive-file 1); every one is listed in snapshot/reports/audit.md
@@ -302,7 +302,7 @@ The whole first run in one command, with defaults and no prompts. This is the sa
302
302
  🚀 Setup for: /path/to/repo
303
303
  ✅ Created snapshot.config.json (preset: nextjs)
304
304
  Added npm scripts: snapshot, snapshot:validate
305
- Added devDependency: codebase-snapshot ^0.22.2
305
+ Added devDependency: codebase-snapshot ^0.22.4
306
306
  Added to .gitignore: /snapshot/, /snapshot.tmp/
307
307
  ⏳ Installing dependencies…
308
308
  ✅ Installed dependencies (npm install, 2.1s)
@@ -354,7 +354,7 @@ It also has three side effects on files you own, and it says so when it does the
354
354
  ```
355
355
  ✅ Created snapshot.config.json (preset: node-lib)
356
356
  Added npm scripts: snapshot, snapshot:validate
357
- Added devDependency: codebase-snapshot ^0.22.2
357
+ Added devDependency: codebase-snapshot ^0.22.4
358
358
  Added to .gitignore: /snapshot/, /snapshot.tmp/
359
359
  ```
360
360
 
@@ -504,8 +504,8 @@ agent](agent.md).
504
504
  Ask the npm registry whether a newer release exists, and print the version it compared against:
505
505
 
506
506
  ```bash
507
- npx codebase-snapshot@0.22.2 update # is this build current? print the answer
508
- npx codebase-snapshot@0.22.2 update --format json
507
+ npx codebase-snapshot@0.22.4 update # is this build current? print the answer
508
+ npx codebase-snapshot@0.22.4 update --format json
509
509
  ```
510
510
 
511
511
  ```text
@@ -0,0 +1,84 @@
1
+ # Best codebase context tools for AI agents
2
+
3
+ There is no single “best” tool. There are **different jobs**, and the tools that win one job often lose another.
4
+
5
+ This page compares the main open-source options by the question they answer, not by a feature checklist. Every tool here is useful; the point is fit.
6
+
7
+ ## Pick by the job
8
+
9
+ | Job | Best fit | Why |
10
+ | :-- | :-- | :-- |
11
+ | Give a whole repository to a chat or a one-off review | **Repomix**, **Gitingest**, **code2prompt** | Simple, portable text output; low setup |
12
+ | Find the lines that answer a question, live | **CodeNib**, **SigMap**, **riprewire** | Indexed symbols/call graph, line-level retrieval |
13
+ | Map a repository and its call paths | **riprewire**, **SigMap** | Ranked map, callers, impact |
14
+ | Per-file rules, risks and checks | **readfirst** | A committed map of what the team knows |
15
+ | Portable, budgeted, indexed handoff with line follow-up | **codebase-snapshot** | Manifest, parts, line-numbered context and MCP |
16
+ | Query-to-files API with no index | **ContextPacker** | LLM file selection, hosted API |
17
+
18
+ ## The comparison
19
+
20
+ | Tool | Primary shape | Strongest at | Where it is weaker |
21
+ | :-- | :-- | :-- | :-- |
22
+ | [Repomix](https://github.com/yamadashy/repomix) | One repo pack | Simplicity, adoption, broad formats | Task selection; a dump is not a budgeted answer |
23
+ | [Gitingest](https://github.com/cyclotruc/gitingest) | URL-to-text digest | Zero-install sharing | Less control over budgets, manifests and agent reads |
24
+ | [code2prompt](https://github.com/mufeedvh/code2prompt) | Prompt-oriented pack | Templates and a small CLI | Not a persistent indexed artefact |
25
+ | [CodeNib](https://github.com/sysevol-ai/CodeNib) | Live code graph | Line recall, test-impact guard | Newer project; setup is Python/SCIP-oriented |
26
+ | [SigMap](https://sigmap.io) | Deterministic grounding | Language coverage, token reduction, MCP | A live index, not a portable snapshot |
27
+ | [riprewire](https://github.com/redhat-et/ripwire) | Repo map + call graph | Orientation, impact, edit checks | Map-first; the full code evidence still comes from reads |
28
+ | [readfirst](https://github.com/jeonghun917/readfirst) | Committed per-file map | Team rules, risks, checks, tests | Requires maintaining the map; not a general repo pack |
29
+ | [ContextPacker](https://contextpacker.com/) | Hosted query API | File selection without an index | Service/API shape; not an offline artefact |
30
+ | **codebase-snapshot** | Snapshot + manifest + MCP | Portable budgeted context, line windows, validated freshness | Retrieval is narrower than a full semantic index |
31
+
32
+ ## What “context” actually means
33
+
34
+ Three different artefacts are often compared as if they were the same:
35
+
36
+ 1. **A pack** — the repository as text. Easy to share; hard to keep within a token budget and hard to cite.
37
+ 2. **An index** — a live structure that answers “where is X?” or “what calls X?”. Fast; not portable.
38
+ 3. **A task context** — the smallest evidence that answers one question. Best for agents; needs a selection layer.
39
+
40
+ Most tools are strong in one category. The mistake is buying a pack and expecting retrieval, or buying an index and expecting a portable artefact.
41
+
42
+ ## Where codebase-snapshot fits
43
+
44
+ It is the **portable, budgeted artefact** with a live follow-up path:
45
+
46
+ - `generate` writes parts under a byte budget and a manifest that names every file, skip and truncation.
47
+ - `validate` fails when the tree has moved.
48
+ - `snapshot_context` returns line-numbered evidence and explicit ranges inside a token budget.
49
+ - `guard` reports consumers, tests, routes and documentation gaps an edit left untouched.
50
+ - The MCP server exposes the same index live, without requiring a generated snapshot.
51
+
52
+ That combination is useful when you need to **hand context to another model, attach it to a review, or re-read it later** — and still ask for exact lines in an agent session.
53
+
54
+ It is not the best choice for semantic search, 38-language breadth, or a pure call-graph map. Use CodeNib, SigMap or riprewire for those jobs.
55
+
56
+ ## How to evaluate, not just compare
57
+
58
+ Run the same three tasks through each candidate:
59
+
60
+ 1. **Whole-repo onboarding** — “explain the architecture.”
61
+ 2. **Targeted change** — “add rate limiting to login.”
62
+ 3. **Review** — “what did this diff leave untouched?”
63
+
64
+ Measure:
65
+
66
+ - tokens used, including the tool schema;
67
+ - target-file and target-line coverage;
68
+ - whether omissions are named;
69
+ - whether the answer cites lines;
70
+ - whether the context is stale;
71
+ - setup time.
72
+
73
+ A tool that wins the benchmark but loses the workflow is not the best tool for you.
74
+
75
+ ## Shortlist
76
+
77
+ - **Want the simplest whole-repo pack?** Repomix or Gitingest.
78
+ - **Want the best line-level retrieval?** CodeNib or SigMap.
79
+ - **Want a repo map and impact?** riprewire.
80
+ - **Want team rules and checks per file?** readfirst.
81
+ - **Want a portable, budgeted, line-aware snapshot?** codebase-snapshot.
82
+ - **Want a hosted query-to-files API?** ContextPacker.
83
+
84
+ → [Repo to LLM](repo-to-llm.md) · [Codebase to Markdown](codebase-to-markdown.md) · [Codebase prompt](codebase-prompt.md) · [vs repomix](vs-repomix.md) · [vs gitingest](vs-gitingest.md) · [vs code2prompt](vs-code2prompt.md)
@@ -0,0 +1,97 @@
1
+ # Codebase prompt
2
+
3
+ A **codebase prompt** is the instruction and evidence you give a model about a repository. Most “bad model answers” are bad codebase prompts: the task is vague, the evidence is missing, or the context is so large that the important lines lose attention.
4
+
5
+ A good codebase prompt has four parts:
6
+
7
+ 1. **Task** — what to change, answer or review.
8
+ 2. **Constraints** — compatibility, style, files to avoid, acceptance criteria.
9
+ 3. **Evidence** — the smallest set of code, tests, routes and docs that answers the task.
10
+ 4. **Output contract** — what the answer must contain and how it will be checked.
11
+
12
+ The repository dump is not the prompt. It is one input to it.
13
+
14
+ ## A skeleton that works
15
+
16
+ ```text
17
+ Task
18
+ Add rate limiting to the login endpoint.
19
+
20
+ Constraints
21
+ - Keep the existing response shape.
22
+ - Do not change the public auth API.
23
+ - Add a regression test.
24
+
25
+ Evidence
26
+ - src/auth/login.ts:40-96
27
+ - src/middleware/rate-limit.ts:1-120
28
+ - tests/auth/login.test.ts:1-80
29
+ - docs/auth.md (status codes and retry headers)
30
+
31
+ Acceptance
32
+ - 429 after the configured limit.
33
+ - Retry-After is present.
34
+ - Existing tests pass.
35
+
36
+ Output
37
+ - Patch or exact changes.
38
+ - Tests to run.
39
+ - Anything you could not verify.
40
+ ```
41
+
42
+ The evidence section is where a snapshot or context tool earns its place. It should name **files and line ranges**, not “the auth code.”
43
+
44
+ ## Build the evidence
45
+
46
+ ```bash
47
+ # A task-scoped snapshot
48
+ npx codebase-snapshot generate --slice "add rate limiting to login" --slice-tokens 12000
49
+
50
+ # A portable brief with the change, callers and tests
51
+ npx codebase-snapshot brief "add rate limiting to login" --out notes/task.md
52
+
53
+ # Inside an MCP client
54
+ snapshot_context { "question": "add rate limiting to login", "maxTokens": 8000 }
55
+ ```
56
+
57
+ The brief and `snapshot_context` return bounded, numbered windows. If a file does not fit, the response names it; add that file deliberately or narrow the task. Do not silently grow the prompt.
58
+
59
+ ## Keep the prompt small enough to use
60
+
61
+ Three budgets matter:
62
+
63
+ - **Repository budget** — how much of the repo enters the prompt.
64
+ - **Task budget** — how much of the prompt is instructions versus evidence.
65
+ - **Output budget** — how much room the model has to answer.
66
+
67
+ A 100k-token repository prompt leaves little room for reasoning and often performs worse than a 6k-token evidence pack. See [token budgets](budget.md) and [how to size a context budget](how-to-context-budget.md).
68
+
69
+ ## What to leave out
70
+
71
+ - Generated files and lockfiles.
72
+ - Vendored dependencies.
73
+ - Unrelated modules “for context.”
74
+ - Full files when a range answers the question.
75
+ - Secrets and credential-bearing files. Sensitive names are excluded by default; redaction is not a substitute for exclusion.
76
+
77
+ ## Make it checkable
78
+
79
+ A codebase prompt should end with verification:
80
+
81
+ - the tests that should pass;
82
+ - the type check or build command;
83
+ - the callers or routes that must not change;
84
+ - the files the answer must cite;
85
+ - what the model should say if the evidence is insufficient.
86
+
87
+ That last point matters. A model that says “I did not see the route definition” is more useful than one that invents it.
88
+
89
+ ## Common mistakes
90
+
91
+ 1. **Task ambiguity.** “Fix auth” is not a task.
92
+ 2. **Evidence by filename.** The answer is often in a caller or test.
93
+ 3. **No line ranges.** The model cannot cite what it used.
94
+ 4. **No acceptance criteria.** “Done” is not defined.
95
+ 5. **No verification step.** The change is plausible, not checked.
96
+
97
+ → [Best codebase context tools](codebase-context-tools.md) · [Repo to LLM](repo-to-llm.md) · [Codebase to Markdown](codebase-to-markdown.md) · [Briefs](brief.md) · [snapshot_context](answer.md) · [How to feed a repo to Claude](how-to-feed-a-repo-to-claude.md)
@@ -0,0 +1,80 @@
1
+ # Codebase to Markdown
2
+
3
+ **Codebase to Markdown** means turning a repository into one or more Markdown files a language model can read without cloning the repo. The hard part is not the conversion. It is deciding what to include, what to leave out, and how to keep line numbers and file boundaries truthful.
4
+
5
+ A raw `tree` piped into a `.md` file is not enough. Large repositories overflow the context window, irrelevant files crowd out the files that matter, and a truncated file can look complete. A useful conversion is **bounded, indexed and checkable**.
6
+
7
+ ## Three useful formats
8
+
9
+ | Format | Best for | Trade-off |
10
+ | :-- | :-- | :-- |
11
+ | One Markdown file | Small repos, a single chat, a quick review | No budget; the model may silently lose the middle |
12
+ | Budgeted parts + manifest | Whole-repo handoff, RAG ingestion, offline review | More files; the reader must respect the manifest |
13
+ | Task slice | One question or change | Narrow by design; not a repository archive |
14
+
15
+ `codebase-snapshot` supports all three.
16
+
17
+ ## Convert a repository
18
+
19
+ ```bash
20
+ # One snapshot, split into parts under a byte budget
21
+ npx codebase-snapshot generate
22
+
23
+ # Fit a token budget, choosing the highest-value files first
24
+ npx codebase-snapshot generate --budget-tokens 60000
25
+
26
+ # Only what a question needs
27
+ npx codebase-snapshot generate --slice "how does authentication work?" --slice-tokens 12000
28
+ ```
29
+
30
+ The default output is a directory:
31
+
32
+ ```text
33
+ snapshot/
34
+ README.md orientation and manifest summary
35
+ PROMPT.md instructions for the model reading the snapshot
36
+ manifest.json every file, skip and truncation
37
+ parts/*.md the code, under the part budget
38
+ reports/ project tree, navigation and audit
39
+ ```
40
+
41
+ The manifest is the difference between a dump and a context artefact. It records the files that were included, the ones that were skipped and why, and the exact ranges missing from any previewed file. If a file did not fit, it is named in `incomplete[]`; nothing is silently dropped.
42
+
43
+ ## What to include
44
+
45
+ - Source files that implement the task.
46
+ - Tests that exercise the changed behaviour.
47
+ - Routes, configuration and entry points that connect them.
48
+ - A small amount of documentation for conventions the code does not state.
49
+
50
+ ## What to leave out
51
+
52
+ - Generated output, lockfiles, vendored dependencies and build caches.
53
+ - Binary and credential-bearing files; sensitive names are excluded by default.
54
+ - Files that do not fit the budget — but they must be recorded, not forgotten.
55
+
56
+ ## Token budgets are not byte budgets
57
+
58
+ A 300 KB part is not a safe context window. `--max-part-bytes` controls the artefact; `--budget-tokens` controls how much repository fits a model. The two are related but not interchangeable, and models tokenize differently. Read [token budgets](budget.md) before choosing a number.
59
+
60
+ For a single question, prefer [a slice](slice.md) or the live [snapshot_context](answer.md) over the whole snapshot. For a whole-repo handoff, the parts and manifest are the point.
61
+
62
+ ## Common mistakes
63
+
64
+ 1. **No budget.** The output fits the disk, not the model.
65
+ 2. **No manifest.** A reader cannot tell a complete file from a preview.
66
+ 3. **No task.** The model gets everything and still has to find the answer.
67
+ 4. **No line numbers.** A citation cannot be checked.
68
+ 5. **Stale output.** The tree moved; the Markdown did not.
69
+
70
+ `validate` checks the last one: it re-hashes the tree and fails when the snapshot no longer matches.
71
+
72
+ ## Checklist
73
+
74
+ - [ ] Choose one file, budgeted parts, or a task slice.
75
+ - [ ] Set a token budget, not only a byte budget.
76
+ - [ ] Keep the manifest with the Markdown.
77
+ - [ ] Read `incomplete[]` before trusting a file.
78
+ - [ ] Validate before handing the snapshot to another model.
79
+
80
+ → [Generate a snapshot](cli.md) · [Token budgets](budget.md) · [Slices](slice.md) · [Compare codebase context tools](codebase-context-tools.md) · [Repo to LLM](repo-to-llm.md)
package/docs/contents.md CHANGED
@@ -36,6 +36,11 @@ Every page on this site, grouped by the job you are doing. If you are new, start
36
36
 
37
37
  ## Guides and concepts
38
38
 
39
+ - [Repo to LLM](repo-to-llm.md) — five ways to give a model a repository, and when each one fits.
40
+ - [Codebase to Markdown](codebase-to-markdown.md) — convert a repo without silent truncation or a
41
+ missing manifest.
42
+ - [Codebase prompt](codebase-prompt.md) — task, constraints, line-numbered evidence and a
43
+ verification contract.
39
44
  - [LLM codebase context](llm-codebase-context.md) — what it is, why raw dumps fail, and the four
40
45
  practical approaches.
41
46
  - [How to feed a repository to Claude or ChatGPT](how-to-feed-a-repo-to-claude.md) — the end-to-end
@@ -48,6 +53,8 @@ Every page on this site, grouped by the job you are doing. If you are new, start
48
53
 
49
54
  ## Comparisons
50
55
 
56
+ - [Best codebase context tools](codebase-context-tools.md) — Repomix, Gitingest, CodeNib, SigMap,
57
+ riprewire, readfirst, ContextPacker and codebase-snapshot compared by job.
51
58
  - [vs repomix](vs-repomix.md) — two ways to pack a repository, and when repomix is the better fit.
52
59
  - [vs gitingest](vs-gitingest.md) — a CLI artefact versus a URL-to-text trick.
53
60
  - [vs code2prompt](vs-code2prompt.md) — a prompt versus an indexed artefact.
package/docs/deploy.md CHANGED
@@ -67,8 +67,8 @@ After=network.target
67
67
  Type=oneshot
68
68
  User=deploy
69
69
  WorkingDirectory=/srv/app
70
- ExecStart=/usr/bin/npx -y codebase-snapshot@0.22.2 generate --cwd /srv/app
71
- ExecStartPost=/usr/bin/npx -y codebase-snapshot@0.22.2 validate --cwd /srv/app
70
+ ExecStart=/usr/bin/npx -y codebase-snapshot@0.22.4 generate --cwd /srv/app
71
+ ExecStartPost=/usr/bin/npx -y codebase-snapshot@0.22.4 validate --cwd /srv/app
72
72
  ```
73
73
 
74
74
  ```ini
package/docs/guard.md CHANGED
@@ -44,7 +44,7 @@ and use the hook block below.
44
44
  The hook runs a pinned CLI, so the machine needs Node.js 18+ and `npx`:
45
45
 
46
46
  ~~~bash
47
- npx -y codebase-snapshot@0.22.2 --version
47
+ npx -y codebase-snapshot@0.22.4 --version
48
48
  ~~~
49
49
 
50
50
  ## Run it
@@ -101,7 +101,7 @@ The plugin install above already wires this hook. Use this block only for a manu
101
101
  "hooks": [
102
102
  {
103
103
  "type": "command",
104
- "command": "npx -y codebase-snapshot@0.22.2 guard --hook claude",
104
+ "command": "npx -y codebase-snapshot@0.22.4 guard --hook claude",
105
105
  "timeout": 10
106
106
  }
107
107
  ]
@@ -120,7 +120,7 @@ The plugin install above already wires this hook. Use this block only for a manu
120
120
  "postToolUse": [
121
121
  {
122
122
  "type": "command",
123
- "command": "npx -y codebase-snapshot@0.22.2 guard --hook copilot",
123
+ "command": "npx -y codebase-snapshot@0.22.4 guard --hook copilot",
124
124
  "timeoutSec": 10
125
125
  }
126
126
  ]
@@ -139,7 +139,7 @@ The plugin install above already wires this hook. Use this block only for a manu
139
139
  "hooks": [
140
140
  {
141
141
  "type": "command",
142
- "command": "npx -y codebase-snapshot@0.22.2 guard --hook codex",
142
+ "command": "npx -y codebase-snapshot@0.22.4 guard --hook codex",
143
143
  "timeout": 10
144
144
  }
145
145
  ]
@@ -217,6 +217,9 @@ context for the code that is being asked about.
217
217
 
218
218
  ## Related
219
219
 
220
+ - [Repo to LLM](repo-to-llm.md) — the approach comparison behind this recipe.
221
+ - [Codebase to Markdown](codebase-to-markdown.md) — the conversion and budget choices.
222
+ - [Codebase prompt](codebase-prompt.md) — how to phrase the task and evidence.
220
223
  - [LLM codebase context](llm-codebase-context.md) — what context is and why a raw dump fails.
221
224
  - [MCP server for a codebase](mcp-server-for-codebase.md) — the live alternative when the client supports MCP.
222
225
  - [All documentation](contents.md) — every guide and reference.
@@ -160,6 +160,9 @@ same questions honestly.
160
160
 
161
161
  ## Related
162
162
 
163
+ - [Repo to LLM](repo-to-llm.md) — five approaches and when each fits.
164
+ - [Codebase to Markdown](codebase-to-markdown.md) — conversion without silent truncation.
165
+ - [Codebase prompt](codebase-prompt.md) — the instruction and evidence contract.
163
166
  - [How to feed a repository to Claude or ChatGPT](how-to-feed-a-repo-to-claude.md)
164
167
  - [How many tokens is a codebase?](codebase-token-budget.md)
165
168
  - [Budgeting LLM context](how-to-context-budget.md)
package/docs/mcp.md CHANGED
@@ -10,7 +10,7 @@ walk — that the client sees.
10
10
  ## Start it
11
11
 
12
12
  ```bash
13
- npx -y codebase-snapshot@0.22.2 mcp
13
+ npx -y codebase-snapshot@0.22.4 mcp
14
14
  ```
15
15
 
16
16
  The server serves the directory it was started in. `--cwd <path>` points it elsewhere, and that
@@ -25,7 +25,7 @@ Claude Desktop and Cursor:
25
25
  "mcpServers": {
26
26
  "codebase-snapshot": {
27
27
  "command": "npx",
28
- "args": ["-y", "codebase-snapshot@0.22.2", "mcp", "--cwd", "/absolute/path/to/repo"]
28
+ "args": ["-y", "codebase-snapshot@0.22.4", "mcp", "--cwd", "/absolute/path/to/repo"]
29
29
  }
30
30
  }
31
31
  }
@@ -34,7 +34,7 @@ Claude Desktop and Cursor:
34
34
  Claude Code registers the same thing from a shell:
35
35
 
36
36
  ```bash
37
- claude mcp add codebase-snapshot -- npx -y codebase-snapshot@0.22.2 mcp --cwd /absolute/path/to/repo
37
+ claude mcp add codebase-snapshot -- npx -y codebase-snapshot@0.22.4 mcp --cwd /absolute/path/to/repo
38
38
  ```
39
39
 
40
40
  On Windows, wrap the command as `cmd /c npx` with the same arguments — `npx` is a `.cmd` shim
@@ -43,7 +43,7 @@ there, and clients that spawn without a shell cannot execute it directly.
43
43
  ## Over HTTP, for clients that cannot spawn a process
44
44
 
45
45
  ```bash
46
- npx -y codebase-snapshot@0.22.2 mcp --http --port 4789
46
+ npx -y codebase-snapshot@0.22.4 mcp --http --port 4789
47
47
  ```
48
48
 
49
49
  This is the Streamable HTTP shape: POST one JSON-RPC message to `/mcp` and read the JSON-RPC
@@ -0,0 +1,72 @@
1
+ # Repo to LLM
2
+
3
+ **Repo to LLM** means giving a language model enough of a repository to answer a question or make a change — without pasting the entire checkout into the prompt.
4
+
5
+ There are five common approaches. They are not interchangeable.
6
+
7
+ | Approach | What the model gets | Good for | Weakness |
8
+ | :-- | :-- | :-- | :-- |
9
+ | Raw paste | The files someone remembered to select | A tiny repo or one file | Incomplete; no budget; no citation |
10
+ | Repository dump | Every file, usually one Markdown file | Small repos, offline reading | Overflows; irrelevant files; silent truncation |
11
+ | RAG / embeddings | Chunks chosen by similarity | Large corpora, fuzzy questions | Chunk boundaries; stale index; weak structure |
12
+ | Repo map | Symbols, imports and call paths | Orientation and navigation | Usually no full code evidence |
13
+ | Snapshot + live reads | Budgeted parts, manifest, line ranges | Whole-repo handoff and agent work | Requires discipline about budgets and freshness |
14
+
15
+ `codebase-snapshot` is the last category: a **portable snapshot** for whole-repo context, and a live MCP server for line-level follow-up.
16
+
17
+ ## The token question comes first
18
+
19
+ A repository that is 40 MB on disk is not 40 MB of prompt. The practical question is:
20
+
21
+ 1. How many tokens does the destination model accept?
22
+ 2. How much of that window should the repository take?
23
+ 3. Which files earn their tokens?
24
+
25
+ For arithmetic and a budget table, see [how many tokens is a codebase](codebase-token-budget.md). For choosing the budget, see [how to size an LLM context budget](how-to-context-budget.md).
26
+
27
+ ## Start with a snapshot when the task is “understand this repo”
28
+
29
+ ```bash
30
+ npx codebase-snapshot setup # config, install, generate
31
+ npx codebase-snapshot generate # or regenerate
32
+ npx codebase-snapshot validate # has the tree moved?
33
+ ```
34
+
35
+ The snapshot contains budgeted Markdown parts and a manifest. The manifest is what makes it usable as evidence: every included file, every skipped file and every missing range has a record.
36
+
37
+ ## Start with a slice or live context when the task is “answer this question”
38
+
39
+ ```bash
40
+ npx codebase-snapshot generate --slice "where is the theme switcher?" --slice-tokens 8000
41
+ npx codebase-snapshot brief "where is the theme switcher?" --copy
42
+ ```
43
+
44
+ Inside an MCP client, `snapshot_context` returns line-numbered evidence and `snapshot_read` lets the agent ask for the next range. That is usually better than handing over a 60k-token dump for one question.
45
+
46
+ ## What makes repo-to-LLM context useful
47
+
48
+ - **A task.** “Explain the repository” and “add rate limiting to login” need different evidence.
49
+ - **A budget.** The output should fit the model, not the disk.
50
+ - **Line evidence.** The model should be able to cite a file and a range.
51
+ - **Completeness accounting.** Omitted files must be named.
52
+ - **Freshness.** A snapshot from three commits ago is a different repository.
53
+ - **A verification path.** Tests, type checks and a change guard turn context into a checked change.
54
+
55
+ ## Common failure modes
56
+
57
+ 1. **Dumping everything and hoping.** The model reads the first and last parts and loses the middle.
58
+ 2. **Selecting by filename only.** The answer is often in a caller, a route or a test.
59
+ 3. **No omission list.** Nobody can tell whether the answer was possible from the context provided.
60
+ 4. **No line numbers.** Citations cannot be verified.
61
+ 5. **No follow-up tool.** When the model needs one more function, it has to ask for the whole file.
62
+
63
+ ## A practical sequence
64
+
65
+ 1. Generate a budgeted snapshot for orientation.
66
+ 2. Ask a narrow question.
67
+ 3. Use a slice, brief or `snapshot_context` for the task.
68
+ 4. Read exact ranges with `snapshot_read`.
69
+ 5. Run the tests the impact report names.
70
+ 6. Validate or regenerate before the next task.
71
+
72
+ → [Best codebase context tools](codebase-context-tools.md) · [Codebase to Markdown](codebase-to-markdown.md) · [Codebase prompt](codebase-prompt.md) · [LLM codebase context](llm-codebase-context.md) · [MCP server for a codebase](mcp-server-for-codebase.md) · [Briefs](brief.md)
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "codebase-snapshot",
3
- "version": "0.22.2",
3
+ "version": "0.22.4",
4
4
  "mcpName": "io.github.ankurhalder/codebase-snapshot",
5
- "description": "LLM codebase context you can verify: turn a repository into budgeted Markdown with a manifest of every included and skipped file, secret redaction, drift validation, and 7 MCP tools for Claude, ChatGPT, Cursor and CI.",
5
+ "description": "Codebase snapshot for AI agents: turn a repo into token-budgeted Markdown, a manifest and line-numbered context; 7 MCP tools for Claude, ChatGPT, Cursor and CI.",
6
6
  "keywords": [
7
7
  "codebase-snapshot",
8
8
  "codebase",
@@ -30,7 +30,10 @@
30
30
  "cursor",
31
31
  "chatgpt",
32
32
  "secret-redaction",
33
- "drift-detection"
33
+ "drift-detection",
34
+ "codebase-prompt",
35
+ "codebase-snapshot-for-ai-agents",
36
+ "mcp-codebase-context"
34
37
  ],
35
38
  "author": "Ankur Halder <ankur.halder12345@gmail.com>",
36
39
  "license": "MIT",