subagent-driven-development
OBobra/superpowers299k近 7 天新增 2,205 个 star
Use the signed-in ChatGPT website in Chat UI Pro mode, never Work mode, to research, architect, and review one local project through a configured Secure Tunnel and read-only MCP, while Codex alone edits and tests locally. Trigger on explicit $yichen-codex-chatgpt, 让 ChatGPT 设计后由 Codex 写代码, ChatGPT 架构并审查 Codex, or requests for a Codex and ChatGPT collaboration loop. Pure research stays on the official ChatGPT website; code and hybrid work follow ChatGPT PLAN to Codex execution to ChatGPT REVIEW. Website control defaults to in-app browser, then Chrome, then bounded Computer Use. Use a compatible local-only MCP only when the user explicitly requests local-only mode and that optional dependency is configured, never as an automatic fallback.
Use the user's signed-in ChatGPT Chat UI with the active model route visibly labeled Pro as the researcher, architect, and reviewer. Codex is the only code writer and command/test executor.
User in Codex
→ ChatGPT Pro researches and/or reads the project through the Secure Tunnel
→ ChatGPT returns PLAN
→ Codex edits and tests locally
→ ChatGPT reads the real diff and verification evidence through the Tunnel
→ ChatGPT returns REVIEW
→ DONE, one bounded repair cycle, or a reported blocker
The ChatGPT website UI is the control channel for short protocol messages. The Secure Tunnel and remote-review MCP are the data channel for local code, diff, and verification evidence. Do not paste code, diffs, logs, secrets, or absolute local paths into the ChatGPT composer.
local-only, manual code transfer, or generic Playwright.INIT, or EXECUTED message.Pro. Model selection is part of this Skill's work; do not ask the user to perform a routine Pro selection. Reuse that same verified conversation for every message belonging to one research ID or C2C task_id; a new ID starts a new conversation.Pro, first try a direct Pro option, then drive the semantic capability control to its actual maximum and re-read the active label. 极高, 超高, High, or Thinking can be a neighboring position and is not proof that Pro is unavailable.INIT, or EXECUTED message is sent, verify from the active surface's semantic UI state—DOM for browser-client or fresh complete accessibility state for Computer Use—that Chat/聊天 is selected, the unique active model control contains Pro, and Work/工作 is absent. An account subscription label or unrelated Pro text is not proof of Pro model mode.ERROR when the final surface cannot reliably establish selector state. For code, hybrid, and review, also require the private App in that same Chat Pro conversation; pure research never checks or attaches the private App or Tunnel.ERROR, and start no replacement until a fresh Chat Pro precheck succeeds.Honor an explicit mode. Otherwise select the smallest route that completes the request:
| Need | Mode | Default owner and path |
|---|---|---|
| current external evidence, no local code | research | ChatGPT Pro website via in-app browser, then bounded Chrome and Computer Use fallbacks; no Tunnel |
| build, fix, or refactor the current project | code | ChatGPT PLAN → Codex edits/tests → ChatGPT REVIEW |
| current external evidence plus project work | hybrid | ChatGPT research and PLAN → Codex edits/tests → ChatGPT REVIEW |
| review the current project or diff without edits | review | ChatGPT reads through remote-review; Codex remains read-only |
user explicitly says local-only or no ChatGPT | local-only | Codex with a configured compatible local-only MCP; no ChatGPT claim |
If $yichen-codex-chatgpt contains a sufficiently specific factual question, use research. Requests to build, fix, update, implement, or refactor default to code or hybrid; do not ask a redundant routing question. Ask only when the research subject or exact workspace cannot be determined safely.
local-only is opt-in. For research, use BLOCKED when the selected intended surface proves Chat Pro absent, Web Search is unavailable, a required Computer Use action-time confirmation is declined, or a completed answer lacks required first-party search evidence/direct sources; use ERROR when the final permitted control surface fails, a handoff cannot preserve exactly-once state, submission is ambiguous or duplicate, response extraction fails, or marker integrity fails. For code, hybrid, and review, an unavailable private App on the intended surface or an unhealthy Tunnel is also a blocker. None of these failures permits substituting Codex-only reasoning, the local MCP, an OpenAI API, or manual copy/paste.
For $yichen-codex-chatgpt research, use the control-surface priority and fallback route defined in references/research.md. Chrome and Computer Use are activated only through references/browser-surface-ladder.md.
build branch: PRECHECK → INIT → PLAN → EXECUTING → EXECUTED → REVIEW, then the declared review outcome moves Codex to DONE, the one bounded next PLAN, BLOCKED, or ERROR.review_only branch: PRECHECK → INIT(expected_next: REVIEW) → REVIEW, then DONE, BLOCKED, or ERROR. Never enter EXECUTING; a proposed remediation PLAN is reported as BLOCKED pending separate repair authority.PLAN, and REVIEW. Codex verifies that a plan is safe and in scope, then owns all local edits, commands, tests, and repair work.task_id; every browser message has a unique message_id and reply_marker. Reject stale, mismatched, duplicate, or incomplete replies, and never execute one PLAN twice.BLOCKED, report the remaining issue, and re-establish scope, evidence, and authority. User-authorized continuation starts a new task_id at iteration 1 rather than iteration 3 so stale messages and markers cannot cross the checkpoint.The ChatGPT-facing Tunnel must always launch the remote-review profile. It exposes exactly these seven read-only tools:
workspace_overviewlist_filessearch_coderead_snippetreview_changesverification_reportreview_packetIt has no web-search, write, delete, arbitrary-command, install, commit, push, publish, deployment, or account tool. Never switch the Tunnel to local-agent, and never expose search_web, fetch_page, preview_file_change, or apply_file_change to ChatGPT.
Bind the Tunnel to one explicit validated project. Do not broaden the root to /, Home, Documents, a general development directory, or a collection of projects. Keep the Runtime Key in the operating system's secure credential store (for example, macOS Keychain); never print, copy, log, screenshot, or place it in prompts or reports.
Use this only when the user explicitly selects local-only and references/setup.md confirms that a compatible optional local MCP is configured. If it is absent, report BLOCKED; do not invent a server name or silently substitute native Codex reasoning. Its local-agent profile must be able to search/fetch public pages, inspect one bounded workspace, and preview/apply approved single-file text changes under the tool contract in references/local-code.md.
For local-only work, Codex supplies all reasoning and review. State clearly that ChatGPT Pro did not participate. Follow the bounded preview/apply and native-test rules in references/local-code.md; do not start or reconfigure the Tunnel.
Report:
already_pro, direct_option, or semantic_max) and whether the immediate pre-send recheck passed;Use examples/routing-prompts.md for maintenance regression checks.
The default remains the read-only architect/reviewer C2C route. Only on explicit user selection, read Remote Extended MCP Lite or Full Harness Proxy. These are optional workflow contracts, not bundled runtimes or grants of access. Resolve the separately installed compatible runtime through setup; absent dependencies mean BLOCKED, never silently activate another profile. Preserve every action-time local approval described by the selected mode.
OBobra/superpowers299k近 7 天新增 2,205 个 star
MAmattpocock/skills290k近 7 天新增 8,502 个 star
MAmattpocock/skills290k近 7 天新增 8,502 个 star
MAmattpocock/skills290k近 7 天新增 8,502 个 star
AFaffaan-m/ECC279k近 7 天新增 3,369 个 star
AFaffaan-m/ECC279k近 7 天新增 3,369 个 star