用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill visualization命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Place search, directions, geocoding, and interactive maps
Test and prototype code in a sandboxed environment. Use for debugging, verifying logic, or installing packages.
Autonomous coding agent. Delegate any task that involves understanding, writing, or running code — from a GitHub issue, a bug report, or a user request. It explores, implements, and verifies on its own.
基于 SOC 职业分类
正在显示 SKILL.md
| name | visualization |
| description | Create interactive chart visualizations (bar, line, pie) from data. |
Use create_visualization when the user wants to visualize numerical data — comparisons, trends, distributions, or proportions.
| Use this skill for... | Use excalidraw skill for... |
|---|---|
| Sales figures by quarter | System architecture diagram |
| Survey response percentages | Flowchart or decision tree |
| Stock price over time | Sequence / interaction diagram |
| Market share breakdown | Mind map or concept map |
| Any x/y or segment/value data | Shapes, boxes, arrows, labels |
| Parameter | Type | Required | Description |
|---|---|---|---|
chart_type | str | Yes | "bar", "line", or "pie" |
data | list[dict] | Yes | Array of data objects — see formats below |
title | str | No | Chart title |
x_label | str | No | X-axis label (bar/line only) |
y_label | str | No | Y-axis label (bar/line only) |
Bar / Line charts — each object MUST have "x" and "y" keys:
[{"x": "Jan", "y": 100}, {"x": "Feb", "y": 150}, {"x": "Mar", "y": 120}]
Pie charts — each object MUST have "segment" and "value" keys:
[{"segment": "Category A", "value": 30}, {"segment": "Category B", "value": 70}]
Optional: add "color": "hsl(210, 100%, 50%)" to any data point for custom color.
Bar chart:
{
"chart_type": "bar",
"data": [{"x": "Q1", "y": 250}, {"x": "Q2", "y": 310}, {"x": "Q3", "y": 280}],
"title": "Quarterly Revenue",
"x_label": "Quarter",
"y_label": "Revenue ($K)"
}
Pie chart:
{
"chart_type": "pie",
"data": [{"segment": "Mobile", "value": 60}, {"segment": "Desktop", "value": 35}, {"segment": "Tablet", "value": 5}],
"title": "Traffic by Device"
}
{"labels": [...], "values": [...]} format — data MUST be a list of dicts."x" and "y" keys, NOT "label" or "name".Data Format: