Skip to content

Commit 9b48346

Browse files
committed
docs: clarify workflow-driven subagents
1 parent 80b28e7 commit 9b48346

10 files changed

Lines changed: 11 additions & 11 deletions

File tree

plugins/productivity-skills/docs/maintainers/codex-subagent-guidance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Use wording like this in applicable skills:
4141
```markdown
4242
## Codex Subagent Fit
4343

44-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, this skill can split read-heavy discovery into bounded subagent tasks and keep the main thread focused on decisions and final edits.
44+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, this skill can split read-heavy discovery into bounded subagent tasks and keep the main thread focused on decisions and final edits.
4545

4646
Good subagent jobs for this skill:
4747

plugins/productivity-skills/skills/explain-code-slice/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ Treat comparison requests as first-class trigger cases, not as an advanced follo
9393

9494
## Codex subagent fit
9595

96-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, this skill can split read-heavy discovery for large code slices into bounded subagent tasks. Good subagent jobs include mapping call sites, reading tests, checking docs, or tracing one branch of a comparison, with each worker returning concise file references and findings.
96+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, this skill can split read-heavy discovery for large code slices into bounded subagent tasks. Good subagent jobs include mapping call sites, reading tests, checking docs, or tracing one branch of a comparison, with each worker returning concise file references and findings.
9797

98-
Do not spawn subagents just because a slice is large. Use them when the request or applicable workflow guidance makes delegation part of the job. Keep the final explanation in the main thread so the user gets one coherent walkthrough, and keep any write or refactor follow-up outside this skill unless the user asks for that next step.
98+
Do not spawn subagents just because a slice is large. Use them when the request explicitly asks for delegation or applicable workflow guidance tells the agent to ask and the user allows it. Keep the final explanation in the main thread so the user gets one coherent walkthrough, and keep any write or refactor follow-up outside this skill unless the user asks for that next step.
9999

100100
## Detail levels
101101

plugins/productivity-skills/skills/maintain-project-accessibility/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ The base contract requires:
5656

5757
## Codex Subagent Fit
5858

59-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for read-heavy accessibility evidence gathering before the main workflow edits or reports. Good jobs include checking documented verification commands, inventorying UI surfaces, reading known-gap notes, or comparing accessibility claims against repo evidence.
59+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for read-heavy accessibility evidence gathering before the main workflow edits or reports. Good jobs include checking documented verification commands, inventorying UI surfaces, reading known-gap notes, or comparing accessibility claims against repo evidence.
6060

6161
Keep `apply` edits in the main thread because this skill owns one target `ACCESSIBILITY.md` file and must avoid unsupported compliance claims. Ask workers for concise evidence, risks, and file references rather than drafted conformance language.
6262

plugins/productivity-skills/skills/maintain-project-agents/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ The base contract is shaped to match the official Codex `AGENTS.md` guidance:
6161

6262
## Codex Subagent Fit
6363

64-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for bounded read-heavy checks before the main workflow edits or reports. Good jobs include auditing command accuracy, comparing repo instructions against nearby docs, checking safety boundaries, or reading nested guidance files in separate directories.
64+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for bounded read-heavy checks before the main workflow edits or reports. Good jobs include auditing command accuracy, comparing repo instructions against nearby docs, checking safety boundaries, or reading nested guidance files in separate directories.
6565

6666
Keep `apply` edits in the main thread because this skill owns one target `AGENTS.md` file and needs one coherent policy voice. If a target `AGENTS.md` mentions subagents, make the wording match OpenAI's current Codex rule: subagents need an explicit trigger, are best for bounded parallel discovery, tests, triage, and summarization, and may be called for by narrower plugin guidance that tells the agent to ask before delegation.
6767

plugins/productivity-skills/skills/maintain-project-api/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ The base contract requires:
5252

5353
## Codex Subagent Fit
5454

55-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for read-heavy API evidence gathering before the main workflow edits or reports. Good jobs include inventorying endpoints or public symbols, checking examples against tests, reading schema definitions, or comparing compatibility claims against release notes.
55+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for read-heavy API evidence gathering before the main workflow edits or reports. Good jobs include inventorying endpoints or public symbols, checking examples against tests, reading schema definitions, or comparing compatibility claims against release notes.
5656

5757
Keep `apply` edits in the main thread because this skill owns one target `API.md` file and must avoid invented endpoints, schemas, credentials, or support promises. Ask workers for concise evidence and file references instead of replacement API prose.
5858

plugins/productivity-skills/skills/maintain-project-architecture/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ When the user asks for a new slice explanation, use `explain-code-slice` for the
7171

7272
## Codex Subagent Fit
7373

74-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for read-heavy discovery. Good jobs include scanning package manifests, listing products and targets, finding entrypoints, or tracing one candidate slice. Keep writes to `ARCHITECTURE.md`, `SLICES.md`, and `architecture.json` in the main thread so the architecture story stays coherent.
74+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for read-heavy discovery. Good jobs include scanning package manifests, listing products and targets, finding entrypoints, or tracing one candidate slice. Keep writes to `ARCHITECTURE.md`, `SLICES.md`, and `architecture.json` in the main thread so the architecture story stays coherent.
7575

7676
## Output Contract
7777

plugins/productivity-skills/skills/maintain-project-contributing/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The base contract requires:
5454

5555
## Codex Subagent Fit
5656

57-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for read-heavy contribution-guide discovery before the main workflow edits or reports. Good jobs include checking setup commands, comparing PR expectations against repo policy, reading workflow docs, or verifying contributor-facing tool requirements.
57+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for read-heavy contribution-guide discovery before the main workflow edits or reports. Good jobs include checking setup commands, comparing PR expectations against repo policy, reading workflow docs, or verifying contributor-facing tool requirements.
5858

5959
Keep `apply` edits in the main thread because this skill owns one target `CONTRIBUTING.md` file and needs one coherent contributor contract. Ask workers for concise evidence and file references, not replacement guide prose.
6060

plugins/productivity-skills/skills/maintain-project-readme/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ This skill is the primary layer for README maintenance. It defines the canonical
4646

4747
## Codex Subagent Fit
4848

49-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for read-heavy README discovery before the main workflow edits or reports. Good jobs include checking source docs, inventorying commands, inspecting sibling package metadata, or comparing README claims against one upstream source per worker.
49+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for read-heavy README discovery before the main workflow edits or reports. Good jobs include checking source docs, inventorying commands, inspecting sibling package metadata, or comparing README claims against one upstream source per worker.
5050

5151
Keep `apply` edits in the main thread because this skill has one target file and a hard-enforced schema. Ask subagents to return concise evidence and file references, not replacement README prose.
5252

plugins/productivity-skills/skills/maintain-project-repo/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Install or refresh the reusable `maintain-project-repo` toolkit inside a general
113113

114114
## Codex Subagent Fit
115115

116-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for read-heavy repo-maintenance discovery before the main workflow installs, refreshes, or reports. Good jobs include inspecting existing validation scripts, checking CI wrapper shape, reading release docs, or inventorying repo-specific commands in separate directories.
116+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for read-heavy repo-maintenance discovery before the main workflow installs, refreshes, or reports. Good jobs include inspecting existing validation scripts, checking CI wrapper shape, reading release docs, or inventorying repo-specific commands in separate directories.
117117

118118
Keep managed file installation, refresh, and release guidance in the main thread unless the user explicitly requests parallel implementation with disjoint write scopes. Subagents should return concise findings and file references so the main thread can make one coherent decision about the managed toolkit.
119119

plugins/productivity-skills/skills/maintain-project-roadmap/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This skill is the general template layer for roadmap maintenance. It defines the
4040

4141
## Codex Subagent Fit
4242

43-
When subagents are explicitly requested or clearly called for by applicable workflow guidance, use them for read-heavy roadmap discovery before the main workflow edits or reports. Good jobs include checking one milestone family per worker, comparing roadmap claims against release notes, or gathering evidence from docs and issues for backlog triage.
43+
When subagents are explicitly requested, or applicable workflow guidance tells the agent to ask and the user allows it, use them for read-heavy roadmap discovery before the main workflow edits or reports. Good jobs include checking one milestone family per worker, comparing roadmap claims against release notes, or gathering evidence from docs and issues for backlog triage.
4444

4545
Keep `apply` edits in the main thread because this skill owns one target roadmap and must preserve one coherent planning structure. Ask workers for concise findings, candidate changes, and references instead of direct roadmap rewrites.
4646

0 commit comments

Comments
 (0)