rclm-hooks) are the highest-fidelity capture method ReclaimLLM offers. They plug directly into the lifecycle events of Claude Code, Gemini CLI, Codex CLI, Cursor, and GitHub Copilot (VS Code), recording everything that happens during a session: every message turn, every tool call and its result, every file the agent created or modified (with before-and-after diffs), and precise token usage. One install command sets everything up invisibly — after that, your sessions appear in the dashboard automatically.
The free tier includes 200 hooks-captured sessions. Browser extension and local API proxy (
rclm-proxy) sessions are unlimited on all plans. The hosted Enterprise Gateway is Enterprise-only. See pricing →Install native hooks
1
Install the package
Install the
rclm Python package from PyPI:2
Run the hook installer
Run The installer opens your browser to reclaimllm.com/settings so you can create an API key without any copy-paste. It then writes your credentials to
rclm-hooks-install to register hooks across all supported providers at once:~/.reclaimllm/config.json and registers hooks in each provider’s settings file.Expected output:3
Verify the installation
Start any Claude Code, Gemini CLI, Codex CLI, Cursor, or GitHub Copilot session. The session appears in your dashboard within seconds of it ending. You can also check the local session spool:If session files appear there, hooks are working correctly.
All CLI flags
Provider selection
Install hooks for all supported providers (the default) or target a single one:Scope
By default, hooks are installed globally (your home directory). To restrict capture to the current project only:--local install writes hook configuration into the current directory rather than ~/.claude/, ~/.gemini/, ~/.codex/, ~/.cursor/, or ~/.copilot/ (e.g. .github/hooks/rclm.json for Copilot), so only sessions started from that project folder are captured.
Coverage check-in and repair
Enterprise Coverage enrolls the machine on check-in (session start, repair, or heartbeat). Useful flags:Upload folder filters
Use--include-folder when hooks are installed globally but uploads should be limited to specific project trees:
redaction.include_folders in ~/.reclaimllm/config.json. When the list is non-empty, sessions from every other folder are skipped locally.
Use --exclude-folder to block specific folders when no include allowlist is configured:
MCP integration
MCP server registration is on by default withrclm-hooks-install, alongside your hooks. To skip it:
search_sessions, get_session, and summarize_session tools so your assistant can pull prior session context without manual copy-paste. See MCP Server for the full tool list.
Statusline
A Claude Code statusline is also installed by default, showing context usage, rate limits, peak-hour status, model, and git branch. To skip it:API key
Token-reduction hooks
Read caching and loop detection are enabled by default for new installations. Smart output compression and shadow mode are opt-in:Data loss prevention
include_folders, and exclude_folders. Run rclm-update after changing app-managed substitutions to refresh the local cache.
What gets captured
Every hooks session includes:File and config locations
Troubleshooting
Sessions aren't appearing in the dashboard
Sessions aren't appearing in the dashboard
Check that the session spool directory contains files after you run a session:If the directory is empty, the hooks may not be registered. Re-run
rclm-hooks-install and confirm the output shows ✓ Hooks installed for your provider.Checking your config
Checking your config
Inspect the config file to confirm your API key was saved:If the file is missing or the key field is empty, re-run the installer with
--api-key=<your_key>.Installing for only one provider
Installing for only one provider
If you only use one CLI tool, install for that provider specifically to keep hook registration minimal:
Limiting capture to selected folders
Limiting capture to selected folders
If you don’t want hooks uploading sessions from every folder on your machine, set an include allowlist during installation:The installer writes this to
redaction.include_folders in ~/.reclaimllm/config.json. When include_folders is non-empty, sessions from every other folder are skipped locally.For project-local hook registration, you can still use --local inside the project directory you want to monitor: