Agents

AuthRight’s day-to-day loop is Cursor, Codex, or Claude Code plus delivered skills/commands. The @authright/cli binary installs those files and provides offline twins (no hosted LLM on bare terminal business verbs). Install agent files with:

Terminal
$authright init
# or: authright init --tools cursor
# later:
$authright update

Omit --tools to pick the current agent. Pass --tools cursor (or claude / codex) when you already know. Use --tools none to skip agent delivery. See How commands work.

What init writes (same step)

ToolSkillsCommand files
Cursor.cursor/skills/authright-*/.cursor/commands/auth-*.md (registers /auth-scan, …)
Claude Code.claude/skills/authright-*/.claude/commands/auth/<id>.md (registers /auth:scan, …)
Codex.agents/skills/authright-*/ onlynone (even with --delivery commands)

Workflows installed: scan, explore, change, request-match, to-openspec, to-plan, review, doc, doctor. /auth:explore and /auth:change are two commands — pick one.

Product commands (design)

CommandIntent
/auth:scanWhat is identity here today?
/auth:exploreHITL command — design options / trade-offs interactively. Pick this or /auth:change
/auth:changeAuto-plan command — full plan, batch overrides, confirm then lock
/auth:request-matchWhere does the locked plan differ from the original request?
/auth:reviewDoes implementation match decisions?
/auth:doctorWhat’s risky in the app source today? Report → .authright/diagnosis/report.md

Engineering handoff (not Decide intents)—pick one: /auth:to-openspec → OpenSpec; /auth:to-plan → Agent Plan-mode (Implementation).

Closed loop (type host forms in chat)

/auth:scan → pick /auth:explore or /auth:change (prefer change)
  → multi-turn confirm / lock in chat
  → /auth:request-match → /auth:to-openspec | /auth:to-plan → /auth:review
/auth:doctor   # optional anytime

Skills may shell offline record flags (--analyze, --plan, --set, --confirm-plan, --ready) under the hood. Bare terminal twins do not call an LLM. doctor can run anytime for a source risk report; it is not a required step between scan and the fork.

Host spelling

Product names stay colon-shaped (/auth:scan). Type the form your host registered:

HostWhere files landHow you invoke
Cursor.cursor/commands/auth-*.md + .cursor/skills/authright-*//auth-scan, /auth-explore, /auth-change, …
Claude Code.claude/commands/auth/<id>.md + .claude/skills/authright-*//auth:scan, /auth:explore, /auth:change, …
Codex.agents/skills/authright-*/$authright-scan, $authright-explore, …
Terminal (offline)—authright scan, … — no hosted LLM; for scripts/skills only

init also writes .authright/AGENTS.md. Skills tell the agent to read it first. AuthRight does not install /auth:agents and does not edit repository-root AGENTS.md.

Agent-facing CLI flags

Skills shell the same public verbs with program-global flags:

authright --invoke cursor scan --json
authright --invoke claude change --json -- <intent>

--invoke records the host in run logs; --json returns one snake_case object for agents. Humans can omit both. See CLI.

Advanced Internal CLI (omitted from the public site reference) lives in the product git repo under docs/internal/ — not a page on this docs site.

Rules for skills

  • Read .authright/AGENTS.md first (written by init / update)
  • Read .authright/context.yaml and still-valid accepted decisions before deciding. constitution.yaml is not project law
  • Prefer the host chat closed loop (LLM path); shell public verbs only as offline helpers
  • Do not invent accepted decisions without writing decisions.yaml
  • Do not edit application source during these AuthRight workflows

Full list: Commands.

On this page