Skip to content

CLI

The ritual CLI installs the workflow skills your coding agent uses to call Ritual. Works with Claude Code, Cursor, Kiro, Codex, GitHub Copilot, Gemini CLI, and Windsurf.

Install

npm install -g @ritual-ai/cli

That gives you the ritual binary plus the skill files for every supported coding agent.

Quickstart

# Inside your project
ritual init        # scaffold skills into .claude/, .cursor/, etc.
ritual login       # authenticate to Ritual Cloud (optional)

Then in your coding agent:

/ritual explore "Add multi-tenant RBAC"
/ritual brief
/ritual build "Add notification preferences"

See the full slash commands reference.

Two modes

Ritual auto-detects whether you’re signed in and picks the right depth.

Light modeCloud mode
Setupritual initritual init + ritual login
AuthNoneFree Ritual Cloud account
Discovery questionsLocal — saved to RITUAL.mdGenerated by AI pipeline, reviewed in app.ritual.work
Knowledge sourcesLocal filesUploaded and indexed for cross-exploration retrieval
RecommendationsInferred locally from codebase + RITUAL.mdSynthesized via the agentic pipeline
Build BriefGenerated from RITUAL.mdGenerated from accepted recommendations + requirement packages
CollaborationSolo onlyInvite teammates to answer blocking questions

Both modes work in any supported coding agent. Light mode is right for solo work or evaluating Ritual without an account. Cloud mode unlocks team collaboration and the full agentic pipeline.