Agent skill

Dashmotion Skill: Animated Flow and Architecture Diagrams

Dashmotion turns plain English or Mermaid into one self contained HTML and SVG file where dashed connectors flow and light dots travel through the system like requests.

Install
git clone https://github.com/csthink/dashmotion.git
cp -r dashmotion/skills/dashmotion ~/.claude/skills/
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is the dashmotion skill?

The dashmotion skill by csthink creates animated technical diagrams as a single HTML and SVG file. Flow mode draws pipelines and state machines, and Architecture mode draws systems with request journeys. It accepts plain English or Mermaid flowchart and stateDiagram-v2 source, and gates all CSS animation behind prefers-reduced-motion.

The dashmotion skill generates animated technical diagrams as single self contained HTML files with inline SVG. The name describes the implementation: stroke-dashoffset animation for flowing connectors, plus animateMotion for dots, with no libraries. The output loops forever and opens in any browser.

The SKILL.md routes each request to one of two modes. Use Flow for steps, branching and state transitions, and Architecture for components, services and topology. A mixed request goes to Architecture mode, where the animated request path doubles as the flow.

The two animation contracts

  • Flowing connectors: a dash pattern of 5 5 with an offset shift of exactly one dash period, 10, or the loop visibly jumps.
  • Speed: 0.6 to 0.9 seconds reads as electric current, and anything slower than 1.5 seconds reads as broken.
  • Traveling dots: 3 to 6 dots per diagram, placed on fan outs, merges and the main request path, never on every edge.
  • Direction: connector paths are always authored from source to target so the flow runs the right way.

From request to file

  1. Pick Flow or Architecture mode and read its reference file.
  2. Parse the request, or the Mermaid source, into a semantic graph in JSON, including the copy for title and summary cards.
  3. Run scripts/layout.py with --render to compute geometry and write the finished HTML.
  4. Run scripts/check_diagram.py and fix every violation until it prints 0 violations.
  5. For Mermaid input, run scripts/check_fidelity.py until it prints PASS.

Related: animation-vocabulary, fixing-accessibility and fixing-motion-performance.

Accessibility built in

All CSS animation sits behind a prefers-reduced-motion: no-preference media query. SMIL dots ignore that query, so a template script removes them under reduced motion, and every diagram ships a visible pause toggle, a role of img, a title and a desc.

Who the dashmotion skill is for

Best for

  • Landing pages, READMEs, docs and product demos where a diagram represents requests, events, data or jobs in motion.
  • Teams with Mermaid flowchart, graph or stateDiagram-v2 source who want the same diagram animated.
  • Anyone who wants a few kilobytes of vector output rather than a GIF.

Not for

  • Other Mermaid types. Sequence, class, ER and gantt diagrams are unsupported, and the skill says so instead of guessing.
  • GIF or MP4 as the default output. Export needs screen recording or the timecut and ffmpeg commands the SKILL.md gives.

Use it with UiChemy

Dashmotion output is a standalone HTML and SVG file. To place it in a WordPress site, route the build through Figma, Composer, or an AI build plus MCP, then convert, and check the motion on the live page yourself. Click Get Started on uichemy.com.