bdi-mental-states
ما الذي تفعله
تشرح هذه المهارة كيف تمثّل معتقدات وكيل الذكاء الاصطناعي ورغباته ونواياه، باستخدام نموذج رسمي قياسي مبني على بيانات مترابطة. وهي لمهندسي أنظمة الوكلاء القابلة للتفسير.
متى تستخدمها
- ✓عندما تحتاج إلى أن يتتبع وكيل الذكاء الاصطناعي ما يعتقده عن العالم وما يريد أن يفعله.
- ✓عندما تريد تفكيرًا قابلًا للتتبع يشرح لماذا اختار الوكيل فعلًا معينًا.
- ✓عندما تربط بيانات مترابطة منظمة، مثل RDF، بمعرفة الوكيل.
رابط المهارة
https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/bdi-mental-states/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ساعدني في نمذجة معتقدات وأهداف وخطط وكيل الذكاء الاصطناعي الخاص بي، حتى أشرح لماذا اتخذ كل قرار.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تشرح المهارة كيف تحوّل الحقائق المنظمة إلى معتقدات، وتربطها بالأهداف والخطط، وتسجل كل خطوة حتى يمكن تتبع التفكير.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
BDI Mental State Modeling
Transform external RDF context into agent mental states (beliefs, desires, intentions) using formal BDI ontology patterns. This skill enables agents to reason about context through cognitive architecture, supporting deliberative reasoning, explainability, and semantic interoperability within multi-agent systems.
When to Activate
Activate this skill when:
- Processing external RDF context into agent beliefs about world states
- Modeling rational agency with perception, deliberation, and action cycles
- Enabling explainability through traceable reasoning chains
- Implementing BDI frameworks (SEMAS, JADE, JADEX)
- Augmenting LLMs with formal cognitive structures (Logic Augmented Generation)
- Coordinating mental states across multi-agent platforms
- Tracking temporal evolution of beliefs, desires, and intentions
- Linking motivational states to action plans
Do not activate this skill for adjacent work owned by other skills:
- General context-window explanations or attention mechanics:
context-fundamentals. - Persistent user, entity, or conversation memory without formal BDI state:
memory-systems. - Supervisor, swarm, or handoff topology decisions:
multi-agent-patterns. - General agent evaluation rubrics or quality gates:
evaluation.
Core Concepts
Mental Reality Architecture
Separate mental states into two ontological categories because BDI reasoning requires distinguishing what persists from what happens:
Mental States (Endurants) -- model these as persistent cognitive attributes that hold over time intervals:
Belief: Represent what the agent holds true about the world. Ground every belief in a world state reference.Desire: Represent what the agent wishes to bring about. Link each desire back to the beliefs that motivate it.Intention: Represent what the agent commits to achieving. An intention must fulfil a desire and specify a plan.
Mental Processes (Perdurants) -- model these as events that create or modify mental states, because tracking causal transitions enables explainability:
BeliefProcess: Triggers belief formation/update from perception. Always connect to a generating world state.DesireProcess: Generates desires from existing beliefs. Preserves the motivational chain.IntentionProcess: Commits to selected desires as actionable intentions.
Cognitive Chain Pattern
Wire beliefs, desires, and intentions into directed chains using bidirectional properties (motivates/isMotivatedBy, fulfils/isFulfilledBy) because this enables both forward reasoning (what should the agent do?) and backward tracing (why did the agent act?):
:Belief_store_open a bdi:Belief ;
rdfs:comment "Store is open" ;
bdi:motivates :Desire_buy_groceries .
:Desire_buy_groceries a bdi:Desire ;
rdfs:comment "I desire to buy groceries" ;
bdi:isMotivatedBy :Belief_store_open .
:Intention_go_shopping a bdi:Intention ;
rdfs:comment "I will buy groceries" ;
bdi:fulfils :Desire_buy_groceries ;
bdi:isSupportedBy :Belief_store_open ;
bdi:specifies :Plan_shopping .
World State Grounding
Always ground mental states in world state references rather than free-text descriptions, because ungrounded beliefs break semantic querying and cross-agent interoperability:
:Agent_A a bdi:Agent ;
bdi:perceives :WorldState_WS1 ;
bdi:hasMentalState :Belief_B1 .
:WorldState_WS1 a bdi:WorldState ;
rdfs:comment "Meeting scheduled at 10am in Room 5" ;
bdi:atTime :TimeInstant_10am .
:Belief_B1 a bdi:Belief ;
bdi:refersTo :WorldState_WS1 .
Goal-Directed Planning
Connect intentions to plans via bdi:specifies, and decompose plans into ordered task sequences using bdi:precedes, because this separation allows plan reuse across different intentions while keeping execution order explicit:
:Intention_I1 bdi:specifies :Plan_P1 .
:Plan_P1 a bdi:Plan ;
bdi:addresses :Goal_G1 ;
bdi:beginsWith :Task_T1 ;
bdi:endsWith :Task_T3 .
:Task_T1 bdi:precedes :Task_T2 .
:Task_T2 bdi:precedes :Task_T3 .
T2B2T Paradigm
Implement Triples-to-Beliefs-to-Triples as a bidirectional pipeline because agents must both consume external RDF context and produce new RDF assertions. Structure every T2B2T implementation in two explicit phases:
Phase 1: Triples-to-Beliefs -- Translate incoming RDF triples into belief instances. Use bdi:triggers to connect the external world state
الأسئلة الشائعة
ماذا تعني BDI؟
تعني المعتقدات والرغبات والنوايا، وهي طريقة شائعة لوصف كيفية تفكير الوكيل وتصرفه.
ما RDF؟
RDF صيغة قياسية للحقائق المترابطة، وتُستخدم كثيرًا لتبادل البيانات المنظمة بين الأنظمة.
هل تعمل مع أطر الوكلاء الحالية؟
تذكر المهارة أطرًا مثل SEMAS وJADE وJADEX كأماكن يناسبها هذا النموذج.
التفاصيل
الوصف الأصلي من المؤلف
This skill should be used when modeling agent mental states with BDI concepts: beliefs, desires, intentions, RDF-to-belief transformations, rational agency traces, cognitive agents, BDI ontologies, and neuro-symbolic AI integration.
الشعبية
- نجوم GitHub
- 18k
- الترتيب
- #10636
- الترخيص
- MIT
- آخر تحديث
- 11/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
context-engineering-collection
18kيساعد وكيلك على إدارة ما يدخل نافذة سياق نموذج الذكاء الاصطناعي، من الذاكرة والأدوات إلى إعدادات الوكلاء المتعددين والتقييم.
advanced-evaluation
18kيعلّم وكيلك كيف يحكم على إجابات الذكاء الاصطناعي باستخدام ذكاء اصطناعي آخر، مع التسجيل والمقارنة جنبًا إلى جنب وفحص التحيز.
context-compression
18kيساعد وكيلك على اختصار جلسات الذكاء الاصطناعي الطويلة إلى ملخصات تحفظ القرارات والملفات والمخاطر والخطوات التالية.
context-degradation
18kيساعد وكيلك على اكتشاف إجابات الذكاء الاصطناعي التي تسوء في المحادثات الطويلة، مثل التفاصيل الضائعة في الوسط، وإصلاحها.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.