@jspg-ai/coding-bb 0.0.1 → 0.0.2-beta.23

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 (145) hide show
  1. package/cbb/bin/cbb.js +6 -0
  2. package/cbb/bin/cbbm.js +6 -0
  3. package/cbb/dev-standards/rules/cbb-ai-behavior.md +103 -103
  4. package/cbb/dev-standards/rules/cbb-priority.md +55 -55
  5. package/cbb/lib/install/claude-code.js +2 -0
  6. package/cbb/lib/install/init.js +496 -290
  7. package/cbb/lib/install/opencode.js +31 -0
  8. package/cbb/lib/install/qoder.js +2 -0
  9. package/cbb/lib/install/workspaces.js +53 -13
  10. package/cbb/lib/openspec/index.js +3 -3
  11. package/cbb/lib/superpowers/index.js +1 -1
  12. package/cbb/lib/utils/check-update.js +16 -14
  13. package/cbb/lib/utils/gitignore.js +2 -1
  14. package/cbb/lib/utils/output.js +92 -4
  15. package/cbb/lib/utils/version.js +2 -31
  16. package/cbb/lib/wiki/cli.js +25 -25
  17. package/cbb/lib/wiki/index.js +16 -16
  18. package/cbb/tools/cbb-design-to-wiki/SKILL.md +14 -14
  19. package/cbb/tools/cbb-wiki-ops/SKILL.md +22 -22
  20. package/cbb/worktrees/_shared/scripts/find-target-worktree.js +2 -2
  21. package/cbb/worktrees/_shared/scripts/find-workspace-root.js +7 -7
  22. package/cbb/worktrees/_shared/scripts/push-core.js +18 -0
  23. package/cbb/worktrees/commands/{close.md → worktree-close.md} +8 -8
  24. package/cbb/worktrees/commands/{init.md → worktree-init.md} +9 -9
  25. package/cbb/worktrees/commands/{push.md → worktree-push.md} +3 -3
  26. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/SKILL.md +20 -20
  27. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/check-env.js +4 -4
  28. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/check-unarchived.js +1 -1
  29. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/delete-branches.js +3 -3
  30. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/discover-apps.js +6 -6
  31. package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-close}/scripts/find-target-worktree.js +2 -2
  32. package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-close}/scripts/find-workspace-root.js +7 -7
  33. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/remove-worktrees.js +4 -4
  34. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/safety-check.js +4 -4
  35. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/SKILL.md +81 -107
  36. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/auto-open.js +1 -1
  37. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/check-env-deep.js +4 -4
  38. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/check-env.js +6 -6
  39. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/check-repos.js +4 -4
  40. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/create-branches.js +4 -4
  41. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/create-worktrees.js +8 -7
  42. package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-init}/scripts/find-workspace-root.js +7 -7
  43. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/install-ai.js +33 -33
  44. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/parse-config.js +7 -7
  45. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/push-branches.js +9 -7
  46. package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-init}/scripts/push-core.js +18 -0
  47. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/sync-repos.js +10 -12
  48. package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-init}/scripts/update-gitignore.js +19 -6
  49. package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/SKILL.md +16 -16
  50. package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/commit-worktrees.js +2 -2
  51. package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/find-target-worktree.js +2 -2
  52. package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-push}/scripts/find-workspace-root.js +7 -7
  53. package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/push-core.js +18 -0
  54. package/cbb/worktrees/skills/{openspec-push-worktrees → cbb-worktree-push}/scripts/push-worktrees.js +7 -5
  55. package/config/workspace-config.sample.json +18 -0
  56. package/config/workspaces.json +11 -6
  57. package/openspec/.version +6 -6
  58. package/openspec/commands/apply.md +7 -7
  59. package/openspec/commands/archive.md +7 -7
  60. package/openspec/commands/bulk-archive.md +7 -7
  61. package/openspec/commands/continue.md +7 -7
  62. package/openspec/commands/explore.md +7 -7
  63. package/openspec/commands/ff.md +7 -7
  64. package/openspec/commands/new.md +7 -7
  65. package/openspec/commands/onboard.md +7 -7
  66. package/openspec/commands/propose.md +7 -7
  67. package/openspec/commands/sync.md +7 -7
  68. package/openspec/commands/update.md +7 -7
  69. package/openspec/commands/verify.md +7 -7
  70. package/openspec/skills/openspec-apply-change/SKILL.md +187 -187
  71. package/openspec/skills/openspec-archive-change/SKILL.md +181 -181
  72. package/openspec/skills/openspec-bulk-archive-change/SKILL.md +338 -338
  73. package/openspec/skills/openspec-continue-change/SKILL.md +117 -117
  74. package/openspec/skills/openspec-explore/SKILL.md +342 -342
  75. package/openspec/skills/openspec-ff-change/SKILL.md +116 -116
  76. package/openspec/skills/openspec-new-change/SKILL.md +76 -76
  77. package/openspec/skills/openspec-onboard/SKILL.md +560 -560
  78. package/openspec/skills/openspec-propose/SKILL.md +162 -162
  79. package/openspec/skills/openspec-sync-specs/SKILL.md +261 -261
  80. package/openspec/skills/openspec-update-change/SKILL.md +90 -90
  81. package/openspec/skills/openspec-verify-change/SKILL.md +174 -174
  82. package/package.json +4 -3
  83. package/superpowers/.version +6 -6
  84. package/superpowers/skills/brainstorming/SKILL.md +250 -250
  85. package/superpowers/skills/brainstorming/scripts/helper.js +167 -167
  86. package/superpowers/skills/brainstorming/scripts/start-server.sh +209 -209
  87. package/superpowers/skills/brainstorming/scripts/stop-server.sh +120 -120
  88. package/superpowers/skills/brainstorming/spec-document-reviewer-prompt.md +49 -49
  89. package/superpowers/skills/brainstorming/visual-companion.md +299 -299
  90. package/superpowers/skills/dispatching-parallel-agents/SKILL.md +167 -167
  91. package/superpowers/skills/executing-plans/SKILL.md +64 -64
  92. package/superpowers/skills/finishing-a-development-branch/SKILL.md +225 -225
  93. package/superpowers/skills/receiving-code-review/SKILL.md +205 -205
  94. package/superpowers/skills/requesting-code-review/SKILL.md +95 -95
  95. package/superpowers/skills/requesting-code-review/code-reviewer.md +181 -181
  96. package/superpowers/skills/subagent-driven-development/SKILL.md +568 -568
  97. package/superpowers/skills/subagent-driven-development/implementer-prompt.md +154 -154
  98. package/superpowers/skills/subagent-driven-development/re-review-prompt.md +115 -115
  99. package/superpowers/skills/subagent-driven-development/task-reviewer-prompt.md +207 -207
  100. package/superpowers/skills/systematic-debugging/CREATION-LOG.md +119 -119
  101. package/superpowers/skills/systematic-debugging/SKILL.md +283 -283
  102. package/superpowers/skills/systematic-debugging/condition-based-waiting-example.ts +158 -158
  103. package/superpowers/skills/systematic-debugging/condition-based-waiting.md +115 -115
  104. package/superpowers/skills/systematic-debugging/defense-in-depth.md +122 -122
  105. package/superpowers/skills/systematic-debugging/find-polluter.sh +72 -72
  106. package/superpowers/skills/systematic-debugging/root-cause-tracing.md +169 -169
  107. package/superpowers/skills/systematic-debugging/test-academic.md +14 -14
  108. package/superpowers/skills/systematic-debugging/test-pressure-1.md +58 -58
  109. package/superpowers/skills/systematic-debugging/test-pressure-2.md +68 -68
  110. package/superpowers/skills/systematic-debugging/test-pressure-3.md +69 -69
  111. package/superpowers/skills/test-driven-development/SKILL.md +320 -320
  112. package/superpowers/skills/test-driven-development/writing-good-tests.md +198 -198
  113. package/superpowers/skills/using-git-worktrees/SKILL.md +167 -167
  114. package/superpowers/skills/using-superpowers/SKILL.md +63 -63
  115. package/superpowers/skills/using-superpowers/references/antigravity-tools.md +23 -23
  116. package/superpowers/skills/using-superpowers/references/codex-tools.md +108 -108
  117. package/superpowers/skills/using-superpowers/references/gemini-tools.md +63 -63
  118. package/superpowers/skills/using-superpowers/references/hermes-tools.md +56 -56
  119. package/superpowers/skills/using-superpowers/references/pi-tools.md +16 -16
  120. package/superpowers/skills/verification-before-completion/SKILL.md +120 -120
  121. package/superpowers/skills/writing-plans/SKILL.md +171 -171
  122. package/superpowers/skills/writing-plans/plan-document-reviewer-prompt.md +49 -49
  123. package/superpowers/skills/writing-skills/SKILL.md +679 -679
  124. package/superpowers/skills/writing-skills/anthropic-best-practices.md +1150 -1150
  125. package/superpowers/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -189
  126. package/superpowers/skills/writing-skills/persuasion-principles.md +187 -187
  127. package/superpowers/skills/writing-skills/render-graphs.js +169 -169
  128. package/superpowers/skills/writing-skills/testing-skills-with-subagents.md +384 -384
  129. package/cbb/worktrees/commands/extend.md +0 -65
  130. package/cbb/worktrees/skills/openspec-close-worktree/scripts/find-target-worktree.js +0 -96
  131. package/cbb/worktrees/skills/openspec-extend-worktree/SKILL.md +0 -390
  132. package/cbb/worktrees/skills/openspec-extend-worktree/scripts/check-env.js +0 -95
  133. package/cbb/worktrees/skills/openspec-extend-worktree/scripts/check-repos.js +0 -98
  134. package/cbb/worktrees/skills/openspec-extend-worktree/scripts/create-branches-and-worktrees.js +0 -135
  135. package/cbb/worktrees/skills/openspec-extend-worktree/scripts/install-ai.js +0 -150
  136. package/cbb/worktrees/skills/openspec-extend-worktree/scripts/list-available-apps.js +0 -88
  137. package/cbb/worktrees/skills/openspec-extend-worktree/scripts/sync-repos.js +0 -93
  138. package/cbb/worktrees/skills/openspec-init-worktree/scripts/find-workspace-root.js +0 -67
  139. package/cbb/worktrees/skills/openspec-init-worktree/scripts/generate-app-options.js +0 -93
  140. package/cbb/worktrees/skills/openspec-init-worktree/scripts/push-core.js +0 -136
  141. package/cbb/worktrees/skills/openspec-push-worktrees/scripts/silence-popup.js +0 -23
  142. package/config/config.sample.json +0 -16
  143. /package/cbb/worktrees/skills/{openspec-close-worktree → cbb-worktree-close}/scripts/silence-popup.js +0 -0
  144. /package/cbb/worktrees/skills/{openspec-extend-worktree → cbb-worktree-init}/scripts/silence-popup.js +0 -0
  145. /package/cbb/worktrees/skills/{openspec-init-worktree → cbb-worktree-push}/scripts/silence-popup.js +0 -0
@@ -1,108 +1,108 @@
1
- ## Subagent dispatch requires multi-agent support
2
-
3
- Add to your Codex config (`~/.codex/config.toml`):
4
-
5
- ```toml
6
- [features]
7
- multi_agent = true
8
- ```
9
-
10
- This enables the multi-agent tools that skills like
11
- `dispatching-parallel-agents` and `subagent-driven-development` use.
12
- Which tools you get depends on the multi-agent version your model
13
- preset selects (current presets run V2; older ones run V1). Trust your
14
- actual tool list over any table — including this one — when they
15
- disagree.
16
-
17
- - **Spawning:** give children a clean context with
18
- `spawn_agent {fork_turns: "none"}`; the default `"all"` copies your
19
- entire transcript into the child. On Codex 0.145+, role files under
20
- `~/.codex/agents/` attach to isolated forks via `agent_type`.
21
- Full-history forks accept `model` and `reasoning_effort` overrides
22
- (only `agent_type` is refused there) — isolated forks are the SDD
23
- default for context hygiene, not because overrides require them.
24
- - **Fix rounds:** resume the implementer with `followup_task` — it
25
- delivers your message, triggers a turn, and transparently reloads a
26
- child the harness evicted. Never dispatch a fresh implementer on the
27
- theory that a spawned agent cannot be messaged again; on V2 it
28
- always can.
29
- - **Lifecycle:** V2 has no `close_agent`. Finished children are
30
- evicted automatically when slots are needed; leaving them unclosed
31
- costs nothing. Only V1 sessions have `close_agent` — there, close
32
- reviewers when their review returns, and close each implementer
33
- after its task's review passes.
34
- - **Model names:** never copy a model name from a skill, table, or old
35
- session into `spawn_agent` without checking it against your current
36
- spawn allowlist — V2 accepts only V2-capable presets and hard-errors
37
- on the rest.
38
-
39
- ## Waiting on children
40
-
41
- `wait_agent` is an event subscription, not a poll: a long wait wakes
42
- the moment a child produces mailbox activity, with the same latency as
43
- a short one. Short-timeout polling buys nothing and costs a tool call —
44
- and a context rebill — per poll. In measured sessions, roughly
45
- two-thirds of all wait calls were short polls that timed out.
46
-
47
- - While you still have local work, do not wait at all. A completed
48
- child's final answer is pushed into your mailbox and arrives with
49
- your next turn.
50
- - When you are genuinely idle with children outstanding, wait in
51
- bounded stretches: `wait_agent` with `timeout_ms` 300000-600000
52
- (5-10 minutes). After each stretch — wake or timeout — post one
53
- status line, run `list_agents`, and chase any child that finished
54
- without reporting. Never stack polls shorter than five minutes; the
55
- event subscription wakes a bounded stretch just as fast as a short
56
- one.
57
- - Completion mail cannot wake an idle controller (it is delivered
58
- without triggering a turn); covering that idle window is
59
- `wait_agent`'s only job. A stretch that times out with no activity
60
- is your cue to reconcile, not to shorten the next stretch.
61
-
62
- ## Model routing on spawns
63
-
64
- Every `spawn_agent` you issue — including when you are yourself a
65
- spawned child running a fan-out — sets `model` AND `reasoning_effort`
66
- explicitly, per the Model Selection rules of the skill you are
67
- executing. Setting `model` alone is a trap: the child's effort
68
- silently resets to that model's default, not to yours.
69
-
70
- Ask your human partner to add a machine-level backstop to
71
- `~/.codex/config.toml` so any spawn that slips through still routes to
72
- a deliberate tier instead of silently inheriting the session's most
73
- expensive model:
74
-
75
- ```toml
76
- [agents]
77
- default_subagent_model = "<a mid-tier model from your spawn allowlist>"
78
- default_subagent_reasoning_effort = "medium"
79
- ```
80
-
81
- ## Environment Detection
82
-
83
- Skills that create worktrees or finish branches should detect their
84
- environment with read-only git commands before proceeding:
85
-
86
- ```bash
87
- GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
88
- GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
89
- BRANCH=$(git branch --show-current)
90
- ```
91
-
92
- - `GIT_DIR != GIT_COMMON` → already in a linked worktree (skip creation)
93
- - `BRANCH` empty → detached HEAD (cannot branch/push/PR from sandbox)
94
-
95
- See `using-git-worktrees` Step 0 and `finishing-a-development-branch`
96
- Step 1 for how each skill uses these signals.
97
-
98
- ## Codex App Finishing
99
-
100
- When the sandbox blocks branch/push operations (detached HEAD in an
101
- externally managed worktree), the agent commits all work and informs
102
- the user to use the App's native controls:
103
-
104
- - **"Create branch"** — names the branch, then commit/push/PR via App UI
105
- - **"Hand off to local"** — transfers work to the user's local checkout
106
-
107
- The agent can still run tests, stage files, and output suggested branch
108
- names, commit messages, and PR descriptions for the user to copy.
1
+ ## Subagent dispatch requires multi-agent support
2
+
3
+ Add to your Codex config (`~/.codex/config.toml`):
4
+
5
+ ```toml
6
+ [features]
7
+ multi_agent = true
8
+ ```
9
+
10
+ This enables the multi-agent tools that skills like
11
+ `dispatching-parallel-agents` and `subagent-driven-development` use.
12
+ Which tools you get depends on the multi-agent version your model
13
+ preset selects (current presets run V2; older ones run V1). Trust your
14
+ actual tool list over any table — including this one — when they
15
+ disagree.
16
+
17
+ - **Spawning:** give children a clean context with
18
+ `spawn_agent {fork_turns: "none"}`; the default `"all"` copies your
19
+ entire transcript into the child. On Codex 0.145+, role files under
20
+ `~/.codex/agents/` attach to isolated forks via `agent_type`.
21
+ Full-history forks accept `model` and `reasoning_effort` overrides
22
+ (only `agent_type` is refused there) — isolated forks are the SDD
23
+ default for context hygiene, not because overrides require them.
24
+ - **Fix rounds:** resume the implementer with `followup_task` — it
25
+ delivers your message, triggers a turn, and transparently reloads a
26
+ child the harness evicted. Never dispatch a fresh implementer on the
27
+ theory that a spawned agent cannot be messaged again; on V2 it
28
+ always can.
29
+ - **Lifecycle:** V2 has no `close_agent`. Finished children are
30
+ evicted automatically when slots are needed; leaving them unclosed
31
+ costs nothing. Only V1 sessions have `close_agent` — there, close
32
+ reviewers when their review returns, and close each implementer
33
+ after its task's review passes.
34
+ - **Model names:** never copy a model name from a skill, table, or old
35
+ session into `spawn_agent` without checking it against your current
36
+ spawn allowlist — V2 accepts only V2-capable presets and hard-errors
37
+ on the rest.
38
+
39
+ ## Waiting on children
40
+
41
+ `wait_agent` is an event subscription, not a poll: a long wait wakes
42
+ the moment a child produces mailbox activity, with the same latency as
43
+ a short one. Short-timeout polling buys nothing and costs a tool call —
44
+ and a context rebill — per poll. In measured sessions, roughly
45
+ two-thirds of all wait calls were short polls that timed out.
46
+
47
+ - While you still have local work, do not wait at all. A completed
48
+ child's final answer is pushed into your mailbox and arrives with
49
+ your next turn.
50
+ - When you are genuinely idle with children outstanding, wait in
51
+ bounded stretches: `wait_agent` with `timeout_ms` 300000-600000
52
+ (5-10 minutes). After each stretch — wake or timeout — post one
53
+ status line, run `list_agents`, and chase any child that finished
54
+ without reporting. Never stack polls shorter than five minutes; the
55
+ event subscription wakes a bounded stretch just as fast as a short
56
+ one.
57
+ - Completion mail cannot wake an idle controller (it is delivered
58
+ without triggering a turn); covering that idle window is
59
+ `wait_agent`'s only job. A stretch that times out with no activity
60
+ is your cue to reconcile, not to shorten the next stretch.
61
+
62
+ ## Model routing on spawns
63
+
64
+ Every `spawn_agent` you issue — including when you are yourself a
65
+ spawned child running a fan-out — sets `model` AND `reasoning_effort`
66
+ explicitly, per the Model Selection rules of the skill you are
67
+ executing. Setting `model` alone is a trap: the child's effort
68
+ silently resets to that model's default, not to yours.
69
+
70
+ Ask your human partner to add a machine-level backstop to
71
+ `~/.codex/config.toml` so any spawn that slips through still routes to
72
+ a deliberate tier instead of silently inheriting the session's most
73
+ expensive model:
74
+
75
+ ```toml
76
+ [agents]
77
+ default_subagent_model = "<a mid-tier model from your spawn allowlist>"
78
+ default_subagent_reasoning_effort = "medium"
79
+ ```
80
+
81
+ ## Environment Detection
82
+
83
+ Skills that create worktrees or finish branches should detect their
84
+ environment with read-only git commands before proceeding:
85
+
86
+ ```bash
87
+ GIT_DIR=$(cd "$(git rev-parse --git-dir)" 2>/dev/null && pwd -P)
88
+ GIT_COMMON=$(cd "$(git rev-parse --git-common-dir)" 2>/dev/null && pwd -P)
89
+ BRANCH=$(git branch --show-current)
90
+ ```
91
+
92
+ - `GIT_DIR != GIT_COMMON` → already in a linked worktree (skip creation)
93
+ - `BRANCH` empty → detached HEAD (cannot branch/push/PR from sandbox)
94
+
95
+ See `using-git-worktrees` Step 0 and `finishing-a-development-branch`
96
+ Step 1 for how each skill uses these signals.
97
+
98
+ ## Codex App Finishing
99
+
100
+ When the sandbox blocks branch/push operations (detached HEAD in an
101
+ externally managed worktree), the agent commits all work and informs
102
+ the user to use the App's native controls:
103
+
104
+ - **"Create branch"** — names the branch, then commit/push/PR via App UI
105
+ - **"Hand off to local"** — transfers work to the user's local checkout
106
+
107
+ The agent can still run tests, stage files, and output suggested branch
108
+ names, commit messages, and PR descriptions for the user to copy.
@@ -1,63 +1,63 @@
1
- # Gemini CLI Tool Mapping
2
-
3
- Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Gemini CLI these resolve to the tools below.
4
-
5
- | Action skills request | Gemini CLI equivalent |
6
- |----------------------|----------------------|
7
- | Read a file | `read_file` |
8
- | Read multiple files at once | `read_many_files` |
9
- | Create a new file | `write_file` |
10
- | Edit a file | `replace` |
11
- | Run a shell command | `run_shell_command` |
12
- | Search file contents | `grep_search` |
13
- | Find files by name | `glob` |
14
- | List files and subdirectories | `list_directory` |
15
- | Fetch a URL | `web_fetch` |
16
- | Search the web | `google_web_search` |
17
- | Invoke a skill | `activate_skill` |
18
- | Dispatch a subagent (`Subagent (general-purpose):` template) | `invoke_agent` with `agent_name: "generalist"` (invocable via `@generalist` chat syntax — see [Subagent support](#subagent-support)) |
19
- | Multiple parallel dispatches | Multiple `invoke_agent` calls in the same response |
20
- | Task tracking ("create a todo", "mark complete") | `write_todos` (statuses: pending, in_progress, completed, cancelled, blocked) |
21
-
22
- ## Instructions file
23
-
24
- When a skill mentions "your instructions file", on Gemini CLI this is **`GEMINI.md`**. Gemini CLI loads `GEMINI.md` hierarchically: global at `~/.gemini/GEMINI.md`, project-level files in workspace directories and their ancestors, and sub-directory `GEMINI.md` files when a tool accesses files in those directories.
25
-
26
- ## Personal skills directory
27
-
28
- User-level skills live at **`~/.gemini/skills/`**, with **`~/.agents/skills/`** as a cross-runtime alias (shared with Codex and Copilot CLI). When both directories exist at the same scope, `.agents/skills/` takes precedence. Each skill is a subdirectory containing a `SKILL.md` (with `name` and `description` frontmatter).
29
-
30
- ## Subagent support
31
-
32
- Gemini CLI dispatches subagents through the `invoke_agent` tool, which takes `agent_name` and `prompt` parameters. The same dispatch is also surfaced as a chat-syntax shortcut: typing `@generalist <prompt>` is equivalent to calling `invoke_agent` with `agent_name: "generalist"`. Built-in agent names include `generalist`, `cli_help`, `codebase_investigator`, and (with browser tooling enabled) `browser_agent`.
33
-
34
- Skills dispatch with `Subagent (general-purpose):` and either reference a prompt-template file (e.g., `superpowers:subagent-driven-development`'s `./implementer-prompt.md`) or supply an inline prompt. On Gemini CLI:
35
-
36
- | Skill dispatch form | Gemini CLI equivalent |
37
- |---------------------|----------------------|
38
- | References a `*-prompt.md` template (implementer, task-reviewer, code-reviewer, etc.) | Fill the template, then `invoke_agent` with `agent_name: "generalist"` and the filled prompt |
39
- | References `superpowers:requesting-code-review`'s `./code-reviewer.md` | `invoke_agent` with `agent_name: "generalist"` and the filled review template |
40
- | Inline prompt (no template referenced) | `invoke_agent` with `agent_name: "generalist"` and your inline prompt |
41
-
42
- ### Prompt filling
43
-
44
- Skills provide prompt templates with placeholders like `{WHAT_WAS_IMPLEMENTED}` or `[FULL TEXT of task]`. Fill all placeholders before passing the complete prompt to `invoke_agent`. The prompt template itself contains the agent's role, review criteria, and expected output format — the subagent will follow it.
45
-
46
- ### Parallel dispatch
47
-
48
- Gemini CLI supports parallel subagent dispatch. Issue multiple `invoke_agent` calls in the same response (or multiple `@generalist` invocations in one prompt) to run independent subagent work in parallel. Keep dependent tasks sequential, but do not serialize independent subagent tasks just to preserve a simpler history.
49
-
50
- ## Additional Gemini CLI tools
51
-
52
- These tools are unique to Gemini CLI:
53
-
54
- | Tool | Purpose |
55
- |------|---------|
56
- | `save_memory` (legacy) | Persist facts across sessions when `experimental.memoryV2 = false` |
57
- | `get_internal_docs` | Look up Gemini CLI's bundled documentation |
58
- | `ask_user` | Pose structured questions to the user (text / single-select / multi-select) |
59
- | `enter_plan_mode` / `exit_plan_mode` | Switch into and out of read-only plan mode |
60
- | `update_topic` | Update the current conversation's topic / strategic-intent metadata |
61
- | `complete_task` | Signal that a Gemini subagent has completed and return its result to the parent agent |
62
- | `tracker_create_task`, `tracker_update_task`, `tracker_get_task`, `tracker_list_tasks`, `tracker_add_dependency`, `tracker_visualize` | Rich task tracker with dependency and visualization support |
63
- | `read_mcp_resource`, `list_mcp_resources` | MCP resource access |
1
+ # Gemini CLI Tool Mapping
2
+
3
+ Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Gemini CLI these resolve to the tools below.
4
+
5
+ | Action skills request | Gemini CLI equivalent |
6
+ |----------------------|----------------------|
7
+ | Read a file | `read_file` |
8
+ | Read multiple files at once | `read_many_files` |
9
+ | Create a new file | `write_file` |
10
+ | Edit a file | `replace` |
11
+ | Run a shell command | `run_shell_command` |
12
+ | Search file contents | `grep_search` |
13
+ | Find files by name | `glob` |
14
+ | List files and subdirectories | `list_directory` |
15
+ | Fetch a URL | `web_fetch` |
16
+ | Search the web | `google_web_search` |
17
+ | Invoke a skill | `activate_skill` |
18
+ | Dispatch a subagent (`Subagent (general-purpose):` template) | `invoke_agent` with `agent_name: "generalist"` (invocable via `@generalist` chat syntax — see [Subagent support](#subagent-support)) |
19
+ | Multiple parallel dispatches | Multiple `invoke_agent` calls in the same response |
20
+ | Task tracking ("create a todo", "mark complete") | `write_todos` (statuses: pending, in_progress, completed, cancelled, blocked) |
21
+
22
+ ## Instructions file
23
+
24
+ When a skill mentions "your instructions file", on Gemini CLI this is **`GEMINI.md`**. Gemini CLI loads `GEMINI.md` hierarchically: global at `~/.gemini/GEMINI.md`, project-level files in workspace directories and their ancestors, and sub-directory `GEMINI.md` files when a tool accesses files in those directories.
25
+
26
+ ## Personal skills directory
27
+
28
+ User-level skills live at **`~/.gemini/skills/`**, with **`~/.agents/skills/`** as a cross-runtime alias (shared with Codex and Copilot CLI). When both directories exist at the same scope, `.agents/skills/` takes precedence. Each skill is a subdirectory containing a `SKILL.md` (with `name` and `description` frontmatter).
29
+
30
+ ## Subagent support
31
+
32
+ Gemini CLI dispatches subagents through the `invoke_agent` tool, which takes `agent_name` and `prompt` parameters. The same dispatch is also surfaced as a chat-syntax shortcut: typing `@generalist <prompt>` is equivalent to calling `invoke_agent` with `agent_name: "generalist"`. Built-in agent names include `generalist`, `cli_help`, `codebase_investigator`, and (with browser tooling enabled) `browser_agent`.
33
+
34
+ Skills dispatch with `Subagent (general-purpose):` and either reference a prompt-template file (e.g., `superpowers:subagent-driven-development`'s `./implementer-prompt.md`) or supply an inline prompt. On Gemini CLI:
35
+
36
+ | Skill dispatch form | Gemini CLI equivalent |
37
+ |---------------------|----------------------|
38
+ | References a `*-prompt.md` template (implementer, task-reviewer, code-reviewer, etc.) | Fill the template, then `invoke_agent` with `agent_name: "generalist"` and the filled prompt |
39
+ | References `superpowers:requesting-code-review`'s `./code-reviewer.md` | `invoke_agent` with `agent_name: "generalist"` and the filled review template |
40
+ | Inline prompt (no template referenced) | `invoke_agent` with `agent_name: "generalist"` and your inline prompt |
41
+
42
+ ### Prompt filling
43
+
44
+ Skills provide prompt templates with placeholders like `{WHAT_WAS_IMPLEMENTED}` or `[FULL TEXT of task]`. Fill all placeholders before passing the complete prompt to `invoke_agent`. The prompt template itself contains the agent's role, review criteria, and expected output format — the subagent will follow it.
45
+
46
+ ### Parallel dispatch
47
+
48
+ Gemini CLI supports parallel subagent dispatch. Issue multiple `invoke_agent` calls in the same response (or multiple `@generalist` invocations in one prompt) to run independent subagent work in parallel. Keep dependent tasks sequential, but do not serialize independent subagent tasks just to preserve a simpler history.
49
+
50
+ ## Additional Gemini CLI tools
51
+
52
+ These tools are unique to Gemini CLI:
53
+
54
+ | Tool | Purpose |
55
+ |------|---------|
56
+ | `save_memory` (legacy) | Persist facts across sessions when `experimental.memoryV2 = false` |
57
+ | `get_internal_docs` | Look up Gemini CLI's bundled documentation |
58
+ | `ask_user` | Pose structured questions to the user (text / single-select / multi-select) |
59
+ | `enter_plan_mode` / `exit_plan_mode` | Switch into and out of read-only plan mode |
60
+ | `update_topic` | Update the current conversation's topic / strategic-intent metadata |
61
+ | `complete_task` | Signal that a Gemini subagent has completed and return its result to the parent agent |
62
+ | `tracker_create_task`, `tracker_update_task`, `tracker_get_task`, `tracker_list_tasks`, `tracker_add_dependency`, `tracker_visualize` | Rich task tracker with dependency and visualization support |
63
+ | `read_mcp_resource`, `list_mcp_resources` | MCP resource access |
@@ -1,56 +1,56 @@
1
- # Hermes Agent Tool Mapping
2
-
3
- Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Hermes Agent these resolve to the tools below.
4
-
5
- ## Tools
6
-
7
- | Action skills request | Hermes tool |
8
- |---|---|
9
- | Read a file | `read_file` |
10
- | Create a new file | `write_file` |
11
- | Edit a file (targeted patch) | `patch` |
12
- | Run a shell command | `terminal` |
13
- | Search file contents | `search_files` |
14
- | Find files by name | `terminal` with `find` |
15
- | Fetch a URL / read a webpage | `web_extract(urls=[...])` |
16
- | Search the web | `web_search(query=...)` |
17
- | Dispatch a subagent | `delegate_task(goal=..., context=..., toolsets=[...], role="leaf")` |
18
- | Task tracking | `todo` tool |
19
- | Invoke a skill | `skill_view("skill-name")` |
20
-
21
- ## Instructions file
22
-
23
- When a skill mentions "your instructions file," on Hermes Agent this is **`AGENTS.md`** in the project directory, or **`SOUL.md`** globally at `~/.hermes/SOUL.md`.
24
-
25
- ## Invoking a skill
26
-
27
- Hermes Agent has a `skills` toolset with `skill_view` and `skills_list` tools.
28
- To invoke a superpowers skill, use:
29
-
30
- ```
31
- skill_view("brainstorming")
32
- skill_view("test-driven-development")
33
- ```
34
-
35
- If `skill_view` cannot find a superpowers skill (it may not appear in the catalog
36
- until the plugin fully registers it), fall back to reading the SKILL.md directly:
37
-
38
- ```
39
- read_file(path="~/.hermes/plugins/superpowers/skills/<skill-name>/SKILL.md")
40
- ```
41
-
42
- This fallback is the same mechanism used by other harnesses without native skill loading.
43
-
44
- ## Subagent dispatch
45
-
46
- Use `delegate_task` to spawn isolated subagents for parallel or sequential workstreams:
47
-
48
- ```
49
- delegate_task(goal="...", context="...", toolsets=[...], role="leaf")
50
- ```
51
-
52
- If `delegate_task` is unavailable, do the work inline rather than inventing tool calls.
53
-
54
- ## Task tracking
55
-
56
- Use the `todo` tool for task tracking within a session. For multi-agent task boards, use `hermes kanban` CLI if available. Treat older `TodoWrite` references as the task-tracking action.
1
+ # Hermes Agent Tool Mapping
2
+
3
+ Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Hermes Agent these resolve to the tools below.
4
+
5
+ ## Tools
6
+
7
+ | Action skills request | Hermes tool |
8
+ |---|---|
9
+ | Read a file | `read_file` |
10
+ | Create a new file | `write_file` |
11
+ | Edit a file (targeted patch) | `patch` |
12
+ | Run a shell command | `terminal` |
13
+ | Search file contents | `search_files` |
14
+ | Find files by name | `terminal` with `find` |
15
+ | Fetch a URL / read a webpage | `web_extract(urls=[...])` |
16
+ | Search the web | `web_search(query=...)` |
17
+ | Dispatch a subagent | `delegate_task(goal=..., context=..., toolsets=[...], role="leaf")` |
18
+ | Task tracking | `todo` tool |
19
+ | Invoke a skill | `skill_view("skill-name")` |
20
+
21
+ ## Instructions file
22
+
23
+ When a skill mentions "your instructions file," on Hermes Agent this is **`AGENTS.md`** in the project directory, or **`SOUL.md`** globally at `~/.hermes/SOUL.md`.
24
+
25
+ ## Invoking a skill
26
+
27
+ Hermes Agent has a `skills` toolset with `skill_view` and `skills_list` tools.
28
+ To invoke a superpowers skill, use:
29
+
30
+ ```
31
+ skill_view("brainstorming")
32
+ skill_view("test-driven-development")
33
+ ```
34
+
35
+ If `skill_view` cannot find a superpowers skill (it may not appear in the catalog
36
+ until the plugin fully registers it), fall back to reading the SKILL.md directly:
37
+
38
+ ```
39
+ read_file(path="~/.hermes/plugins/superpowers/skills/<skill-name>/SKILL.md")
40
+ ```
41
+
42
+ This fallback is the same mechanism used by other harnesses without native skill loading.
43
+
44
+ ## Subagent dispatch
45
+
46
+ Use `delegate_task` to spawn isolated subagents for parallel or sequential workstreams:
47
+
48
+ ```
49
+ delegate_task(goal="...", context="...", toolsets=[...], role="leaf")
50
+ ```
51
+
52
+ If `delegate_task` is unavailable, do the work inline rather than inventing tool calls.
53
+
54
+ ## Task tracking
55
+
56
+ Use the `todo` tool for task tracking within a session. For multi-agent task boards, use `hermes kanban` CLI if available. Treat older `TodoWrite` references as the task-tracking action.
@@ -1,16 +1,16 @@
1
- # Pi Tool Mapping
2
-
3
- Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Pi these resolve to the tools below.
4
-
5
- | Action skills request | Pi equivalent |
6
- | --- | --- |
7
- | Dispatch a subagent (`Subagent (general-purpose):` template) | Use an installed subagent tool such as `subagent` from `pi-subagents` if available |
8
- | Task tracking ("create a todo", "mark complete") | Use an installed todo/task tool if available, otherwise track tasks in the plan or `TODO.md` |
9
-
10
- ## Subagents
11
-
12
- Pi core does not ship a standard subagent tool. The `pi-subagents` package is a strong optional companion and provides a `subagent` tool with single-agent, chain, parallel, async, forked-context, and resume/status workflows. If no subagent tool is available, do not fabricate `Task` calls; execute sequentially in the current session or explain that the optional subagent capability is not installed.
13
-
14
- ## Task lists
15
-
16
- Pi core does not ship a standard task-list tool. If a todo/task extension is installed, use its documented tool. Otherwise use Superpowers plan files, checklists in Markdown, or a repo-local `TODO.md` for task tracking. Older Superpowers docs may refer to `TodoWrite`; treat that as the task-tracking action above.
1
+ # Pi Tool Mapping
2
+
3
+ Skills speak in actions ("dispatch a subagent", "create a todo", "read a file"). On Pi these resolve to the tools below.
4
+
5
+ | Action skills request | Pi equivalent |
6
+ | --- | --- |
7
+ | Dispatch a subagent (`Subagent (general-purpose):` template) | Use an installed subagent tool such as `subagent` from `pi-subagents` if available |
8
+ | Task tracking ("create a todo", "mark complete") | Use an installed todo/task tool if available, otherwise track tasks in the plan or `TODO.md` |
9
+
10
+ ## Subagents
11
+
12
+ Pi core does not ship a standard subagent tool. The `pi-subagents` package is a strong optional companion and provides a `subagent` tool with single-agent, chain, parallel, async, forked-context, and resume/status workflows. If no subagent tool is available, do not fabricate `Task` calls; execute sequentially in the current session or explain that the optional subagent capability is not installed.
13
+
14
+ ## Task lists
15
+
16
+ Pi core does not ship a standard task-list tool. If a todo/task extension is installed, use its documented tool. Otherwise use Superpowers plan files, checklists in Markdown, or a repo-local `TODO.md` for task tracking. Older Superpowers docs may refer to `TodoWrite`; treat that as the task-tracking action above.