context-engineering-collection
ما الذي تفعله
هذه مجموعة من الإرشادات لتصميم أنظمة وكلاء الذكاء الاصطناعي التي تحسن إدارة السياق. تغطي السياق والذاكرة والأدوات والوكلاء المتعددين والتقييم، وهي لبناة وكلاء الذكاء الاصطناعي طويلي التشغيل.
متى تستخدمها
- ✓عندما تبني نظام وكيل ذكاء اصطناعي جديدًا من الصفر.
- ✓عندما يصبح وكيل موجود أبطأ أو ينسى أشياء أو يعطي إجابات ضعيفة.
- ✓عندما تصمم عدة وكلاء يعملون معًا، أو تحتاج إلى تقييمهم.
رابط المهارة
https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ساعدني في تصميم وكيل ذكاء اصطناعي يُبقي مهمة طويلة على المسار دون أن ينفد سياقه.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
توجّه المجموعة وكيلك إلى الدليل المركّز الذي يناسب المشكلة، مثل أساسيات السياق أو الضغط أو التقييم.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Agent Skills for Context Engineering
This collection provides structured guidance for building production-grade AI agent systems through effective context engineering.
When to Activate
Activate these skills when:
- Building new agent systems from scratch
- Optimizing existing agent performance
- Debugging context-related failures
- Designing multi-agent architectures
- Creating or evaluating tools for agents
- Implementing memory and persistence layers
- Designing autonomous research or evaluation harnesses
Skill Map
Foundational Context Engineering
Understanding Context Fundamentals Context is not just prompt text—it is the complete state available to the language model at inference time, including system instructions, tool definitions, retrieved documents, message history, and tool outputs. Effective context engineering means understanding what information truly matters for the task at hand and curating that information for maximum signal-to-noise ratio.
Recognizing Context Degradation Language models exhibit predictable degradation patterns as context grows: the "lost-in-middle" phenomenon where information in the center of context receives less attention; U-shaped attention curves that prioritize beginning and end; context poisoning when errors compound; and context distraction when irrelevant information overwhelms relevant content.
Architectural Patterns
Multi-Agent Coordination Production multi-agent systems converge on three dominant patterns: supervisor/orchestrator architectures with centralized control, peer-to-peer swarm architectures for flexible handoffs, and hierarchical structures for complex task decomposition. The critical insight is that sub-agents exist primarily to isolate context rather than to simulate organizational roles.
Long-Horizon Prompting Long-running autonomous agents and parallel orchestrations succeed or fail on the launch prompt. Pseudo-formal task briefs specify success predicates, non-counting outcomes, persistence rules with audit-gated return conditions, effort floors, diversity policies for parallel portfolios, and contamination guards, applying the discipline of formal verification linguistically to problems with no machine-checkable success condition. In orchestrated runs, each worker returns an output contract with named checks, and only evidenced violations block the return.
Memory System Design Memory architectures range from simple scratchpads to sophisticated temporal knowledge graphs. Vector RAG provides semantic retrieval but loses relationship information. Knowledge graphs preserve structure but require more engineering investment. The file-system-as-memory pattern enables just-in-time context loading without stuffing context windows.
Filesystem-Based Context
The filesystem provides a single interface for storing, retrieving, and updating effectively unlimited context. Key patterns include scratch pads for tool output offloading, plan persistence for long-horizon tasks, sub-agent communication via shared files, and dynamic skill loading. Agents use ls, glob, grep, and read_file for targeted context discovery, often outperforming semantic search for structural queries.
Hosted Agent Infrastructure Background coding agents run in remote sandboxed environments rather than on local machines. Key patterns include pre-built environment images refreshed on regular cadence, warm sandbox pools for instant session starts, filesystem snapshots for session persistence, and multiplayer support for collaborative agent sessions. Critical optimizations include allowing file reads before git sync completes (blocking only writes), predictive sandbox warming when users start typing, and self-spawning agents for parallel task execution.
Tool Design Principles Tools are contracts between deterministic systems and non-deterministic agents. Effective tool design follows the consolidation principle (prefer single comprehensive tools over multiple narrow ones), returns contextual information in errors, supports response format options for token efficiency, and uses clear namespacing.
Operational Excellence
Context Compression When agent sessions exhaust memory, compression becomes mandatory. The correct optimization target is tokens-per-task, not tokens-per-request. Structured summarization with explicit sections for files, decisions, and next steps preserves more useful information than aggressive compression. Art
الأسئلة الشائعة
ما نافذة السياق؟
هي كل النص الذي يستطيع نموذج الذكاء الاصطناعي رؤيته في وقت واحد، بما في ذلك التعليمات والأدوات والرسائل السابقة.
ما هندسة السياق؟
هي اختيار أقل قدر من المعلومات المفيدة التي تُعطى للنموذج كي يؤدي عمله جيدًا.
هل أحتاج إلى كل هذه الأدلة؟
لا. اختر الدليل الذي يناسب مشكلتك، مثل الضغط للجلسات الطويلة أو التقييم للاختبار.
التفاصيل
الوصف الأصلي من المؤلف
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems. Use when building, optimizing, evaluating, or debugging agent systems that require effective context management and reliable operating loops.
الشعبية
- نجوم GitHub
- 18k
- الترتيب
- #10634
- الترخيص
- MIT
- آخر تحديث
- 11/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
advanced-evaluation
18kيعلّم وكيلك كيف يحكم على إجابات الذكاء الاصطناعي باستخدام ذكاء اصطناعي آخر، مع التسجيل والمقارنة جنبًا إلى جنب وفحص التحيز.
bdi-mental-states
18kيعلّم وكيلك نمذجة المعتقدات والأهداف والخطط بنهج BDI، حتى يمكن تتبع قراراته وشرحها.
context-compression
18kيساعد وكيلك على اختصار جلسات الذكاء الاصطناعي الطويلة إلى ملخصات تحفظ القرارات والملفات والمخاطر والخطوات التالية.
context-degradation
18kيساعد وكيلك على اكتشاف إجابات الذكاء الاصطناعي التي تسوء في المحادثات الطويلة، مثل التفاصيل الضائعة في الوسط، وإصلاحها.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.