docpack Docs
docpack keeps your team's procedures current: plain Markdown in your repo, a searchable site for people, an MCP server for your agent, and a status on every page that your agent's runs keep honest.
60 docs · 56 up to date · 4 draft · published 2026-12-03 02:17 PST · build 6c7a649cef65
docpack turns the Markdown in your repo into a searchable site for people and an MCP server for your agent, with a status on every page. Install it and preview your first page in about five minutes.
curl -fsSL https://raw.githubusercontent.com/MaxLisaius/docpack-cli/main/install.sh | sh
Continue to Quickstart: install docpack and preview your first page →
Start here
New to docpack? These pages get you from nothing to a working site and a connected agent.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| Quickstart: install docpack and preview your first page docpack turns the Markdown in your repo into a searchable site for people and an MCP server for your agent, with a status on every page. Install it and preview your first page in about five minutes. |
✓ UP TO DATE | Jul 29, 2026 · corrected 8 days ago | |
| What is docpack The product in one page: version-controlled docs that render to a badged site and machine surfaces, kept true by an agent read/write loop. |
✓ UP TO DATE | Jul 22, 2026 · corrected 37 days ago | |
| Adopt an existing repo with docpack adopt How to run `docpack adopt`: stamp valid frontmatter onto plain Markdown a repo already has, then work the five-stage decision queue it reports. |
✓ UP TO DATE | Oct 1, 2026 · corrected 10 days ago | |
| Get started with the hosted service No invitation needed: install the GitHub App for a hosted space, or download the CLI. The two Claude skills, document-this and runbook-run, are shared on request. |
✓ UP TO DATE | Oct 1, 2026 · corrected 23 days ago |
Connect your agents
Give your coding agent the docs over MCP, and mint the token it needs.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| Connect a docpack space to Claude as a custom connector Connect Claude to a hosted docpack space: make a key with one click, paste one command into Claude Code (or set up Claude.ai), and check it works. |
◆ DRAFT | — · corrected 3 days ago | |
| Connect a coding agent via MCP Coding agents talk to a pack over the Model Context Protocol: docpack mcp speaks newline-delimited JSON-RPC 2.0 on stdio and exposes five tools. |
✓ UP TO DATE | 54 days ago · corrected 21 days ago | |
| Mint a read token for an agent Read-scoped tokens let an agent (or any non-interactive caller) read a private space via Authorization: Bearer <token> without a human session. |
✓ UP TO DATE | 49 days ago · corrected 47 days ago | |
| The MCP server The stdio (and hosted) MCP server exposing five tools to agents: search_docs, read_page, get_snippet, next and record_change — next answers what to do, and record_change records that you changed a page. |
✓ UP TO DATE | Jul 29, 2026 · corrected 8 days ago | |
| Run the MCP server with docpack mcp How to run `docpack mcp`: start the stdio MCP server exposing the four tools. |
✓ UP TO DATE | Aug 1, 2026 · corrected 21 days ago | |
| Assemble agent context with docpack context How to run docpack context — a token-budgeted map of the corpus, meant to be pasted into a CLAUDE.md so agents know the docpack exists before they search. |
✓ UP TO DATE | Jul 22, 2026 · checked 49 days ago |
Everyday CLI
The commands you run once docs exist: create, build, check, search, edit, publish.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| Start a new docpack with docpack init How to run `docpack init`: scaffold a docpack.toml and docs/ tree. |
✓ UP TO DATE | Aug 5, 2026 · corrected 8 days ago | |
| Wire your coding agents to the pack with docpack connect How to run `docpack connect`: write the MCP config and the pointer block every common coding agent needs, in one step. |
◆ DRAFT | — · checked 9 days ago | |
| Add a new doc to the pack Scaffold, link, and validate a new typed page so it appears in the built site. |
✓ UP TO DATE | Jul 29, 2026 · corrected 8 days ago | |
| Build and preview the docpack site Build the docpack into the static site bundle and preview it locally. |
✓ UP TO DATE | Oct 1, 2026 · corrected 8 days ago | maxlisaius |
| Build the site with docpack build How to run `docpack build`: render and emit the HTML bundle plus machine surfaces to <root>/site. |
✓ UP TO DATE | Jul 22, 2026 · corrected 7 days ago | |
| Approve public pages with docpack approve How to run `docpack approve`: a person signs off a public page's current text so `docpack build --public` publishes it, and how to see what is waiting. |
◆ DRAFT | — · corrected 7 days ago | |
| Preview docs locally with docpack preview How to run `docpack preview`: build, serve on localhost, and open a browser (with --watch to rebuild on change). |
✓ UP TO DATE | Jul 29, 2026 · corrected 14 days ago | |
| Validate structure with docpack check How to run `docpack check`: structural validation: dangling links, missing refs, duplicate ids, orphans. |
✓ UP TO DATE | Jul 22, 2026 · corrected 8 days ago | |
| Enforce trust with docpack audit How to run `docpack audit`: the trust gate — fail when a verified page does not compute green. |
✓ UP TO DATE | Aug 1, 2026 · corrected 37 days ago | |
| Search the corpus with docpack search How to run `docpack search`: section-level search; every hit carries a freshness badge. |
✓ UP TO DATE | Jul 22, 2026 · corrected 22 days ago | |
| Search The in-corpus search index and query used by the CLI search verb and the MCP search_docs tool. |
✓ UP TO DATE | Jul 26, 2026 · reconciled 15 days ago | |
| Get exact command bytes with docpack snippet How to run `docpack snippet`: print a code block copy-exact, filling {{VARS}}. |
✓ UP TO DATE | Jul 29, 2026 · corrected 37 days ago | |
| Create a doc with docpack new How to run `docpack new`: scaffold a new doc with a generated id and valid frontmatter. |
✓ UP TO DATE | Jul 29, 2026 · corrected 8 days ago | |
| Make a public wiki Go from an empty repo to a built public static site: init, public pages, check, a person's approve, build --public, and the two ways to put it online. |
◆ DRAFT | — · reconciled yesterday | |
| Edit a doc in the browser with docpack edit How to run docpack edit — a localhost-only WYSIWYG editor that writes the Markdown source back losslessly, leaving everything you did not touch byte-for-byte intact. |
✓ UP TO DATE | Jul 29, 2026 · corrected 14 days ago | |
| Edit a page from the website How to fix a doc from your browser, with no git and no checkout — what you click, what happens next, and why your change waits for review. |
✓ UP TO DATE | 49 days ago · reconciled 18 days ago | |
| Move or rename a doc with docpack mv How to run `docpack mv`: rename a doc and record a redirect. |
✓ UP TO DATE | Jul 29, 2026 · corrected 22 days ago | |
| Publish a pack's source with docpack publish How to run `docpack publish`: push a pack's source to a config-mode docpackd space, which token it needs, what it prints, and where it does not work. |
✓ UP TO DATE | 49 days ago | |
| Inspect corpus stats with docpack stats How to run `docpack stats`: print corpus counts and health. |
✓ UP TO DATE | Jul 22, 2026 · corrected Aug 8, 2026 | |
| Serve a docpack over HTTP with docpack serve How to run `docpack serve`: serve a built pack over HTTP locally. |
✓ UP TO DATE | Jul 29, 2026 · corrected 14 days ago | |
| Record a run with docpack log How to run `docpack log`: append a run to a doc ledger, flipping its badge. |
✓ UP TO DATE | Jul 22, 2026 · corrected 9 days ago | |
| Find stale docs with docpack stale How to run `docpack stale`: drain the reader-flagged stale-doc queue. |
✓ UP TO DATE | Jul 29, 2026 · corrected 22 days ago | |
| Quarantine a doc with docpack quarantine How to run `docpack quarantine`: mark a doc do-not-use with a status_reason. |
✓ UP TO DATE | Jul 29, 2026 · corrected 22 days ago | |
| Backfill receipt fingerprints with docpack fingerprint How to run `docpack fingerprint`: record, from git history, which page text each existing receipt vouched for. |
✓ UP TO DATE | 24 days ago · corrected 22 days ago | |
| Find docs behind their code with docpack drift How to run `docpack drift`: list docs whose covered code changed since the doc last did. |
✓ UP TO DATE | Jul 22, 2026 · corrected 10 days ago | |
| Run docpack work How to run `docpack work`: the merged documentation work queue — decayed trust, unproven pages, git drift, and uncovered code, ranked. |
✓ UP TO DATE | Oct 1, 2026 · reconciled yesterday | |
| The CLI The docpack CLI: every verb, its flags, and when to reach for it — the same commands the site's copy buttons and the MCP tools run under the hood. |
✓ UP TO DATE | Jul 21, 2026 · reconciled 2 days ago | |
| Variables and copy payloads The one substitution + copy-payload engine: {{VAR}} fills, exact copy bytes for snippets, and secret variables the site panel never stores. |
✓ UP TO DATE | Oct 1, 2026 · corrected 37 days ago | |
| Put a chart or diagram on a page How to draw a chart from a few lines of CSV or a Mermaid diagram in a docpack page, what a bad block looks like, and what a figure is not. |
✓ UP TO DATE | 49 days ago | |
| Organize the nav with [[nav]] The optional [[nav]] array-of-tables in docpack.toml: group pages into named, ordered, pinnable sections instead of the default directory-then-type grouping — schema, the id-not-path rule, and what happens to a page no group claims. |
✓ UP TO DATE | Oct 1, 2026 · corrected 10 days ago |
Keep docs trustworthy
How a badge gets earned, and how to act on one that has decayed.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| The trust model Computed freshness/trust badges, the draft/verified/stale/quarantined lifecycle, and the audit gate that enforces them. |
✓ UP TO DATE | Jul 21, 2026 · corrected 7 days ago | |
| Freshness and badges How each page badge is computed from status, review clock, and the append-only runs ledger. |
✓ UP TO DATE | Jul 22, 2026 · reconciled 9 days ago | |
| Promote a doc to verified Promoting a doc to status: verified is a claim, and docpack audit is the gate that checks the claim is honest — that the page's computed badge actu... |
✓ UP TO DATE | Jul 29, 2026 · corrected 8 days ago | |
| Quarantine and heal a broken doc Some docs aren't just stale or failing — they're wrong at the root, and continuing to serve them (or let an agent run them) does harm. |
✓ UP TO DATE | Oct 1, 2026 · corrected 22 days ago | |
| Check and audit The validation rules (links, refs, ids, orphans) and the trust gate that fails the build on a lying verified page. |
✓ UP TO DATE | Jul 28, 2026 · corrected 8 days ago | |
| Validate a docpack before you commit Three gates run in sequence before a docpack is trustworthy to commit — run them locally, in order, before every commit or PR. |
✓ UP TO DATE | 58 days ago · corrected 37 days ago | |
| The dogfood loop The read/write loop: agents run a process, log what actually happened, and heal the page at the point of injury. |
✓ UP TO DATE | Oct 1, 2026 · corrected 22 days ago | |
| How docpack compares Source of record for the comparison table on the docpack.dev home page. docpack against Mintlify, GitBook, ReadMe and Fern on page trust, who keeps docs current, and price. |
✓ UP TO DATE | 22 days ago |
Capture and import
Turning a session's evidence into a runbook, and bringing existing Markdown, HTML, Confluence, or Notion content into a corpus.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| Capture a runbook with docpack capture How to run `docpack capture`: assemble an evidence journal into a draft runbook. |
✓ UP TO DATE | Jul 29, 2026 · corrected Oct 1, 2026 | |
| Import HTML or Confluence with docpack import How to run `docpack import`: convert HTML/Confluence/Notion exports into reviewable drafts. |
✓ UP TO DATE | Oct 1, 2026 · corrected 36 days ago | |
| Import: HTML, Confluence, Notion HTML→Markdown conversion so existing docs and Confluence/Notion exports enter the corpus as reviewable drafts. |
✓ UP TO DATE | Oct 1, 2026 · corrected 36 days ago | |
| Migrate an existing docs site Bulk migration means running docpack import once per exported page, then working the resulting drafts through review — frontmatter, links, and stat... |
✓ UP TO DATE | Oct 1, 2026 · corrected 22 days ago |
Hosted service
Onboarding an org and managing spaces with an org:admin token.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| Onboard an org on the hosted service Connect your org's repos to the hosted service and turn a discovered pack into a live, served space from the admin dashboard. |
✓ UP TO DATE | 24 days ago · corrected 3 days ago | |
| Use an org:admin token to manage spaces from an agent or script An org:admin token lets a non-interactive caller create, rebuild and delete hosted spaces over HTTP — and by design it can tighten access but never widen it. |
✓ UP TO DATE | 49 days ago · corrected 8 days ago |
Trust and legal
Privacy, security and terms. Not public yet: the public build prunes non-public ids, so these appear only on the internal site until the owner reviews them.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| Privacy policy What the hosted docpack service collects, why, where it is stored, who else handles it, and exactly what deletion does. |
✓ UP TO DATE | 37 days ago · reconciled 2 days ago | |
| Security and data handling What the docpack GitHub App can read and write, how edits reach your repository, and how keys, sessions and storage are protected. |
✓ UP TO DATE | 37 days ago · reconciled 3 days ago | |
| Terms of service The plain terms for using the hosted docpack service: accounts, your content, acceptable use, the beta, billing, and ending the relationship. |
✓ UP TO DATE | 37 days ago |
How it all works
The engine underneath the CLI: format, rendering, the editor, the route to green.
| Doc | Status | Last verified | Owner |
|---|---|---|---|
| The corpus format (v0) The Markdown + YAML frontmatter format you write pages in: required and optional fields, sections and snippets, images, and the link graph docpack validates. |
✓ UP TO DATE | Jul 28, 2026 · corrected 7 days ago | |
| Why docs are plain files in git Docs live as Markdown plus frontmatter in git; wikis and build services lose grep, diff, and agents. |
✓ UP TO DATE | Aug 7, 2026 · corrected 37 days ago | |
| The editor: lossless read/write docpack edit writes straight back to your Markdown source, losslessly: fences, {{variables}}, and links you didn't touch survive byte-for-byte. |
✓ UP TO DATE | Jul 29, 2026 · corrected 22 days ago |