Skip to content

CLI Commands

The sniper CLI binary provides project scaffolding, plugin management, protocol operations, and CI/CD support.

Installation

bash
npm install -g @sniper.ai/cli

Commands

CommandDescription
sniper initScaffold .sniper/ directory and configure project
sniper statusShow lifecycle status and protocol progress
sniper migrateMigrate v2 configuration to v3 format
sniper pluginManage language plugins (install, remove, list)
sniper protocolManage protocols (create, list, validate)
sniper runRun a protocol headlessly for CI/CD
sniper workspaceMulti-repo workspace management
sniper marketplaceSearch the SNIPER marketplace for packages
sniper revertRevert a failed phase using logical revert plan
sniper dashboardProject dashboard
sniper signalSignal management (deprecated — use /sniper-learn instead)
sniper knowledgeKnowledge base management
sniper sphereSphere management

Relationship to Slash Commands

The sniper CLI binary runs in your terminal. Slash commands (/sniper-flow, /sniper-init, etc.) run inside Claude Code. They serve different purposes:

AspectCLI (sniper)Slash Commands (/sniper-*)
EnvironmentTerminal / CI pipelineClaude Code session
Use caseScaffolding, management, CI/CDProtocol execution, review, status
InteractivityInteractive prompts or headlessAgent-driven with human oversight

Browse individual CLI command reference pages in the sidebar.