ワンクリックで
chart
Use when a visual would clarify a plan, flow, or report — ```mermaid fences plus artifact_present View popup for SVG (GitHub-style).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Use when a visual would clarify a plan, flow, or report — ```mermaid fences plus artifact_present View popup for SVG (GitHub-style).
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when shell commands fail, npx/curl/git won't run, or you must choose run_shell vs web_fetch vs file tools in Nodebox vs host.
Use when the user says remember this, save a preference or API key, or you must pick memory_save vs session notes vs skill (action=manage) vs wiki_* tools.
Use when the input is an image, screenshot, diagram, PDF/DOCX, audio file, or YouTube link—extract metadata/text before reasoning.
Use when the user wants to discover, search, or install agent skills from online registries—top results by installs, stars, or votes. Or user sends /find_skills.
Use when calling REST or GraphQL APIs with web_fetch/web_post — auth headers, query params, GraphQL shape, Directus GraphQL mutations/relations, discovery order, and reading error bodies.
Use when the user or agent installs a skill from skills.sh or GitHub — map WebFetch, Bash, Python, Playwright, and MCP references to Web Agent built-ins.
| name | Chart |
| description | Use when a visual would clarify a plan, flow, or report — ```mermaid fences plus artifact_present View popup for SVG (GitHub-style). |
| version | 1.0.0 |
| category | bundled |
| primary-tools | ["artifact_present"] |
| tags | ["chart","mermaid","diagram","visual","flowchart","sequence","gantt","mindmap","artifact"] |
| triggers | ["chart","diagram","mermaid","flowchart","sequence diagram","gantt","mindmap","draw","visualize","show the flow","architecture diagram","state machine","artifact_present","show diagram","render diagram"] |
Mermaid only renders as SVG in the artifact_present View popup — like GitHub. Chat text and bare code blocks stay plain text.
| To get a rendered diagram | Do this |
|---|---|
| Markdown report/plan with diagram | artifact_present with inline markdown or .md path; body contains a ```mermaid fence |
| Standalone diagram file | write_file as *.mmd / *.mermaid, then artifact_present with that path |
| User asked to show/see the diagram | Call artifact_present in the same turn — do not paste the diagram source in chat and stop |
Fence rule (non-negotiable): opening fence info-string must be exactly mermaid (lowercase). ```mermaid → SVG in preview. ```, ```text, or raw unfenced source → literal text, no diagram.
After present: one-line chat summary + pointer to View/Download — never dump the full artifact body again. Delivery mechanics: artifact-delivery.
Humans absorb structure faster from a diagram than from prose. Even a 4-node flowchart cuts onboarding time and reveals gaps the text hides. Defaulting to include a chart when one fits is a quality signal, not decoration.
task-execution to render the proposed plan and embed step-status diagrams in run reports.systematic-debugging to draw the fault tree / hypothesis lattice.project-scaffold to show the new folder tree as a graph or file-tree diagram.memory-layers wiki flows for PARA / topic-map vault pages.artifact-delivery — always artifact_present so the host View popup can render Mermaid as SVG (see Host preview contract above).| Need | Mermaid type | Header |
|---|---|---|
| Process / branching flow | flowchart | ```mermaid\nflowchart TD |
| Time-ordered interaction between actors | sequenceDiagram | ```mermaid\nsequenceDiagram |
| Lifecycle / states | stateDiagram-v2 | ```mermaid\nstateDiagram-v2 |
| Plan or timeline | gantt | ```mermaid\ngantt |
| Concept map / hierarchy | mindmap | ```mermaid\nmindmap |
| Comparison / quadrant | quadrantChart | ```mermaid\nquadrantChart |
| Class / data model | classDiagram | ```mermaid\nclassDiagram |
| Entity relationships | erDiagram | ```mermaid\nerDiagram |
| Trend over discrete points | xychart-beta | ```mermaid\nxychart-beta |
| Pie share | pie | ```mermaid\npie |
When in doubt → flowchart TD with 4–8 labeled nodes.
mermaid. Info-string exactly mermaid (lowercase) — required for SVG in the View popup; any other tag stays a code listing.-->|approved|, -->|fails|). Unlabeled arrows are fine for trivial linear flows.(), :, /, &, or quotes in ["…"] so Mermaid does not choke on the parse.TD (top-down) for plans, LR (left-right) for pipelines. Be consistent inside one document.classDef colors usually do more harm than good in a quick draft.artifact_present and open View; do not rely on chat paste alone.Always embed the chart in the markdown deliverable, then artifact_present that body or .md path:
## Approval flow
```mermaid
flowchart LR
A[Draft] --> B{Owner approves?}
B -->|yes| C[Merge]
B -->|no| D[Revise]
D --> A
```
The flow is: …
For multi-step run reports (see task-execution), put the chart above the step-breakdown table — readers see structure first, detail second.
```mermaid or skipping artifact_present — user sees plain text, not a diagram.securityLevel: "strict" (host config) will strip or refuse.task-execution report shape).Plan as flowchart (pair with task-execution Phase A):
```mermaid
flowchart TD
S([Start]) --> P1[Step 1: gather inputs]
P1 --> P2[Step 2: transform]
P2 --> P3{Validation passes?}
P3 -->|yes| D([Deliver])
P3 -->|no| P1
```
Step status (pair with task-execution report):
```mermaid
flowchart LR
s1([✅ fetch]) --> s2([✅ parse]) --> s3([❌ typecheck]) --> s4([⏭️ deploy])
```
Sequence diagram for a tool-use round-trip:
```mermaid
sequenceDiagram
User->>Agent: goal
Agent->>web_fetch: GET url
web_fetch-->>Agent: 200 + body
Agent->>artifact_present: report.md
Agent-->>User: link + summary
```