XF runs automatically — you don't need commands to use it. But when you want to invoke something directly, these are the tools. Type them in Claude Code just like you'd type anything else.
Verify that what was built matches what you intended. Checks each terminal as binary — met or unmet. Run it before you commit.
| Command | What it does |
|---|---|
| /xfdb | Run verification. Auto-detects the most recent spec or plan, checks each terminal against your codebase, and reports what's met and what isn't. |
| /xfdb <path> | Verify against a specific spec. Point at any spec file — useful when you have multiple specs in a project or want to verify against an older one. |
| /xfdb synthesize | Build a spec from scratch. No spec yet? XF drafts one from your conversation — what you said you were building, what decisions you made — then runs verification against it. |
Your session memory. XF writes a snapshot automatically at the end of every session — but you can also trigger it manually, or search across everything you've ever built.
| Command | What it does |
|---|---|
| /xf-mem | Save a snapshot now. Writes the current session to memory immediately — useful before a risky refactor, before compacting context, or at a natural milestone. |
| /xf-memr <query> | Search your memory. Find context from any past session — "what did we decide about auth?", "how did we set up Stripe?", "what's the status of the XF-MEM tree?" Returns the most relevant snapshots. |
See what tools XF is recommending for your current task. Dispatch runs automatically — this command shows you what it found.
| Command | What it does |
|---|---|
| /dispatch | Show pending recommendations. Displays any tool recommendations Dispatch has queued — the tool name, why it was matched, and how to install it. Clears the badge after viewing. |
XFTC fires automatically when your context hits 60% or 85%. You can also trigger a snapshot + compact manually.
| Command | What it does |
|---|---|
| /compact | Compact context now. Standard Claude Code compact — XF automatically saves a snapshot to XF-MEM first so nothing is lost. Always run /xf-mem before /compact if XFTC hasn't already. |
Maintenance commands for keeping your XF setup clean as it grows.
| Command | What it does |
|---|---|
| /dispatch-compact-md | Compact CLAUDE.md files. When your project config files get oversized (XFTC will flag them), this command moves ref-only sections to ~/.claude/ref/ and replaces them with pointer lines. Keeps Claude's working context lean. |
Type any XF command directly in the Claude Code prompt, exactly as written. You don't need to install anything extra — commands are part of XF's skill layer, installed with the framework.
/xfdb, Claude walks you through the result in plain English and asks what you want to do next. You don't need to know the output format — XF explains it.
Just ask Claude — XF's behavior is self-documenting inside the session.
See how it all fits together →