/plans:showfrom plans
Decide when a reply needs a visual and where it goes, whenever a visual, chart, table, diagram, mockup, screenshot set or any HTML output is in play. Says when to show one by default, then picks one of three tiers by seven ordered rules, among a Sketch in chat, an Inline HTML render in the T3 thread and a published Document, says when to ask through the host question tool instead of a page, and covers the fallbacks when render tools, the plans CLI, Node or Chromium are missing. Use it on a reply that compares numbers, explains a code change or reports a UI change, before plans:doc, before plans:publish, and before any html_render call.
Ships in plans. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
A visual goes to one of three tiers:
html_render shows in the T3 thread, above your reply.plans:doc and publish with plans:publish.Inside T3 Code, Inline is the usual tier. A render can hold a figure, a table, a prose diff and a small script that switches between states, and the reader sees it without opening a link. Reach for a Document when the content needs to leave the thread or outgrows the budget.
Publication, retention, and where a URL may go follow the Delivery policy section of plans:publish. Read that section there. This skill does not repeat it.
The routing rules below start once a visual is in play. This section says when one should be. When you report to the user, a result that reads faster as a picture gets one, by these three triggers. Then route it by "Route the visual".
parts.md in the plans:doc skill's directory. In a Sketch, draw text bars as the recipe below shows.diagrams.md in the plans:doc skill's directory shows. A rename, a typo, a version number or one config value gets none. A list of the changed files drawn as boxes is not a diagram.babysit already makes the annotated pair, so don't make a second one. A mockup is a proposal, not a capture, so never present one as a screenshot.Don't show one in these cases:
Use the fewest visuals that carry the result, and don't redraw one in every progress update. A reader who sees the same chart three times stops looking at it.
A seat keeps its assignment. A seat whose task is to make a visual makes it. Any other seat hands back the numbers, the screenshot paths and the changed files, and the orchestrator shows them, because only the orchestrator's reply reaches the user.
❌ "Cold start went from 840 to 410 ms, first paint from 1,210 to 620 ms, and rebuild from 96 to 94 ms." ✅ A bars chart with one row per measure and a column each for before and after, then one sentence: "Cold start and first paint halved, and rebuild didn't move."
❌ Four boxes in a row, one per changed file: build.mjs, parts.js, shell.js, run.mjs.
✅ The send path before and after, with the retry edge moved from the client to the queue and drawn in the accent.
A Sketch draws text bars in a fenced block. Scale the largest value to 30 █, round each bar to whole blocks, print the value after the bar, and say the unit, the scale, the place and the date above the bars:
Start times in ms, fractal, 2026-11-10, median of 20 runs (one █ is about 40 ms)
cold start before █████████████████████ 840
after ██████████ 410
first paint before ██████████████████████████████ 1,210
after ███████████████ 620
rebuild before ██ 96
after ██ 94
Apply these rules in order. The first rule that matches wins.
--keep.Decisions that are already made and only recorded are not choices. Write them in the visual or the reply.
Ask after the visual, so the reader sees what each option means before they pick. Put the recommendation first, and say in the option text what it costs.
AskUserQuestion and ask_question as tappable options, and a reader can miss the reply text above them, so put what they need to choose inside the question and option text.AskUserQuestion: up to 4 questions per call, with 2 to 4 options each.ask_question.Never ask through the page. An Inline render carries no question kit, and the reader's answer has to reach you in this thread.
The Inline budget is at most 2,000 CSS px of contentHeight at both 728 and 360 px wide. The T3 reply column is about 728 px wide on a desktop and about 360 px wide on a phone. The frame grows to fit its content, but html_render takes a height from 80 to 2,000 px, and on a phone, content past that height scrolls inside the frame.
To measure, call html_preview at width 728 and again at width 360. Each call returns contentHeight, a PNG and the console output. Both heights must be 2,000 or less. html_preview renders dark by default, so run one of the calls with appearance: "light" and look at both PNGs.
Detect html_render and html_preview by presence in your tool list. Never assume they exist. The prefix depends on the host:
mcp__t3-code__html_render and mcp__t3-code__html_preview on Claude Codemcp__t3_code__html_render and mcp__t3_code__html_preview on Codexmcp_t3-code_html_render and mcp_t3-code_html_preview on AntigravityLook under all three prefixes. A tool that the host lists as deferred is present. Load its schema before you call it.
Inline output is hand-written HTML on tokens.css, the stylesheet in this skill's directory. It sits in the reply column on the thread's own background, so it paints no page of its own.
An Inline render that uses a part from parts.md, such as a bars chart, a switch or a compare, is built with build.mjs --inline, as step 9 describes, because the builder inlines the parts' CSS and script. Leave out the shell: the builder refuses shell markup in an Inline render, since the T3 frame owns the theme and has no room for a dock. A render with no part may still paste tokens.css, as steps 1 and 2 describe.
tokens.css from the directory of this SKILL.md. On Claude Code that is ${CLAUDE_SKILL_DIR}/tokens.css. If that variable arrives unexpanded, as it does on Codex, resolve tokens.css relative to this SKILL.md.tokens.css at the top of its inline <style>.--plans-* custom properties that tokens.css declares. They read the theme variables that T3 injects and fall back to fixed values outside T3. Never declare a bare T3 name such as --background.look.css in Inline output. The kit's questions belong to the host question tool, and look.css paints a page ground and a frame that the reply column must not have.html, body and the outer element no background, outer card, border, banner title or side padding.var(--plans-radius) corners.vh units, and never set height:100% on html or body. T3 rejects both or loops on them. Let the content set the height, and give charts fixed pixel heights.src. html_preview inlines it.diagrams.md in the plans:doc skill's directory.plans:doc describes. Write the page with a <!-- plans:kit --> line in <head> instead of the pasted tokens.css. Add a diff placeholder as plans:doc describes, or the parts the render uses. Build it with build.mjs --inline. The builder sits in the plans:doc skill's directory: ${CLAUDE_SKILL_DIR}/../doc/build.mjs on Claude Code, or ../doc/build.mjs relative to this SKILL.md when the variable arrives unexpanded. It inlines the palette, the change marks and the parts, checks the page at 360 and 728 in light and dark, and writes <stem>.inline.html. Render that file. The builder's check never replaces html_preview.html_render with the larger of the two contentHeight values as height.An Inline render lives only in the thread. It never counts as evidence.
--ttl 12h, but only when publishing is authorized.plans:publish. Do not install the client, and do not guess an endpoint. Keep the saved source file. Ask two or more decisions as numbered questions in chat. Mark PR evidence "not evidenced (unknown)". An Inline render never counts as evidence.build.mjs cannot run. Publish a Document as hand-written HTML on tokens.css with no questions, ask the decisions with the host question tool, and report that the page was not built or checked. An Inline prose diff becomes a Sketch. Without Chromium, build.mjs exits 3, and the browser result is unknown. Show a Document built with exit 3 only after the live render check in plans:publish passes. Show an Inline render built with exit 3 only after its html_preview PNGs and console output at both widths show no fault.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub jakub/marketplace-plugins --plugin plans3 skills in this plugin
/docWrite a long HTML Document that explains one thing to a reader, such as a plan, a review, a walkthrough or a report, in a technical-drawing look with inline SVG figures and optional native-input questions that return one markdown response, then build and browser-check it for plans:publish. Use when plans:show routes a visual to a Document, or when the user asks for an HTML plan, review, walkthrough, report or explainer page./publishPublish, verify, and delete artifacts (HTML plans, images, video) through the installed Plans CLI against a self-hosted Plans server, turning a file or stdin into a viewable URL with a TTL or permanent retention. Use for "artifact", "upload a plan", "publish this page", "host this", "share this screenshot", "upload the recording". Not claude.ai Artifacts.