plan

plan is a command for coding agents from Yeachan-Heo/gajae-code. It costs 22 tokens per session (276 once invoked), scanned A, a copy of execute, MIT.

A command that sends a planning request to another coding agent and returns a plan that waits for approval. It can keep the request tied to the current project and conversation.

In plain words
What is it for?
For delegating project planning to GJC, then checking the delegated session and receiving its completed plan.
Why use it?
It lets another agent prepare a plan while keeping changes read-only until approval is explicitly given.

Command

Part of the gajae-code plugin — 3 skills, 2 commands 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 commands/yeachan-heo/gajae-code/delegate_plan
Clone the repo
git clone --depth 1 https://github.com/Yeachan-Heo/gajae-code

Or install gajae-code, the plugin that ships this one along with the rest of its 3 skills, 2 commands.

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 plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/yeachan-heo/gajae-code/delegate_plan.svg)](https://agentmods.dev/commands/yeachan-heo/gajae-code/delegate_plan)
Your own site
<a href="https://agentmods.dev/commands/yeachan-heo/gajae-code/delegate_plan"><img src="https://agentmods.dev/badge/commands/yeachan-heo/gajae-code/delegate_plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 276 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 91% copy Near-identical to another mod 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.00022 $0.00276
Opus 5 $0.00011 $0.00138
Sonnet 5 $0.00004 $0.00055
Haiku 4.5 $0.00002 $0.00028

Measured 4d ago against content hash 403da8a36f61, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

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 4d 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.

Origin

This is a copy

91% identical to execute — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/gajae-code/commands/delegate_plan.md · 23 lines

What it actually says

Call the gjc_delegate_plan coordinator MCP tool to delegate this work to gajae-code.

  • Pass the current project directory as cwd.
  • Pass the user's request as task.
  • Only set allow_mutation: true after the user explicitly approves changes AND the coordinator server was started with the sessions mutation class enabled. Delegation is read-only until both conditions hold.

GJC starts a session and runs /skill:ralplan to completion, returning a durable turn_id, status, and artifact references. Poll with gjc_coordinator_await_turn or gjc_coordinator_watch_events. Codex resume bridge correlation: after registering an app-server handoff with gjc_coordinator_register_codex_handoff, pass the same session_id as codex_host_session_id on delegate calls so the new GJC session auto-binds to the Codex thread for wake-on-completion and questions. Acknowledge durable wakes by wake_key with gjc_coordinator_ack_codex_handoff; heartbeats are unsupported (automation_update_unavailable), so delivery is event-driven with startup drain.

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. 4d ago First seen · 23 lines · 22 tokens per session scan A 403da8a36f61

Subscribe to this mod's changes

plan is a command published in the GitHub repository Yeachan-Heo/gajae-code (2,691 stars, last pushed 2d ago), licensed MIT. It adds 22 tokens to every session and 276 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to execute, differing in 8 lines, and is treated as a copy.