delegate-coding

Delegates coding tasks to headless coding agent CLIs with a shared invocation contract.

1|1|Updated Jul 6, 2026
One-click install
npx skills add https://github.com/gabesan21/project-of-projects --skill delegate-coding-gabesan21
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: delegate-coding
Source: https://github.com/gabesan21/project-of-projects/tree/main/.agents/skills/delegate-coding
Command: npx skills add https://github.com/gabesan21/project-of-projects --skill delegate-coding-gabesan21

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Running coding work through external agentic CLIs (Cursor CLI, opencode, Codex CLI, droid) requires consistent rules for auto-approval flags, authentication failures, isolation, timeouts, and output verification, which are easy to get wrong per tool. ## Core Features & Use Cases - Unified invocation contract: Defines seven rules that apply to all four CLIs, including yolo mode, login preconditions, worktree isolation, scoped prompts, timeouts, JSON output, and result verification. - Tool selection guidance: Provides a decision table mapping task needs (Cursor models, multi-provider, OpenAI ecosystem, Factory catalog) to the right CLI and its dedicated skill. - Yolo flag reference: Documents the exact auto-approval flag per tool, such as --force for Cursor CLI and --dangerously-bypass-approvals-and-sandbox for Codex CLI. - Use Case: An orchestrator agent receives a coding task, checks which CLI is installed with command -v, picks the matching tool, and invokes it in an isolated worktree with a timeout and a scoped prompt. ## Quick Start Ask the agent to delegate this coding task to an installed headless coding CLI following the delegate-coding contract, using an isolated worktree, the tool's yolo flag, a timeout, and JSON output capture.

Frequently Asked Questions about delegate-coding

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I delegate a coding task to a headless coding agent CLI?▼

Invoke the CLI inside a dedicated worktree with a scoped prompt containing one objective, a completion criterion, and a boundary. Always add the tool's yolo flag, wrap the call in an OS timeout, request JSON output, and verify the resulting diff or tests before accepting.

Which headless coding CLI should I use: Cursor CLI, opencode, Codex CLI, or droid?▼

Choose Cursor CLI for Cursor models, opencode for multi-provider setups, Codex CLI for the OpenAI ecosystem with AGENTS.md support, and droid for Factory's catalog. As a tiebreaker, prefer the installed tool that already has context files in the repo.

What happens if the coding CLI returns an authentication error?▼

An authentication error mentioning credentials, login, API keys, 401, or 403 completely aborts the orchestrator's task. There is no retry, no fallback to another tool, and no proceeding; the issue is reported to the human and execution stops.

What is the yolo flag for each coding agent CLI?▼

Cursor CLI uses `--force`, opencode uses `--auto`, Codex CLI uses `--dangerously-bypass-approvals-and-sandbox` (alias `--yolo`), and droid uses `--skip-permissions-unsafe`. Confirm flags with `--help` on first invocation since versions diverge.

Why is Claude Code not included in the delegated coding tools?▼

Claude Code was deliberately excluded by a decision dated 2026-07-16 because headless use of its CLI implies additional costs, which conflicts with the purpose of these skills. It must not be re-added without a human decision.