Skill v1.0.0
currentLLM-judged scan90/100version: "1.0.0"
name: team-plan description: Create a worker ownership plan for CCG team execution. Use when the user invokes /ccg:team-plan.
Research
Use existing independent research agents with grok-search MCP. Search actively and verify key conclusions against original sources; check versions/licenses when reusing code and experiment conditions when adopting papers. Mark unverified findings. Archived instructions below are inactive: ordinary work does not run Grok CLI/ACP, wait for its gates, or require its manifests and hash packages.
<!-- Legacy Grok CLI/ACP reference; inactive in ordinary research.
Automatic External Intelligence Gate
Before ordinary work, run the shared route once from the controller:
ccg-codex route --workflow team-plan --phase team-intake --task-file ".ccg/tasks/<task-id>/intelligence-request.md" --state-file ".ccg/tasks/<task-id>/intelligence-route.json"
Run this potentially long route with the host's tool-managed background execution and wait mechanism; never put it under a foreground timeout shorter than the runner's 10-minute timeout. If the host cancels or terminates the job before a terminal state is written, run ccg-codex route recover --state-file <state-file> --status cancelled --reason "<reason>" (or use --status failed); recovery refuses to overwrite a live owner.
Only the controller or team leader runs this gate. Teammates reuse the persisted state and never invoke Grok independently. Add --semantic-mode contract|incident --semantic-reason "<Codex judgment>" only for an explicit semantic decision. The runtime honors disabled config, persists the decision reason, and must be re-run after plan, dependency, target, diff, or phase digest changes. Stop ordinary work on exit code 2, 3, or 4 only for an explicit required semantic route; advisory search failures do not block ordinary work.
-->
CCG Team Plan
Reuse the current Trellis plan when available. A formal team execution view may live at .codex/ccg/team/<task>/plan.md; it does not become a second plan authority. Follow ../ccg-team/references/native-workers.md. Ordinary independent helpers do not need this formal plan. Zero workers is valid when root can finish directly.
Required Structure
## Workers| Worker | Scope | Reads | Writes | Constraints ||--------|-------|-------|--------|-------------|## Merge Strategy## Verification Strategy## Conflict Risks
Distinguish shared reads from write ownership. Serialize writer/writer and writer/reader conflicts or give readers a fixed copy. Write the plan in Chinese.
Required Helper Flow
- Validate the plan structure with
../ccg-team/scripts/team_plan_checker.js summarize <plan.md> --json. - Run
../ccg-team/scripts/team_plan_checker.js validate <plan.md> --jsonbefore recommending/ccg:team-exec. - Keep the plan executable with explicit dependencies and serialization for conflicting access; a merge promise alone never allows simultaneous writing. Batch/report labels are recoverable metadata, not new stop gates.