Skillpedia
الوكلاء48k · #4516

effective-agent-skills

ما الذي تفعله

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

متى تستخدمها

  • ✓عندما تنشئ مجموعة تعليمات جديدة لوكيل ذكاء اصطناعي.
  • ✓عندما تراجع تعليمات موجودة أو تحسّنها.
  • ✓عندما تحتاج إلى التأكد من أن وكيل الذكاء الاصطناعي يتبع عملية محددة.

رابط المهارة

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/effective-agent-skills/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/effective-agent-skills/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“أنشئ مجموعة تعليمات لوكيل ذكاء اصطناعي يساعدني في كتابة الرسائل الإلكترونية.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تعمل هذه المهارة بشرح ما يجب على وكيل الذكاء الاصطناعي فعله، ومتى، وكيف، باستخدام ملف خاص يسمى SKILL.md. وتنظم المعلومات في أجزاء، وتحمّل فقط ما يحتاجه لكي لا يُثقَل الوكيل.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Agent Skills: A Complete Guide

When to Use

  • Use when creating, editing, reviewing, or debugging an agent SKILL.md file.
  • Use when you need quality guidance for triggers, examples, limitations, and safety notes.

A consolidated reference on what agent skills are, why they exist, how they work, and how to write effective ones.


1. What agent skills are

An Agent Skill is a folder containing a SKILL.md file (YAML frontmatter + markdown instructions), plus optional subfolders for scripts, references, and assets that the agent loads on demand.

my-skill/
├── SKILL.md          # Required: metadata + instructions
├── scripts/          # Optional: executable code (CLIs, validators, helpers)
├── references/       # Optional: detailed docs loaded only when needed
└── assets/           # Optional: templates, fonts, static files

Skills are an open standard (agentskills.io), originally created by Anthropic and adopted by OpenAI Codex, Cursor, Gemini CLI, Microsoft Agent Framework, Google ADK, and 40+ other agent products. A skill written once works across all compatible agents.


2. Why this abstraction exists

Base LLMs are generalists. Real work requires procedural knowledge, organizational context, and repeatable workflows. Every prior alternative had a failure mode:

Approach Problem
Stuff it into the system prompt Always loaded → context bloat at scale
Re-paste instructions each session No version control, no consistency
Fine-tuning Slow, expensive, opaque, vendor-locked
MCP servers alone Give the agent tools but no workflows for using them

Skills solve four problems at once:

  • Context efficiency — instructions load only when relevant
  • Repeatability — multi-step procedures become auditable workflows
  • Composability — multiple skills combine at runtime per task
  • Portability — same files work across vendors and surfaces

Mental model: skills are to LLMs what man pages, runbooks, and team handbooks are to engineers — reference material loaded into working memory only when the task demands it.


3. How they work — progressive disclosure

The architectural core. Three-stage loading:

Level 1 — Discovery (~100 tokens per skill, always in context): Only name + description from frontmatter are injected into the system prompt at startup. Agent knows the skill exists and when it applies. You can install dozens of skills with negligible overhead.

Level 2 — Activation (<5,000 tokens, loaded on match): When the user's request matches a skill's description, the agent reads the full SKILL.md body into context.

Level 3 — Execution (unbounded, on demand): The agent reads referenced files (references/foo.md) or runs scripts (scripts/validate.py) only as needed. Scripts can execute without their source being loaded into context at all.

This is why bundled content has no practical limit. Files don't consume tokens until accessed.


4. SKILL.md anatomy

---
name: skill-name
description: What this skill does AND when to use it. Include trigger phrases the user will say.
---

# Skill Name

## Quick start
[Minimal working example]

## Workflow
[Step-by-step procedure with checklists]

## Output format
[What the user/agent should expect back]

## Advanced
[Link to references/ for rarely-needed detail]

Frontmatter constraints:

  • name is lowercase, hyphens only, 1–64 chars, exactly matches the parent folder name
  • Avoid < and > in frontmatter (they can inject into the system prompt)
  • Invalid YAML silently prevents loading

Optional standard fields:

  • disable-model-invocation: true — stops the agent from auto-loading the skill based on the conversation; it can only be triggered manually (e.g. /skill-name). Now a standard Agent Skills spec field, so it works across spec-compliant clients (Claude Code, Copilot, etc.), not just Claude. Caveat: it prevents auto-invocation, but some clients (Claude Code, open bug) still inject the description into context, so it doesn't always save the discovery-level tokens. Use for manual-only utilities you don't want firing automatically.

5. Two design philosophies

Skills tend to fall into one of two patterns. Both are valid; they solve different problems.

Pattern A — Capability primitives (tool wrappers)

The skill is a thin wrapper over a deterministic CLI or script. Logic lives in code. SKILL.md teaches the agent how to invoke it.

…

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

ما هو «SKILL.md»؟

هو ملف يحتوي تعليمات وبيانات وصفية لوكيل الذكاء الاصطناعي، ويحدد ما يستطيع فعله وكيف يفعله.

لماذا أستخدم «المهارات» بدلًا من إعطاء التعليمات مباشرة؟

تساعد المهارات في تنظيم معرفة الوكيل، إذ تحمّل المعلومات فقط عند الحاجة، مما يجعل الوكيل أكثر كفاءة واتساقًا.

كيف تعمل «المهارات»؟

تحمّل المعلومات على ثلاث مراحل: أولًا الأساسيات، ثم التفاصيل عند الحاجة، وأخيرًا تنفيذ مهام محددة أو الرجوع إلى ملفات إضافية.

التفاصيل

الوصف الأصلي من المؤلف

Author and review high-quality agent skills with triggers, progressive disclosure, and safety notes.

repo: sickn33/agentic-awesome-skills

الشعبية

نجوم GitHub
48k
الترتيب
#4516
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة