شعار Skill Audit

Skill Audit

المجتمع
kishormorol
skill-audit

Audit and lint Agent Skills (SKILL.md and bundled scripts/references) for YAML frontmatter errors, broken links, weak trigger descriptions, context bloat, hardcoded secrets, and unsafe shell or prompt-injection patterns. Use when the user asks to 'audit my skills', 'lint SKILL.md', 'check why my skill isn't triggering', 'verify a skill before installing or publishing', or 'scan skills for broken references or security issues'.

نظرة عامة

الناشرkishormorol
المستودعSkillsAllYouNeed
اسم المهارةskill-audit
النجوم
26
التفريعات
2
الملفات المرفقة
1
الترخيصCC-BY-4.0
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • الملفات المرفقة: 1

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Audit Agent Skills before they fail silently

A broken skill rarely crashes with a stack trace. Instead, an unquoted : in frontmatter drops the skill from the menu, a renamed helper script fails on the day it is called, or a description that states what the skill is without when to use it causes the agent to ignore it. Third-party skills cloned from GitHub can also hide hardcoded credentials, destructive shell pipelines, or prompt-injection payloads.

This skill runs scripts/audit_skills.py to check skill folders deterministically, reports the exact file and line for every finding, and proposes targeted fixes.

1. Run the auditor

The script sits under scripts/ next to this SKILL.md:

bash
python3 <skill_dir>/scripts/audit_skills.py [paths...]

On Windows, run it with python instead of python3.

  • No paths given: scans ~/.agents/skills and ~/.claude/skills, deduplicating symlinks and junctions so each skill is checked once.
  • Specific path(s): accepts a single skill folder (./my-skill), a parent folder of skills (~/.claude/skills or ./.claude/skills), or a SKILL.md file directly.
  • Machine-readable output: pass --format json or --format tsv when inspecting large collections or wiring into CI.

2. What it checks

CategoryCodeSeverityWhy it matters
Frontmatter & Specmissing-frontmatter, unclosed-frontmatter, frontmatter-syntax, frontmatter-tab-indent, frontmatter-unclosed-quoteerrorAgents silently skip a skill whose YAML header fails to parse.
YAML Scalar Trapsunquoted-colon-in-frontmatter, unquoted-hash-in-frontmattererrorAn unquoted : or # in description splits the mapping or truncates the text as a comment.
Skill Identitymissing-name, invalid-name-format, name-directory-mismatcherror / warningNames must be lowercase-hyphenated and match the folder name across Claude Code, Codex, and Cursor.
Trigger Qualitymissing-description, description-too-short, description-too-long, weak-trigger-descriptionerror / warningThe description is the only text in context before a skill loads. Without trigger cues (Use when..., Use for..., or quoted user phrasings), the agent undertriggers.
Progressive Disclosureempty-body, body-too-longerror / warningA SKILL.md body over 500 lines crowds the context window; detailed docs belong in references/.
Bundled Referencesmissing-bundled-file, broken-markdown-link, path-traversalerrorVerifies every scripts/<file>, references/<file>, assets/<file> path and markdown link resolves inside the skill folder.
Security & Hygienehardcoded-secret-*, pipe-to-shell, destructive-rm-root, prompt-injection, script-not-executableerror / warningCatches leaked API keys, remote shell-pipe patterns, root/home deletions, and instruction-override strings before a skill is trusted.

3. Report and fix

  1. Report only first. Group findings by skill (ERROR, then WARN), citing file:line and the rule code. Do not edit any skill file without asking.
  2. Distinguish real bugs from illustrative examples. A skill about security or authoring skills may intentionally mention a placeholder path or an example command inside a fenced code block. Call those out clearly instead of deleting examples.
  3. Offer concrete fixes. Show the exact frontmatter quote fix, updated trigger description, or corrected file path, and wait for the user's yes before writing.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

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

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

Audit and lint Agent Skills (SKILL.md and bundled scripts/references) for YAML frontmatter errors, broken links, weak trigger descriptions, context bloat, hardcoded secrets, and unsafe shell or prompt-injection patterns. Use when the user asks to 'audit my skills', 'lint SKILL.md', 'check why my skill isn't triggering', 'verify a skill before installing or publishing', or 'scan skills for broken references or security issues'.

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

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

كيف أثبّت Skill Audit في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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