How commands work

The one thing to know: day-to-day AuthRight work is AI coding agent + AuthRight.

  • After authright init, type host slash commands or skills in agent chat (Cursor, Claude Code, Codex). That is where the host model runs—Brief, judgment packs, plan talk, handoff elaboration.
  • authright … in the terminal is the same public binary for bootstrap (init / update) and for offline twins skills may shell. A bare terminal authright scan, explore, change --analyze, and similar verbs do not call an LLM. Do not use the shell as the happy path for the closed loop.

Product slash names in docs use colon form (/auth:scan, /auth:explore, /auth:change, /auth:request-match, /auth:to-openspec, /auth:to-plan, /auth:review, /auth:doc, /auth:doctor). What you type depends on the host — see the file-shape table below. /auth:explore and /auth:change are two Decide commands — pick one (prefer change on first loop). /auth:to-openspec and /auth:to-plan are two handoff commands — pick one.

If you type /auth:scan into your terminal and nothing useful happens, this page is why. If Cursor does not register /auth:scan, type /auth-scan instead. Do not “fix” a missing slash by switching to terminal authright scan for the LLM path—run authright update and use the host form in chat.

authright init writes .authright/AGENTS.md (a managed playbook). Generated skills and commands tell the agent to read that file first. AuthRight does not create /auth:agents and does not edit repository-root AGENTS.md / CLAUDE.md.

Public vs agent vs internal (same authright binary)

TierMeaning
Human happy pathHost chat forms after init — First loop
Public terminalOffline verbs + init / update — CLI (no hosted LLM)
Agent-facingSame public verbs with --invoke / --json — skills and .authright/AGENTS.md
InternalAdvanced namespace on the same binary (maintainer notes in the product git repo under docs/internal/, not on this site)

File shape → what you type

Invoke spelling is a function of the file that was written, not a single colon string for every host. authright init / update print the installed hosts’ rows from this table.

File writtenUser typesHosts
.claude/commands/auth/<id>.md/auth:<id>Claude Code
.cursor/commands/auth-<id>.md/auth-<id>Cursor
none (skill authright-<id>)$authright-<id>Codex

Examples: Claude /auth:scan, Cursor /auth-scan, Codex $authright-scan. If you chose --delivery skills on Cursor, there is no /auth-scan command file — use the skill authright-scan.

Two places

The agent chat (primary). After init, slash commands / skills drive user-intent workflows with the host model. Type the host form, not a generic colon string on every tool.

Cursor:       /auth-scan  /auth-explore  /auth-change  /auth-to-openspec  /auth-to-plan  /auth-doc  /auth-doctor
Claude Code:  /auth:scan  /auth:explore  /auth:change  /auth:to-openspec  /auth:to-plan  /auth:doc  /auth:doctor
Codex:        $authright-scan  $authright-explore  $authright-change  $authright-to-openspec  $authright-to-plan  $authright-doc  $authright-doctor

/auth-doc, /auth:doc, and $authright-doc write a readable summary of identity decisions already on disk (and locked changes when they exist). They do not change your app or configuration, and there is no authright doc terminal command. Omitting an Auth Change id covers every change under .authright/docs/. Naming an id writes under that change's docs/ directory. Earlier documents are left in place.

/auth-doctor, /auth:doctor, and $authright-doctor read your application source and write a risk report to .authright/diagnosis/report.md. That is different from /auth:doc (decisions write-up vs code risk report).

The terminal (bootstrap + offline). Use the shell for install and authright init / update. Skills may also invoke public verbs with --json / --invoke. Humans who run those verbs alone get the offline engine only—no hosted LLM.

Terminal
$authright init
$authright update
# optional offline twins — not the LLM happy path:
# authright scan
# authright change -- "…"
        YOUR TERMINAL                         YOUR AI ASSISTANT'S CHAT
   ┌──────────────────────┐               ┌──────────────────────────────┐
   │  $ authright init    │   installs    │  Cursor  /auth-scan          │
   │  $ authright update  │  ──────────►  │  Claude  /auth:scan          │
   │  (offline twins)     │   commands    │  Codex   $authright-doctor   │
   └──────────────────────┘    & skills   └──────────────────────────────┘

There is no separate “interactive mode”

Open your assistant in the project and type the host command in chat.

Host spelling table

ToolInstall locationInvoke
Cursor.cursor/commands/auth-*.md/auth-scan, /auth-explore, /auth-change, …
Claude Code.claude/commands/auth/<id>.md/auth:scan, /auth:explore, /auth:change, …
Codex.agents/skills/authright-*/$authright-scan, $authright-explore, …

Stale Claude flat files (.claude/commands/auth-scan.md) from older CLIs register /auth-scan, not /auth:scan. Run authright update, then type /auth:scan on Claude Code.

See Commands and Agents.

On this page