Bad CLI usage (missing required arg, unknown command).
Environment variables
PRIME_DIR — default compiled-output directory the runtime + MCP server use.
DEEPSEEK_API_KEY — enables L2 LLM checking.
ANTHROPIC_API_KEY — alternative L2 backend.
PRIME_REGISTRY — default --remote if not specified.
Help output
$ prime --help
prime v0.1.0 — A protocol layer for AI knowledge.
Usage: prime <command> [options]
Core:
init Create a new .prime file
compile <file> Compile .prime → atom dir + index
check <file> Validate without emitting
test <file> Run evaluation criteria tests
graph <file> Visualise relationship graph
Authoring:
decompose <SKILL.md> AI-assisted Skill → Primes decomposition
compose --name <name> Compose Primes into a new Skill
Registry (local):
list [--scope @s] List atoms
show <@scope/name> Print atom details + edges
deps <@scope/name> Walk dependency tree
install <@scope/name> Resolve atom + verify deps locally
Distribution:
install [name] Install Prime(s) from prime.dev
publish Publish to prime.dev
search <query> Search the registry
info <name> View Prime details
ls List installed Primes (.primes/)