Dashmotion skill
Create animated flow and architecture diagrams as self-contained HTML with structural checks.
Community · Mars (csthink)| Author | Mars (csthink) |
|---|---|
| Licence | MIT |
| Source | csthink/dashmotion · SKILL.md on GitHub |
| Project website | csthink.github.io/dashmotion |
| Works in | Claude Code · Codex, Gemini CLI, Cursor, Copilot |
| Read from the source on |
dashmotion turns a process or system description into a dark HTML/SVG diagram with moving dashed connectors and request dots. Flow and architecture modes use different semantic layouts.
A bundled Python standard-library renderer lays out the graph; structural and Mermaid-fidelity checkers validate supported constraints. Diagram output includes pause and reduced-motion handling, not a video file by default.
From the skill's SKILL.md: Dashmotion
What it does
- Choose flow or architecture mode and read its reference.
- Describe nodes, edges, groups and journeys in semantic JSON.
- Render HTML and run structural checks, plus fidelity checks for Mermaid input.
What you get
- One self-contained HTML file with inline SVG, CSS and motion controls.
- Optional video/GIF export instructions, requiring separate tools.
When to use it
- Explain an infrastructure request path with moving messages.
- Convert a supported Mermaid flow or state diagram into animated HTML.
When not to use it
- Expecting every Mermaid dialect or an automatic MP4 export without capture tools.
What it needs
- A file-capable agent and Python 3 for the bundled renderer and validators.
- A browser to view HTML; optional recording/FFmpeg tools for video. No external animation library is required by the delivered HTML.
Files in the skill
| File or folder | What it is for |
|---|---|
SKILL.md | Mode selection, animation contracts and delivery checks. |
references/layout-script.md | Semantic graph and renderer contract. |
scripts/layout.py | Standard-library layout and HTML renderer. |
scripts/check_diagram.py | Structural geometry and markup checks. |
scripts/check_fidelity.py | Supported Mermaid label and edge-count comparison. |
Licence as found in the repository on 2026-11-18: MIT.
Example prompts
Type one of these after installing; naming the skill makes sure it is used.
- Create one HTML architecture diagram showing an order crossing gateway, service and database.
- Convert this Mermaid state diagram and run the supplied fidelity checker.
- Plan a reduced-motion diagram with a visible pause control; do not export a video.
How to install dashmotion
Keep renderer and references
Copy the complete skills/dashmotion folder, including scripts, references and resources. The renderer is a local Python program; review it before execution.
Hosted app/API execution has not been demonstrated here. Source instructions and structural checkers do not replace runtime review of animation controls.
A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:
Claude Code: copy the folder into your skills folder
Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).
git clone --depth 1 https://github.com/csthink/dashmotion.git
mkdir -p ~/.claude/skills
cp -R dashmotion/skills/dashmotion ~/.claude/skills/Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /dashmotion or just describe the task.
On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.
Codex, Gemini CLI, Cursor and GitHub Copilot
These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:
git clone --depth 1 https://github.com/csthink/dashmotion.git
mkdir -p .agents/skills
cp -R dashmotion/skills/dashmotion .agents/skills/| Agent | Project folder | Your user folder | Notes |
|---|---|---|---|
| OpenAI Codex | .agents/skills/ | ~/.agents/skills/ | Type $ or run /skills to pick a skill; Codex also chooses one when your task matches. |
| Gemini CLI | .agents/skills/.gemini/skills/ | ~/.agents/skills/~/.gemini/skills/ | Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you. |
| Cursor | .agents/skills/.cursor/skills/ | ~/.agents/skills/~/.cursor/skills/ | Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders. |
| GitHub Copilot | .github/skills/.agents/skills/.claude/skills/ | ~/.copilot/skills/~/.agents/skills/ | Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later). |
Sources for these steps
Checked against each vendor's documentation on 2026-11-14:
Animation with constraints
Dashes move along authored paths and dots follow connector geometry. Reduced-motion behavior and a pause toggle belong to the finished HTML, not just a still screenshot.
Treat the source’s check results as bounded evidence. Inspect the actual deliverable before embedding it or sending it to an audience.
Questions about dashmotion
Is the output a GIF?
No. The default is self-contained HTML/SVG. GIF or MP4 needs a separate recording and encoding step.
Which Mermaid types are supported?
The source supports flowchart/graph and stateDiagram-v2 input. It does not promise all Mermaid types.
Does it require a Python package install?
The bundled layout and check scripts use Python’s standard library. Optional export tools have separate dependencies.
Does zero structural violations prove visual quality?
No. The checker covers specific geometry and markup constraints, not every text collision, browser behavior or readability issue.
More AI skills
Related skills
D3 Visualization skill
Community · chrisvoncsefalvayBuild bespoke D3 charts and interactions with explicit scales, responsive sizing and cleanup.CSV Data Summarizer skill
Community · coffeefuelbumpInspect CSV structure, missing values and numeric summaries with local Python charts.Motion & Framer Motion skill
Community · Claude Design SkillstackCreate React motion components, exit transitions, variants, gestures and layout animations.Matplotlib skill
Community · K-DenseCreate scientific plots with explicit Figure and Axes control.AI Infographics skill
Community · K-DenseGenerate and review raster infographics through OpenRouter.Markdown Mermaid Writing skill
Community · Clayton Young / K-DenseWrite Markdown with version-aware Mermaid structural diagrams.