Help us improve
Share bugs, ideas, or general feedback.
From codegen-bridge
Automatically delegate tasks to Codegen cloud agents when user requests code changes, implementations, or fixes that should run remotely. Triggered when codegen_create_run or codegen_start_execution tools are invoked. Includes prompt templates and quality checklist.
npx claudepluginhub evgenygurin/codegen-bridge --plugin codegen-bridgeHow this skill is triggered — by the user, by Claude, or both
Slash command
/codegen-bridge:codegen-delegationThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Intelligently delegate coding tasks to Codegen cloud agents. This skill activates when a user asks for code changes that should be executed remotely rather than locally — refactors, feature implementations, bug fixes, or any task that benefits from isolated sandbox execution.
Delegates coding tasks (debug, implement feature, refactor) to OpenAI Codex CLI via codex exec for direct execution. Claude verifies; skips Node wrapper for speed on straightforward tasks.
Delegates complex code generation, refactoring, architectural analysis, and review tasks to OpenAI's Codex CLI (GPT-5.3-codex models) via safe workflows with sandboxing and approvals. Activates on explicit triggers like 'use codex' or 'codex exec'.
Orchestrates multi-agent coding tasks via Claude DevFleet: plans projects into mission DAGs, dispatches parallel agents to isolated git worktrees, monitors progress, and retrieves structured reports.
Share bugs, ideas, or general feedback.
Intelligently delegate coding tasks to Codegen cloud agents. This skill activates when a user asks for code changes that should be executed remotely rather than locally — refactors, feature implementations, bug fixes, or any task that benefits from isolated sandbox execution.
Core principle: Detect intent, prepare context, delegate, confirm.
This skill is invoked by the model when any of these MCP tools are called:
codegen_create_run — creating a new agent runcodegen_start_execution — initializing an execution contextcodegen_resume_run — resuming a paused agentBefore delegating, ensure:
CODEGEN_API_KEY and CODEGEN_ORG_ID environment variables are setcodegen_list_repos to verify the repo exists in the organizationEvaluate whether the task is suitable for cloud delegation:
| Good for delegation | Better done locally |
|---|---|
| Feature implementation | Quick one-line fix |
| Refactoring across files | Reading/exploring code |
| Bug fix with clear repro | Interactive debugging |
| Test suite additions | Configuration changes needing local env |
| Documentation generation | Tasks requiring local secrets/services |
If the task is better done locally, say so and handle it directly instead.
For multi-step work, initialize an execution context first:
codegen_start_execution(
execution_id=<unique_id>,
goal=<user's goal>,
mode="adhoc" or "plan",
tasks=[{title, description}, ...],
tech_stack=[...],
architecture=<if known>
)
For single tasks, skip to Step 3.
Use the prompt template from templates/task-prompt-template.md as your base. Apply the prompt-crafting skill for quality.
Prompt Quality Checklist (verify before submitting):
path/file.ts")Compose the prompt following this structure:
## Context
- Repository: <owner/repo-name>
- Tech stack: <languages, frameworks, key libraries>
- Architecture: <brief — e.g., "Next.js App Router + Prisma">
- Relevant files: <exact file paths the agent should focus on>
## Task
<Clear, specific description of what needs to be done>
## Requirements
- <Specific acceptance criteria — what "done" looks like>
- Run tests after changes: <exact test command>
- Create a PR with descriptive title and body
## Constraints
- Create a branch from main
- Use conventional commit messages
- Do NOT modify files outside: <scope list>
For multi-step plan tasks, use templates/multi-step-prompt-template.md instead — it includes previous task summaries for context.
Submit via:
codegen_create_run(
prompt=<composed_prompt>,
execution_id=<ctx_id if multi-step>,
agent_type="claude_code"
)
After the run is created, report back to the user:
/cg-status or ask me to check on it"Do:
Don't:
| Error | Action |
|---|---|
| No repository detected | Ask user which repo to use, or run codegen_list_repos |
| HTTP 402 (billing limit) | Tell user: "Codegen billing limit reached" |
| HTTP 403 (auth error) | Tell user to check API key and org ID |
| HTTP 429 (rate limit) | Wait 60 seconds, retry once |
| Prompt too vague | Ask user for more detail before submitting |
confirmed=True)/cg-status or viewing logs with /cg-logs