cortex-delegate

cortex-delegate is a skill for Claude Code, Codex from amitvijapur/cortex. It costs 41 tokens per session (1,533 once invoked), scanned A, original, MIT.

A delegation guide for creating separate Codex worktree tasks or ChatGPT Work tasks when the user explicitly asks for them. A worktree is an isolated copy of a Git project for making changes safely.

In plain words
What is it for?
It is for splitting explicitly requested work into separate tasks, selecting a local coding task or cloud task, and keeping review with the parent agent.
Why use it?
It prevents ordinary delegation from creating visible user tasks and helps choose the right place for repository work, research, or cloud deliverables.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions Claude Code; mentions Codex.

Good fit It is for splitting explicitly requested work into separate tasks, selecting a local coding task or cloud task, and keeping review with the parent agent.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/amitvijapur/cortex/cortex-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 amitvijapur/cortex --skill cortex-delegate
Clone the repo
git clone --depth 1 https://github.com/amitvijapur/cortex

Made for: Claude Code, Codex.

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 cortex-delegate

README.md
[![agentmods](https://agentmods.dev/badge/skills/amitvijapur/cortex/cortex-delegate/github.svg)](https://agentmods.dev/skills/amitvijapur/cortex/cortex-delegate)
Your own site
<a href="https://agentmods.dev/skills/amitvijapur/cortex/cortex-delegate"><img src="https://agentmods.dev/badge/skills/amitvijapur/cortex/cortex-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 cortex-delegate

Your own site · 80×15
<a href="https://agentmods.dev/skills/amitvijapur/cortex/cortex-delegate"><img src="https://agentmods.dev/badge/skills/amitvijapur/cortex/cortex-delegate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,533 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.00041 $0.01533
Opus 5.5 $0.00016 $0.00613
Sonnet 5.5 $0.00008 $0.00307
Haiku 4.5 $0.00004 $0.00153

Measured 19d ago against content hash 4321339e2fe2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cortex-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 19d 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.

skills/cortex-delegate/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cortex delegate

Keep decomposition, review, and synthesis in the parent. Calibrate effort to risk and verification needs, independently of host or model brand. Read the current session's tool contract before dispatch; it takes precedence over examples here.

This skill creates visible, user-owned tasks. It is not an invisible subagent mechanism. Only create one when the user explicitly asks for a new or separate task. Phrases such as create a new task, spin this into a separate task, or start a Work task qualify. Delegate this or use a subagent alone does not qualify unless the surrounding request clearly identifies a separate Codex or Work task. Use the runtime's subagent tools for ordinary bounded subtasks. If the user's intended surface is genuinely ambiguous and changes the outcome, ask one concise question before creating anything.

Choose the lane

Work needs Lane
Local repository, terminal, tests, or a diff Codex project task
Explicitly requested worktree in a Git repository Codex worktree task
Explicitly requested cloud work task ChatGPT Work
Local files that are not already available to ChatGPT Work Codex local task, or ask the user to attach the files to Work

Do not send coding work to ChatGPT Work merely because it is cloud-hosted. Do not send connected-app research to a local worktree merely because the parent is in Codex.

Parent contract

The parent keeps the judgment:

  1. Decompose the request into independent tasks with explicit acceptance criteria.
  2. Dispatch only tasks that can succeed with the context available in their lane.
  3. Inspect the returned output and evidence. Do not forward a child task's conclusion unreviewed.
  4. Send concrete revision requests only with human authorization to message that task.
  5. Integrate the results and make the final call in the parent.

Keep delegation bounded. Default to one task. Use parallel tasks only when the work is genuinely independent, and keep the number small enough that the parent can review every result.

Read the full file on GitHub · 87 lines

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. 19d ago Changed · +4 lines 4321339e2fe2
  2. 1mo ago Changed · -1 lines · -20 tokens per session d951a1971539
  3. 3mo ago First seen · 84 lines · 61 tokens per session scan A 10051d40b645

Subscribe to this mod's changes

cortex-delegate is a skill published in the GitHub repository amitvijapur/cortex (5 stars, last pushed 8d ago), licensed MIT. It adds 41 tokens to every session and 1,533 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-09-06.

Related

cortex-delegate compared with skills from other repositories

cortex-delegate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cortex-delegateamitvijapur/cortexSkill58d agoMITA41Claude Code, Codex
releasefmind/agent-supagentsSkill613d agoMITA29Claude Code
changes-reportyarlson/yarstackSkill31mo agoMITA54Claude Code
coderabbit-triageyarlson/yarstackSkill31mo agoMITA39Claude Code
roadmap-task-deliveryarlson/yarstackSkill31mo agoMITA52Claude Code
jira-issue-deliveryarlson/yarstackSkill31mo agoMITA51Claude Code
plan-deliveryarlson/yarstackSkill31mo agoMITA71Claude Code