Skip to main content

File Reference

Everything Kalami creates, where it lives, and what it does.

.kalami/ — Experience and state

FilePurpose
index.mdExperience database — all rules ever learned
state.jsonSession counter, EXP, budget, hardened rules, diagnosis
config.jsonDetection results (language, framework, PM, verify commands)
profile.jsonProject stack profile, conventions, learned commands
progress.mdSession history for cross-session continuity
statusline.txtGenerated statusline for harness delivery
plans/Active plans from the planning skill
backup/Original CLAUDE.md backup (restored on uninstall)

.claude/rules/ — Active rules

FilePurpose
kalami-workflow.mdUniversal rules — commit format, branch naming, coding standards. Always active.
kalami-rules.mdLearned rules — path-scoped, regenerated from index.md each session

.claude/hooks/ — Session hooks

FileTriggerPurpose
kalami-session.shSessionStart, PreCompactRuns the learning loop
kalami-userprompt.shUserPromptSubmitDetects user corrections
kalami-postedit.shPostToolUse (Edit/Write)Tracks module activity, conventions, scope
kalami-postbash.shPostToolUse (Bash)Detects command errors
kalami-verify.shPreToolUse (git commit/push)Verify chain gate
kalami-stop.shStopReport card, verified counting
loop.shInternalLoop engine
loop-functions.shInternalShared functions for loop

.claude/skills/ — Dev flow skills

SkillPurpose
kalami-commit/SKILL.mdAtomic commit with verify chain
kalami-push/SKILL.mdPush with full test suite, auto-PR
kalami-release/SKILL.mdVersion bump + changelog + tag
kalami-review/SKILL.mdCode review checklist
kalami-plan/SKILL.mdMulti-file planning workflow

.claude/settings.json — Permissions

Kalami adds deny patterns to the permissions.deny array. Custom patterns you add are preserved across reinstall and uninstall.