# Kimi Conversations Archive This folder contains archived Kimi Code CLI sessions, automatically converted from `~/.kimi/sessions/` into readable markdown notes. ## Naming Convention ``` YYYY-MM-DD-.md ``` Example: `2026-04-15-hermes-mcp-oauth-fix.md` ## Frontmatter Every archive includes: ```yaml --- title: "Hermes Mcp Oauth Fix" date: 2026-04-15 agent: Kimi Code session_id: 4b234c03673220f26266132c420581d3 tags: - kimi-code - session-archive project: hermes-mcp --- ``` ## Sections in Each Archive 1. **Session Goal** — First user message (the objective) 2. **Summary** — Message counts and tool call counts 3. **Files Modified** — All files written or edited during the session 4. **Tools Used** — Which Kimi Code tools were invoked 5. **Key Transcript** — Selected user/assistant exchanges 6. **Final Outcome** — Last meaningful assistant response ## How to Archive a Session ### Automatic (latest session) ```bash ~/hermes-mcp/scripts/archive-kimi-session.sh my-topic ``` ### Manual (specific session) ```bash python3 ~/hermes-mcp/scripts/kimi-session-to-obsidian.py my-topic ``` ### Via Prompt (with hermes-mcp connected) Ask Kimi Code: > "Archive this session to Kimi Conversations/YYYY-MM-DD-my-topic.md using my Session Notes/Current.md as the source." ## Workflow 1. **Start** → Update `Session Notes/Current.md` with goal 2. **During** → Append milestones to `Session Notes/Current.md` 3. **End** → Promote `Session Notes/Current.md` to `Kimi Conversations/YYYY-MM-DD-topic.md` 4. **Reset** → Clear `Session Notes/Current.md` for next session