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 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл объясняет, как превратить структурированные факты в убеждения, связать их с целями и планами и записать каждый шаг, чтобы рассуждения можно было проследить.
Технический текст (оригинальный 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Учит агента пошагово управлять веб-страницами: входить в аккаунты, работать с вкладками и восстанавливаться, если страница перестала отвечать.