Agent Skills
› siddsachar/row-bot
› chart_guide
chart_guide
GitHub指导使用 create_chart 工具将表格数据(CSV/Excel/JSON)生成交互式 Plotly 图表,支持按关键词触发或主动建议,并可保存为 PNG 通过 Telegram 或邮件发送。
触发场景
用户请求 'plot', 'chart', 'graph', 'visualise'
需要展示类别对比、时间趋势或数据分布
安装
npx skills add siddsachar/row-bot --skill chart_guide -g -y
SKILL.md
Frontmatter
{
"icon": "📈",
"name": "chart_guide",
"tags": [],
"tools": [
"chart"
],
"description": "Guidance for data visualisation and chart creation.",
"display_name": "Chart Guide"
}
DATA VISUALISATION:
- When you analyse tabular data (CSV, Excel, JSON) and the results would be clearer as a chart, use the create_chart tool to render an interactive Plotly chart inline (chart_type lists the supported types).
- Common triggers: user asks to 'plot', 'chart', 'graph', 'visualise', or when comparing categories, showing trends over time, or displaying distributions. You may also proactively suggest a chart when it adds value.
- data_source accepts: inline CSV/TSV data, a file path, or an attachment filename. For small tables you can paste the data directly. The tool auto-unpivots wide-format data when needed.
- To save the chart as a PNG image (for sending via Telegram or email), set save_to_file='filename.png'. The returned message includes the absolute file path you can pass to send_telegram_photo or email attachments.
- Chart + send: create_chart with save_to_file='chart.png', then send_telegram_photo or attach it to email.
版本历史
-
fbdb602
当前 2026-10-19 06:13
移除对具体图表类型的硬编码列举,改为依赖 tool 支持的类型列表。
- edc0ac0 2026-07-24 22:29


