episteme — command reference

A one-page map of every episteme subcommand, grouped by lifecycle phase. Run episteme <command> --help for flags and arguments.

Source of truth: the argparse tree in src/episteme/cli.py — the completeness of this page against it is CI-enforced both directions (tests/test_commands_doc_drift.py), and naming the source here puts this page on the reverse index so CLI edits surface it (episteme docs map).

Scope key:


Daily

CommandScopeWhat it does
episteme bootstrap [path] / new-project [path]projectScaffold AGENTS.md, CLAUDE.md, docs/*, .claude/settings.json, .gitignore into the given directory.
episteme syncglobalPropagate kernel memory + governance policies into ~/.claude/ and ~/.hermes/. Run after editing anything under ~/episteme/core/memory/global/.
episteme start [claude|...]projectLaunch the preferred agent surface in the current project.
episteme doctorglobalVerify runtime wiring — Conda presence, core CLI tools, optional integrations.
episteme auditprojectCheck whether the current project session addressed its cognitive unknowns.
episteme memory {record,list,search,promote}globalCreate, list, search memory records; promote stable episodic patterns to semantic-tier proposals.

Setup & admin

CommandScopeWhat it does
episteme initglobalOne-shot memory seeding from the bundled examples. Checkout: seeds core/memory/global/. Installed package (E178): seeds the home lane $EPISTEME_HOME/memory/global/ (upgrade-surviving; outranked by a checkout in resolution). Never clobbers existing personalizations.
episteme setupglobalInteractive wizard that runs profile + cognition surveys end-to-end.
episteme profile {survey,infer,hybrid,gap,show,override,audit}globalManage operator-profile axes (planning strictness, risk tolerance, testing rigor, etc.); override sets a per-project axis override (Event 85) and audit ack <audit-id> acknowledges a drift verdict (Event 78).
episteme cognition {survey,infer,hybrid,show}globalManage cognitive-style axes (dominant lens, noise signature, abstraction entry, etc.).
episteme updateglobalPull the latest episteme from git.
episteme listglobalShow installed agents, skills, plugins, and active hooks.
episteme validateglobalCheck manifest integrity — every declared skill must have a SKILL.md.

Project tools

CommandScopeWhat it does
episteme detect [path]projectScore which harness type fits the project.
episteme harness {list,apply}projectList available harnesses; apply one to a project. A harness defines execution profile + workflow constraints for a project type.
episteme worktreeprojectCreate a git worktree for a bounded task in the current repo.
episteme viewerprojectLive local governance dashboard (E174) + control plane (E175): global operator-home state, current-project surface/doc-map/staleness, the DOC ADVISORY feed (3s poll, localhost:37776, auto-opens browser; --no-open). Actions: Tier 1 diagnostics + Tier 2 reversible maintenance as token-authenticated buttons (loopback-only, Host-checked); Tier 3 governance mutations render as copyable commands — deliberately not executable from the UI. Menu-bar companion: tools/xbar/episteme.30s.sh.
episteme captureprojectDraft a reasoning-surface.json skeleton from unstructured text (Slack thread, PR desc, ticket, email). Reads stdin.

Framework internals

CommandScopeWhat it does
episteme kernel {verify,update}frameworkKernel integrity manifest — verify working tree against kernel/MANIFEST.sha256, or regenerate it.
episteme chain {verify,reset,upgrade,recover}frameworkPillar 2 hash-chain operations over framework + reflective streams. recover covers reset / selective / migrate modes (CP-CHAIN-RECOVERY-PROTOCOL-01).
episteme guide [--deferred]frameworkList synthesized framework protocols and (with --deferred) open deferred discoveries.
episteme history {axis,policy,protocol}frameworkWalk Cognitive Arm A supersede-with-history streams: profile axis trajectories (Event 82), policy section changes (Event 83), synthesized-protocol supersede chains (Event 84).
episteme cognitive-budget {--summary,--check,--record,--list,--tail}frameworkInspect operator approval-time observations + D11 fatigue signal (Event 88, Cognitive Arm A).
episteme injectframeworkDeploy cognitive enforcement to any directory in one command.
episteme logframeworkShow audit log of reasoning-surface checks (passed / advisory / blocked).
episteme reviewframeworkReview sampled Layer 8 spot-check entries (operator verdicts).
episteme evolve {run,report,promote,rollback,friction}frameworkRun and manage gated self-evolution episodes.
episteme bridge {am,substrate}frameworkBridge external runtime event logs into memory-contract envelopes.
episteme private-skillframeworkEnable or disable a private experimental skill.
episteme surface {author,list,show,chain}practiceAuthor / sign / manage Signed Reasoning Surfaces (operator UX).
episteme evidence {view,packet}practiceAuditor-facing viewer + Regulator Evidence Packet exporter.
episteme verifypracticeStandalone signed-surface verifier (independent of the episteme runtime).
episteme practice {walk,retro,demo}practiceMake the practice tangible — walk / retro / demo without authoring a surface.
episteme reportpracticeQuantified value report — surface authoring, failure modes, Tier-1 soak, calibration trend.
episteme statusruntimeRuntime-state snapshot: surface freshness, branch, rigor, framework counts, profile drift.
episteme deferred {list,resolve}frameworkList OPEN deferred discoveries (project-scoped; --all-projects, --expired) or chain an operator verdict.
episteme docs {lint,index}docsDoc-lifecycle marker lint + generated docs index (--check gates CI).
episteme check {list,scaffold}governanceManage user-authored PreToolUse checks.
episteme bench {scaffold,run,grade,report}evaluationEmpirical-lift benchmark suite: paired-comparison runner + blind LLM grader.
episteme dev watchdevelopmentSource-to-plugin-cache file watcher for plugin development.
episteme new-projectscaffoldInteractive wrapper over bootstrap for starting a fresh governed project.
episteme verify-examplesdocsStructural-parity guard: core/memory/global/examples/*.example.md stay at v2.

Quick maps

Starting from scratch on a new machine:

git clone <episteme> ~/episteme
episteme init            # seed global memory from examples
episteme setup           # profile + cognition wizard
episteme sync            # propagate to ~/.claude / ~/.hermes
episteme doctor          # verify wiring

Starting a new project:

cd ~/my-new-project
episteme bootstrap .     # scaffold docs + settings
# edit docs/REQUIREMENTS.md
episteme start claude    # launch agent surface

After editing your operator profile:

# edit ~/episteme/core/memory/global/operator_profile.md
episteme sync            # propagate changes

Scope rule of thumb. If a command takes a [path] argument, it's project-scoped. If it doesn't, it's almost certainly global.