bdi-mental-states
🤖 AI Summary
This skill converts RDF context data into formal BDI (Belief-Desire-Intention) mental states, enabling agents to perform deliberative reasoning and maintain traceable, semantically interoperable cognitive architectures.
How to Install
Claude Code:
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering.git && cp Agent-Skills-for-Context-Engineering/skills/bdi-mental-states ~/.claude/skills/bdi-mental-states -r# 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?):
```turtle
: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 grocerie
Details
| Category | AI/ML → ml |
| Source | muratcankoylan/Agent-Skills-for-Context-Engineering |
| SKILL.md | View on GitHub → |
| Repo Stars | ★ 16.7K |
| Est. per Skill | N/A (shared across 17 skills from this repo) |
| Difficulty | Intermediate |
| Risk Level | N/A |
Related Skills
ai-product
AI Product Development Every product will be AI-powered. The question is whether you'll build it rig
agentfolio
AgentFolio Role: Autonomous Agent Discovery Guide Use this skill when you want to discover, compare,
agent-orchestration-improve-agent
Agent Performance Optimization Workflow Systematic improvement of existing agents through performanc
odoo-qweb-templates
Odoo QWeb Templates Overview QWeb is Odoo's primary templating engine, used for PDF reports, website
Works Well With
Skills from the same repository — often designed to work together
context-engineering-collection
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent
skill-template
Template for creating new Agent Skills for context engineering. Use this template when adding new sk
evaluation
When to Use This Skill Build evaluation frameworks for agent systems Use this skill when working wit