Glowmotion 标志

Glowmotion

组织
SylphAI-Inc
glowmotion

创建精致的动态技术图表,并输出为独立完整的 HTML+SVG 文件:流程图中的连接线会呈现流动效果;架构图中的请求则会化作发光的彗星状光点,带有渐隐尾迹、脉冲式模块高亮效果,以及内置的明暗主题切换功能(深色主题包括 midnight/neon/aurora,浅色主题为 daylight)。当用户要求绘制流程图、工作流、流水线、流程图解、状态机、系统架构、基础设施、云、微服务或网络拓扑图时,请使用此技能;尤其适用于用户提到“动态”“发光”“精致”“流动”“有活力”“像 GIF 一样”“浅色模式”“深色模式”,或想为落地页、README、文档或产品演示制作图表的情况。此技能还可将 Mermaid 源代码(flowchart/graph 和 stateDiagram-v2)转换为动态图表。只要图表展示的是会移动的内容,例如请求、事件、数据、任务、消息或控制流,优先使用此技能,而不是生成静态图表。

Add to TypingMind

概览

发布者SylphAI-Inc
代码仓库skills
技能名称glowmotion
星标数
110
复刻数
10
附带文件
5
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 SylphAI-Inc 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Glowmotion AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/SylphAI-Inc/skills/tree/main/skills/glowmotion
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SylphAI-Inc/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/glowmotion .claude/skills/glowmotion
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Glowmotion,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Glowmotion。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Glowmotion 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Glowmotion

Create premium animated technical diagrams as single self-contained HTML files. Glowmotion combines a deterministic layout engine (dashmotion lineage: the script computes every coordinate and route, mechanized checkers verify the result) with a lanshu-style premium finish (glow-trail dots, pulsing module halos, grain + vignette, icon glyphs, title capsule) — implemented entirely as vector SVG/CSS/SMIL, so the output stays a few KB, scales losslessly, respects reduced motion, and opens in any browser straight from the filesystem.

Requires python3 (pure stdlib — no pip installs). There is no hand-layout fallback: the engine owns all geometry.

Step 1 — Pick the mode and theme

User wantsMode
Steps, sequence, branching, state transitions ("what happens, in what order")flow
Components, services, containment, topology ("what the system is made of")architecture

Mixed request → architecture; the animated journey is the flow.

Themes are light/dark switchable by default. Every generated file ships both a dark and a light palette and a ☀/☾ toggle button (top-right, next to pause); it opens following the viewer's OS prefers-color-scheme. You choose which two palettes pair up:

  • darkTheme (default midnight) — dark options: midnight (deep navy, emerald flow), neon (pure-black canvas, green/purple/cyan/amber), aurora (teal/violet on deep slate).
  • lightTheme (default daylight) — light options: daylight (soft blue-grey paper, saturated strokes, print-friendly). (only light theme today)
  • defaultMode: "auto" (default, follow OS) | "dark" | "light" — which side the file opens on. Set "light" when the user asks for a light diagram.
  • themeToggle: false — bake a single fixed theme (from theme/darkTheme), no button. Only when the user explicitly wants one locked look.

Legacy theme (single key) still works: a light value fills the light slot, a dark value the dark slot, the other slot takes its default — still switchable. Pick dark palettes by context: neon for landing-page drama, midnight for docs, aurora for data/ML topics.

Mermaid input — if the request contains Mermaid source (```mermaid block, .mmd file, or pasted code): supported types are flowchart/graph and stateDiagram-v2; say so and offer alternatives for others. Keep every node, edge, group, and legend label verbatim — never reword, merge, or add punctuation; Step 3's fidelity check compares exactly. Layout is always recomputed top-down regardless of the source's declared direction.

Step 2 — Author the graph, render the file

You author a semantic graph JSON — structure, types, journeys, copy — and the engine does everything else. Full contract in references/graph-format.md (read it before your first graph in a session). The essentials:

  1. Parse the request (or the Mermaid source) into the graph JSON: nodes (type for arch, shape only for flow pills/decisions, tier only for multi-group arch), edges (kind: sync/async/main/static), groups, 1–4 journeys (the animated request paths — always author at least one; the checker fails a diagram with no traveling dot), and the copy: title, titleHighlight (capsule phrase), subtitle, arch summary of exactly three cards, optional signature.
  2. Write the JSON to a temp path (mktemp/$TMPDIR), never the output folder — it is a throwaway intermediate.
  3. Render: python3 <skill-dir>/scripts/layout.py graph.json --render <topic>-glowmotion.html. The output is the complete deliverable: geometry, both theme palettes + ☀/☾ toggle, glow/trail/halo animation layer, icons, legend, cards, pause toggle, reduced-motion handling, ARIA wiring.

To change anything, edit the JSON and re-render (cheap, deterministic); for a one-off wording tweak, edit the emitted HTML directly. Never hand-compute coordinates and never write the HTML from scratch.

Step 3 — Verify before delivering (non-negotiable)

The file is done when the checkers say so — never verify by eyeballing the code or opening a browser/screenshot; label drift and geometry errors are invisible to the eye.

bash
python3 <skill-dir>/scripts/check_diagram.py <your-file>.html

Detects: partial overlaps (C1), connectors through boxes (C2), dash-loop seams (C3), out-of-viewBox (C4), dots off their line (C5), black-fill paths (C6), endpoint pierce (C7), dangling SMIL begin refs (C8), foreign node inside a group box (C9), and a missing/overstuffed animation layer (C10). Fix every violation and re-run until it prints 0 violations — usually by editing the graph JSON and re-rendering.

If the input was Mermaid, also run the fidelity check and fix to PASS:

bash
python3 <skill-dir>/scripts/check_fidelity.py <source>.mmd <your-file>.html

Deliver only after a clean pass. Tell the user the file opens directly in any browser, has a ☀/☾ light-dark toggle and a ⏯ pause button, and honors reduced-motion preferences.

GIF/MP4 export (only if asked)

Never render frames by hand. Screen-record the open file, or headless: npx timecut <file.html> --viewport=1200,900 --duration=3 --fps=30 --output=out.mp4 then ffmpeg -i out.mp4 out.gif. A 3s capture loops seamlessly when all durations divide 3s.

Output contract

One self-contained .html: embedded CSS, inline SVG, no external assets, no JS dependencies beyond the ~25-line inline theme/pause/reduced-motion script. Renders correctly opened from the filesystem, in light or dark per the viewer's preference (or the pinned defaultMode).

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Glowmotion AI 技能有什么作用?

创建精致的动态技术图表,并输出为独立完整的 HTML+SVG 文件:流程图中的连接线会呈现流动效果;架构图中的请求则会化作发光的彗星状光点,带有渐隐尾迹、脉冲式模块高亮效果,以及内置的明暗主题切换功能(深色主题包括 midnight/neon/aurora,浅色主题为 daylight)。当用户要求绘制流程图、工作流、流水线、流程图解、状态机、系统架构、基础设施、云、微服务或网络拓扑图时,请使用此技能;尤其适用于用户提到“动态”“发光”“精致”“流动”“有活力”“像 GIF 一样”“浅色模式”“深色模式”,或想为落地页、README、文档或产品演示制作图表的情况。此技能还可将 Mermaid 源代码(flowchart/graph 和 stateDiagram-v2)转换为动态图表。只要图表展示的是会移动的内容,例如请求、事件、数据、任务、消息或控制流,优先使用此技能,而不是生成静态图表。

为什么在 TypingMind 中使用 Glowmotion?

因为您只需安装一次,就能搭配任何模型使用。Glowmotion 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Glowmotion?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/SylphAI-Inc/skills/tree/main/skills/glowmotion。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Glowmotion?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Glowmotion 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Glowmotion 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Glowmotion AI 技能免费吗?

SylphAI-Inc 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇