generate-plan

generate-plan is a command for Claude Code from alberduris/skills. It costs 20 tokens per session (482 once invoked), scanned A, original, MIT.

A command that turns a feature request into a broadsheet-style newspaper page containing an implementation plan.

In plain words
What is it for?
Use it when you need a detailed implementation plan presented as a front-page newspaper layout.
Why use it?
It provides a structured way to gather codebase context, design the change, consider edge cases, and describe verification work.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the newspaper-explainer plugin — 1 skill, 8 commands shipped together

Good fit Use it when you need a detailed implementation plan presented as a front-page newspaper layout.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alberduris/skills/generate-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.

Clone the repo
git clone --depth 1 https://github.com/alberduris/skills

Made for: Claude Code.

Or install newspaper-explainer, the plugin that ships this one along with the rest of its 1 skill, 8 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 generate-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/alberduris/skills/generate-plan.svg)](https://agentmods.dev/commands/alberduris/skills/generate-plan)
Your own site
<a href="https://agentmods.dev/commands/alberduris/skills/generate-plan"><img src="https://agentmods.dev/badge/commands/alberduris/skills/generate-plan.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 482 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.00020 $0.00482
Opus 5 $0.00010 $0.00241
Sonnet 5 $0.00004 $0.00096
Haiku 4.5 $0.00002 $0.00048

Measured 7d ago against content hash 14861ce45326, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

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

plugins/newspaper-explainer/skills/newspaper-explainer/commands/generate-plan.md · 19 lines

What it actually says

Load the newspaper-explainer skill. Read ./templates/broadsheet.html and ./references/css-patterns.md to absorb the canonical structure, CSS class vocabulary, and palette. Then generate a broadsheet newspaper edition presenting a comprehensive implementation plan for: $@

Data gathering — understand the context before designing: a) parse the feature request extracting core problem, desired behavior, constraints, and scope boundaries, b) read the relevant codebase identifying files that need modification, existing patterns, related functionality, types and APIs to conform to, c) understand extension points (hooks, event systems, plugin architectures, configs, public APIs), d) check for prior art (similar features already implemented, existing code to reuse or extend).

Design phase — work through the implementation before writing HTML: a) state design (new state variables, existing state affected, state machine if behavior has multiple modes), b) API design (commands, functions, endpoints, signatures, error cases), c) integration design (interaction with existing functionality, hooks, events), d) edge cases (concurrent operations, error conditions, boundary values).

Verification checkpoint — before generating HTML, produce a structured fact sheet covering every state variable with type and purpose, every function/API with signature, every file needing modification with specific changes, every edge case with expected behavior, every assumption the plan relies on. Verify each against the code. Mark unverifiable items as uncertain. This fact sheet is your source of truth during HTML generation.

The LEAD STORY presents the feature's core problem and the proposed solution as investigative reporting. The floating INSET BOX carries scope metrics (files to modify, new functions, estimated complexity). SECONDARY STORIES cover individual design areas as separate articles: state design, API surface, integration points. The SIDEBAR presents the current-vs-proposed comparison as a structured widget and lists file references. LETTERS AND CORRESPONDENCE presents edge cases as questions and their resolutions. The DISPATCH BOARD surfaces implementation warnings (backward compatibility, performance considerations), test requirements grouped by category, and critical assumptions that need validation.

NEVER EVER fabricate facts — every claim must be traceable to actual code or the feature request. Write to ~/.agent/newspapers/ and open in the browser.

Ultrathink.

$@

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. 7d ago First seen · 19 lines · 20 tokens per session scan A 14861ce45326

Subscribe to this mod's changes

generate-plan is a command published in the GitHub repository alberduris/skills (18 stars, last pushed 5mo ago), licensed MIT. It adds 20 tokens to every session and 482 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.