chart-rendering
하는 일
이 스킬은 질문에 맞는 차트 종류를 고르고, 명확한 제목과 라벨을 붙여 이미지로 그립니다. 긴 표 대신 분석 결과를 그림으로 보고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓숫자 묶음의 차트나 그래프를 요청할 때.
- ✓결과에 행이 많아 그림으로 보는 편이 쉬울 때.
- ✓값이 시간에 따라 어떻게 변하는지 보고 싶을 때.
스킬 링크
https://github.com/agentscope-ai/agentscope-java/blob/main/agentscope-examples/agents/agentscope-dataagent/src/main/resources/shared/agents/data-agent/skills/chart-rendering/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“월별 가입자 수를 지난 1년 동안의 선 그래프로 그려 주세요. 제목과 축 라벨을 분명하게 넣어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 먼저 질문을 차트 종류에 맞춥니다. 시간에 따른 변화에는 선, 범주 비교에는 막대를 고르는 식입니다. 그다음 차트를 그리는 짧은 스크립트를 작성하고, 이미지와 스크립트를 함께 저장합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Chart Rendering Skill
Repeatable SOP for turning a result set into a chart that actually communicates the point.
Steps
Match chart type to question. Decide before drawing:
Question shape Chart "How does X change over time?" Line (single series) or multi-line "Composition / share of total" Stacked bar, or 100% stacked area "Comparison across a small set of categories" Bar (horizontal if labels are long) "Relationship between two numeric variables" Scatter "Distribution of a single variable" Histogram or box plot "Cumulative total" Area If none fit, ask the user which view they want — do not default to "any chart will do".
Prepare the data. The query result from the [[sql-analysis]] Skill should already be tidy (one row per data point, one column per dimension). If not, reshape first using pandas (
pivot,melt,groupby). Save the cleaned frame toknowledge/cache/<topic>.csvso it can be re-rendered.Render with matplotlib. Write the script to a file under
scratch/charts/<topic>.pyand execute it viashell_run. Conventions:- Title — one sentence answering the question (not "Untitled chart").
- Axes — label both, include units (
Active users (count),Date (UTC)). - Legend — include only if there is more than one series.
- Colours — use the matplotlib default palette unless the user has a
stated brand colour in
knowledge/style.md. - Output — save as PNG (
bbox_inches='tight',dpi=150) underknowledge/charts/<topic>.png.
Show and explain. In the assistant reply, link the saved image with a markdown image embed (
) and write 2–3 sentences interpreting it — what the chart shows, the one thing the user should take away, and any caveat (incomplete latest data point, outliers excluded, etc.).Keep the script reproducible. The chart file is the artefact; the script under
scratch/charts/<topic>.pyis the source of truth. If the user asks for a tweak ("can we use a log y-axis?"), edit the script and re-run — do not regenerate from scratch.
Anti-patterns
- ❌ Pie charts with > 5 slices.
- ❌ Charting raw counts when proportions are what the user actually asked.
- ❌ A chart whose axes have no labels or unit.
- ❌ Embedding the image without 2 sentences of interpretation.
When to delegate
If the user wants a multi-chart dashboard with narrative around it (e.g. "build
me a weekly product health deck"), spawn the report-writer sub-agent —
this Skill is for individual charts.
자주 묻는 질문
어떤 차트 종류를 쓰나요?
질문에 따라 선, 누적 막대, 막대, 산점도, 히스토그램, 상자 그림, 영역 차트를 사용할 수 있습니다.
무엇을 돌려받나요?
이미지 파일과 그것을 만든 스크립트를 받습니다.
맞는 차트 종류가 없으면 어떻게 하나요?
스킬은 추측하지 않고 어떤 보기를 원하는지 묻습니다.
상세 정보
작성자의 원본 설명
Visualise the result of an analysis as a chart (line, bar, area, scatter, etc.). Use when the user asks to "plot...", "chart...", "show me the trend of...", "visualise...", or when a numerical result has more than ~10 rows and would be easier to read as a picture. Produces an image file plus the script that generated it.
인기도
- GitHub 스타
- 6.2k
- 순위
- #14390
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
agentscope-java
6.2k에이전트가 Project Reactor 위에 만들어진 다중 에이전트 프레임워크 AgentScope용 논블로킹 Java 코드를 작성하도록 돕습니다.
data-report
6.2k에이전트가 데이터셋을 평균, 합계, 범위, 추세가 담긴 보고서로 요약하고, Markdown 파일로 저장하도록 돕습니다.
data-transform
6.2k에이전트가 CSV, JSON 같은 형식 사이에서 데이터 파일을 변환해 다른 도구에서도 쓸 수 있게 돕습니다.
git-changelog
6.2k에이전트가 Git 기록에서 변경 로그나 출시 노트를 작성하도록 돕습니다. 기능, 수정, 기타 변경으로 묶어 정리합니다.
비슷한 스킬
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
slacrawl
394k에이전트가 로컬 Slack 보관본에서 메시지를 검색하고 개수를 세며, 보관본이 얼마나 최신인지 확인하고 필요할 때 새로 고치도록 돕습니다.
goplaces
394k에이전트가 Google Places로 장소를 검색하고, 세부 정보와 리뷰를 가져오고, 장소 이름을 확인하며, 스크립트용 JSON을 출력하도록 돕습니다.