terminal-line-plot
ما الذي تفعله
تعلّم هذه المهارة الوكيل كيف يعرض اتجاهًا رقميًا كمخطط نصي مباشرة في الطرفية أو المحادثة. وهي مفيدة للنتائج والمقاييس والسجل الزمني، دون فتح تطبيق رسوم.
متى تستخدمها
- ✓عندما يطلب المستخدم رؤية منحنى أو خط اتجاه أو تطور نتيجة في الطرفية.
- ✓عندما يريد المستخدم عرض سجل مقياس داخل المحادثة دون إنشاء ملفات صور.
- ✓عندما تكون لدى المستخدم أرقام من مخرجات أمر ويريد مخططًا نصيًا سريعًا.
رابط المهارة
https://github.com/sapientinc/PRAXIST/blob/main/skills/terminal-line-plot/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أرني نتيجة التدريب خلال آخر عشرة أجيال على شكل مخطط خطي في الطرفية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يجمع الوكيل السلسلة، ويتأكد من المقياس المرسوم وهل القيمة الأعلى أو الأقل أفضل، ثم يشغّل سكربتًا مرفقًا يطبع المخطط. ويمكنه أيضًا طباعة جدول قصير لتسهل قراءة القيم.
المحتوى التقني (ملف 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
التعليقات
- …
المزيد من المهارات من هذا المستودع
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
394kيساعد وكيلك على البحث عن الأماكن وعرض تفاصيلها وتقييماتها وتحديد أسمائها عبر Google Places، مع مخرجات JSON للسكربتات.