Screenshot docs that never go stale
docsxai
Screenshot docs that never go stale. Write a flow once, and docsxai rebuilds every screenshot from your running app on each release, byte for byte, with no agent in the run.
npm install -g docsxai@nextNeeds Node 26 or newer.
What it makes


One capture, raw and burned with a caption theme.


One flow, eight variants. Output as docsxai run prints it.
How it works
Same flow, same bytes
A frozen clock and a pinned locale, timezone and viewport. diff --fail-on warn
fails CI when a screenshot drifts from the committed baseline.
One flow, every variant
A matrix block runs the flow per locale, color scheme and viewport, up to 64
combinations.
An agent writes it once
The Claude Code plugin writes and lints the flow. Every run after that costs no tokens.
Viewer or plain PNGs
Halos and callouts in an interactive viewer, or burned into PNGs with a caption theme. Redactions mask sensitive UI before anything hits disk.
Plugins publish it
Publishers for Confluence, GitBook, Guru, Notion and SharePoint. SharePoint is on npm as experimental. The rest are repo-only for now.
First run
- Step 1
Make a workspace
docsxai init my-docs --app-url http://localhost:3000 --auth noneBehind a login? Drop
--auth none, then rundocsxai capture-auth my-docs.Expect
created: flows/, docs/, auth/, .auth/, .viewer/, .gitignore, .docsxai.json, flows/example.flow.yaml.sample, README.md - Step 2
Check the setup
docsxai doctor my-docsA failing line ends with its fix.Expect
ok: config: .docsxai.json fields are valid - Step 3
Add a flow with an agent
/plugin marketplace add kalebteccom/docsxai /plugin install docsxai@docsxaiThen ask Claude Code: "add a flow to my-docs: open Reports and show the export button".
Expect
next: docsxai run my-docs (then: docsxai render my-docs) - Step 4
Run it
docsxai run my-docsReplays the flow in headless Chromium.Expect
run: 1 of 1 flow ok, outputs in my-docs/docs - Step 5
Open the docs
docsxai render my-docsHover or tap a halo to read its callout.Expect
render: open /path/to/my-docs/.viewer/index.html