XF Commands

Everything you can say to XF.

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. New to XF? Start with /xf-help.

XF Xecution Assurance

XFXA Pro

Verify that what was built matches what you intended. Checks each terminal as binary — met or unmet. Run it before you commit.

CommandWhat it does
/xfxa 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.
/xfxa <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.
/xfxa 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.
How XFXA verifies: For each terminal, XF first does a mechanical check (exact string matching, pattern detection). If the terminal needs semantic reasoning, it calls a fast model. The LLM's answer is never trusted for things that can be checked mechanically — this is how XF catches hallucination.

XF Memory

XFMT Free

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.

CommandWhat it does
/xfmt Save a snapshot now. Writes the current session to memory immediately — useful before a risky refactor, before compacting context, or at a natural milestone.
/xfmtr <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 XFMT tree?" Returns the most relevant snapshots.

Tool Dispatch

XFTD Free

See what tools XF is recommending for your current task. Dispatch runs automatically — this command shows you what it found.

CommandWhat 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.

Token Control

XFTC Free

XFTC fires automatically when your context hits 60% or 85%. You can also trigger a snapshot + compact manually.

CommandWhat it does
/compact Compact context now. Standard Claude Code compact — XF automatically saves a snapshot to XFMT first so nothing is lost. Always run /xfmt before /compact if XFTC hasn't already.
When XFTC fires: It asks "Snapshot and compact now, or keep going?" — say "snapshot now" and XF handles the rest. Your next session loads with full context from the snapshot.

Utilities

XF Free

Maintenance commands for keeping your XF setup clean as it grows.

CommandWhat it does
/xf-help Show all XF commands. New to XF or can't remember a command? This prints every available command grouped by module — what it does, when to use it, whether it's free or Pro. Start here.
/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.

How commands work in Claude Code

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.

XF commands are conversational. After you run /xfxa, 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.

Questions about a specific command?

Just ask Claude — XF's behavior is self-documenting inside the session.

See how it all fits together →