terminal-line-plot
できること
このスキルは、数値の傾向をターミナルやチャットの中でテキストのグラフとして示す方法を説明します。スコア、指標、時間の推移に役立ち、グラフィックのアプリを開く必要はありません。
使う場面
- ✓ユーザーが、ターミナルで曲線、傾向線、スコアの推移を見たいとき。
- ✓ユーザーが、画像ファイルを作らずに、チャットで指標の履歴を見たいとき。
- ✓ユーザーが、コマンドの出力にある数値から、簡単なテキストのグラフを求めているとき。
スキルのリンク
https://github.com/sapientinc/PRAXIST/blob/main/skills/terminal-line-plot/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“学習スコアの直近10世代分を、ターミナルで折れ線グラフにして見せてください。”
毎週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
- 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.
- 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.
- Use
scripts/plot_series.pyfor deterministic plotting. - Print a compact table or point list when it prevents misreading the curve.
- 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 FIELDfor CSV.--json FILE --x-field FIELD --y-field FIELDfor JSON arrays of objects, arrays of pairs, or mappings.--stdin csv|json|pointsto read data from stdin.
Useful options:
--height Ncontrols chart height.--x-step Ncontrols horizontal spacing between points.--provisional-x Xmay be repeated to mark incomplete points with○.--value-tableprints the plotted values below the chart.--invert-y-noteonly 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-stepor 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
コメント
- …
このリポジトリの他のスキル
praxist-control
5.5kエージェントが、コマンドラインから Praxist の研究実行を開始、停止、再開し、状態を確認できるよう支援します。ライブの監視や、実行状態の安全な修復も含みます。
praxist-diagnostic
5.5kエージェントが、Praxist の実行について、成果物の整合性、研究ループの完全性、リソースの使用量、成果が弱い原因などを、何も変えずに健全性の観点から確認できるよう支援します。
praxist-interactive-task-init
5.5kエージェントが、目標、指標、予算、起動の準備が整っているかについて、ユーザーに確認を取りながら Praxist のタスクプロジェクトを段階的に設定できるよう支援します。何も作る前に確認します。
praxist-onboarding
5.5kエージェントが、Praxist の実行、ピア、世代、設定、主要なフォルダーなどの仕組みを学び、何も変えずにマシンの準備状況を確認できるよう支援します。
似ているスキル
gitcrawl
394k保存されたGitHubのイシューとプルリクエストのアーカイブを検索し、重複をまとめ、GitHub上の現在の状態を確認するようエージェントを支援します。
slacrawl
394kローカルのSlackアーカイブ内のメッセージを検索して件数を数え、アーカイブの新しさを確認し、必要に応じて更新するようエージェントを支援します。
goplaces
394kGoogle Placesを使って、場所を検索し、詳細や口コミを取得し、場所の名前を解決するようエージェントを支援します。スクリプト用にJSON出力もできます。