visualize
ما الذي تفعله
تنشئ هذه المهارة صفحة HTML كاملة تحتوي على رسوم بيانية أو جداول أو مخططات، لتُعرض مباشرة في المحادثة. وهي مفيدة عندما تكون المعلومات المرئية أوضح من النص.
متى تستخدمها
- ✓لعرض رسم بياني للمبيعات الشهرية.
- ✓لعرض جدول بنتائج بحث.
- ✓لتقديم مخطط انسيابي لعملية ما.
رابط المهارة
https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-senpi/skills/visualize/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ رسمًا بيانيًا عموديًا يوضح عدد سكان أكبر 5 مدن في البرازيل.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تطلب هذه المهارة أولًا من متخصص بيانات حساب المعلومات اللازمة واختيار أفضل نوع للرسم. ثم تستعين بمتخصص تصميم لتنظيم الصفحة، وأخيرًا تجمع صفحة HTML النهائية، مع ضمان أنها تعمل بدون اتصال بالإنترنت وأن الألوان تتكيف مع سمة المحادثة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Visualize
A page shown inline sits beside a reply, in the reader's theme, and is read in a few seconds. It earns its place only by being clearer than the paragraph it replaces. This skill owns what is particular to such a page. The data work belongs to data-scientist and the design work to frontend: load those skills for their parts instead of improvising them here.
The loop
Do these in order. Never show a page you have not looked at.
- Data: load
data-scientist. Compute every figure with its engines (DuckDB or Polars), at the grain the reader needs, and follow itsreferences/visualization.mdfor which chart answers which question. Keep the query: every number on the page must trace back to it. - Design: load
frontend. Use it for hierarchy, type, spacing and states. This page's constraints replace its design-system gate: the page brings no palette or fonts of its own and uses the theme the host injects (below). - Build one self-contained page under the constraints below.
- Preview and look. Render with
html_previewin dark and in light, at the reply's width and at 390 px. Read the screenshot and the console, fix what you see, and preview again. Wherehtml_previewis not offered, open the page file in a browser through thebrowserskill and capture the same four views. - Show it with
show_html_page(OmO) orhtml_render(other hosts), with the height the preview measured. Then write only what the page does not already say.
Constraints of an inline page
- No network. Inline every script, style, font and image (
data:URIs); the sandbox blocks every request, so a CDN library leaves a blank chart. Draw with hand-written SVG when a library cannot be inlined. - Theme from the host. Color only through the injected custom properties:
--background,--foreground,--muted,--muted-foreground,--card,--border,--primary,--accent,--destructive,--warning,--success, the series colors--chart-1to--chart-6, and--font-sans,--font-mono,--radius. They hold in both themes and change live; a literal color does neither. A page opened outside the app gets only a few of them, so give each a fallback for both themes:var(--chart-2, light-dark(#0d9488, #2dd4bf)). - Part of the reply, not a card. Fluid width, no outer padding, border or banner. Give charts fixed pixel heights, not heights that scale with the width. A fluid SVG stretched with
preserveAspectRatio="none"stretches its text too, so put axis labels in HTML beside it, positioned by percentage. - Readable without scripts. On the web a page first renders with scripts off, until the reader presses Run page. Put the figure itself in markup or SVG, and use scripts only for interaction.
- Traceable. Show how the numbers were computed in a small, muted "How this was computed" block (the query or aggregation), and state caveats near the figure when they change how a number reads: dropped rows, a partial window, a small sample.
- Designed empty and error states. No data, or a failed query, is stated in the same visual language, never as a blank frame.
- Links. A link opens only after the reader confirms it in the app, which shows its full address. Keep data out of link addresses.
Before you show it
- The title states the finding, not the dataset name.
- Axis labels carry units, numbers use tabular figures and a sensible precision, and nothing clips at 390 px.
- The series colors separate in both themes, and the console is clean.
الأسئلة الشائعة
هل تحتاج الصفحة المنشأة إلى إنترنت لتعمل؟
لا، الصفحة مكتفية بذاتها، وكل عناصرها (الكود والأنماط والخطوط) مضمّنة فيها، فتعمل حتى بدون اتصال.
هل يمكنني استخدام ألوان مخصصة؟
تستخدم الصفحة ألوان سمة المحادثة حيث تُعرض، ويمكنك تحديد ألوان احتياطية لتبدو جيدة في أي سمة.
كيف أعرف من أين أتت الأرقام؟
تتضمن المهارة كتلة تشرح كيف حُسبت الأرقام، وأي تحفظات مهمة، مثل البيانات الناقصة.
التفاصيل
الوصف الأصلي من المؤلف
Builds a self-contained HTML page (chart, table, diagram, dashboard) to show inline in a thread. Use before calling show_html_page, html_preview or html_render, or whenever an answer reads better as a page than as prose.
الشعبية
- نجوم GitHub
- 70k
- الترتيب
- #3126
- الترخيص
- NOASSERTION
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
comment-checker
70kيساعد وكيلك على فهم الملاحظات التي تصدرها أدوات فحص التعليقات الآلية والرد عليها. مفيد لمعالجة نتائج المراجعات الآلية.
lcx-contribute-bug-fix
70kيساعد وكيلك على المساهمة بإصلاحات الأخطاء في مشاريع LazyCodex. ينشئ بلاغات أو طلبات دمج لضمان جودة الكود.
lcx-doctor
70kيتيح لوكيلك فحص سلامة تثبيتات LazyCodex وCodex CLI. مفيد عندما يتصرف النظام بشكل غريب بعد التحديثات أو التغييرات.
lcx-report-bug
70kيساعد وكيلك على الإبلاغ عن الأخطاء بالتفصيل في مشاريع LazyCodex. ينشئ بلاغات تتضمن معلومات مفيدة للمطورين لإصلاح المشكلة.
مهارات مشابهة
canvas
394kيتيح لوكيلك عرض أداة مرئية مستضافة على لوحة Mac متصلة، ثم إخفاء اللوحة أو نقلها إلى صفحة أخرى.
control-ui
394kيساعد وكيلك على تنظيم واجهة OpenClaw Control UI واستكشاف أخطائها، بما في ذلك الجلسات ولوحات المعلومات وبوابات Gateway المتصلة.
diagram-maker
394kيساعد وكيلك على إنشاء مخططات واضحة بصيغة SVG أو HTML أو Excalidraw قابلة للتعديل، للعمليات وبنية الأنظمة والرسومات على السبورة.