Command Reference - johnpeterman72/CursorRIPER.sigma GitHub Wiki
β¨οΈ Command Reference Guide
Complete reference for all commands available in the CursorRIPERβ¦Ξ£ framework, organized by category.
π Quick Command Lookup
Essential Commands
Command |
Action |
Example |
/r |
Research mode |
/research |
/i |
Innovate mode |
/innovate |
/p |
Plan mode |
/plan |
/e |
Execute mode |
/execute |
/rev |
Review mode |
/review |
!cp |
Add protection |
!cp // Critical code |
!af |
Add file context |
!af src/main.js |
!ckp |
Check permissions |
!ckp |
π Mode Commands
Mode Switching
Command |
Shortcut |
Description |
Example |
/research |
/r |
Enter RESEARCH mode |
/r |
/innovate |
/i |
Enter INNOVATE mode |
/i |
/plan |
/p |
Enter PLAN mode |
/p |
/execute |
/e |
Enter EXECUTE mode |
/e |
/review |
/rev |
Enter REVIEW mode |
/rev |
Mode Status
Command |
Description |
Example Output |
Current mode? |
Check active mode |
[MODE: EXECUTE] |
Show mode |
Display mode info |
EXECUTE (Ξ©β): Implementation |
π‘οΈ Protection Commands
Add Protection
Command |
Level |
Description |
Example |
!cp |
PROTECTED |
Never modify |
!cp // API keys |
!cg |
GUARDED |
Ask permission |
!cg // Core logic |
!ci |
INFO |
Context note |
!ci // Config info |
!cd |
DEBUG |
Temporary code |
!cd // Debug logs |
!ct |
TEST |
Test code |
!ct // Test fixture |
!cc |
CRITICAL |
Business logic |
!cc // Payment logic |
Protection Usage
// !cp PROTECTED - Description
const SECRET = process.env.SECRET;
// !cp END-P
π Context Commands
Adding Context
Command |
Type |
Description |
Example |
!af |
File |
Add file reference |
!af src/auth.js |
!ad |
Directory |
Add folder reference |
!ad src/components/ |
!ac |
Code |
Add code reference |
!ac validateUser() |
!adoc |
Docs |
Add documentation |
!adoc "API Guide" |
!ar |
Rules |
Add rules reference |
!ar "Style Guide" |
!ag |
Git |
Add git reference |
!ag feature-branch |
!an |
Notepad |
Add notepad |
!an "Todo List" |
!pf |
Pin |
Pin file |
!pf config.json |
Managing Context
Command |
Action |
Description |
Example |
!cs |
Set status |
Update context status |
!cs file.js active |
!cr |
Remove |
Remove from context |
!cr old-file.js |
!cc |
Clear |
Clear all context |
!cc |
!cm |
Mode context |
Set mode defaults |
!cm |
Context Status Options
active
- Currently working
partial
- May reference
essential
- Always needed
deprecated
- To be removed
π Permission Commands
Check Permissions
Command |
Description |
Example Output |
!ckp |
Current mode permissions |
EXECUTE: C:β R:β U:β D:~ |
!pm |
Check operation |
!pm write_code β β Allowed |
!sp |
Show mode permissions |
!sp plan β PLAN: C:β R:β U:~ D:β |
!vm |
Verify mode for operation |
!vm delete_file β Use EXECUTE |
π Framework Commands
Initialization
Command |
Description |
When to Use |
/start |
Initialize framework |
First time setup |
Initialize |
Same as /start |
Alternative command |
Framework Status
Command |
Description |
Example Output |
Show framework status |
Current state |
Phase, mode, progress |
Check memory health |
Memory status |
Update frequency, size |
Framework version |
Version info |
v1.0.5 |
πΎ Memory Commands
View Memory
Command |
Description |
Target |
Show requirements |
View requirements |
Οβ |
Show architecture |
View patterns |
Οβ |
Show tech stack |
View technology |
Οβ |
Show current focus |
View context |
Οβ |
Show progress |
View status |
Οβ
|
Show protected code |
View registry |
Οβ |
Update Memory
Command |
Description |
Example |
Add requirement |
New requirement |
Add requirement: API rate limiting |
Update progress |
Change status |
Update progress: Auth 80% complete |
Mark issue resolved |
Close issue |
Mark issue Iβ resolved |
Add pattern |
New pattern |
Add pattern: Repository pattern |
π Cross-Reference Commands
Create References
Format |
Description |
Example |
[βοΈΟβ:Xα΅’] |
Basic reference |
[βοΈΟβ:Rβ] |
[βοΈΟβ:Xα΅’|Ξβ] |
With context |
[βοΈΟβ:Rβ|Ξβ] |
[Ξβ:item] |
Context only |
[Ξβ:validateUser()] |
Reference Management
Command |
Description |
Example |
Check references |
Validate links |
Finds broken refs |
Update references |
Fix broken links |
Updates targets |
List references to X |
Find usage |
List references to Rβ |
πΌ Workflow Commands
Planning Commands
Command |
Description |
Output |
Create plan for X |
Generate plan |
Numbered checklist |
Detail specifications |
Expand plan |
Detailed specs |
Sequence steps |
Order tasks |
Priority list |
Review Commands
Command |
Description |
Output |
Review implementation |
Check code |
Pass/fail report |
Verify against plan |
Compare |
Deviation list |
Check protection coverage |
Audit |
Coverage report |
π§ Utility Commands
Backup Commands
Command |
Description |
When Used |
Create backup |
Manual backup |
Before risky ops |
List backups |
Show available |
Recovery planning |
Restore from backup |
Recovery |
After issues |
Search Commands
Command |
Description |
Example |
Search for X |
Find in project |
Search for auth logic |
Find references to Y |
Trace usage |
Find references to Rβ |
Locate pattern Z |
Find implementations |
Locate Repository pattern |
π― Command Patterns
Mode-Specific Patterns
Research Mode:
/r
What authentication methods are used?
!af src/auth/ # Add auth folder
!ag main # Check git history
Plan Mode:
/p
Create detailed plan for JWT implementation
!ar "Security Standards" # Add standards
The plan will be numbered 1-N
Execute Mode:
/e
Implement step 3 from the plan
!cp # Protect critical parts
!af src/new-file.js # Track new files
Context Patterns
Feature Context:
!cc # Clear old
!af src/feature/main.js # Main file
!ac featureLogic() # Core function
!adoc "Feature Spec" # Requirements
Debug Context:
!ag "error message" # Search git
!af error.log # Log file
!ac buggyFunction() # Problem code
π¨ Command Restrictions by Mode
Research Mode (Ξ©β)
Allowed |
Forbidden |
Read commands |
Write commands |
Search commands |
Create commands |
Analysis commands |
Modify commands |
Execute Mode (Ξ©β)
Allowed |
Forbidden |
All file operations |
Web search |
Code generation |
Plan changes |
Testing |
Design decisions |
π‘ Command Best Practices
1. Command Chaining
Combine related commands:
/e && !cm && !af main.js
2. Context Before Action
Set context before requesting:
!af auth.js
!ac validateUser()
"Implement the validation logic"
3. Protection While Coding
Add protection inline:
"Create payment processor with !cc protection"
4. Regular Cleanup
Keep context focused:
# After feature complete
!cc # Clear context
π Command Usage Statistics
Track your command patterns:
Most Used Commands
/e
- Execute mode (35%)
!af
- Add file (20%)
/r
- Research mode (15%)
!cp
- Add protection (10%)
!cc
- Clear context (8%)
Command Efficiency
- Average commands per feature: 25
- Context commands: 40%
- Mode switches: 20%
- Protection: 15%
- Other: 25%
π Command Learning Path
Beginner (Day 1)
- Mode switches:
/r
, /p
, /e
- Basic protection:
!cp
- Simple context:
!af
Intermediate (Week 1)
- All protection levels
- Context management
- Permission checks
- Cross-references
Advanced (Week 2+)
- Complex patterns
- Command combinations
- Workflow optimization
- Custom shortcuts
π Extension Commands
MCP Services (If Enabled)
Service |
Command |
Description |
GitHub |
!gr |
Search repos |
GitHub |
!gp |
Push files |
Search |
!ws |
Web search |
Browser |
!pn |
Navigate URL |
Docker |
!dc |
Create container |
BMAD Enterprise (If Enabled)
Feature |
Command |
Description |
Roles |
!br |
Switch role |
PRD |
!prdn |
New PRD |
Gates |
!kg |
Check gate |
Docs |
!edg |
Generate docs |
π Related Topics
β Symbol Reference | Home | Mode Reference β