generate-visual-plan

generate-visual-plan is a command for Claude Code from jamditis/claude-skills-journalism. It costs 20 tokens per session (1,429 once invoked), scanned A, original, MIT.

A command that creates a visual HTML plan for implementing a software feature, including its requirements, states, code examples, and edge cases. It first studies the request and the existing codebase.

In plain words
What is it for?
Use it to document feature behavior, map implementation work, describe state machines, and identify affected code and integration points.
Why use it?
It helps turn a broad feature request into a concrete plan that matches existing files, patterns, APIs, extension points, and tests before coding begins.

Command for Claude Code

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

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

Good fit Use it to document feature behavior, map implementation work, describe state machines, and identify affected code and integration points.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jamditis/claude-skills-journalism/generate-visual-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/jamditis/claude-skills-journalism

Made for: Claude Code.

Or install visual-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-visual-plan

README.md
[![agentmods](https://agentmods.dev/badge/commands/jamditis/claude-skills-journalism/generate-visual-plan/github.svg)](https://agentmods.dev/commands/jamditis/claude-skills-journalism/generate-visual-plan)
Your own site
<a href="https://agentmods.dev/commands/jamditis/claude-skills-journalism/generate-visual-plan"><img src="https://agentmods.dev/badge/commands/jamditis/claude-skills-journalism/generate-visual-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 generate-visual-plan

Your own site · 80×15
<a href="https://agentmods.dev/commands/jamditis/claude-skills-journalism/generate-visual-plan"><img src="https://agentmods.dev/badge/commands/jamditis/claude-skills-journalism/generate-visual-plan.svg" alt="Reviewed on agentmods" width="80" 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 1,429 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.01429
Opus 5 $0.00010 $0.00714
Sonnet 5 $0.00004 $0.00286
Haiku 4.5 $0.00002 $0.00143

Measured 4d ago against content hash 47e090e96086, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

generate-visual-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

Copies of this mod

1 near-identical copy found in the catalogue:

visual-explainer/commands/generate-visual-plan.md · 108 lines

How it starts

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

Load the visual-explainer skill, then generate a comprehensive visual implementation plan for $@ as a self-contained HTML page.

Follow the visual-explainer skill workflow. Read the reference template, CSS patterns, and mermaid theming references before generating. Use an editorial or blueprint aesthetic, but vary fonts and palette from previous diagrams.

Data gathering phase, understand the context before designing:

  1. Parse the feature request. Extract:

    • The core problem being solved
    • Desired user-facing behavior
    • Any constraints or requirements mentioned
    • Scope boundaries (what's explicitly out of scope)
  2. Read the relevant codebase. Identify:

    • Files that will need modification
    • Existing patterns to follow (code style, architecture, naming conventions)
    • Related functionality that the feature should integrate with
    • Types, interfaces, and APIs the feature must conform to
  3. Understand the extension points. Look for:

    • Hook points, event systems, or plugin architectures
    • Configuration options or flags
    • Public APIs that might need extension
    • Test patterns used in the codebase
  4. Check for prior art. Search for:

    • Similar features already implemented
    • Related issues or discussions
    • Existing code that can be reused or extended

Design phase, work through the implementation before writing HTML:

  1. State design. What new state variables are needed? What existing state is affected? Draw the state machine if behavior has multiple modes.

  2. API design. What commands, functions, or endpoints are added? What are the signatures? What are the error cases?

  3. Integration design. How does this feature interact with existing functionality? What hooks or events are involved?

  4. Edge cases. Walk through unusual scenarios: concurrent operations, error conditions, boundary values, user mistakes.

Verification checkpoint, before generating HTML, produce a structured fact sheet:

  • Every state variable (new and modified) with its type and purpose
  • Every function/command/API with its signature
  • Every file that needs modification with the specific changes
  • Every edge case with expected behavior
  • Every assumption about the codebase that the plan relies on Verify each against the code. If something cannot be verified, mark it as uncertain. This fact sheet is your source of truth during HTML generation.

Diagram structure, the page should include:

  1. Header, feature name, one-line description, scope summary. Visual treatment: use a distinctive header with monospace label ("Feature Plan", "Implementation Spec", etc.), large italic title, and muted subtitle. Set the tone for the page.

  2. The Problem, side-by-side comparison panels showing current behavior vs. desired behavior. Use concrete examples, not abstract descriptions. Show what the user experiences or what the code does, step by step. Visual treatment: two-column grid with rose-tinted "Before" header and sage-tinted "After" header. Numbered flow steps with arrows between them.

  3. State Machine, Mermaid flowchart or stateDiagram showing the states and transitions. Label edges with the triggers (commands, events, conditions). Wrap in .mermaid-wrap with zoom controls (+/−/reset/expand) and click-to-expand. Use flowchart TD instead of stateDiagram-v2 if labels need special characters like colons or parentheses. Add explanatory caption below the diagram.

  4. State Variables, card grid showing new state and existing state (if modified). Use code blocks with proper white-space: pre-wrap. Visual treatment: two cards side-by-side, elevated depth, monospace labels.

  5. Modified Functions, for each function that needs changes, show:

    • Function name and file path
    • Key code snippet (not full implementation, 10-20 lines showing the pattern)
    • Explanation of what changed and why Visual treatment: file path as monospace dim text above code block, code in recessed card with accent-dim background.

Read the full file on GitHub · 108 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 · 108 lines · 20 tokens per session scan A 47e090e96086

Subscribe to this mod's changes

generate-visual-plan is a command published in the GitHub repository jamditis/claude-skills-journalism (389 stars, last pushed 2d ago), licensed MIT. It adds 20 tokens to every session and 1,429 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-09-05.