Plotbeat 标志

Plotbeat

社区热门
Unclecheng-li
plotbeat

通过改造 HyperFrames 原生模板和可选的视觉风格预设,根据本地 CSV/JSON 数据,或从用户批准的 URL、API 或公共来源获取的数据,制作确定性且可编辑的数据可视化视频。需要 HyperFrames AI 技能。当用户想要制作折线图故事、多系列排名、动态图表、数据驱动的动态图形,或在 HyperFrames 中创建可复用的新数据视频模板时使用。这是 HyperFrames 模板工作流,不是独立的视频生成器或渲染器。

Add to TypingMind

概览

发布者Unclecheng-li
代码仓库AI_Animation
技能名称plotbeat
星标数
1.6K
复刻数
123
附带文件
140
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 140 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/Unclecheng-li/AI_Animation/tree/master/skills/ui2v-motions/01_动效库/itelmn/single-line-story
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Plotbeat

Turn user-supplied data into a local HyperFrames composition. Start from a proven template, compile the data before playback, then use HyperFrames for timing, preview, validation, and rendering.

Require HyperFrames

Treat this as a fail-closed dependency gate. Before acquiring data, listing templates, scaffolding, editing, previewing, validating, or rendering:

  1. Resolve and read the installed hyperframes AI skill.

  2. If it is unavailable, stop and ask the user to install it with:

    bash
    npx skills add heygen-com/hyperframes --all
  3. Do not approximate the missing skill from general knowledge, use Plotbeat as a standalone generator, or continue with only the HyperFrames npm CLI.

  4. After the dependency is installed, resume through the hyperframes skill, then use Plotbeat for the data-video template workflow.

Preserve the product boundary

  • Treat HyperFrames as the composition and rendering engine.
  • Start through the main hyperframes skill and load its hyperframes-core, hyperframes-animation, and hyperframes-cli guidance as required.
  • Do not add a competing render loop, video encoder, scene scheduler, or standalone animation runtime.
  • Keep the output editable as an ordinary HyperFrames HTML project.
  • Use one paused, seek-safe timeline per scene. Derive visual state from timeline progress.
  • Keep the bundled music as a separate local <audio> element. Let HyperFrames own playback and use the registered GSAP timeline for volume fades; never call play(), pause(), or set currentTime yourself.
  • The bundled master covers the quick, standard, and deliberate presets (up to 56 seconds). For a longer exact duration, resolve or ingest a longer local BGM asset before previewing.
  • Compile CSV or JSON into a frozen local generated/data.js. Do not fetch live data during playback.
  • Do not use requestAnimationFrame, timers, D3 transitions, or nondeterministic randomness as playback clocks.

Acquire the dataset

  • Accept either a local .csv/.json file or a request to retrieve data from a named source, URL, public API, or authorized connector.
  • When retrieval is requested, fetch during preparation with the available connector, browser, API, or CLI. Do not make the user manually download a file when the agent can obtain it safely.
  • Prefer first-party and authoritative sources. Clarify the metric, entities or geography, date range, and frequency only when ambiguity would materially change the story.
  • Save the retrieved rows locally as CSV or JSON before scaffolding. Preserve the source URL or API name, query or filters, retrieval date, and material transformations; pass a concise citation through --source.
  • Never invent missing observations or silently join incompatible series. State any interpolation, aggregation, filtering, or carry-forward policy.
  • Fetch authenticated or private data only through access the user has authorized. Never expose credentials in the composition.

Route the request

List the packaged catalog, then choose the closest starting template:

bash
node {skill-dir}/scripts/scaffold.mjs --list
  • single-line-story: one time series in the supplied reference style: near-black canvas, neon trace and area glow, zero-anchored expanding Y domain, upper-right value/change/date readout, endpoint label, and a dimmed final lockup.
  • multi-line-rank: synchronized series in the supplied reference style: thin luminous paths, numbered endpoint badges, a live rank/multiplier/value rail, and a centered final ranking table.
  • bar-race: long-form multi-series data becomes ranked horizontal bars with continuous overtakes, a rescaling axis, a current-period readout, and absolute or leader-indexed variants.
  • stacked-area-story: long-form multi-series data becomes a contribution story with continuously revealed layers, a live total, and absolute or 100% stack variants.
  • scatter-journey: dated X/Y positions become connected entity trails or size-aware bubble trails with live coordinates.
  • animated-map: latitude/longitude rows become a pulsing location map or animated connection-flow story.
  • kpi-dashboard: metric rows become staged target cards or a radial performance board.
  • milestone-timeline: dated events become a continuous playhead timeline or chapter-card story.
  • New template: start from the nearest template, keep the same data compiler/runtime boundary, and follow references/template-authoring.md.

Read references/data-contract.md before mapping a new dataset. Read references/quality-gates.md before presenting or rendering. Read references/visual-styles.md before selecting or customizing the visual direction.

Build a composition

  1. Acquire the requested data or inspect the supplied file, then identify its columns, date grain, missing values, number of series, source, and desired unit.

  2. Obtain the visual style and pacing before scaffolding. If the user supplies JSON copied from the Plotbeat style builder, treat that as an explicit custom visual direction: validate its documented fields, choose the nearest preset only as the scaffold base, then apply the supplied tokens and composition choices in the copied project. Do not replace the supplied JSON with the base preset. If style or pacing is otherwise missing, ask one short grouped question: “Should the visual direction be dark or light, which preset character fits the story, and should it feel quick (~18s), standard (~30s), deliberate (~45s), or use an exact duration?” Offer the installed presets from --list-styles; map the answer to its --style <id> flag and pacing to --pace quick, --pace standard, --pace deliberate, or --duration <seconds>. When a user asks the agent to decide, choose from the data context using the style reference and state the choice.

  3. Normalize dates and numbers. Ask only when another choice changes the story materially; otherwise choose safe column defaults and state them.

  4. Scaffold a template:

    bash
    node {skill-dir}/scripts/scaffold.mjs \
      --template single-line-story \
      --input /absolute/path/to/data.csv \
      --output /absolute/path/to/composition \
      --date date --value value \
      --title "What if Revenue kept compounding?" \
      --accent-text "Revenue" --unit "USD" \
      --style paper-cut --pace quick

    For long-form multi-series data, add --series series and select multi-line-rank. For wide data such as date,North,South, pass --series-columns North,South instead.

    Select bar-race for ranking changes or stacked-area-story for contribution-to-total stories. Add --bar-mode leader-index to normalize the current leader to 100, or --stack-mode percent for a 100% stacked composition. Scatter, map, KPI, and milestone inputs use the documented contracts and the --scatter-mode, --map-mode, --kpi-mode, and --timeline-mode variant flags.

  5. Edit the copied index.html, frame.md, and metadata in the output project. Preserve local script paths and HyperFrames timing attributes.

  6. Run the compiler again after changing column mappings, story copy, or pacing:

    bash
    node scripts/prepare-data.mjs \
      --template single-line-story \
      --input data/input.csv \
      --output generated/data.js \
      --composition index.html \
      --date date --value value \
      --title "What if Conversion kept compounding?" \
      --accent-text "Conversion" --unit "%" \
      --style studio-blueprint --pace standard --duration 24 --path-style linear

    --duration overrides only the pace preset's length; the selected pace still supplies suitable opening, finale, and closing proportions unless explicit timing flags override them. Recompiling with a different --style changes the design system and default chart palette without changing the data, template, or timing.

  7. Validate from the composition directory:

    bash
    npm test
    npx hyperframes check --snapshots --samples 12
    npx hyperframes preview
  8. Inspect the closed first frame, multiple opening-transition frames, early growth, middle, rank-crossing/extreme, pre-finale, staggered finale, finale hold, and closed last frame. Confirm that each line grows continuously from the left without snapping to the right edge, the live date chip follows the endpoint, axes expand from zero for positive datasets, endpoint values match the compiled rows, rank rows glide rather than jump, the finale begins only after the full chart is visible, neither transition produces a one-frame flash, and the music fades cleanly at both ends without overpowering the chart. Obtain preview approval before npx hyperframes render.

Extend the template set

When the existing templates do not fit, add a new native HyperFrames template rather than branching into a new generator. Define its manifest, data shape, deterministic state model, example data, preview frames, and quality checks. Reuse assets/runtime/plotbeat-data.js for interpolation and formatting where practical.

Keep template-specific visual decisions in the composition and generic math in the runtime. A template is ready only when arbitrary forward and backward seeks produce the same frame and HyperFrames checks pass without unexplained suppressions.

Resources

  • scripts/scaffold.mjs: copies a complete template and compiles the selected dataset.
  • scripts/prepare-data.mjs: compiles CSV/JSON to frozen local JavaScript.
  • assets/templates/: native HyperFrames composition starters.
  • assets/catalog/templates.json: machine-readable catalog used for template discovery.
  • assets/runtime/: shared deterministic chart-state helpers and visual-style tokens.
  • assets/samples/: generic sample datasets for smoke tests.

附带文件

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

还有 80 个文件。

常见问题

Plotbeat AI 技能有什么作用?

通过改造 HyperFrames 原生模板和可选的视觉风格预设,根据本地 CSV/JSON 数据,或从用户批准的 URL、API 或公共来源获取的数据,制作确定性且可编辑的数据可视化视频。需要 HyperFrames AI 技能。当用户想要制作折线图故事、多系列排名、动态图表、数据驱动的动态图形,或在 HyperFrames 中创建可复用的新数据视频模板时使用。这是 HyperFrames 模板工作流,不是独立的视频生成器或渲染器。

为什么在 TypingMind 中使用 Plotbeat?

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

如何在 TypingMind 中安装 Plotbeat?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/Unclecheng-li/AI_Animation/tree/master/skills/ui2v-motions/01_动效库/itelmn/single-line-story。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Plotbeat?

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

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

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

Plotbeat AI 技能免费吗?

是的。Unclecheng-li 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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