Claude Code session
Claude Qmd Sessions
Persistent chat session memory for Claude Code with qmd. Index updates itself via Claude hooks.
Install
git clone https://github.com/wbelk/claude-qmd-sessions.gitFrom the README
qmd-sessions
Claude Code skill that converts JSONL session transcripts into searchable markdown and indexes them in qmd.
Installation
1. Copy the skill directory to your Claude Code skills folder:
2. Start a new Claude Code session and run:
The skill walks through all setup interactively — output directory, conversion, qmd collection, embeddings, MCP server, hooks, and CLAUDE.md guidance. Each step prompts for confirmation.
What it does
1. Reads session JSONL files from ~/.claude/projects/
2. Extracts user messages + assistant text responses (skips tool_use, tool_result, thinking blocks)
3. Outputs organized markdown: {project}/{date}-{slug}-{id}.md
4. Indexes in qmd for semantic + keyword search via MCP
Files
Usage
refresh outputs both CLAUDE.md files and the last ~50 exchanges (100 turns, capped at 14,000 characters) collected from recent sessions into context. Useful for manually restoring context in a fresh session.
The setup wizard walks through interactively: output directory, conversion, verification, then checks for Bun, qmd, collection, embeddings, MCP server, hooks, and CLAUDE.md guidance.
Hooks
Four Claude Code hooks keep the index current and restore context (configured in ~/.claude/settings.json):
- PreCompact — converts session before context compaction, runs qmd update && qmd embed
- SessionEnd — converts session on exit, runs qmd update && qmd embed
- SessionStart (compact/resume/clear) — converts the session, then outputs both CLAUDE.md files and the last ~50 exchanges (from multiple recent sessions, sorted by cwd match, capped at 14,000 characters) to stdout so Claude receives instructions and conversation context after compaction.
- SessionStart (startup) — outputs CLAUDE.md files to stdout. If loadContextOnStartup is enabled in…Details
- Repository
- wbelk/claude-qmd-sessions
- Language
- JavaScript
- Last updated
- 8 March 2026
FAQ
What is Claude Qmd Sessions?
Persistent chat session memory for Claude Code with qmd. Index updates itself via Claude hooks. It is a session for Claude Code, from wbelk/claude-qmd-sessions on GitHub.
How do I install Claude Qmd Sessions?
Clone wbelk/claude-qmd-sessions from GitHub and follow the setup steps in its README.
Is Claude Qmd Sessions popular?
wbelk/claude-qmd-sessions has 50 GitHub stars and 7 forks. It was last updated on 8 March 2026.
More sessions & history
Claude Transplant
50vitaliyhayda/claude-transplant
Claude Desktop shows an empty Code sidebar after you switch accounts. This moves the session history to the account you are using. macOS, menubar or CLI.
Claude 3d Frog Office
46d-onworks/claude-3d-frog-office
Claude Code 세션을 개구리·카피바라 직원으로 보여 주는 3D 사무실 · A view-only 3D office that shows each Claude Code session as a frog or capybara employee. Local only, zero dependencies, macOS & Windows.
Memory Bank
47Nagendhra-web/memory-bank
Persistent memory for Claude Code — 3-5x longer sessions, 60-80% fewer wasted tokens. Branch-aware, self-healing, token-efficient.
Ccheckpoints
35p32929/ccheckpoints
Automatic checkpoint tracker and web dashboard for Claude Code CLI sessions — Cursor-style history and diffs
Clave
51antasphere/clave
A macOS desktop app for managing multiple Claude Code sessions
Claude Code Cleaner
49GarrickZ2/claude-code-cleaner
Interactive TUI tool to clean up disk space accumulated by Claude Code (~/.claude/) — reclaim GBs from orphaned project caches, old session data, debug logs, telemetry, and stale config entries.
Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.