$ ./bootstrap.sh --version
██╗ ██╗███████╗██╗███████╗███████╗██╗██╗ ██╗██╗████████╗ ██║ ██╔╝██╔════╝██║██╔════╝██╔════╝██║██║ ██╔╝██║╚══██╔══╝ █████╔╝ █████╗ ██║███████╗█████╗ ██║█████╔╝ ██║ ██║ ██╔═██╗ ██╔══╝ ██║╚════██║██╔══╝ ██║██╔═██╗ ██║ ██║ ██║ ██╗███████╗██║███████║███████╗██║██║ ██╗██║ ██║ ╚═╝ ╚═╝╚══════╝╚═╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
Claude Code's operating manual, agent fleet, and offline memory layer
system inventory
| load-bearing | 7 rules |
| topic rules | 22 in ~/.claude/rules/ |
| last lock | 2026-04-30 (kei-import runtime complete) |
| enforcement | 35 hooks live |
| specialists | 37 across 5 tiers |
| git-model | RULE 0.12 — own branch + 6-file artefact |
| orchestrator | RULE 0.13 — owns commit + push |
| ledger | ~/.claude/agents/ledger.sqlite |
| kei-memory | SQLite, offline pattern store |
| kei-ledger | agent fork registry + cost tracking |
| kei-registry | universal block identity (rules/skills/hooks/atoms) |
| kei-decompose | MD format decomposer + rule fragment parser |
| kei-model-router | Haiku/Sonnet/Opus selector with Bayesian posterior |
| kei-import-project | foreign-repo ingestion runtime (decompose / map / extract-skills / plan / execute) |
| kei-cortex | local AI runtime daemon |
| kei-mcp | MCP server for skills + atoms |
| kei-tty | TUI for the cortex stack |
| kei-skills | Hermes/agentskills.io SKILL.md format |
| kei-skill-importer | OpenClaw/Cline/Cursor/Claude/Kimi format parser |
| kei-gateway | Telegram/Discord/Slack/CLI multi-platform gateway |
| kei-cron-scheduler | cron/at/interval scheduler with JSON persistence |
| schedule | 03:07 local (cron-jittered) |
| phases | A:incubation → B:REM → C:NREM |
| queue | ≤5 tasks/night, 480min total |
| last run | 2026-04-30 04:27 (Phase B 5 sessions consolidated) |
store / featured skills (6 of 42)
/3d-scene
Use when building 3D scenes for web — Three.js, React Three Fiber (R3F), Spline embeds, GLTF/GLB loading, scroll-linked 3D, camera animations. Covers scene setup, model optimization, and performance
/a11y-audit
Use when auditing accessibility — WCAG 2.2 AA compliance, contrast checks, keyboard navigation, screen reader support, prefers-reduced-motion. Triggers on "accessibility", "a11y", "wcag", "sc
/ai-animation
Use when creating AI-powered animations and videos — nano-banana keyframes → Kling/Luma/Veo video generation via fal.ai → web-ready output. Full pipeline from concept to scroll-driven animation
/animate
Gateway router for web animation work. Picks between /scroll-animation, /motion-design, /web-effects, or /ai-animation via one AskUserQuestion call, then hands off. Does NOT implement animation — th
/api-design
Hub-and-spoke pipeline that produces a production-grade API design plan for a new or evolving service — style (REST / GraphQL / tRPC / gRPC), resource model, machine-readable contract (OpenAPI 3.1 o
/architecture
Multi-agent architectural analysis following the Holographic Development Chain. Use when user asks to design architecture, plan implementation, analyze system structure, or says "архитектур
install
# interactive wizard — RULE-aware $ curl -fsSL keiseikit.dev/install.sh | bash → detect platform: darwin/arm64 → link rules: 26 files → link hooks: 14 files (chmod +x) → link agents: 29 specialists → link skills: 42 user-invocable → link primitives: 8 binaries ✓ wizard complete. Run /sleep-setup next.
| offline-first | kei-memory + sleep layer never call out |
| append-only | traces immutable, sync silent on failure |
| private-by-default | no public push; private-remote-only (RULE 0.1) |
| secrets SSoT | ~/.claude/secrets/.env, no hardcoded tokens (RULE 0.8) |
| Rust-first | primitives are 2-12 MB Rust binaries (RULE 0.2) |
| no telemetry | zero phone-home, ever |
system / boot log
[14:22:08] tokens.css loaded [ok] [14:22:08] scanline overlay attached [ok] [14:22:08] ANSI palette mounted (6 hues) [ok] [14:22:08] session memory bound (47/200) [ok] [14:22:08] phosphor flicker [disabled] [14:22:09] READY. press [F1]–[F9] or click [ok]