/srulik-toolkit:show-mefrom srulik-toolkit
Generates concise visual explanations using diagrams, code sketches, and HTML artifacts. Adapts output format to host capabilities (inline HTML, Mermaid, or Markdown).
Ships in srulik-toolkit. 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.
Help the user understand the current topic of conversation visually. Skip the preamble and keep prose brief. Pick the smallest view that makes the key point clear.
Choose the delivery format from the host's render capability for visuals shown in the chat reply:
<details> groups for secondary detail. See the host mapping for a documented inline-HTML host; on an undocumented host, show your capability mapping, say it is untested, and use it only after the user confirms; until then, deliver the visual as a Mermaid-fence host would.mermaid blocks in Markdown): emit a mermaid block for relationships and fenced text trees, pseudocode, or diffs for code shape and changes.mermaid block anyway for relationships — readable Mermaid source beats ASCII art — and fenced text trees, pseudocode, or diffs for code shape and changes.Chat vs. file scope: interactive HTML applies only to visuals shown in the chat reply. Visuals written into files (plans, PR descriptions, documentation, or temporary Markdown reports) stay Markdown (mermaid blocks and fenced text trees, pseudocode, or diffs).
No ASCII diagrams: never draw flows, timelines, pipelines, or PR stacks with ASCII box-drawing or arrow art (+---+, --->, <---, |---, or Unicode box/arrow flowcharts such as ┌─┐ or ──▶). Reserve text trees (├──, └──) strictly for file, component, or call-tree shape.
on(save)
if content is unchanged
return cached result
write new content
return fresh result
submitForm
createSession
persistPrompt
launchAgent
navigateToSession
<SessionPage> (apps/example/src/routes/session.tsx)
useSessionEvents()
<SessionToolbar>
<RunSkillButton> (packages/ui)
src/
├── commands/ # parses user actions
├── sessions/ # owns session state
└── transport/ # sends API requests
Show control flow, data flow, or component boundaries as a flowchart:
flowchart LR
User --> UI
subgraph Daemon
Expand["expand /show-me"] --> Agent
end
UI --> Expand
Agent -- "stream result" --> UI
Show a lifecycle as a stateDiagram-v2:
stateDiagram-v2
[*] --> Draft
Draft --> Running: submit
Running --> Done: result
Running --> Failed: error
Failed --> Running: retry
Show interaction over time as a sequenceDiagram:
sequenceDiagram
participant User
participant UI
participant Daemon
User->>UI: choose command
UI->>Daemon: send expanded prompt
Daemon-->>UI: stream result
Show chronology as a timeline:
timeline
2026-09 : import show-me
2026-10 : tour invokes show-me
2026-11 : Mermaid by default
Show branch history as a gitGraph:
gitGraph
commit id: "main"
branch feat/show-me
commit id: "add examples"
checkout main
merge feat/show-me
Show a data model as an erDiagram:
erDiagram
SESSION ||--o{ MESSAGE : contains
SESSION ||--o{ RUN : starts
RUN }o--|| SKILL : uses
diff when the point is what changes and the surrounding shape already exists. Match the diff shape to the topic.For a component change:
<SessionPage>
useSessionEvents()
<SessionToolbar>
+ <RunSkillButton />
<SessionTimeline>
+ <SkillResultCard />
For a file-layout change:
src/
├── commands/
+│ └── show-me.ts # expands the slash command
├── sessions/
-└── transport.ts
+└── transport/
+ ├── client.ts
+ └── stream.ts
For a call-tree or call-stack change:
submitForm
createSession
persistPrompt
+ expandSkillMention
launchAgent
- navigateToSession
+ navigateToSession
+ subscribeToEvents
For a state or control-flow change:
on(save)
- write content
+ if content is unchanged
+ return cached result
+ write new content
+ invalidate cache
function expandSkill(command: string): string {
const skillName = command.slice(1)
return `use the ${skillName} skill`
}
<details> groups when secondary detail would crowd the view. Context-encode untrusted text before inserting it, and keep scripts static and trusted. Render any diagram in it with Mermaid when remote resources are allowed: put the source in <pre class="mermaid">; place untrusted text (PR titles, commit messages, branch names, research text) only inside double-quoted Mermaid strings (A["..."], A -- "..." --> B, subgraph g1["..."], participant p1 as "...", commit id: "..."), never in unquoted labels, |...| edge labels, or identifiers; use synthetic identifiers matching [A-Za-z0-9_]+ for node, branch, subgraph, participant and section names; inside each such string, replace each line break with a space and write < > " ; # & % as Mermaid entity codes #lt; #gt; #quot; #59; #35; #38; #37; in a single pass (a second pass would re-encode the ; in the codes) (Mermaid decodes HTML entities such as <, and " even without its semicolon, back into live characters, and a raw " or ; can close the label and inject a click link); a raw %%{init: ...}%% would load remote CSS; write click directives, and <a href> links in a list or <details> block, only from https:// URLs you built yourself, and drop any other scheme; and load the classic pinned SRI build followed by an explicit init script, both at the end of <body> after every <pre class="mermaid"> (in <head>, mermaid.run() finds no diagrams and the raw source stays visible):<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/mermaid.min.js" integrity="sha384-HHW54r639fK42Ip0coGF3mz8oSiGn0eEoWNTLs75X7H63pLSDBa0Tqs0RwGmLlXE" crossorigin="anonymous"></script>
<script>
mermaid.initialize({
startOnLoad: false,
securityLevel: "antiscript",
theme: window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "default",
});
// antiscript drops target="_blank"; reopen links outside the render frame.
mermaid.run().then(() => document.querySelectorAll("svg a").forEach((a) => {
a.setAttribute("target", "_blank");
a.setAttribute("rel", "noopener noreferrer");
}));
</script>
Mermaid click links (click NodeId href "https://..." _blank) work under securityLevel: "antiscript" in flowchart and classDiagram (antiscript strips javascript: links and blocks script callbacks); other diagram types, including timeline, gitGraph and stateDiagram-v2, do not reliably support click, so place clickable PR or issue links in a link list or collapsible <details> block beneath the diagram. When the caller or environment forbids remote resources, draw the diagram as inline SVG instead. Display the page through the host's inline HTML capability (see the host mapping). Otherwise, when a host reference documents a host-native private, shareable hosted page, publish the file there and give the user its link; when you revise a visual you already published in this conversation, update that page instead of creating another. Do not publish when the user asked for the file itself. On a host with no reference that offers its own hosted page, show the capability mapping, say it is untested, and publish only after the user confirms. Otherwise, or when publishing fails, write it to a collision-safe, OS-managed temporary path outside the repository and open the file for the user with the host's viewer or the OS opener; if neither is available, give its path. Hosted-page references: references/claude-code.md.
Place each visual next to the short text it supports. Keep only the calls, files, props, states, and boundaries needed to answer the user's current question or the options to resolve the current discussion point.
You may use one of these, you may use several, it is unlikely you will use all of them. Use your judgement and don't overwhelm the user.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
visualization, diagrams, mermaid, html-artifacts, code-sketches
Other plugins' skills for the same job
npx claudepluginhub tzachbon/srulik-toolkit --plugin srulik-toolkit26 skills in this plugin
/agent-swarmCoordinate delegated work through the child-agent capabilities available in the current harness. Use when the user asks to spawn agents, delegate, swarm, parallelize, race approaches, or when active instructions require an orchestrator and worker split. Does not require Traycer, a specific provider, or a fixed model./can-you-helpUse when the user brings a Slack thread, review, page, request, or other artifact and asks for help without knowing what kind of help is needed. Identify the real ask, handle clear authorized work, or clarify the decision and propose a short next action for approval./create-planCreate detailed, comprehensive, execution-ready plans for engineering, architecture, research, reviews, migrations, investigations, operations, strategy, decisions, and other multi-step work. Use when the user asks to create, write, improve, pressure-test, decompose, or validate a plan before execution. Research available context first, run a mandatory adaptive grilling loop to resolve consequential ambiguity, re-research evidence exposed by the grill, repeat until readiness gates pass, then draft, review, and revise until no actionable review comments remain within the agreed scope. Produce a self-contained plan with decisions, dependencies, risks, validation, acceptance criteria, and explicit skill handoffs.