docspack [options] Local, version-locked documentation for AI agents --store Use a different index (file; default ~/.docspack/store.db; env DOCSPACK_STORE) --cwd Run in a different directory (directory; default the current directory) --json Machine-readable output -q, --quiet Only print errors -h, --help Show this help, or a command's help -v, --version Show the version --cmdspec Print this program's own cmdspec document, as JSON commands: sync, ask, index, recall, search, list, agent, changed, verify, feedback, mcp, sources, init, build, doctor, preview, eval, help exit: 0 success; 1 the command failed; 2 the command was used wrongly docspack sync [options] # Index the docs packages this project depends on docspack ask ... [options] # Answer from the local index — the command to give an agent docspack index [options] # Index this project's own sources, so an agent can ask them instead of reading them docspack recall ... [options] # Answer from this project's indexed corpus, not from its dependencies docspack search ... [options] # Same index, formatted for a human reading the terminal docspack list [options] # Show this project's docs packages and their index state docspack agent [] [options] # Wire docspack into the agent tooling this project already uses docspack agent install [options] # Write the docspack block into AGENTS.md or CLAUDE.md docspack agent check [options] # Fail when the wiring is missing or out of date docspack changed [options] # What a library's exports gained and lost between two versions docspack verify [options] # Check the docs still describe the code you installed docspack feedback [options] # Record documentation problems: add, list, submit, remove docspack feedback add [options] # Record one problem docspack feedback list [options] # Show recorded problems docspack feedback submit [options] # Print a prefilled GitHub issue URL for a human to open docspack feedback remove [...] [options] # Delete recorded problems docspack mcp [options] # Serve the index over MCP instead, as a long-lived process docspack sources [options] # List curated sources that `docspack build` can fetch docspack init [] [options] # Scaffold a documentation package, then build and check it docspack build [] [options] # Generate the .llms/ payload for publishing docspack doctor [options] # Check a package the way the indexer and a reviewer would docspack preview ... [options] # Answer a query from the local package, as an agent would docspack eval [options] # Measure retrieval against a set of questions