Operations
The bridge, brain sharing, doctor, and what Kimetsu is not.
The bridge, brain sharing, doctor, and what Kimetsu is not.
The bridge
Kimetsu also runs as a cross-harness skill bridge. kimetsu bridge discovers
skills installed in supported hosts (Claude Code, Codex, Pi, OpenClaw, the
local kimetsu installation), exports a skill from one host into another, and
keeps a unified registry so the same skill works everywhere.
kimetsu bridge status shows what is installed where;
kimetsu bridge export <skill> --to <target> does the install.
Sharing brains
The bridge moves skills. Memories move as packs: a brain exported to one portable file that another brain can install.
kimetsu brain export team.json.gz --name rust-conventions --version 1.0.0
kimetsu brain import team.json.gz # merge (default)
kimetsu brain import https://example.com/pack.json.gz # install from a URL
kimetsu brain import other.json.gz --mode replace --yes # swap- Export always compresses (gzip) and always scrubs: credentials and PII
are redacted before the pack is written.
--strictaborts on a finding;--name/--version/--descriptionstamp a manifest. - Import reads a file, stdin, or a URL, and detects gzip on its own.
merge(default) dedups against what you have, so importing twice is safe.--mode replacesupersedes your memories in the pack's scope first; it needs--yesand invalidates rather than deletes, so a swap is reversible. Imports are scrubbed again on the way in.
For continuous replication, kimetsu brain sync exports and imports the
durable event log (idempotent per event), converging two brains without
copying SQLite files. Kimetsu Remote serves a shared brain per repository.
Background upkeep
The brain has a shelf of maintenance passes — consolidation, query-route rebuilding, prune-candidate detection, digest refresh, skill-candidate detection. Every one of them used to be a command a human had to remember to run, which in practice meant none of them ran.
kimetsu brain maintain runs whatever is overdue, each pass on its own
interval (reinforce and skills daily, digest twice daily, prune weekly), with
the last-run times in .kimetsu/maintenance.json. The session-start and
session-end hooks fire it detached when something is due, so it never sits
in front of a prompt, and there is no resident scheduler to supervise — the
same shape as the detached digest rebuild.
kimetsu brain maintain --status # what is overdue
kimetsu brain maintain # run the overdue passes
kimetsu brain maintain --force # run everything now
kimetsu brain maintain --only reinforce # one passEvery pass is model-free, so upkeep runs on the Free tier. Reflection is deliberately not among them: it is a model call, and a background model call is the kind of surprise bill this project exists to avoid. Pruning here only reports candidates — retiring a memory stays a human decision.
Doctor
kimetsu doctor validates that every subsystem works against the current
workspace: paths resolve, brain.db opens with a matching schema, the user
brain is reachable (or correctly disabled), the embedder loads, the MCP
server spawns, the bridge can scan hosts. Hermetic, safe in CI, --json for
hooks.
kimetsu doctor --selftest is the end-to-end proof: in a throw-away temp
project it records a memory and retrieves it back, exiting non-zero if any
step fails.
What kimetsu is NOT
- Not a model. It runs through a host agent or a configured provider.
- Not a sandbox. Tools run on the host machine.
- Not an external vector DB. The brain is one SQLite file per project; on the
embeddings build the ANN index is a
brain.usearchsidecar next to it. Backups arecp brain.db, and the brain auto-backs-up before any schema migration.
Where to go next
kimetsu doctorto verify your install.- The CHANGELOG for when each piece landed.
- Per-crate
src/lib.rsdoc comments for module-level detail.