terminal-line-plot
यह क्या करती है
यह स्किल एजेंट को सिखाती है कि किसी संख्यात्मक ट्रेंड को सीधे टर्मिनल या चैट में टेक्स्ट चार्ट के रूप में कैसे दिखाए। यह स्कोर, मेट्रिक्स और समय के साथ इतिहास देखने के लिए उपयोगी है, बिना किसी ग्राफ़िक्स ऐप को खोले।
कब इस्तेमाल करें
- ✓जब कोई यूज़र टर्मिनल में कर्व, ट्रेंड लाइन या स्कोर की प्रगति देखना चाहता है।
- ✓जब यूज़र चाहता है कि मेट्रिक का इतिहास बिना इमेज फ़ाइल बनाए चैट में दिखे।
- ✓जब यूज़र के पास कमांड आउटपुट में संख्याएँ हों और उसे एक त्वरित टेक्स्ट चार्ट चाहिए।
Skill का लिंक
https://github.com/sapientinc/PRAXIST/blob/main/skills/terminal-line-plot/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरी ट्रेनिंग का स्कोर पिछली दस जनरेशन में टर्मिनल में लाइन चार्ट के रूप में दिखाइए।”
हर हफ़्ते 5 नई skills, 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
- लाइसेंस
- —
- अपडेट की गई
- 23/9/2026
कमेंट
- …
इस repository की और skills
praxist-control
5.5kआपके एजेंट को कमांड लाइन से Praxist शोध रन शुरू करने, रोकने, फिर से चलाने और उनकी जाँच करने देती है, लाइव मॉनिटर और रन स्थिति की सुरक्षित मरम्मत के साथ।
praxist-diagnostic
5.5kआपके एजेंट को Praxist रन की सेहत जाँचने देती है, जिसमें आर्टिफ़ैक्ट अखंडता, शोध-लूप की पूर्णता, संसाधन उपयोग और कमज़ोर नतीजों के कारण शामिल हैं, बिना कुछ बदले।
praxist-interactive-task-init
5.5kआपके एजेंट को Praxist टास्क प्रोजेक्ट कदम-दर-कदम सेट अप करने देती है, कुछ भी बनने से पहले लक्ष्य, मेट्रिक्स, बजट और लॉन्च की तैयारी की पुष्टि माँगते हुए।
praxist-onboarding
5.5kआपके एजेंट को Praxist कैसे काम करता है, यह सीखने देती है, जिसमें रन, पीयर, पीढ़ियाँ, कॉन्फ़िगरेशन और मुख्य फ़ोल्डर शामिल हैं, और किसी बदलाव से पहले मशीन की तैयारी जाँचती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।