Reflexio Docs
Claude Code Plugin

Slash Commands

Reference for the five slash commands the claude-smart plugin installs in Claude Code.

Slash Commands

claude-smart installs five slash commands. Run any of them from your Claude Code prompt.

/show

Print the current project playbook and the current session's user profiles as markdown — exactly what SessionStart injects into Claude's system prompt.

Use /show to audit what rules and preferences Claude is being told to follow right now. It's the fastest way to confirm that a new rule you just taught has been extracted and will survive into future sessions.

/show

/learn

Force Reflexio to run extraction now on this session's unpublished interactions. Without this command, extraction runs at SessionEnd or on Reflexio's batch interval.

Typical usage: you just corrected Claude on something, you don't want to close the session, and you want the rule available in the next session. Run /learn, wait 20–30 seconds, then run /show to confirm the rule was extracted.

/learn

/tag [note]

Tag the most recent turn as a correction. The optional note becomes the correction description that the extractor sees.

Use this when the automatic heuristic missed a correction — for example if you phrased the fix gently, or the correction is implicit in a follow-up instruction. Tagging raises the extractor's confidence that this turn should produce a rule.

/tag
/tag prefer pnpm over npm in this repo

/restart

Restart the Reflexio backend (localhost:8081) and the dashboard (localhost:3001) so they pick up changes — for example, after editing ~/.reflexio/.env or upgrading the plugin.

/restart

/clear-all

Destructive. Delete every Reflexio interaction, profile, and user playbook on this machine. This wipes ~/.reflexio/data/reflexio.db and the session buffers under ~/.claude-smart/sessions/.

Use this when you want a true clean slate — for example, to start a new project from zero or after experimenting with configuration changes.

/clear-all

There is no undo. Make sure nothing in your playbook or profiles is worth keeping before running /clear-all. The dashboard at http://localhost:3001/playbooks lets you delete individual rules if you only want a targeted cleanup.