Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计异常

create-visualization创建可视化

Agent Skill

用于辅助数据整理、表格处理、CSV/Excel 分析、指标计算和图表准备。它适合让 Agent 清洗字段、汇总数据、发现异常、生成统计口径或把分析结果转成可读说明。使用时需要确认数据来源、字段含义和时间范围,避免把样本数据当全量事实;涉及敏感数据、导出文件或批量写回时,应先确认权限和脱敏边界。

总安装

783

周安装

32

GitHub Stars

21

下载量

251
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:create-visualization(创建可视化)
来源仓库:https://github.com/thepexcel/agent-skills
仓库路径:skills/create-visualization
安装命令:
npx skills add https://github.com/thepexcel/agent-skills --skill create-visualization
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/thepexcel/agent-skills --skill create-visualization

简介

用于 STEM 概念的可视化解释,支持物理受力图与数学图表生成。

  • 根据内容动态选择 Matplotlib 静态图或 Manim 动画脚本,平衡性能与表现力。
  • 使用时需提供参数与绘图指令,系统将输出可直接运行的 Python 脚本。
  • 建议验证脚本依赖项与环境配置,避免渲染失败或数据错误。
  • create-visualization 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Visualization Skill

สร้าง diagrams และ animations สำหรับอธิบาย STEM concepts

Quick Decision

NeedToolScript
Physics FBDMatplotlibscripts/physics_fbd.py
Math plots/geometryMatplotlibscripts/math_plots.py
FlowchartsMatplotlibscripts/flowchart.py
Animations (3b1b style)Manimscripts/manim_physics.py

Rule: Static → Matplotlib (fast) | Motion/transform → Manim (powerful)


1. Physics: Free Body Diagrams

from scripts.physics_fbd import draw_inclined_plane_fbd, draw_two_blocks_rope

# Inclined plane with force decomposition
draw_inclined_plane_fbd(mass=4, angle=30, show_components=True)

# Two blocks connected by rope
draw_two_blocks_rope(mass_A=2, mass_B=3, F_pull=10)

Output: PNG in learning-notes/ folder


2. Math: Plots & Geometry

from scripts.math_plots import plot_function, draw_unit_circle, draw_coordinate_plane
import numpy as np

# Function plot
plot_function(lambda x: np.sin(x), x_range=(-2*np.pi, 2*np.pi), title="sin(x)")

# Unit circle with angles
draw_unit_circle(angles_deg=[0, 30, 45, 60, 90])

# Coordinate plane with vectors
draw_coordinate_plane(
    vectors=[((0,0), (3,2), "a", "red"), ((0,0), (1,4), "b", "blue")]
)

3. Flowcharts

from scripts.flowchart import draw_simple_flowchart, draw_decision_flowchart

# Linear flow
draw_simple_flowchart([
    ("Start", "start"),
    ("Input x", "io"),
    ("Process", "process"),
    ("End", "end"),
])

# Decision branching
draw_decision_flowchart(
    before_decision=[("Start", "start")],
    decision_text="x > 0?",
    yes_branch=[("Positive", "process")],
    no_branch=[("Negative", "process")],
    after_merge=[("End", "end")]
)

4. Animations (Manim)

For 3Blue1Brown-style animations. See references/manim-guide.md for full guide.

Available Scenes in scripts/manim_physics.py

SceneDescription
VectorAdditionHead-to-tail vector addition
ForcesOnBoxFBD with motion
NewtonThirdLawAction-reaction pairs
InclinedPlaneForces on incline with equations
ProjectileMotionParabolic path with velocity vectors
CircularMotionCentripetal acceleration
AtwoodInclinePulley system (customizable m1, m2, θ)

Render Command

# Preview (low quality, fast)
manim -pql scripts/manim_physics.py VectorAddition

# GIF output
manim -ql --format=gif scripts/manim_physics.py VectorAddition

Custom Animation

from manim import *

class MyScene(Scene):
    def construct(self):
        circle = Circle(color=BLUE)
        self.play(Create(circle))
        self.play(circle.animate.shift(RIGHT * 2))

5. Function Explainer Visualization

สร้างภาพอธิบายการทำงานของ Excel/DAX/Power Query functions

Quick Start

# 1. Generate visualization
python3 tools/visualize_function.py excel left 1

# 2. Upload to server (--mkdir creates directory if needed)
python3 tools/ftp_upload.py -f media/function-viz/excel/left-1.png -r wp-content/uploads/function-viz/excel/ --mkdir

# 3. Add image_url to JSON example, then publish
python3 tools/smart_publish.py --slugs left --program excel --allow

Output: media/function-viz/{program}/{slug}-{example_number}.png Server: https://www.thepexcel.com/wp-content/uploads/function-viz/{program}/{slug}-{example}.png

Supported Functions

FunctionDescription
LEFTดึงตัวอักษรจากซ้าย
RIGHTดึงตัวอักษรจากขวา
MIDดึงตัวอักษรจากตรงกลาง
FINDหาตำแหน่งข้อความ
SUBSTITUTEแทนที่ข้อความ

Workflow

  1. Generatepython3 tools/visualize_function.py {program} {slug} {example_num}
  2. Uploadpython3 tools/ftp_upload.py -f {file} -r wp-content/uploads/function-viz/{program}/ --mkdir
  3. Update JSON — เพิ่ม "image_url": "https://..." ใน example
  4. Publishpython3 tools/smart_publish.py --slugs {slug} --program {program} --allow

Custom Visualization (Nested Functions)

สำหรับ formula ซับซ้อน เช่น =LEFT(A1, FIND(" ", A1)-1) ต้องเขียน script แยก:

# ดูตัวอย่างที่ media/function-viz/excel/left-5-custom.py

Note: Script หลักรองรับ formula ง่ายๆ ที่มี string literal เท่านั้น


Workflow

  1. Choose tool — Static (Matplotlib) vs Animation (Manim)
  2. Run scriptpython3 scripts/physics_fbd.py or manim -pql...
  3. View outputexplorer.exe output.png or use image viewer

Tip: Use run_in_background=true for viewers to avoid blocking conversation.


Related Skills

  • /explain-concepts — Visualize concepts being taught
  • /thepexcel-brand-guidelines — Brand-themed visualizations
  • /pptx — Embed visualizations in presentations

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

28.04%
按下载量换算70

OpenCode

21.85%
按下载量换算55

windsurf

17.72%
按下载量换算44

Codex

11.3%
按下载量换算28

Antigravity

7.98%
按下载量换算20

Gemini CLI

3.34%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills