delegate

delegate is a skill for Claude Code from Brainrot-Creations/claude-plugins. It costs 40 tokens per session (456 once invoked), scanned A, original, MIT.

A skill for sending a sub-task to the OpenAI Codex command-line tool, a terminal program that can edit code and generate files.

In plain words
What is it for?
Use it for code editing, test creation, refactoring, and automated code generation through synchronous or background tasks.
Why use it?
It moves complex or multi-step coding work to a separate Codex process while the main agent continues or waits for the result.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Codex.

Part of the codex plugin — 1 skill shipped together

Good fit Use it for code editing, test creation, refactoring, and automated code generation through synchronous or background tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/brainrot-creations/claude-plugins/delegate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Brainrot-Creations/claude-plugins --skill delegate
Clone the repo
git clone --depth 1 https://github.com/Brainrot-Creations/claude-plugins

Made for: Claude Code.

Or install codex, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/brainrot-creations/claude-plugins/delegate/github.svg)](https://agentmods.dev/skills/brainrot-creations/claude-plugins/delegate)
Your own site
<a href="https://agentmods.dev/skills/brainrot-creations/claude-plugins/delegate"><img src="https://agentmods.dev/badge/skills/brainrot-creations/claude-plugins/delegate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for delegate

Your own site · 80×15
<a href="https://agentmods.dev/skills/brainrot-creations/claude-plugins/delegate"><img src="https://agentmods.dev/badge/skills/brainrot-creations/claude-plugins/delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.00456
Opus 5.5 $0.00016 $0.00182
Sonnet 5.5 $0.00008 $0.00091
Haiku 4.5 $0.00004 $0.00046

Measured 3mo ago against content hash 131778b3cd75, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

delegate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/codex/skills/delegate/SKILL.md · 67 lines

What it actually says

Use the codex MCP tools to delegate tasks to OpenAI Codex CLI.

Prerequisites

Codex must be installed and signed in:

npm i -g @openai/codex
# sign in via the Codex app — no API key needed

Synchronous delegation (need result now)

Use codex_run when you need the output before continuing:

codex_run(
  prompt="<full task description with all context Codex needs>",
  cwd="/path/to/project"   # optional, defaults to current directory
)

Returns the final Codex message as a string.

Background delegation (parallel work)

Use codex_task_submit to fire off tasks and continue working:

  1. Submit one or more tasks:

    codex_task_submit(name="Refactor auth module", prompt="...", cwd="...")
    codex_task_submit(name="Write tests for API", prompt="...", cwd="...")
    
  2. Check status:

    codex_task_status(task_id="<id>")
    
  3. Fetch result when completed:

    codex_task_result(task_id="<id>")
    
  4. See all tasks:

    codex_tasks_list()
    

Environment variables

Variable Purpose
CODEX_PATH Override path to the codex binary
CODEX_SANDBOX read-only, workspace-write, or danger-full-access — if unset, uses --dangerously-bypass-approvals-and-sandbox for headless operation

Writing good prompts for Codex

  • Include full context — Codex starts fresh with no knowledge of prior work
  • Specify the working directory if the task involves files
  • Be explicit about what "done" looks like (files to edit, tests to pass, output expected)
  • If the task spans multiple files, list the key ones
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 67 lines · 40 tokens per session scan A 131778b3cd75

Subscribe to this mod's changes

delegate is a skill published in the GitHub repository Brainrot-Creations/claude-plugins (23 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 456 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

delegate compared with skills from other repositories

delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
delegateBrainrot-Creations/claude-pluginsSkill235mo agoMITA40Claude Code
vigil-instrumenttonone-ai/tononeSkill843d agoMITA61Claude Code
test-rungtapps/claude-code-hermitSkill872d agoMITA35Claude Code
apex-skillifytonone-ai/tononeSkill843d agoMITA41Claude Code
generate-clipDojoCodingLabs/remotion-superpowersSkill1941mo agoMITA32Claude Code
design-system-referencewigtn/wigtn-pluginsSkill45yesterdayApache-2.0A43Claude Code
boss-briefingsehoon787/my-claudeSkill17todayMITA23Claude Code