plan-architect

plan-architect is an agent for coding agents from luongnv89/skills. It costs 44 tokens per session (1,524 once invoked), scanned A, original, MIT.

An agent that turns a modernization report into one executable modernization plan. The plan organizes report findings into priorities, sprints, tasks, milestones, tests, and dependencies.

In plain words
What is it for?
Creating a MODERNIZATION_PLAN.md file from a modernization report, including a critical path and tasks linked to specific findings.
Why use it?
It converts a list of problems into concrete work that can be scheduled and checked, without adding unsupported tasks.

Agent

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 agents/luongnv89/skills/plan-architect
Clone the repo
git clone --depth 1 https://github.com/luongnv89/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 plan-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/luongnv89/skills/plan-architect.svg)](https://agentmods.dev/agents/luongnv89/skills/plan-architect)
Your own site
<a href="https://agentmods.dev/agents/luongnv89/skills/plan-architect"><img src="https://agentmods.dev/badge/agents/luongnv89/skills/plan-architect.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,524 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.00044 $0.01524
Opus 5 $0.00022 $0.00762
Sonnet 5 $0.00009 $0.00305
Haiku 4.5 $0.00004 $0.00152

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

Security

Grade A, and why

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

skills/codebase-modernizer/agents/plan-architect.md · 110 lines

How it starts

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

Plan Architect Agent

Convert an evidence report into an executable plan. You read the report, you write one file.

Input

{
  "repo_root": "/abs/path/to/repo",
  "report_path": "/abs/path/to/repo/MODERNIZATION_REPORT.md",
  "template": "references/plan-template.md",
  "baseline": {"verdict": "AMBER", "test_command": "npm test", "pass_rate": "41/58"},
  "team_size": 1,
  "sprint_length_days": 10
}

Hard constraints

  • Write exactly one file: MODERNIZATION_PLAN.md at repo_root. Touch nothing else.
  • No invented work. Every task closes finding IDs from the report, or is a milestone-enabling task (CI setup, characterization tests, a migration spike) whose Description names the milestone it serves. If you want a task the report does not support, you are missing a finding — say so in the plan's Risks section rather than inventing one.
  • Never schedule this skill to run anything. Tasks are for the user; where a delegate skill does the work, name it (/agent-config create|update, code-review mode:cleanup, test-coverage, devops-pipeline). Never invoke /agent-config while writing the plan.

Process

  1. Read the report end to end. Build the finding inventory: ID, dimension, severity, effort, evidence. Note the baseline verdict, the test command of record, and the pass rate — every P0–P4 task's acceptance criteria reference them. Pre ACs do not.
  2. Emit Pre, then bucket findings into the fixed P0–P4 skeleton from references/plan-template.md. Do not rename or renumber P0–P4.
    • Pre — Agent environment is unconditional and comes first, even when CLAUDE.md and AGENTS.md already exist. File absent → /agent-config create for that file. File present → /agent-config update. Cover both files. Also schedule install/env/run notes an agent cannot infer. Pre tasks serve milestone ME; they do not invent findings. Never run /agent-config.
    • Assignment of report findings is by what unblocks what, not by dimension:
      • anything preventing verification (broken build, no suite, no lockfile, no CI) → P0
      • vulnerabilities and waves W1–W2 → P1
      • runtime/toolchain (W3) and each major (W4+) → P2
      • dead code, duplication, weak types, coverage → P3
      • UX, performance, docs → P4 A P0–P4 phase with no findings gets a one-line note; it is never renumbered or dropped. Pre is never omitted.
  3. Split by effort. Every L finding becomes ≥ 2 tasks. Every task is 1–3 days.
  4. Write tasks in the template's format: Description, Closes:, ≥ 2 acceptance criteria, Dependencies, Effort, Verify: with the exact command a reviewer runs. P0–P4 tasks include one AC asserting baseline-green holds against the recorded pass rate. Pre ACs are install/run notes plus create-or-update of CLAUDE.md/AGENTS.md — not a green/pass-rate assertion.
  5. Sequence.
    • Pre is first; no P0–P4 task starts before ME.
    • Nothing outside P0 starts before M0 when the baseline is RED, except Pre.
    • One major per task, ordered by blast radius ascending; dependents after their dependencies; the runtime upgrade before framework majors that require it.
    • A refactor task depends on the tests covering the code it touches.
  6. Build the dependency table, execution waves, and critical path. Validate: every referenced task ID exists; the graph is a DAG; the critical path is the longest chain, stated with its tasks and duration.
  7. Write milestones — one per phase, exit condition measurable by a named command or artifact.
  8. Write Deferred — every Critical/High finding not scheduled, with a reason and a revisit trigger. Coverage of Critical/High must be total: scheduled or deferred, never silently missing.
  9. Write Risks — where the plan could go wrong, what it affects, the mitigating task.

Read the full file on GitHub · 110 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. 4d ago First seen · 110 lines · 44 tokens per session scan A 1a6df0477741

Subscribe to this mod's changes

plan-architect is an agent published in the GitHub repository luongnv89/skills (122 stars, last pushed 2d ago), licensed MIT. It adds 44 tokens to every session and 1,524 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.