cortex-plan

cortex-plan is a skill for Claude Code, Codex from lktiep/cortex-hub. It costs 89 tokens per session (3,005 once invoked), scanned A, original, MIT.

A planning method for splitting complex coding work into a dependency tree of tasks for workers on different machines. It accounts for each machine's operating system and capabilities and gives each worker enough context to start independently.

In plain words
What is it for?
Use it to survey a project, define the outcome and limits, divide work into reviewable tasks, and assign those tasks to available machines.
Why use it?
It prevents missing dependencies, assigning work to unsuitable machines, or giving workers tasks that depend on conversation context they cannot see.

Skill for Claude CodeCodex

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

Good fit Use it to survey a project, define the outcome and limits, divide work into reviewable tasks, and assign those tasks to available machines.

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

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-plan

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lktiep/cortex-hub/plan"><img src="https://agentmods.dev/badge/skills/lktiep/cortex-hub/plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,005 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.00089 $0.03005
Opus 5.5 $0.00036 $0.01202
Sonnet 5.5 $0.00018 $0.00601
Haiku 4.5 $0.00009 $0.00300

Measured today against content hash 5066bfe0d02c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cortex-plan 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 today.

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.

templates/skills/plan/SKILL.md · 224 lines

How it starts

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

Planning a Conductor task tree

A plan is a dependency graph of tasks that workers on other machines run in parallel. A worker starts cold: a fresh worktree of the project's default branch, plus its own task's title, description and files. It never sees the plan, the other tasks or this conversation. Shape the plan for the machines you have, and write every task for that reader.

The same guide is served by cortex_task_tree_create(guide: true), so any model can read it.

1. Fill the plan brief

Answer each line before you plan. Ask the user for what you can't find; don't guess.

Outcome:      what is true when the whole plan is done (observable)
Out of scope: what this plan must not change
Repo/branch:  project and the base branch workers start from
Constraints:  deadline, compatibility, areas no one may touch
Machines:     one line per worker from cortex_agents (see 3)
Approvals:    who approves work (user or lead) and who merges PRs
Known traps:  what knowledge/memory recall turned up

2. Decide whether you need a tree

  • One change in one or two files, under an hour of work: no tree. Do it, or create one task with cortex_task_create.
  • A tree pays off with three or more independently reviewable changes, or work that can run on several machines at once.
  • Two tasks in a row is not a plan. Merge them into one task, or find the work that can run beside them.

3. Survey the code and the machines

  1. cortex_knowledge_search and cortex_memory_search on the request: earlier decisions and known traps.
  2. cortex_code_search or cortex_code_context to find the code, and cortex_code_impact on shared symbols to see what else changes. Write down the files each change touches: you need them for files and to see what can run in parallel.
  3. cortex_agents to see the workers. For each one note: idle or busy, OS, engines and models, capabilities, the project it is scoped to, and any exhausted quota. Then:
    • Width. Idle workers that can take this project's tasks are your parallelism. Aim for at least that many ready tasks at the widest level when the work allows it. More tasks than workers is fine: they queue.
    • Scope. A worker scoped to a project only takes that project's tasks. An unscoped one takes any.
    • Machine-specific work. Work that needs one environment (a Windows build, a GPU, a tool installed on one machine, a model only one machine has) gets requiredCapabilities that only those workers advertise. Use pinnedAgent only when exactly one machine may do it: a pinned task waits for that machine even while others sit idle.
    • Engines. Match the task to the engine: design and tricky debugging to the strongest model with high effort; mechanical edits to a cheaper one. agy runs headless and cannot run shell commands, not even the tests, so give it edit-only tasks. Add a fallback route for important tasks so an exhausted quota doesn't stall the plan.
    • Quota. Don't route to an engine and model whose quota is exhausted until after the plan should be done.

Read the full file on GitHub · 224 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. today First seen · 224 lines · 89 tokens per session scan A 5066bfe0d02c

Subscribe to this mod's changes

cortex-plan is a skill published in the GitHub repository lktiep/cortex-hub (97 stars, last pushed yesterday), licensed MIT. It adds 89 tokens to every session and 3,005 once invoked, about $0.0004 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-10-25.

Related

Other skills, from other repositories

tasks

Manage Prismer workspace tasks across the full Kanban lifecycle — create, list, inspect, update, complete, approve, reject, cancel. Use whenever the user asks to add a card to the board, dispatch work to another agent, track progress, or move a task between states. Executes via the cloud task CLI.

Prismer-AI/PrismerCloud · 68 tokens

test-result-feedback

Close the acceptance loop for a tested change — consume the apc test TierResult, map EACH acceptance criterion to a pass/fail outcome from structured fields (never chat text), attach an evidence ref, and write it back to the task. A SUT red is a finding, never softened to green.

Prismer-AI/PrismerCloud · 65 tokens

prismer-notion

Notion API + ntn CLI: pages, databases, markdown, Workers.

Prismer-AI/PrismerCloud · 21 tokens

doc-sync

Before merge, mechanize Documentation-First — derive the code delta from git diff, then verify required docs are in sync (CHANGELOG, docs/api, CLAUDE.md/ROADMAP). Any SDK-package change must carry a matching CHANGELOG entry + aligned version files. A change that skipped a required doc is flagged as a gap; a…

Prismer-AI/PrismerCloud · 79 tokens

spec-intake

Turn one atomic feature/gap request into a dispatchable task in a single pass — create the task, write SPEC.md (auto-folded into linkedAssetIds server-side), add acceptance criteria, record provenance. Two-part epics are refused, not silently split.

Prismer-AI/PrismerCloud · 57 tokens

prismer-teams-meeting-pipeline

Teams meeting summaries, job replay, Graph subscriptions.

Prismer-AI/PrismerCloud · 19 tokens