← 返回 Skills 市场
ravenquasar

Chart Animation

作者 U3UT7 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install chart-animation
功能描述
Generate dark-themed animated trend charts and static overview images from time-series JSON data with customizable titles and frame rates.
使用说明 (SKILL.md)

chart-animation

Version: 1.0.0

Generate animated trend charts from time-series data. Creates GIF/MP4 animations with dark theme styling and static overview images.

Usage

# Generate animation from data
chart-animation --data \x3Cpath/to/data.json> --output \x3Coutput-dir>

# With custom options
chart-animation --data data.json --output ./output --title "Temperature Trends" --fps 15

Data Format

Input JSON should have this structure:

{
  "metadata": {
    "generated_at": "2026-06-06",
    "source": "your data source"
  },
  "dates": ["2025-06-01", "2025-06-08", ...],
  "series": {
    "Series A": {
      "values": [12.5, 14.2, ...],
      "color": "#E74C3C"
    },
    "Series B": {
      "values": [15.0, 16.8, ...],
      "color": "#3498DB"
    }
  }
}

Output

  • \x3Coutput>/animation.gif - Animated chart (GIF format)
  • \x3Coutput>/animation.mp4 - High-quality video (if ffmpeg available)
  • \x3Coutput>/overview.png - Static multi-panel overview

Features

  • Dark theme: Professional dark background for presentations
  • Multi-series support: Up to 4 data series with distinct colors
  • Responsive X-axis: Automatically formats date labels
  • Overview chart: Grid layout showing each series separately
  • Min/Max markers: Highlights extreme values in overview

Dependencies

  • Python 3.8+
  • matplotlib
  • numpy
  • pillow (for GIF)
  • ffmpeg (optional, for MP4)

Install:

pip install matplotlib numpy pillow
# For MP4 support:
# macOS: brew install ffmpeg
# Ubuntu: sudo apt install ffmpeg

Example

# Create sample data
python3 -c "
import json
data = {
  'metadata': {'source': 'example'},
  'dates': ['2025-01', '2025-02', '2025-03', '2025-04'],
  'series': {
    'Revenue': {'values': [100, 120, 115, 140], 'color': '#27AE60'},
    'Cost': {'values': [80, 85, 90, 88], 'color': '#E74C3C'}
  }
}
print(json.dumps(data, indent=2))
" > data.json

# Generate animation
chart-animation --data data.json --output ./charts

Options

Option Default Description
--data required Path to input JSON
--output ./output Output directory
--title auto Chart title (auto from metadata)
--fps 12 Animation frames per second
--width 14 Figure width in inches
--height 8 Figure height in inches

Notes

  • For Chinese characters, ensure fonts like "PingFang SC" or "SimHei" are installed
  • The skill auto-detects Y-axis range from data
  • Overview charts use 2x2 grid for up to 4 series
安全使用建议
Install this if you want a local Python tool for generating chart animations. Review the input JSON and output directory before running it, because it will create or overwrite chart output files in that directory, and install dependencies only from trusted package sources.
能力评估
Purpose & Capability
The stated purpose is animated trend chart generation, and the Python script implements that using matplotlib/numpy/pillow with optional ffmpeg output.
Instruction Scope
Instructions are ordinary user-directed CLI usage with explicit data and output paths; I found no hidden agent instructions, prompt manipulation, or unrelated workflow.
Install Mechanism
It discloses Python plotting dependencies and optional ffmpeg installation. No package lifecycle hooks, postinstall commands, or automatic installer behavior were present.
Credentials
Runtime file access is limited to reading the specified JSON input, creating the specified output directory, and writing animation.gif, optional animation.mp4, and overview.png.
Persistence & Privilege
No persistence, background execution, credential access, privilege escalation, startup registration, network calls, or broad filesystem scanning were found.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install chart-animation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /chart-animation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release: generate animated (GIF/MP4) trend charts from time-series JSON data - Supports up to 4 data series with distinct colors and min/max markers - Outputs: animation.gif, animation.mp4 (if ffmpeg available), and static overview.png - Features professional dark theme and responsive date axis formatting - Command-line options for title, fps, size, and output directory - Includes multi-panel overview grid and support for custom fonts
元数据
Slug chart-animation
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Chart Animation 是什么?

Generate dark-themed animated trend charts and static overview images from time-series JSON data with customizable titles and frame rates. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Chart Animation?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install chart-animation」即可一键安装,无需额外配置。

Chart Animation 是免费的吗?

是的,Chart Animation 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Chart Animation 支持哪些平台?

Chart Animation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Chart Animation?

由 U3UT7(@ravenquasar)开发并维护,当前版本 v1.0.0。

💬 留言讨论