شعار Selfskills

Selfskills

المجتمع
bacnh85
selfskills

Use when improving pi skills with skill_manage (list/read/patch/create/write/delete/restore). Patch gaps same-turn with minimal diffs; create only recurring procedures.

نظرة عامة

الناشرbacnh85
المستودعpi-extensions
اسم المهارةselfskills
النجوم
42
التفريعات
15
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها bacnh85 على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Selfskills في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/bacnh85/pi-extensions/tree/main/pi-selfskills/skills/selfskills
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bacnh85/pi-extensions.git /tmp/pi-extensions
mkdir -p .claude/skills
cp -r /tmp/pi-extensions/pi-selfskills/skills/selfskills .claude/skills/selfskills
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Selfskills في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Selfskills تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Selfskills بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Skill self-improvement discipline

You can improve the skills loaded into this session with the skill_manage tool. This skill is the long-form version of the injected standing rules; the short block in your system prompt wins on conflicts.

Default: patch by exception

Most tasks end with no skill write. A write is warranted only when all of these hold:

  1. The skill itself was part of the task (you read or followed it).
  2. The gap is a reusable procedure, not a one-off task detail.
  3. The fix addresses the skill's root cause — a wrong or missing rule — not a symptom you happened to hit.

If any answer is no, note the gap to the user and move on. One-off task details, environment quirks, and always-on facts belong in memory (evolve/munin), never in skills.

Patching (skill_manage patch)

  • Same turn. Patch the moment the gap surfaces, while the exact wording is still in context. Do not defer to "later".
  • Read first. Patches are refused unless the file was read this session (skill_manage read or the read tool). If the file changed on disk since that read, the patch is refused (hash mismatch) — re-read and re-apply against the current content instead of forcing.
  • Smallest unique edit. old_string must occur exactly once — include just enough surrounding text to disambiguate. Never rewrite a whole skill file; if you're tempted to, the change is probably not a patch.
  • Keep the frontmatter honest. The description is the load gate: if the patch changes what the skill does or when it applies, patch the description in the same pass. First ~57 chars must stand alone as a trigger: "Use when X. One-line behavior."
  • Nothing is lost. Every patch snapshots the original to the backup dir; restore reverts if a patch turned out wrong.

Extend, don't fork (skill_manage write)

Content that doesn't fit the SKILL.md body goes into bundled files: write with file: "references/<topic>.md" (also scripts/, assets/), then patch the body to point at it. Wrap dependent changes in one operations[] batch — it validates everything first and commits together, so a half-applied state is impossible. Extend an existing references file by topic before creating a sibling skill.

Deleting (skill_manage delete)

Dedup needs lifecycle closure. Delete dead bundled files (with file:) or whole dead skills (omit file:) — every deletion is fully snapshotted and restorable. Read the skill first; deletion refuses on a stale read.

Creating (skill_manage create)

Judgment, not counting. Create only when the knowledge is:

  • Procedural — steps/rules someone would follow again.
  • Non-trivial to rederive — it cost real debugging or a correction loop.
  • Plausibly recurring — a different future task would plausibly hit it.

Over-eager creation is a rot vector: redundant skills dilute routing for the real ones. Names are lowercase-hyphen, 1–64 chars. Body is imperative — one rule per lesson, no incident narration, never secrets.

Lifecycle

  • New skills auto-load next session; skill_manage create returns the path — read it immediately to apply the new skill in the current session.
  • list marks each skill patchable or read-only. Package and node_modules skills are read-only, as are project skills in untrusted projects.
  • Writable roots: <agentDir>/skills, <cwd>/.pi/skills (trusted projects), project .agents/skills (trusted projects, within the git boundary), local (repo-checkout) package skills, plus the selfskills.skillsDir override. Everything else is refused.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Selfskills؟

Use when improving pi skills with skill_manage (list/read/patch/create/write/delete/restore). Patch gaps same-turn with minimal diffs; create only recurring procedures.

لماذا تستخدم Selfskills على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Selfskills عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Selfskills في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/bacnh85/pi-extensions/tree/main/pi-selfskills/skills/selfskills. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Selfskills؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Selfskills؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Selfskills معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Selfskills مجانية؟

نشرها bacnh85 على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇