Skip to content

Command Reference

Complete documentation for all 21 rp1 commands across both plugins, plus CLI tools.


CLI Commands

The rp1 CLI provides tools for setup and management outside of AI assistant sessions.

Command Description
init Initialize rp1 in a project with guided setup
install:claude-code Install plugins for Claude Code
install:opencode Install plugins for OpenCode
build Build plugin packages from source
self-update Update the rp1 CLI to the latest version
view View documentation in web browser

CLI Reference

Agent Tools

Internal CLI utilities for AI agent workflows:

Tool Description
worktree Git worktree management for isolated execution
rp1-root-dir RP1_ROOT path resolution
github-pr GitHub PR operations (submit-review, add-reaction, reply-comment, fetch-comments)

Agent Tools Reference

Configuration Files

Config Description
pr-review.yaml PR review behavior for CI/CD mode

PR Review Config Reference


Web UI

The rp1 web UI provides browser-based documentation viewing and agent activity monitoring.

Feature Description
Status Dashboard Real-time visibility into agent workflow progress

Web UI Reference


Base Plugin (6 commands)

The base plugin provides foundation capabilities: knowledge management, documentation generation, strategic analysis, and security validation.

Command Description
knowledge-build Generate knowledge base using parallel map-reduce architecture
knowledge-load Load KB context for downstream agents
project-birds-eye-view Generate comprehensive project overview with diagrams
strategize Holistic strategic analysis with trade-off recommendations
write-content Interactive technical content creation assistant
analyse-security Comprehensive security validation and vulnerability scanning

Base Plugin Reference


Dev Plugin

The dev plugin provides development workflow capabilities: feature lifecycle, code quality, and PR management.

Feature Development

Command Description
build Primary command — End-to-end feature workflow (requirements → design → build → verify → archive)
build-fast Quick iteration for small, well-scoped tasks
validate-hypothesis Test design assumptions through experiments

Blueprint & Planning

Command Description
blueprint Create project charter and PRD documents
blueprint-archive Archive completed blueprints

Feature Management

Command Description
feature-edit Propagate mid-stream changes across documents
feature-archive Archive completed features
feature-unarchive Restore archived features

Code Quality

Command Description
code-check Fast hygiene validation (lint, test, coverage)
code-audit Pattern consistency and maintainability audit
code-investigate Systematic bug investigation
code-clean-comments Remove unnecessary code comments

PR Management

Command Description
pr-review Map-reduce PR review with confidence gating
pr-visual Generate Mermaid diagrams from PR diffs
address-pr-feedback Unified workflow: collect, triage, and fix PR review comments

Dev Plugin Reference


Command Syntax

Commands differ slightly between platforms:

/command-name [arguments]

Use the short form without prefix. If you have a command name conflict with another plugin, use the prefixed form: /rp1-base:command-name or /rp1-dev:command-name.

/rp1-base/command-name [arguments]
/rp1-dev/command-name [arguments]

Quick Navigation

Looking for something specific?