본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트5.5k · #14813

terminal-line-plot

하는 일

이 스킬은 숫자로 된 추세를 터미널이나 채팅에서 텍스트 차트로 보여 주는 방법을 에이전트에게 가르칩니다. 그래픽 앱을 열지 않고도 점수, 지표, 시간에 따른 기록을 볼 때 유용합니다.

사용하는 경우

  • ✓사용자가 터미널에서 곡선, 추세선, 점수 변화를 보고 싶을 때.
  • ✓사용자가 이미지 파일을 만들지 않고 채팅에서 지표 기록을 보고 싶은 경우.
  • ✓사용자가 명령 출력의 숫자가 있고 빠른 텍스트 차트를 원할 때.

스킬 링크

https://github.com/sapientinc/PRAXIST/blob/main/skills/terminal-line-plot/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sapientinc/PRAXIST/blob/main/skills/terminal-line-plot/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“지난 열 세대의 학습 점수를 터미널에서 선 그래프로 보여 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 데이터 계열을 모으고, 어떤 지표를 그리는지, 값이 높을수록 좋은지 낮을수록 좋은지 확인합니다. 그다음 차트를 출력하는 번들 스크립트를 실행하며, 값을 쉽게 읽도록 짧은 표도 출력할 수 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Terminal Line Plot

Use this skill to turn numeric sequences into terminal-readable line charts. It is task-agnostic: do not assume any domain, metric direction, filtering rule, or data layout unless the user or artifacts define it.

Workflow

  1. Identify the series to plot:
    • x values are usually ordered steps, dates, versions, generations, epochs, or run ids.
    • y values must be numeric.
    • If multiple plausible metrics exist, choose the one the user asked for; otherwise state the selected metric before plotting.
  2. Preserve metric semantics:
    • Use exact metric names from artifacts when available.
    • Label whether higher or lower is better if known.
    • Do not mix partial and complete points silently; mark provisional or incomplete points in the title, notes, or point list.
  3. Use scripts/plot_series.py for deterministic plotting.
  4. Print a compact table or point list when it prevents misreading the curve.
  5. Do not write image files unless the user explicitly asks. Prefer stdout.

Script Usage

Run the bundled script from the skill directory:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --points "0:-4.49,1:-4.53,2:-4.87,3:-4.77,4:-3.23" \
  --title "Best future_fitness by generation" \
  --x-label generation \
  --y-label future_fitness \
  --higher-better

Input options:

  • --points "x:y,x:y,..." for quick point lists.
  • --csv FILE --x-field FIELD --y-field FIELD for CSV.
  • --json FILE --x-field FIELD --y-field FIELD for JSON arrays of objects, arrays of pairs, or mappings.
  • --stdin csv|json|points to read data from stdin.

Useful options:

  • --height N controls chart height.
  • --x-step N controls horizontal spacing between points.
  • --provisional-x X may be repeated to mark incomplete points with ○.
  • --value-table prints the plotted values below the chart.
  • --invert-y-note only changes the note; it does not invert the axis.

Plotting Guidelines

  • Prefer line drawing characters ●, ○, ╱, ╲, and ─.
  • Keep the x-axis readable. If labels collide, increase --x-step or plot fewer points.
  • Use a taller chart for noisy or close-valued curves.
  • For negative scores where "higher is better", the visually higher point should still mean numerically larger.
  • If the active/final point is incomplete, mark it provisional and do not draw conclusions from it.
  • For dense data, aggregate intentionally: best per generation, mean per epoch bucket, rolling median, or another stated rule.

Example Patterns

Manual points:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --points "0:7.88,1:7.78,2:8.45,3:8.61,4:9.28" \
  --title "Mean objective value by generation" \
  --y-label "objective" \
  --value-table

CSV:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --csv metrics.csv \
  --x-field generation \
  --y-field score \
  --title "Score by generation"

JSON:

python /path/to/terminal-line-plot/scripts/plot_series.py \
  --json metrics.json \
  --x-field gen \
  --y-field best_score
자주 묻는 질문

이미지 파일을 만드나요?

사용자가 요청하지 않으면 만들지 않습니다. 스킬은 화면에 출력하는 것을 선호합니다.

어떤 입력 형식을 지원하나요?

스킬은 점 목록, CSV, JSON, 명령 출력을 입력으로 제시합니다.

불완전한 점은 어떻게 처리하나요?

스킬은 임시 점이나 불완전한 점을 조용히 섞지 않고, 제목이나 메모에 표시하라고 설명합니다.

상세 정보

작성자의 원본 설명

Draw readable ASCII line charts directly in the terminal from numeric series, command output, CSV, JSON, or manually extracted points. Use when the user asks for a curve, trend line, score progression, leaderboard trend, metric history, or any plot that should be visible in a CLI/chat transcript without opening a GUI or writing image files.

repo: sapientinc/PRAXIST

인기도

GitHub 스타
5.5k
순위
#14813
라이선스
—
업데이트
2026. 9. 23.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬