pre-plan-workflow

pre-plan-workflow is a skill for Claude Code, Codex from jpicklyk/task-orchestrator. It costs 27 tokens per session (962 once invoked), scanned A, original, MIT.

A preparation workflow that checks existing tracked work and required rules before a new plan is written. The definition floor is the minimum existing work and documentation a plan must account for.

In plain words
What is it for?
Use it when entering plan mode to inspect related active tasks, required notes, and project constraints.
Why use it?
It reduces duplicate planning and helps reveal documentation or approval requirements before implementation is designed.

Skill for Claude CodeCodex

Part of the task-orchestrator plugin — 15 skills 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/jpicklyk/task-orchestrator/pre-plan-workflow
Any agent
npx skills add jpicklyk/task-orchestrator --skill pre-plan-workflow
Clone the repo
git clone --depth 1 https://github.com/jpicklyk/task-orchestrator

Made for: Claude Code, Codex.

Or install task-orchestrator, the plugin that ships this one along with the rest of its 15 skills.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/pre-plan-workflow.svg)](https://agentmods.dev/skills/jpicklyk/task-orchestrator/pre-plan-workflow)
Your own site
<a href="https://agentmods.dev/skills/jpicklyk/task-orchestrator/pre-plan-workflow"><img src="https://agentmods.dev/badge/skills/jpicklyk/task-orchestrator/pre-plan-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 962 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.00027 $0.00962
Opus 5 $0.00014 $0.00481
Sonnet 5 $0.00005 $0.00192
Haiku 4.5 $0.00003 $0.00096

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

Security

Grade A, and why

pre-plan-workflow 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 5d 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.

claude-plugins/task-orchestrator/skills/pre-plan-workflow/SKILL.md · 83 lines

How it starts

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

Pre-Plan Workflow — Definition Floor

When entering plan mode, use the MCP to set the definition floor before writing your plan.

The definition floor is the baseline of existing work, documentation requirements, and gate constraints that the plan must account for.

If MCP is unreachable: Proceed with planning based on conversation context. Note in the plan that MCP state could not be verified — existing work may overlap. Re-check after MCP reconnects.

Step 1: Check Existing MCP State

Resolve the project rootId first: check session context for a rootId injected by the SessionStart hook, or read .taskorchestrator/config.yaml's top-level project.rootId (a file read, not an MCP call).

Call the health check to see what's already tracked:

get_context()

When a rootId is known, pass it to scope the check to this project: get_context(ancestorId="<rootId>"). When no rootId is known, call unscoped exactly as shown — this is the same behavior as before project scoping existed.

If active or stalled items exist:

  • Identify items related to the current request — avoid planning work that duplicates what's already tracked
  • For each relevant active item, call get_context(itemId=...) to inspect:
    • Note schema — which notes are expected for this item's tags
    • Gate status — which required notes are filled vs. missing, and whether the item can advance
    • Guidance keyguidanceKey names the first unfilled required note; resolve its authoring guidance via query_items(operation="schema", itemId=...)

If no items exist (clean slate):

  • The definition floor is simply "no existing MCP state to account for"
  • Proceed with planning, but still check Step 2 for schema awareness

Step 2: Discover Note Schema Requirements

Read .taskorchestrator/config.yaml in the project root (this is a file read, not an MCP call):

  • If the file exists, list the discovered schemas and their required notes per phase
  • Schemas are defined under work_item_schemas: (preferred) or note_schemas: (legacy)
  • Each schema key (e.g., feature-implementation, bug-fix) is a type identifier — set it as the item's type field to activate gate enforcement. Tags can be used for additional categorization but are no longer the primary schema activator.
  • Required queue-phase notes define what documentation must exist before work starts
  • Required work-phase notes define what must be captured during implementation
  • Use guidanceKey from get_context(itemId=...), resolved via query_items(operation="schema", itemId=...), to understand how to author each note

Read the full file on GitHub · 83 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. 5d ago First seen · 83 lines · 27 tokens per session scan A 43a3fd5c336b

Subscribe to this mod's changes

pre-plan-workflow is a skill published in the GitHub repository jpicklyk/task-orchestrator (205 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 962 once invoked, about $0.0001 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.