Documentation Index
Fetch the complete documentation index at: https://docs.rafter.so/llms.txt
Use this file to discover all available pages before exploring further.
Troubleshooting
Quick diagnostic: rafter agent verify
Before diving into individual issues, run the built-in health check:
--probe to confirm hooks actually fire (not just that the file is on disk).
Python environment issues on Linux
Symptom:pip install rafter-cli fails with errors about missing ensurepip, venv, or pip.
Cause: Minimal Linux installations (Ubuntu, Debian, containers) often ship with a bare Python that lacks pip and venv.
Fix — install the missing system packages:
rafter --help crashes on fresh install
Symptom: Running any rafter command immediately crashes with a traceback referencing Click or Typer.
Cause: Click 8.3 changed internal APIs in a way that broke Typer 0.13.x (Parameter.make_metavar() signature changed). This caused an immediate crash on any rafter invocation.
Fix: Upgrade the rafter-cli package, which bundles a compatible Typer version:
Betterleaks not found after rafter agent init
Symptom: After initialization, rafter secrets outputs a warning like:
Note: rafter agent scan still works but is deprecated — it will be removed in a future major version.
PATH, Rafter falls back to its built-in pattern engine (21 secret patterns covering API keys, tokens, and private keys). All core functionality still works.
If you want full Betterleaks coverage, the easiest path is to let Rafter manage the binary for you:
~/.rafter/bin/betterleaks.
Or install it system-wide:
--with-gitleaks, you’ll have a leftover ~/.rafter/bin/gitleaks. rafter agent verify and rafter agent status detect this and tell you to run rafter agent update-betterleaks — they no longer error out on the legacy binary. The CLI flags --with-gitleaks, --engine gitleaks, and rafter agent update-gitleaks were removed in v0.8.0; use the -betterleaks equivalents.
If you prefer pattern-only scanning (no Betterleaks), simply omit --with-betterleaks during init, or pass --engine patterns when scanning:
OpenClaw skill not installed after rafter agent init
Symptom: After running rafter agent init, OpenClaw does not receive the Rafter skill. The init output does not mention OpenClaw.
Cause: rafter agent init detects OpenClaw by checking for the ~/.openclaw directory. If OpenClaw is installed but that directory does not exist yet (e.g., OpenClaw has never been run), detection fails silently.
Fix — run OpenClaw at least once first, then re-initialize:
false, enable it manually:
Still stuck?
Get Help
- Documentation: docs.rafter.so
- GitHub Issues: rafter-cli/issues
- Support: rafter.so/help

