delegate

delegate is a skill for Claude Code, Codex 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 CodeCodex

Part of the codex plugin — 1 skill shipped together

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.

agentmods
npx agentmods add skills/brainrot-creations/claude-plugins/delegate
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00040 $0.00456
Opus 5 $0.00020 $0.00228
Sonnet 5 $0.00008 $0.00091
Haiku 4.5 $0.00004 $0.00046

Measured 3d ago against content hash 131778b3cd75, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 (22 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 456 once invoked, about $0.0002 per session on Opus 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

Other skills, from other repositories

xcodebuildmcp-structured-output-review

Use when reviewing XcodeBuildMCP structured output schema changes, schema versioning, manifest outputSchema metadata, and JSON fixture compatibility.

getsentry/XcodeBuildMCP · 37 tokens

opik-diagnose

Surface the Opik traces worth a developer's attention, ranked by signal — errors, failed tool calls, latency, regressions, and low online-eval scores — plus Diagnostics issues. Reads live/production traces via the SDK (searchtraces and agentinsights) and works with no MCP; uses the MCP issue entity when connected.…

comet-ml/opik-mcp · 147 tokens

tabnexus-mcp-evals

Generate, validate, and run isolated Codex-to-TabNexus MCP evaluations with a curated 600-query dataset, executable gold tool labels, safety checks, and best-of-three stability scoring. Use when testing TabNexus MCP tool coverage, Agent behavior, regression quality, destructive-action safety, prompt changes, or a…

KaichenCurry/TabNexus · 75 tokens

compare

Structured comparison of 2+ alternatives with consistent criteria and decision matrix.

n24q02m/wet-mcp · 15 tokens

maya-shot-export

Pipeline stage — shot-level export: frame ranges, cameras, FBX / Alembic packaging for editorial. Use when packaging shot data for downstream departments. Not for full pipeline publish (maya-pipeline) or scene assembly (maya-scene-assembly).

dcc-mcp/dcc-mcp-maya · 60 tokens

concept-synthesis

Deduplicate and synthesize raw concept stubs into a tiered intellectual map (T1 Canon to T4 Riff), tracing idea evolution across sources over time. Transforms thousands of raw concept pages into a curated intellectual fingerprint.

timurgaleev/memex · 50 tokens