claude-code-pilot 3.0.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +76 -97
  2. package/bin/install.js +14 -14
  3. package/manifest.json +1 -1
  4. package/package.json +17 -5
  5. package/src/agents/doc-updater.md +1 -1
  6. package/src/agents/gan-evaluator.md +209 -0
  7. package/src/agents/gan-generator.md +131 -0
  8. package/src/agents/gan-planner.md +99 -0
  9. package/src/agents/harness-optimizer.md +35 -0
  10. package/src/agents/loop-operator.md +36 -0
  11. package/src/agents/opensource-forker.md +198 -0
  12. package/src/agents/opensource-packager.md +249 -0
  13. package/src/agents/opensource-sanitizer.md +188 -0
  14. package/src/agents/performance-optimizer.md +446 -0
  15. package/src/available-rules/README.md +1 -1
  16. package/src/commands/{aside.md → ccp/aside.md} +14 -13
  17. package/src/commands/{build-fix.md → ccp/build-fix.md} +5 -0
  18. package/src/commands/{checkpoint.md → ccp/checkpoint.md} +12 -7
  19. package/src/commands/{code-review.md → ccp/code-review.md} +5 -0
  20. package/src/commands/{context-budget.md → ccp/context-budget.md} +2 -1
  21. package/src/commands/{cpp-build.md → ccp/cpp-build.md} +6 -5
  22. package/src/commands/{cpp-review.md → ccp/cpp-review.md} +7 -6
  23. package/src/commands/{cpp-test.md → ccp/cpp-test.md} +6 -5
  24. package/src/commands/ccp/docs-update.md +48 -0
  25. package/src/commands/{docs.md → ccp/docs.md} +4 -3
  26. package/src/commands/{e2e.md → ccp/e2e.md} +7 -6
  27. package/src/commands/{eval.md → ccp/eval.md} +10 -5
  28. package/src/commands/{evolve.md → ccp/evolve.md} +3 -3
  29. package/src/commands/{go-build.md → ccp/go-build.md} +6 -5
  30. package/src/commands/{go-review.md → ccp/go-review.md} +7 -6
  31. package/src/commands/{go-test.md → ccp/go-test.md} +6 -5
  32. package/src/commands/{gradle-build.md → ccp/gradle-build.md} +1 -0
  33. package/src/commands/{harness-audit.md → ccp/harness-audit.md} +6 -1
  34. package/src/commands/{kotlin-build.md → ccp/kotlin-build.md} +6 -5
  35. package/src/commands/{kotlin-review.md → ccp/kotlin-review.md} +7 -6
  36. package/src/commands/{kotlin-test.md → ccp/kotlin-test.md} +6 -5
  37. package/src/commands/{learn.md → ccp/learn.md} +7 -2
  38. package/src/commands/{model-route.md → ccp/model-route.md} +6 -1
  39. package/src/commands/{orchestrate.md → ccp/orchestrate.md} +4 -3
  40. package/src/commands/{plan.md → ccp/plan.md} +6 -5
  41. package/src/commands/ccp/profile-user.md +46 -0
  42. package/src/commands/{prompt-optimize.md → ccp/prompt-optimize.md} +3 -2
  43. package/src/commands/{prune.md → ccp/prune.md} +4 -4
  44. package/src/commands/{python-review.md → ccp/python-review.md} +7 -6
  45. package/src/commands/{quality-gate.md → ccp/quality-gate.md} +6 -1
  46. package/src/commands/{refactor-clean.md → ccp/refactor-clean.md} +5 -0
  47. package/src/commands/{resume-session.md → ccp/resume-session.md} +9 -8
  48. package/src/commands/ccp/review.md +37 -0
  49. package/src/commands/{rules-distill.md → ccp/rules-distill.md} +2 -1
  50. package/src/commands/{rust-build.md → ccp/rust-build.md} +6 -5
  51. package/src/commands/{rust-review.md → ccp/rust-review.md} +7 -6
  52. package/src/commands/{rust-test.md → ccp/rust-test.md} +6 -5
  53. package/src/commands/{save-session.md → ccp/save-session.md} +2 -1
  54. package/src/commands/ccp/secure-phase.md +35 -0
  55. package/src/commands/{sessions.md → ccp/sessions.md} +29 -24
  56. package/src/commands/{setup-pm.md → ccp/setup-pm.md} +1 -0
  57. package/src/commands/{setup-refresh.md → ccp/setup-refresh.md} +4 -3
  58. package/src/commands/{setup.md → ccp/setup.md} +24 -23
  59. package/src/commands/{skill-create.md → ccp/skill-create.md} +8 -8
  60. package/src/commands/{skill-health.md → ccp/skill-health.md} +5 -5
  61. package/src/commands/{tdd.md → ccp/tdd.md} +9 -8
  62. package/src/commands/{test-coverage.md → ccp/test-coverage.md} +5 -0
  63. package/src/commands/{tool-guide.md → ccp/tool-guide.md} +2 -1
  64. package/src/commands/{update-codemaps.md → ccp/update-codemaps.md} +5 -0
  65. package/src/commands/{update-docs.md → ccp/update-docs.md} +5 -0
  66. package/src/commands/{verify.md → ccp/verify.md} +5 -0
  67. package/src/commands/ccp/workstreams.md +68 -0
  68. package/src/examples/CLAUDE.md +4 -4
  69. package/src/examples/django-api-CLAUDE.md +5 -5
  70. package/src/examples/go-microservice-CLAUDE.md +6 -6
  71. package/src/examples/rust-api-CLAUDE.md +4 -4
  72. package/src/examples/saas-nextjs-CLAUDE.md +8 -8
  73. package/src/hooks/session-start.js +1 -1
  74. package/src/pilot/references/mcp-servers.json +1 -1
  75. package/src/pilot/workflows/docs-update.md +1165 -0
  76. package/src/pilot/workflows/help.md +48 -56
  77. package/src/pilot/workflows/profile-user.md +452 -0
  78. package/src/pilot/workflows/review.md +244 -0
  79. package/src/pilot/workflows/secure-phase.md +164 -0
  80. package/src/rules/common/code-review.md +124 -0
  81. package/src/rules/zh/README.md +108 -0
  82. package/src/rules/zh/agents.md +50 -0
  83. package/src/rules/zh/code-review.md +124 -0
  84. package/src/rules/zh/coding-style.md +48 -0
  85. package/src/rules/zh/development-workflow.md +44 -0
  86. package/src/rules/zh/git-workflow.md +24 -0
  87. package/src/rules/zh/hooks.md +30 -0
  88. package/src/rules/zh/patterns.md +31 -0
  89. package/src/rules/zh/performance.md +55 -0
  90. package/src/rules/zh/security.md +29 -0
  91. package/src/rules/zh/testing.md +29 -0
  92. package/src/skills/autonomous-agent-harness/SKILL.md +267 -0
  93. package/src/skills/autonomous-loops/SKILL.md +610 -0
  94. package/src/skills/bun-runtime/SKILL.md +84 -0
  95. package/src/skills/content-hash-cache-pattern/SKILL.md +161 -0
  96. package/src/skills/context-budget/SKILL.md +3 -3
  97. package/src/skills/continuous-learning-v2/SKILL.md +4 -4
  98. package/src/skills/continuous-learning-v2/agents/observer.md +1 -1
  99. package/src/skills/cost-aware-llm-pipeline/SKILL.md +183 -0
  100. package/src/skills/design-system/SKILL.md +82 -0
  101. package/src/skills/eval-harness/SKILL.md +270 -0
  102. package/src/skills/flutter-dart-code-review/SKILL.md +435 -0
  103. package/src/skills/gan-style-harness/SKILL.md +278 -0
  104. package/src/skills/git-workflow/SKILL.md +715 -0
  105. package/src/skills/hexagonal-architecture/SKILL.md +276 -0
  106. package/src/skills/iterative-retrieval/SKILL.md +211 -0
  107. package/src/skills/laravel-plugin-discovery/SKILL.md +229 -0
  108. package/src/skills/nextjs-turbopack/SKILL.md +44 -0
  109. package/src/skills/nuxt4-patterns/SKILL.md +100 -0
  110. package/src/skills/opensource-pipeline/SKILL.md +255 -0
  111. package/src/skills/perl-security/SKILL.md +503 -0
  112. package/src/skills/project-flow-ops/SKILL.md +111 -0
  113. package/src/skills/project-guidelines-example/SKILL.md +349 -0
  114. package/src/skills/prompt-optimizer/SKILL.md +38 -38
  115. package/src/skills/pytorch-patterns/SKILL.md +396 -0
  116. package/src/skills/regex-vs-llm-structured-text/SKILL.md +220 -0
  117. package/src/skills/repo-scan/SKILL.md +78 -0
  118. package/src/skills/rules-distill/SKILL.md +264 -0
  119. package/src/skills/rules-distill/scripts/scan-rules.sh +58 -0
  120. package/src/skills/rules-distill/scripts/scan-skills.sh +129 -0
  121. package/src/skills/swift-concurrency-6-2/SKILL.md +216 -0
  122. package/src/skills/token-budget-advisor/SKILL.md +133 -0
  123. package/src/skills/verification-loop/SKILL.md +1 -1
  124. package/src/skills/workspace-surface-audit/SKILL.md +125 -0
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:python-review
2
3
  description: Comprehensive Python code review for PEP 8 compliance, type hints, security, and Pythonic idioms. Invokes the python-reviewer agent.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command invokes the **python-reviewer** agent for comprehensive Python-spec
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/python-review` when:
21
+ Use `/ccp:python-review` when:
21
22
  - After writing or modifying Python code
22
23
  - Before committing Python changes
23
24
  - Reviewing pull requests with Python code
@@ -77,7 +78,7 @@ pytest --cov=app --cov-report=term-missing
77
78
  ## Example Usage
78
79
 
79
80
  ```text
80
- User: /python-review
81
+ User: /ccp:python-review
81
82
 
82
83
  Agent:
83
84
  # Python Code Review Report
@@ -171,10 +172,10 @@ Run: `black app/routes/user.py app/services/auth.py`
171
172
 
172
173
  ## Integration with Other Commands
173
174
 
174
- - Use `/tdd` first to ensure tests pass
175
- - Use `/code-review` for non-Python specific concerns
176
- - Use `/python-review` before committing
177
- - Use `/build-fix` if static analysis tools fail
175
+ - Use `/ccp:tdd` first to ensure tests pass
176
+ - Use `/ccp:code-review` for non-Python specific concerns
177
+ - Use `/ccp:python-review` before committing
178
+ - Use `/ccp:build-fix` if static analysis tools fail
178
179
 
179
180
  ## Framework-Specific Reviews
180
181
 
@@ -1,10 +1,15 @@
1
+ ---
2
+ name: ccp:quality-gate
3
+ description: "Run the CCP quality pipeline on demand for a file or project scope"
4
+ ---
5
+
1
6
  # Quality Gate Command
2
7
 
3
8
  Run the CCP quality pipeline on demand for a file or project scope.
4
9
 
5
10
  ## Usage
6
11
 
7
- `/quality-gate [path|.] [--fix] [--strict]`
12
+ `/ccp:quality-gate [path|.] [--fix] [--strict]`
8
13
 
9
14
  - default target: current directory (`.`)
10
15
  - `--fix`: allow auto-format/fix where configured
@@ -1,3 +1,8 @@
1
+ ---
2
+ name: ccp:refactor-clean
3
+ description: "Safely identify and remove dead code with test verification"
4
+ ---
5
+
1
6
  # Refactor Clean
2
7
 
3
8
  Safely identify and remove dead code with test verification at every step.
@@ -1,11 +1,12 @@
1
1
  ---
2
+ name: ccp:resume-session
2
3
  description: Load the most recent session file from ~/.claude/sessions/ and resume work with full context from where the last session ended.
3
4
  ---
4
5
 
5
6
  # Resume Session Command
6
7
 
7
8
  Load the last saved session state and orient fully before doing any work.
8
- This command is the counterpart to `/save-session`.
9
+ This command is the counterpart to `/ccp:save-session`.
9
10
 
10
11
  ## When to Use
11
12
 
@@ -17,10 +18,10 @@ This command is the counterpart to `/save-session`.
17
18
  ## Usage
18
19
 
19
20
  ```
20
- /resume-session # loads most recent file in ~/.claude/sessions/
21
- /resume-session 2024-01-15 # loads most recent session for that date
22
- /resume-session ~/.claude/sessions/2024-01-15-session.tmp # loads a specific legacy-format file
23
- /resume-session ~/.claude/sessions/2024-01-15-abc123de-session.tmp # loads a current short-id session file
21
+ /ccp:resume-session # loads most recent file in ~/.claude/sessions/
22
+ /ccp:resume-session 2024-01-15 # loads most recent session for that date
23
+ /ccp:resume-session ~/.claude/sessions/2024-01-15-session.tmp # loads a specific legacy-format file
24
+ /ccp:resume-session ~/.claude/sessions/2024-01-15-abc123de-session.tmp # loads a current short-id session file
24
25
  ```
25
26
 
26
27
  ## Process
@@ -34,7 +35,7 @@ If no argument provided:
34
35
  3. If the folder does not exist or has no matching files, tell the user:
35
36
  ```
36
37
  No session files found in ~/.claude/sessions/
37
- Run /save-session at the end of a session to create one.
38
+ Run /ccp:save-session at the end of a session to create one.
38
39
  ```
39
40
  Then stop.
40
41
 
@@ -107,7 +108,7 @@ Note the gap — "⚠️ This session is from N days ago (threshold: 7 days). Th
107
108
  Read it and follow the same briefing process — the format is the same regardless of source.
108
109
 
109
110
  **Session file is empty or malformed:**
110
- Report: "Session file found but appears empty or unreadable. You may need to create a new one with /save-session."
111
+ Report: "Session file found but appears empty or unreadable. You may need to create a new one with /ccp:save-session."
111
112
 
112
113
  ---
113
114
 
@@ -152,4 +153,4 @@ Ready to continue. What would you like to do?
152
153
  - Never modify the session file when loading it — it's a read-only historical record
153
154
  - The briefing format is fixed — do not skip sections even if they are empty
154
155
  - "What Not To Retry" must always be shown, even if it just says "None" — it's too important to miss
155
- - After resuming, the user may want to run `/save-session` again at the end of the new session to create a new dated file
156
+ - After resuming, the user may want to run `/ccp:save-session` again at the end of the new session to create a new dated file
@@ -0,0 +1,37 @@
1
+ ---
2
+ name: ccp:review
3
+ description: Request cross-AI peer review of phase plans from external AI CLIs
4
+ argument-hint: "--phase N [--gemini] [--claude] [--codex] [--all]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Bash
9
+ - Glob
10
+ - Grep
11
+ ---
12
+
13
+ <objective>
14
+ Invoke external AI CLIs (Gemini, Claude, Codex) to independently review phase plans.
15
+ Produces a structured REVIEWS.md with per-reviewer feedback that can be fed back into
16
+ planning via /ccp:plan-phase --reviews.
17
+
18
+ **Flow:** Detect CLIs → Build review prompt → Invoke each CLI → Collect responses → Write REVIEWS.md
19
+ </objective>
20
+
21
+ <execution_context>
22
+ @~/.claude/pilot/workflows/review.md
23
+ </execution_context>
24
+
25
+ <context>
26
+ Phase number: extracted from $ARGUMENTS (required)
27
+
28
+ **Flags:**
29
+ - `--gemini` — Include Gemini CLI review
30
+ - `--claude` — Include Claude CLI review (uses separate session)
31
+ - `--codex` — Include Codex CLI review
32
+ - `--all` — Include all available CLIs
33
+ </context>
34
+
35
+ <process>
36
+ Execute the review workflow from @~/.claude/pilot/workflows/review.md end-to-end.
37
+ </process>
@@ -1,8 +1,9 @@
1
1
  ---
2
+ name: ccp:rules-distill
2
3
  description: "Scan skills to extract cross-cutting principles and distill them into rules"
3
4
  ---
4
5
 
5
- # /rules-distill — Distill Principles from Skills into Rules
6
+ # /ccp:rules-distill — Distill Principles from Skills into Rules
6
7
 
7
8
  Scan installed skills, extract cross-cutting principles, and distill them into rules.
8
9
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:rust-build
2
3
  description: Fix Rust build errors, borrow checker issues, and dependency problems incrementally. Invokes the rust-build-resolver agent for minimal, surgical fixes.
3
4
  ---
4
5
 
@@ -16,7 +17,7 @@ This command invokes the **rust-build-resolver** agent to incrementally fix Rust
16
17
 
17
18
  ## When to Use
18
19
 
19
- Use `/rust-build` when:
20
+ Use `/ccp:rust-build` when:
20
21
  - `cargo build` or `cargo check` fails with errors
21
22
  - `cargo clippy` reports warnings
22
23
  - Borrow checker or lifetime errors block compilation
@@ -45,7 +46,7 @@ if command -v cargo-audit >/dev/null; then cargo audit; else echo "cargo-audit n
45
46
  ## Example Session
46
47
 
47
48
  ````text
48
- User: /rust-build
49
+ User: /ccp:rust-build
49
50
 
50
51
  Agent:
51
52
  # Rust Build Resolution
@@ -177,9 +178,9 @@ The agent will stop and report if:
177
178
 
178
179
  ## Related Commands
179
180
 
180
- - `/rust-test` - Run tests after build succeeds
181
- - `/rust-review` - Review code quality
182
- - `/verify` - Full verification loop
181
+ - `/ccp:rust-test` - Run tests after build succeeds
182
+ - `/ccp:rust-review` - Review code quality
183
+ - `/ccp:verify` - Full verification loop
183
184
 
184
185
  ## Related
185
186
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:rust-review
2
3
  description: Comprehensive Rust code review for ownership, lifetimes, error handling, unsafe usage, and idiomatic patterns. Invokes the rust-reviewer agent.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command invokes the **rust-reviewer** agent for comprehensive Rust-specific
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/rust-review` when:
21
+ Use `/ccp:rust-review` when:
21
22
  - After writing or modifying Rust code
22
23
  - Before committing Rust changes
23
24
  - Reviewing pull requests with Rust code
@@ -71,7 +72,7 @@ if command -v cargo-audit >/dev/null; then cargo audit; else echo "cargo-audit n
71
72
  ## Example Usage
72
73
 
73
74
  ````text
74
- User: /rust-review
75
+ User: /ccp:rust-review
75
76
 
76
77
  Agent:
77
78
  # Rust Code Review Report
@@ -131,10 +132,10 @@ Recommendation: Block merge until CRITICAL issue is fixed
131
132
 
132
133
  ## Integration with Other Commands
133
134
 
134
- - Use `/rust-test` first to ensure tests pass
135
- - Use `/rust-build` if build errors occur
136
- - Use `/rust-review` before committing
137
- - Use `/code-review` for non-Rust-specific concerns
135
+ - Use `/ccp:rust-test` first to ensure tests pass
136
+ - Use `/ccp:rust-build` if build errors occur
137
+ - Use `/ccp:rust-review` before committing
138
+ - Use `/ccp:code-review` for non-Rust-specific concerns
138
139
 
139
140
  ## Related
140
141
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:rust-test
2
3
  description: Enforce TDD workflow for Rust. Write tests first, then implement. Verify 80%+ coverage with cargo-llvm-cov.
3
4
  ---
4
5
 
@@ -17,7 +18,7 @@ This command enforces test-driven development methodology for Rust code using `#
17
18
 
18
19
  ## When to Use
19
20
 
20
- Use `/rust-test` when:
21
+ Use `/ccp:rust-test` when:
21
22
  - Implementing new Rust functions, methods, or traits
22
23
  - Adding test coverage to existing Rust code
23
24
  - Fixing bugs (write failing test first)
@@ -36,7 +37,7 @@ REPEAT -> Next test case
36
37
  ## Example Session
37
38
 
38
39
  ````text
39
- User: /rust-test I need a function to validate user registration
40
+ User: /ccp:rust-test I need a function to validate user registration
40
41
 
41
42
  Agent:
42
43
  # TDD Session: Registration Validator
@@ -298,9 +299,9 @@ cargo test --no-fail-fast
298
299
 
299
300
  ## Related Commands
300
301
 
301
- - `/rust-build` - Fix build errors
302
- - `/rust-review` - Review code after implementation
303
- - `/verify` - Run full verification loop
302
+ - `/ccp:rust-build` - Fix build errors
303
+ - `/ccp:rust-review` - Review code after implementation
304
+ - `/ccp:verify` - Run full verification loop
304
305
 
305
306
  ## Related
306
307
 
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:save-session
2
3
  description: Save current session state to a dated file in ~/.claude/sessions/ so work can be resumed in a future session with full context.
3
4
  ---
4
5
 
@@ -270,6 +271,6 @@ Then test with Postman — the response should include a `Set-Cookie` header.
270
271
  - Each session gets its own file — never append to a previous session's file
271
272
  - The "What Did NOT Work" section is the most critical — future sessions will blindly retry failed approaches without it
272
273
  - If the user asks to save mid-session (not just at the end), save what's known so far and mark in-progress items clearly
273
- - The file is meant to be read by Claude at the start of the next session via `/resume-session`
274
+ - The file is meant to be read by Claude at the start of the next session via `/ccp:resume-session`
274
275
  - Use the canonical global session store: `~/.claude/sessions/`
275
276
  - Prefer the short-id filename form (`YYYY-MM-DD-<short-id>-session.tmp`) for any new session file
@@ -0,0 +1,35 @@
1
+ ---
2
+ name: ccp:secure-phase
3
+ description: Retroactively verify threat mitigations for a completed phase
4
+ argument-hint: "[phase number]"
5
+ allowed-tools:
6
+ - Read
7
+ - Write
8
+ - Edit
9
+ - Bash
10
+ - Glob
11
+ - Grep
12
+ - Task
13
+ - AskUserQuestion
14
+ ---
15
+ <objective>
16
+ Verify threat mitigations for a completed phase. Three states:
17
+ - (A) SECURITY.md exists — audit and verify mitigations
18
+ - (B) No SECURITY.md, PLAN.md with threat model exists — run from artifacts
19
+ - (C) Phase not executed — exit with guidance
20
+
21
+ Output: updated SECURITY.md.
22
+ </objective>
23
+
24
+ <execution_context>
25
+ @~/.claude/pilot/workflows/secure-phase.md
26
+ </execution_context>
27
+
28
+ <context>
29
+ Phase: $ARGUMENTS — optional, defaults to last completed phase.
30
+ </context>
31
+
32
+ <process>
33
+ Execute @~/.claude/pilot/workflows/secure-phase.md.
34
+ Preserve all workflow gates.
35
+ </process>
@@ -1,10 +1,15 @@
1
+ ---
2
+ name: ccp:sessions
3
+ description: "Manage Claude Code session history - list, load, alias, and edit sessions"
4
+ ---
5
+
1
6
  # Sessions Command
2
7
 
3
8
  Manage Claude Code session history - list, load, alias, and edit sessions stored in `~/.claude/sessions/`.
4
9
 
5
10
  ## Usage
6
11
 
7
- `/sessions [list|load|alias|info|help] [options]`
12
+ `/ccp:sessions [list|load|alias|info|help] [options]`
8
13
 
9
14
  ## Actions
10
15
 
@@ -13,11 +18,11 @@ Manage Claude Code session history - list, load, alias, and edit sessions stored
13
18
  Display all sessions with metadata, filtering, and pagination.
14
19
 
15
20
  ```bash
16
- /sessions # List all sessions (default)
17
- /sessions list # Same as above
18
- /sessions list --limit 10 # Show 10 sessions
19
- /sessions list --date 2026-02-01 # Filter by date
20
- /sessions list --search abc # Search by session ID
21
+ /ccp:sessions # List all sessions (default)
22
+ /ccp:sessions list # Same as above
23
+ /ccp:sessions list --limit 10 # Show 10 sessions
24
+ /ccp:sessions list --date 2026-02-01 # Filter by date
25
+ /ccp:sessions list --search abc # Search by session ID
21
26
  ```
22
27
 
23
28
  **Script:**
@@ -53,10 +58,10 @@ for (const s of result.sessions) {
53
58
  Load and display a session's content (by ID or alias).
54
59
 
55
60
  ```bash
56
- /sessions load <id|alias> # Load session
57
- /sessions load 2026-02-01 # By date (for no-id sessions)
58
- /sessions load a1b2c3d4 # By short ID
59
- /sessions load my-alias # By alias name
61
+ /ccp:sessions load <id|alias> # Load session
62
+ /ccp:sessions load 2026-02-01 # By date (for no-id sessions)
63
+ /ccp:sessions load a1b2c3d4 # By short ID
64
+ /ccp:sessions load my-alias # By alias name
60
65
  ```
61
66
 
62
67
  **Script:**
@@ -116,8 +121,8 @@ if (session.metadata.lastUpdated) {
116
121
  Create a memorable alias for a session.
117
122
 
118
123
  ```bash
119
- /sessions alias <id> <name> # Create alias
120
- /sessions alias 2026-02-01 today-work # Create alias named "today-work"
124
+ /ccp:sessions alias <id> <name> # Create alias
125
+ /ccp:sessions alias 2026-02-01 today-work # Create alias named "today-work"
121
126
  ```
122
127
 
123
128
  **Script:**
@@ -130,7 +135,7 @@ const sessionId = process.argv[1];
130
135
  const aliasName = process.argv[2];
131
136
 
132
137
  if (!sessionId || !aliasName) {
133
- console.log('Usage: /sessions alias <id> <name>');
138
+ console.log('Usage: /ccp:sessions alias <id> <name>');
134
139
  process.exit(1);
135
140
  }
136
141
 
@@ -156,8 +161,8 @@ if (result.success) {
156
161
  Delete an existing alias.
157
162
 
158
163
  ```bash
159
- /sessions alias --remove <name> # Remove alias
160
- /sessions unalias <name> # Same as above
164
+ /ccp:sessions alias --remove <name> # Remove alias
165
+ /ccp:sessions unalias <name> # Same as above
161
166
  ```
162
167
 
163
168
  **Script:**
@@ -167,7 +172,7 @@ const aa = require((process.env.CCP_CLAUDE_DIR||require('path').join(require('os
167
172
 
168
173
  const aliasName = process.argv[1];
169
174
  if (!aliasName) {
170
- console.log('Usage: /sessions alias --remove <name>');
175
+ console.log('Usage: /ccp:sessions alias --remove <name>');
171
176
  process.exit(1);
172
177
  }
173
178
 
@@ -186,7 +191,7 @@ if (result.success) {
186
191
  Show detailed information about a session.
187
192
 
188
193
  ```bash
189
- /sessions info <id|alias> # Show session details
194
+ /ccp:sessions info <id|alias> # Show session details
190
195
  ```
191
196
 
192
197
  **Script:**
@@ -233,7 +238,7 @@ if (aliases.length > 0) {
233
238
  Show all session aliases.
234
239
 
235
240
  ```bash
236
- /sessions aliases # List all aliases
241
+ /ccp:sessions aliases # List all aliases
237
242
  ```
238
243
 
239
244
  **Script:**
@@ -279,22 +284,22 @@ $ARGUMENTS:
279
284
 
280
285
  ```bash
281
286
  # List all sessions
282
- /sessions list
287
+ /ccp:sessions list
283
288
 
284
289
  # Create an alias for today's session
285
- /sessions alias 2026-02-01 today
290
+ /ccp:sessions alias 2026-02-01 today
286
291
 
287
292
  # Load session by alias
288
- /sessions load today
293
+ /ccp:sessions load today
289
294
 
290
295
  # Show session info
291
- /sessions info today
296
+ /ccp:sessions info today
292
297
 
293
298
  # Remove alias
294
- /sessions alias --remove today
299
+ /ccp:sessions alias --remove today
295
300
 
296
301
  # List all aliases
297
- /sessions aliases
302
+ /ccp:sessions aliases
298
303
  ```
299
304
 
300
305
  ## Notes
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:setup-pm
2
3
  description: Configure your preferred package manager (npm/pnpm/yarn/bun)
3
4
  disable-model-invocation: true
4
5
  ---
@@ -1,4 +1,5 @@
1
1
  ---
2
+ name: ccp:setup-refresh
2
3
  description: "Re-scan codebase and update CLAUDE.md, rules, directory CLAUDE.md files, and architecture docs after major changes"
3
4
  ---
4
5
 
@@ -23,10 +24,10 @@ Present differences.
23
24
  - Scan for recognized directories: `src/`, `test/`, `tests/`, `lib/`, `app/`, `api/`, `scripts/`, `docs/`
24
25
  - For each existing recognized directory with a CLAUDE.md file:
25
26
  - Read the file's first line
26
- - If it contains `<!-- Generated by /setup -- customize freely, /setup:refresh will regenerate if this comment is present -->`: regenerate using the same stack-aware templates from /setup Stage 4
27
+ - If it contains `<!-- Generated by /ccp:setup -- customize freely, /ccp:setup:refresh will regenerate if this comment is present -->`: regenerate using the same stack-aware templates from /ccp:setup Stage 4
27
28
  - If the marker is absent: skip (print: "Skipping {dir}/CLAUDE.md -- customized by user")
28
29
  - For each recognized directory WITHOUT a CLAUDE.md file:
29
- - Generate a new one using the same stack-aware templates from /setup Stage 4
30
+ - Generate a new one using the same stack-aware templates from /ccp:setup Stage 4
30
31
  - Show summary of changes:
31
32
  ```
32
33
  Directory CLAUDE.md refresh:
@@ -40,7 +41,7 @@ Present differences.
40
41
 
41
42
  Show diff before writing.
42
43
 
43
- Note: MCP detection is NOT re-run during refresh. Binaries rarely change. Re-run `/setup` to re-detect MCP tools.
44
+ Note: MCP detection is NOT re-run during refresh. Binaries rarely change. Re-run `/ccp:setup` to re-detect MCP tools.
44
45
 
45
46
  ## Step 3 — Commit
46
47