swarmvault export ai

Export the compiled wiki as static files for agents, crawlers, documentation systems, and other tools that should not need a running viewer or MCP server.

Usage

swarmvault export ai [--out <dir>] [--max-full-chars <n>] [--no-page-siblings]

Options

  • --out <dir> - Output directory. Defaults to wiki/exports/ai.
  • --max-full-chars <n> - Maximum characters to include in llms-full.txt. Defaults to 5000000.
  • --no-page-siblings - Skip per-page .txt and .json sibling files.

Examples

swarmvault export ai
swarmvault export ai --out ./exports/ai
swarmvault export ai --out ./exports/ai --max-full-chars 10000000
swarmvault export ai --out ./exports/ai --no-page-siblings

Output Files

The export pack writes:

  • llms.txt - Compact wiki index and orientation file
  • llms-full.txt - Full bounded text bundle for static ingestion
  • graph.jsonld - JSON-LD representation of graph nodes, edges, and page metadata
  • manifest.json - File inventory with sizes and hashes
  • ai-readme.md - Human-readable notes for consuming the pack
  • pages/*.txt and pages/*.json - Optional per-page sibling files

Run swarmvault compile first if the wiki or graph artifacts are missing. Use `graph export` when you need an interactive or interoperable graph artifact instead of a text-first AI handoff pack.