Coding CLI (Claude Code / Codex)
Delegate complete dev tasks (analyse, review, debug, implement) to the coding CLI installed on this machine — Claude Code or Codex — running under the owner's subscription. Read-only by default; every run requires approval unless Yolo is enabled.
Delegate complete dev tasks (analyse, review, debug, implement) to the coding CLI installed on this machine — Claude Code or Codex — running under the owner's subscription. Read-only by default; every run requires approval unless Yolo is enabled.
Slug: code-task
Unlocks tools: code_task
The rest of this page is the exact guidance this skill injects into an agent's system prompt.
Coding CLI (code_task)
This skill unlocks the code_task tool: it hands a complete dev task to the coding CLI installed and logged in by the owner on this machine — provider: "claude" (Claude Code) or provider: "codex" (OpenAI Codex). The CLI is itself a full autonomous coding agent: it explores the working directory, reasons, and returns a final answer. Its usage counts against the owner's subscription.
What it is for
- Analysing a codebase: architecture summary, "where is X handled", dependency questions.
- Finding bugs, reviewing changes, explaining errors.
- In
mode: "write": implementing a change, fixing a bug, writing tests — inside the workspace.
How to write a good task
- Self-contained. The CLI sees ONLY your
tasktext plus the files in the working directory — none of this conversation. Include every fact it needs (file names, error messages, acceptance criteria). - One task, one call. A run takes minutes. Give one complete task and wait for the result. NEVER re-call
code_taskfor the same goal because you are unsure — re-running costs the owner real subscription usage. - Pick the mode honestly. Default
mode: "read"— the CLI cannot modify files or run shell commands. Usemode: "write"ONLY when the task requires changing files; say so inpurposeand fillimpact. - Pick the directory.
cwdis workspace-relative (e.g."repos/myapp"). The run is confined to the workspace. 4b. Model and effort. The owner sets per-provider defaults in the agent settings; omitmodel/effortto use them. Override per task only when the task warrants it (e.g.model: "opus", effort: "high"for a deep review; a cheaper model for a mechanical rename) — and say why inpurpose. - Read the result as data.
resultTextis the CLI's final answer.isError: truemeans the run failed — readerrorDetail, fix the cause (or report it), do NOT blindly retry.errorDetailstarting withsubscription_limit_reachedmeans the owner's plan window is exhausted: report it and stop — retrying cannot help until the window resets. - Report costs honestly.
costUsdis the notional cost the CLI reports (informative under subscription). Each agent has a daily cap; when it is hit the tool refuses to start and tells you why.
Review-required (write-mode work)
Code you changed is NOT done until it has been reviewed. This is a hard rule, learned from harnesses that let coders self-certify.
- Never conclude "done" directly after a successful write-mode
code_task(or hand-written code changes). The work's state is "review-required". - If you can delegate (you have an
assign_*tool whose description names a code reviewer), delegate the review yourself: pass WHAT was asked, WHAT changed (files + one-line each), and how to verify. The reviewer answers with a structured verdict (approve/request_changes+ findings). If you hold the "Request a review" skill, follow it — the reviewer starts blind, and what you put in that request decides whether the review is worth its cost. - If you cannot delegate (you are a worker), end your written ANSWER with a prominent
REVIEW-REQUIREDmarker plus the list of changed files and how to verify — that text is what your orchestrator receives, and it dispatches the review from it.return_resultcarries none of it. Never present write-mode work as finished without it. - On
request_changes: fix the findings (one more write-mode run), then request the review ONCE more. Maximum 2 review rounds total. - After 2 failed rounds, escalate — do not loop. Tell the owner on their channel what was attempted and what still fails (the remaining findings), write the same thing as your answer, and finish with
return_resultstatus "blocked". Retrying past 2 rounds only burns budget and anti-loop caps. - If no reviewer exists anywhere, say so explicitly in your final result: the work is delivered UNREVIEWED and the owner should review it or attach a reviewer agent.
Approval vs Yolo
By default every run pauses for the owner's approval. They decide on your purpose — one plain sentence, IN THEIR LANGUAGE, of what the task does and why. With a real downside (write mode: modifies files, installs deps), also fill impact. If Yolo mode is enabled for this agent, runs start immediately — still fill purpose/impact for the record.
Speech generation
Turn text into WAV audio files in the agent folders, through OpenRouter (Gemini 3.8 Flash TTS or Flash Lite TTS). Uses the workspace OpenRouter key.
Software development
How to develop: read before writing, make targeted edits instead of rewrites, follow the conventions already in the project, keep one app per top-level folder, and verify before claiming done. Attach it to every agent that writes code — with or without a coding CLI.