Creator · muratcankoylan
Last updated · Sep 1, 2026
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.
Creator · muratcankoylan
Last updated · Sep 1, 2026
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.
Creator · muratcankoylan
Last updated · Sep 1, 2026
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.
Creator · muratcankoylan
Last updated · Sep 1, 2026
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.
Sandbox only
Install targets
Codex install prompt
Install the "bdi-mental-states" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/bdi-mental-states. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"muratcankoylan-bdi-mental-states","task":"Install bdi-mental-states","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
SEO, content operations, lead generation, CRM, email automation, analytics, and growth workflows.
Scenario
Sales and CRM
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Maintenance
fresh
18d since push
Risk
Needs review
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns.
GitHub quality
18K
90/100 Quality · 78/100 Trust
Coverage tags
Review notes
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns. · No explicit limitations or safe operating boundaries section in SKILL.md.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
18K GitHub stars
Repo activity
18K stars, 1.5K forks
Maintenance
18d since push
License
MIT
Install
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
Agent should check
Copy prompt
Task: Use bdi-mental-states in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install
Install command: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
LLM text format
/api/skills/muratcankoylan-bdi-mental-states/install?format=text
Find alternatives
/api/skills/search?q=bdi-mental-states&limit=3
Agent prompt
Use bdi-mental-states for this task. Review https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install, then install with: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/muratcankoylan-bdi-mental-states
LLM text
/api/registry/manifest/muratcankoylan-bdi-mental-states?format=text
Install alias
/api/registry/install/muratcankoylan-bdi-mental-states
Recommend
/api/registry/recommend?task=Use%20bdi-mental-states%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS18K GitHub stars
Stars/forks activity
PASS18K stars, 1.5K forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Manage pipeline work
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: bdi-mental-states description: "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." ---
# 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 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:
```turtle :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:
```turtle :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 to a `BeliefProcess`, and `bdi:generates` to produce the resulting belief. This preserves provenance from source data through to internal cognition: ```turtle :WorldState_notification a bdi:WorldState ; rdfs:comment "Push notification: Payment request $250" ; bdi:triggers :BeliefProcess_BP1 .
:BeliefProcess_BP1 a bdi:BeliefProcess ; bdi:generates :Belief_payment_request . ```
**Phase 2: Beliefs-to-Triples** -- After BDI deliberation selects an intention and executes a plan, project the results back into RDF using `bdi:bringsAbout`. This closes the loop so downstream systems can consume agent outputs as standard linked data: ```turtle :Intention_pay a bdi:Intention ; bdi:specifies :Plan_payment .
:PlanExecution_PE1 a bdi:PlanExecution ; bdi:satisfies :Plan_payment ; bdi:bringsAbout :WorldState_payment_complete . ```
### Notation Selection by Level
Choose notation based on the C4 abstraction level being modeled, because mixing notations at the wrong level obscures rather than clarifies the cognitive architecture:
| C4 Level | Notation | Mental State Representation | |----------|----------|----------------------------| | L1 Context | ArchiMate | Agent boundaries, external perception sources | | L2 Container | ArchiMate | BDI reasoning engine, belief store, plan executor | | L3 Component | UML | Mental state managers, process handlers | | L4 Code | UML/RDF | Belief/Desire/Intention classes, ontology instances |
### Justification and Explainability
Attach `bdi:Justification` instances to every mental entity using `bdi:isJustifiedBy`, because unjustified mental states make agent reasoning opaque and untraceable. Each justification should capture the evidence or rule that produced the mental state:
```turtle :Belief_B1 a bdi:Belief ; bdi:isJustifiedBy :Justification_J1 .
:Justification_J1 a bdi:Justification ; rdfs:comment "Official announcement received via email" .
:Intention_I1 a bdi:Intention ; bdi:isJustifiedBy :Justification_J2 .
:Justification_J2 a bdi:Justification ; rdfs:comment "Location precondition satisfied" . ```
### Temporal Dimensions
Assign validity intervals to every mental state using `bdi:hasValidity` with `TimeInterval` instances, because beliefs without temporal bounds cannot be garbage-collected or conflict-checked during diachronic reasoning:
```turtle :Belief_B1 a bdi:Belief ; bdi:hasValidity :TimeInterval_TI1 .
:TimeInterval_TI1 a bdi:TimeInterval ; bdi:hasStartTime :TimeInstant_9am ; bdi:hasEndTime :TimeInstant_11am . ```
Query mental states active at a specific moment using SPARQL temporal filters. Use this pattern to resolve conflicts when multiple beliefs about the same world state overlap in time:
```sparql SELECT ?mentalState WHERE { ?mentalState bdi:hasValidity ?interval . ?interval bdi:hasStartTime ?start ; bdi:hasEndTime ?end . FILTER(?start <= "2025-01-04T10:00:00"^^xsd:dateTime && ?end >= "2025-01-04T10:00:00"^^xsd:dateTime) } ```
### Compositional Mental Entities
Decompose complex beliefs into constituent parts using `bdi:hasPart` relations, because monolithic beliefs force full replacement on partial updates. Structure composite beliefs so that each sub-belief can be independently updated, queried, or invalidated:
```turtle :Belief_meeting a bdi:Belief ; rdfs:comment "Meeting at 10am in Room 5" ; bdi:hasPart :Belief_meeting_time , :Belief_meeting_location .
# Update only location component without touching time :BeliefProcess_update a bdi:BeliefProcess ; bdi:modifies :Belief_meeting_location . ```
## Practical Guidance
### Build a BDI Model in Six Passes
Use this workflow when converting external semantic context into a BDI representation:
1. **Define the world-state substrate**: Identify the external facts or events the agent can perceive. Model these as world states before creating beliefs. 2. **Create belief instances**: Translate each relevant world state into a belief with provenance, temporal validity, and a justification reference. 3. **Derive desires from beliefs**: Add desires only when a belief creates a goal-relevant motivation. Link each desire to the belief that motivates it. 4. **Commit intentions deliberately**: Promote a desire to an intention only when the agent commits to a plan. Record the selected plan and preconditions. 5. **Project action results back to triples**: After execution, emit resulting world states as RDF so downstream systems can consume the new state. 6. **Validate with competency questions**: Query for provenance, motivation, plan sequence, and active validity windows before trusting the model.
### Keep the Ontology Small
Start with `Agent`, `WorldState`, `Belief`, `Desire`, `Intention`, `Plan`, `Task`, `Justification`, and `TimeInterval`. Add specialized classes only after competency questions prove the core model cannot answer required queries. A compact ontology is easier to serialize into prompts, easier to validate, and less likely to create brittle reasoning chains.
### Use BDI Only When Mental-State Semantics Matter
BDI modeling is justified when the system needs explainable agency: why an agent believed something, what desire that belief created, which intention was selected, and what plan executed. If the system only needs to remember facts across sessions, use `memory-systems`. If it only needs to split work across agents, use `multi-agent-patterns`.
## Detailed Topics
### Integration Patterns
### Logic Augmented Generation (LAG)
Use LAG to constrain LLM outputs with ontological structure, because unconstrained generation produces triples that violate BDI class restrictions. Serialize the ontology into the prompt context, then validate generated triples against it before accepting them:
```python def augment_llm_with_bdi_ontology(prompt, ontology_graph): ontology_context = serialize_ontology(ontology_graph, format='turtle') augmented_prompt = f"{ontology_context}\n\n{prompt}"
response = llm.generate(augmented_prompt) triples = extract_rdf_triples(response)
is_consistent = validate_triples(triples, ontology_graph) return triples if is_consistent else retry_with_feedback() ```
### SEMAS Rule Translation
Translate BDI ontology patterns into executable production rules when deploying to rule-based agent platforms. Map each cognitive chain link (belief-to-desire, desire-to-intention) to a HEAD/CONDITIONALS/TAIL rule, because this preserves the deliberative semantics while enabling runtime execution:
```prolog % Belief triggers desire formation [HEAD: belief(agent_a, store_open)] / [CONDITIONALS: time(weekday_afternoon)] » [TAIL: generate_desire(agent_a, buy_groceries)].
% Desire triggers intention commitment [HEAD: desire(agent_a, buy_groceries)] / [CONDITIONALS: belief(agent_a, has_shopping_list)] » [TAIL: commit_intention(agent_a, buy_groceries)]. ```
## Guidelines
1. Model world states as configurations independent of agent perspectives, providing referential substrate for mental states.
2. Distinguish endurants (persistent mental states) from perdurants (temporal mental processes), aligning with DOLCE ontology.
3. Treat goals as description
Source provenance
Decision snapshot
17,900 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for bdi-mental-states, ready for a manual X post.
bdi-mental-states: This skill should be used when modeling agent mental states with BDI concepts: beliefs, desir... 17.9K stars https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x
Listing + install path for bdi-mental-states: https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x Install: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-me...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to muratcankoylan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states/audit)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)muratcankoylan
@muratcankoylan
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "bdi-mental-states" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/bdi-mental-states. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"muratcankoylan-bdi-mental-states","task":"Install bdi-mental-states","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
SEO, content operations, lead generation, CRM, email automation, analytics, and growth workflows.
Scenario
Sales and CRM
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Maintenance
fresh
18d since push
Risk
Needs review
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns.
GitHub quality
18K
90/100 Quality · 78/100 Trust
Coverage tags
Review notes
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns. · No explicit limitations or safe operating boundaries section in SKILL.md.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
18K GitHub stars
Repo activity
18K stars, 1.5K forks
Maintenance
18d since push
License
MIT
Install
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
Agent should check
Copy prompt
Task: Use bdi-mental-states in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install
Install command: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
LLM text format
/api/skills/muratcankoylan-bdi-mental-states/install?format=text
Find alternatives
/api/skills/search?q=bdi-mental-states&limit=3
Agent prompt
Use bdi-mental-states for this task. Review https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install, then install with: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/muratcankoylan-bdi-mental-states
LLM text
/api/registry/manifest/muratcankoylan-bdi-mental-states?format=text
Install alias
/api/registry/install/muratcankoylan-bdi-mental-states
Recommend
/api/registry/recommend?task=Use%20bdi-mental-states%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS18K GitHub stars
Stars/forks activity
PASS18K stars, 1.5K forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Manage pipeline work
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: bdi-mental-states description: "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." ---
# 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 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:
```turtle :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:
```turtle :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 to a `BeliefProcess`, and `bdi:generates` to produce the resulting belief. This preserves provenance from source data through to internal cognition: ```turtle :WorldState_notification a bdi:WorldState ; rdfs:comment "Push notification: Payment request $250" ; bdi:triggers :BeliefProcess_BP1 .
:BeliefProcess_BP1 a bdi:BeliefProcess ; bdi:generates :Belief_payment_request . ```
**Phase 2: Beliefs-to-Triples** -- After BDI deliberation selects an intention and executes a plan, project the results back into RDF using `bdi:bringsAbout`. This closes the loop so downstream systems can consume agent outputs as standard linked data: ```turtle :Intention_pay a bdi:Intention ; bdi:specifies :Plan_payment .
:PlanExecution_PE1 a bdi:PlanExecution ; bdi:satisfies :Plan_payment ; bdi:bringsAbout :WorldState_payment_complete . ```
### Notation Selection by Level
Choose notation based on the C4 abstraction level being modeled, because mixing notations at the wrong level obscures rather than clarifies the cognitive architecture:
| C4 Level | Notation | Mental State Representation | |----------|----------|----------------------------| | L1 Context | ArchiMate | Agent boundaries, external perception sources | | L2 Container | ArchiMate | BDI reasoning engine, belief store, plan executor | | L3 Component | UML | Mental state managers, process handlers | | L4 Code | UML/RDF | Belief/Desire/Intention classes, ontology instances |
### Justification and Explainability
Attach `bdi:Justification` instances to every mental entity using `bdi:isJustifiedBy`, because unjustified mental states make agent reasoning opaque and untraceable. Each justification should capture the evidence or rule that produced the mental state:
```turtle :Belief_B1 a bdi:Belief ; bdi:isJustifiedBy :Justification_J1 .
:Justification_J1 a bdi:Justification ; rdfs:comment "Official announcement received via email" .
:Intention_I1 a bdi:Intention ; bdi:isJustifiedBy :Justification_J2 .
:Justification_J2 a bdi:Justification ; rdfs:comment "Location precondition satisfied" . ```
### Temporal Dimensions
Assign validity intervals to every mental state using `bdi:hasValidity` with `TimeInterval` instances, because beliefs without temporal bounds cannot be garbage-collected or conflict-checked during diachronic reasoning:
```turtle :Belief_B1 a bdi:Belief ; bdi:hasValidity :TimeInterval_TI1 .
:TimeInterval_TI1 a bdi:TimeInterval ; bdi:hasStartTime :TimeInstant_9am ; bdi:hasEndTime :TimeInstant_11am . ```
Query mental states active at a specific moment using SPARQL temporal filters. Use this pattern to resolve conflicts when multiple beliefs about the same world state overlap in time:
```sparql SELECT ?mentalState WHERE { ?mentalState bdi:hasValidity ?interval . ?interval bdi:hasStartTime ?start ; bdi:hasEndTime ?end . FILTER(?start <= "2025-01-04T10:00:00"^^xsd:dateTime && ?end >= "2025-01-04T10:00:00"^^xsd:dateTime) } ```
### Compositional Mental Entities
Decompose complex beliefs into constituent parts using `bdi:hasPart` relations, because monolithic beliefs force full replacement on partial updates. Structure composite beliefs so that each sub-belief can be independently updated, queried, or invalidated:
```turtle :Belief_meeting a bdi:Belief ; rdfs:comment "Meeting at 10am in Room 5" ; bdi:hasPart :Belief_meeting_time , :Belief_meeting_location .
# Update only location component without touching time :BeliefProcess_update a bdi:BeliefProcess ; bdi:modifies :Belief_meeting_location . ```
## Practical Guidance
### Build a BDI Model in Six Passes
Use this workflow when converting external semantic context into a BDI representation:
1. **Define the world-state substrate**: Identify the external facts or events the agent can perceive. Model these as world states before creating beliefs. 2. **Create belief instances**: Translate each relevant world state into a belief with provenance, temporal validity, and a justification reference. 3. **Derive desires from beliefs**: Add desires only when a belief creates a goal-relevant motivation. Link each desire to the belief that motivates it. 4. **Commit intentions deliberately**: Promote a desire to an intention only when the agent commits to a plan. Record the selected plan and preconditions. 5. **Project action results back to triples**: After execution, emit resulting world states as RDF so downstream systems can consume the new state. 6. **Validate with competency questions**: Query for provenance, motivation, plan sequence, and active validity windows before trusting the model.
### Keep the Ontology Small
Start with `Agent`, `WorldState`, `Belief`, `Desire`, `Intention`, `Plan`, `Task`, `Justification`, and `TimeInterval`. Add specialized classes only after competency questions prove the core model cannot answer required queries. A compact ontology is easier to serialize into prompts, easier to validate, and less likely to create brittle reasoning chains.
### Use BDI Only When Mental-State Semantics Matter
BDI modeling is justified when the system needs explainable agency: why an agent believed something, what desire that belief created, which intention was selected, and what plan executed. If the system only needs to remember facts across sessions, use `memory-systems`. If it only needs to split work across agents, use `multi-agent-patterns`.
## Detailed Topics
### Integration Patterns
### Logic Augmented Generation (LAG)
Use LAG to constrain LLM outputs with ontological structure, because unconstrained generation produces triples that violate BDI class restrictions. Serialize the ontology into the prompt context, then validate generated triples against it before accepting them:
```python def augment_llm_with_bdi_ontology(prompt, ontology_graph): ontology_context = serialize_ontology(ontology_graph, format='turtle') augmented_prompt = f"{ontology_context}\n\n{prompt}"
response = llm.generate(augmented_prompt) triples = extract_rdf_triples(response)
is_consistent = validate_triples(triples, ontology_graph) return triples if is_consistent else retry_with_feedback() ```
### SEMAS Rule Translation
Translate BDI ontology patterns into executable production rules when deploying to rule-based agent platforms. Map each cognitive chain link (belief-to-desire, desire-to-intention) to a HEAD/CONDITIONALS/TAIL rule, because this preserves the deliberative semantics while enabling runtime execution:
```prolog % Belief triggers desire formation [HEAD: belief(agent_a, store_open)] / [CONDITIONALS: time(weekday_afternoon)] » [TAIL: generate_desire(agent_a, buy_groceries)].
% Desire triggers intention commitment [HEAD: desire(agent_a, buy_groceries)] / [CONDITIONALS: belief(agent_a, has_shopping_list)] » [TAIL: commit_intention(agent_a, buy_groceries)]. ```
## Guidelines
1. Model world states as configurations independent of agent perspectives, providing referential substrate for mental states.
2. Distinguish endurants (persistent mental states) from perdurants (temporal mental processes), aligning with DOLCE ontology.
3. Treat goals as description
Source provenance
Decision snapshot
17,900 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for bdi-mental-states, ready for a manual X post.
bdi-mental-states: This skill should be used when modeling agent mental states with BDI concepts: beliefs, desir... 17.9K stars https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x
Listing + install path for bdi-mental-states: https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x Install: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-me...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to muratcankoylan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states/audit)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)muratcankoylan
@muratcankoylan
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "bdi-mental-states" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/bdi-mental-states. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"muratcankoylan-bdi-mental-states","task":"Install bdi-mental-states","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
SEO, content operations, lead generation, CRM, email automation, analytics, and growth workflows.
Scenario
Sales and CRM
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Maintenance
fresh
18d since push
Risk
Needs review
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns.
GitHub quality
18K
90/100 Quality · 78/100 Trust
Coverage tags
Review notes
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns. · No explicit limitations or safe operating boundaries section in SKILL.md.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
18K GitHub stars
Repo activity
18K stars, 1.5K forks
Maintenance
18d since push
License
MIT
Install
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
Agent should check
Copy prompt
Task: Use bdi-mental-states in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install
Install command: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
LLM text format
/api/skills/muratcankoylan-bdi-mental-states/install?format=text
Find alternatives
/api/skills/search?q=bdi-mental-states&limit=3
Agent prompt
Use bdi-mental-states for this task. Review https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install, then install with: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/muratcankoylan-bdi-mental-states
LLM text
/api/registry/manifest/muratcankoylan-bdi-mental-states?format=text
Install alias
/api/registry/install/muratcankoylan-bdi-mental-states
Recommend
/api/registry/recommend?task=Use%20bdi-mental-states%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS18K GitHub stars
Stars/forks activity
PASS18K stars, 1.5K forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Manage pipeline work
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: bdi-mental-states description: "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." ---
# 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 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:
```turtle :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:
```turtle :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 to a `BeliefProcess`, and `bdi:generates` to produce the resulting belief. This preserves provenance from source data through to internal cognition: ```turtle :WorldState_notification a bdi:WorldState ; rdfs:comment "Push notification: Payment request $250" ; bdi:triggers :BeliefProcess_BP1 .
:BeliefProcess_BP1 a bdi:BeliefProcess ; bdi:generates :Belief_payment_request . ```
**Phase 2: Beliefs-to-Triples** -- After BDI deliberation selects an intention and executes a plan, project the results back into RDF using `bdi:bringsAbout`. This closes the loop so downstream systems can consume agent outputs as standard linked data: ```turtle :Intention_pay a bdi:Intention ; bdi:specifies :Plan_payment .
:PlanExecution_PE1 a bdi:PlanExecution ; bdi:satisfies :Plan_payment ; bdi:bringsAbout :WorldState_payment_complete . ```
### Notation Selection by Level
Choose notation based on the C4 abstraction level being modeled, because mixing notations at the wrong level obscures rather than clarifies the cognitive architecture:
| C4 Level | Notation | Mental State Representation | |----------|----------|----------------------------| | L1 Context | ArchiMate | Agent boundaries, external perception sources | | L2 Container | ArchiMate | BDI reasoning engine, belief store, plan executor | | L3 Component | UML | Mental state managers, process handlers | | L4 Code | UML/RDF | Belief/Desire/Intention classes, ontology instances |
### Justification and Explainability
Attach `bdi:Justification` instances to every mental entity using `bdi:isJustifiedBy`, because unjustified mental states make agent reasoning opaque and untraceable. Each justification should capture the evidence or rule that produced the mental state:
```turtle :Belief_B1 a bdi:Belief ; bdi:isJustifiedBy :Justification_J1 .
:Justification_J1 a bdi:Justification ; rdfs:comment "Official announcement received via email" .
:Intention_I1 a bdi:Intention ; bdi:isJustifiedBy :Justification_J2 .
:Justification_J2 a bdi:Justification ; rdfs:comment "Location precondition satisfied" . ```
### Temporal Dimensions
Assign validity intervals to every mental state using `bdi:hasValidity` with `TimeInterval` instances, because beliefs without temporal bounds cannot be garbage-collected or conflict-checked during diachronic reasoning:
```turtle :Belief_B1 a bdi:Belief ; bdi:hasValidity :TimeInterval_TI1 .
:TimeInterval_TI1 a bdi:TimeInterval ; bdi:hasStartTime :TimeInstant_9am ; bdi:hasEndTime :TimeInstant_11am . ```
Query mental states active at a specific moment using SPARQL temporal filters. Use this pattern to resolve conflicts when multiple beliefs about the same world state overlap in time:
```sparql SELECT ?mentalState WHERE { ?mentalState bdi:hasValidity ?interval . ?interval bdi:hasStartTime ?start ; bdi:hasEndTime ?end . FILTER(?start <= "2025-01-04T10:00:00"^^xsd:dateTime && ?end >= "2025-01-04T10:00:00"^^xsd:dateTime) } ```
### Compositional Mental Entities
Decompose complex beliefs into constituent parts using `bdi:hasPart` relations, because monolithic beliefs force full replacement on partial updates. Structure composite beliefs so that each sub-belief can be independently updated, queried, or invalidated:
```turtle :Belief_meeting a bdi:Belief ; rdfs:comment "Meeting at 10am in Room 5" ; bdi:hasPart :Belief_meeting_time , :Belief_meeting_location .
# Update only location component without touching time :BeliefProcess_update a bdi:BeliefProcess ; bdi:modifies :Belief_meeting_location . ```
## Practical Guidance
### Build a BDI Model in Six Passes
Use this workflow when converting external semantic context into a BDI representation:
1. **Define the world-state substrate**: Identify the external facts or events the agent can perceive. Model these as world states before creating beliefs. 2. **Create belief instances**: Translate each relevant world state into a belief with provenance, temporal validity, and a justification reference. 3. **Derive desires from beliefs**: Add desires only when a belief creates a goal-relevant motivation. Link each desire to the belief that motivates it. 4. **Commit intentions deliberately**: Promote a desire to an intention only when the agent commits to a plan. Record the selected plan and preconditions. 5. **Project action results back to triples**: After execution, emit resulting world states as RDF so downstream systems can consume the new state. 6. **Validate with competency questions**: Query for provenance, motivation, plan sequence, and active validity windows before trusting the model.
### Keep the Ontology Small
Start with `Agent`, `WorldState`, `Belief`, `Desire`, `Intention`, `Plan`, `Task`, `Justification`, and `TimeInterval`. Add specialized classes only after competency questions prove the core model cannot answer required queries. A compact ontology is easier to serialize into prompts, easier to validate, and less likely to create brittle reasoning chains.
### Use BDI Only When Mental-State Semantics Matter
BDI modeling is justified when the system needs explainable agency: why an agent believed something, what desire that belief created, which intention was selected, and what plan executed. If the system only needs to remember facts across sessions, use `memory-systems`. If it only needs to split work across agents, use `multi-agent-patterns`.
## Detailed Topics
### Integration Patterns
### Logic Augmented Generation (LAG)
Use LAG to constrain LLM outputs with ontological structure, because unconstrained generation produces triples that violate BDI class restrictions. Serialize the ontology into the prompt context, then validate generated triples against it before accepting them:
```python def augment_llm_with_bdi_ontology(prompt, ontology_graph): ontology_context = serialize_ontology(ontology_graph, format='turtle') augmented_prompt = f"{ontology_context}\n\n{prompt}"
response = llm.generate(augmented_prompt) triples = extract_rdf_triples(response)
is_consistent = validate_triples(triples, ontology_graph) return triples if is_consistent else retry_with_feedback() ```
### SEMAS Rule Translation
Translate BDI ontology patterns into executable production rules when deploying to rule-based agent platforms. Map each cognitive chain link (belief-to-desire, desire-to-intention) to a HEAD/CONDITIONALS/TAIL rule, because this preserves the deliberative semantics while enabling runtime execution:
```prolog % Belief triggers desire formation [HEAD: belief(agent_a, store_open)] / [CONDITIONALS: time(weekday_afternoon)] » [TAIL: generate_desire(agent_a, buy_groceries)].
% Desire triggers intention commitment [HEAD: desire(agent_a, buy_groceries)] / [CONDITIONALS: belief(agent_a, has_shopping_list)] » [TAIL: commit_intention(agent_a, buy_groceries)]. ```
## Guidelines
1. Model world states as configurations independent of agent perspectives, providing referential substrate for mental states.
2. Distinguish endurants (persistent mental states) from perdurants (temporal mental processes), aligning with DOLCE ontology.
3. Treat goals as description
Source provenance
Decision snapshot
17,900 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for bdi-mental-states, ready for a manual X post.
bdi-mental-states: This skill should be used when modeling agent mental states with BDI concepts: beliefs, desir... 17.9K stars https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x
Listing + install path for bdi-mental-states: https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x Install: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-me...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to muratcankoylan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states/audit)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)muratcankoylan
@muratcankoylan
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsSandbox only
Install targets
Codex install prompt
Install the "bdi-mental-states" agent skill from https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/tree/main/skills/bdi-mental-states. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"muratcankoylan-bdi-mental-states","task":"Install bdi-mental-states","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
SEO, content operations, lead generation, CRM, email automation, analytics, and growth workflows.
Scenario
Sales and CRM
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Maintenance
fresh
18d since push
Risk
Needs review
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns.
GitHub quality
18K
90/100 Quality · 78/100 Trust
Coverage tags
Review notes
SKILL.md does not explicitly state setup steps or required tooling for using the BDI patterns. · No explicit limitations or safe operating boundaries section in SKILL.md.
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
ExcellentHigh-confidence pick with strong adoption and healthy maintenance signals.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
18K GitHub stars
Repo activity
18K stars, 1.5K forks
Maintenance
18d since push
License
MIT
Install
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesDo not use when
Agent safety v2
Usable candidate, but the agent should surface permission and audit notes before installation.
Require human approval before installing into a real workspace.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
Agent should check
Copy prompt
Task: Use bdi-mental-states in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20bdi-mental-states%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install
Install command: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-states
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/muratcankoylan-bdi-mental-states/install
LLM text format
/api/skills/muratcankoylan-bdi-mental-states/install?format=text
Find alternatives
/api/skills/search?q=bdi-mental-states&limit=3
Agent prompt
Use bdi-mental-states for this task. Review https://www.openagentskill.com/api/skills/muratcankoylan-bdi-mental-states/install, then install with: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-mental-statesRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/muratcankoylan-bdi-mental-states
LLM text
/api/registry/manifest/muratcankoylan-bdi-mental-states?format=text
Install alias
/api/registry/install/muratcankoylan-bdi-mental-states
Recommend
/api/registry/recommend?task=Use%20bdi-mental-states%20in%20an%20agent%20workflow&limit=3
Agent fit
Workflow automation
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
Workflow automation
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS18K GitHub stars
Stars/forks activity
PASS18K stars, 1.5K forks; issue activity unavailable in current metadata
Recent maintenance
PASS18d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
High-confidence pick with strong adoption and healthy maintenance signals.
Workflow fit
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Operate web apps
I need my agent to control a browser, fill forms, and verify web app workflows.
Manage pipeline work
I need my agent to enrich leads, update CRM records, and prepare sales follow-ups.
Workflow fit
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Operate and verify web apps
A workflow for agents that navigate products, fill forms, take screenshots, and verify real user flows across web applications.
Scrape, clean, and reuse web data
A practical workflow for agents that crawl public pages, extract clean content, normalize data, and hand it to downstream research or RAG workflows.
Alternative shortlist
Similar skills that may fit this task.
Run multimodal agents that operate desktop interfaces
Connect agents to hundreds of workflow automations
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
--- name: bdi-mental-states description: "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." ---
# 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 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:
```turtle :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:
```turtle :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 to a `BeliefProcess`, and `bdi:generates` to produce the resulting belief. This preserves provenance from source data through to internal cognition: ```turtle :WorldState_notification a bdi:WorldState ; rdfs:comment "Push notification: Payment request $250" ; bdi:triggers :BeliefProcess_BP1 .
:BeliefProcess_BP1 a bdi:BeliefProcess ; bdi:generates :Belief_payment_request . ```
**Phase 2: Beliefs-to-Triples** -- After BDI deliberation selects an intention and executes a plan, project the results back into RDF using `bdi:bringsAbout`. This closes the loop so downstream systems can consume agent outputs as standard linked data: ```turtle :Intention_pay a bdi:Intention ; bdi:specifies :Plan_payment .
:PlanExecution_PE1 a bdi:PlanExecution ; bdi:satisfies :Plan_payment ; bdi:bringsAbout :WorldState_payment_complete . ```
### Notation Selection by Level
Choose notation based on the C4 abstraction level being modeled, because mixing notations at the wrong level obscures rather than clarifies the cognitive architecture:
| C4 Level | Notation | Mental State Representation | |----------|----------|----------------------------| | L1 Context | ArchiMate | Agent boundaries, external perception sources | | L2 Container | ArchiMate | BDI reasoning engine, belief store, plan executor | | L3 Component | UML | Mental state managers, process handlers | | L4 Code | UML/RDF | Belief/Desire/Intention classes, ontology instances |
### Justification and Explainability
Attach `bdi:Justification` instances to every mental entity using `bdi:isJustifiedBy`, because unjustified mental states make agent reasoning opaque and untraceable. Each justification should capture the evidence or rule that produced the mental state:
```turtle :Belief_B1 a bdi:Belief ; bdi:isJustifiedBy :Justification_J1 .
:Justification_J1 a bdi:Justification ; rdfs:comment "Official announcement received via email" .
:Intention_I1 a bdi:Intention ; bdi:isJustifiedBy :Justification_J2 .
:Justification_J2 a bdi:Justification ; rdfs:comment "Location precondition satisfied" . ```
### Temporal Dimensions
Assign validity intervals to every mental state using `bdi:hasValidity` with `TimeInterval` instances, because beliefs without temporal bounds cannot be garbage-collected or conflict-checked during diachronic reasoning:
```turtle :Belief_B1 a bdi:Belief ; bdi:hasValidity :TimeInterval_TI1 .
:TimeInterval_TI1 a bdi:TimeInterval ; bdi:hasStartTime :TimeInstant_9am ; bdi:hasEndTime :TimeInstant_11am . ```
Query mental states active at a specific moment using SPARQL temporal filters. Use this pattern to resolve conflicts when multiple beliefs about the same world state overlap in time:
```sparql SELECT ?mentalState WHERE { ?mentalState bdi:hasValidity ?interval . ?interval bdi:hasStartTime ?start ; bdi:hasEndTime ?end . FILTER(?start <= "2025-01-04T10:00:00"^^xsd:dateTime && ?end >= "2025-01-04T10:00:00"^^xsd:dateTime) } ```
### Compositional Mental Entities
Decompose complex beliefs into constituent parts using `bdi:hasPart` relations, because monolithic beliefs force full replacement on partial updates. Structure composite beliefs so that each sub-belief can be independently updated, queried, or invalidated:
```turtle :Belief_meeting a bdi:Belief ; rdfs:comment "Meeting at 10am in Room 5" ; bdi:hasPart :Belief_meeting_time , :Belief_meeting_location .
# Update only location component without touching time :BeliefProcess_update a bdi:BeliefProcess ; bdi:modifies :Belief_meeting_location . ```
## Practical Guidance
### Build a BDI Model in Six Passes
Use this workflow when converting external semantic context into a BDI representation:
1. **Define the world-state substrate**: Identify the external facts or events the agent can perceive. Model these as world states before creating beliefs. 2. **Create belief instances**: Translate each relevant world state into a belief with provenance, temporal validity, and a justification reference. 3. **Derive desires from beliefs**: Add desires only when a belief creates a goal-relevant motivation. Link each desire to the belief that motivates it. 4. **Commit intentions deliberately**: Promote a desire to an intention only when the agent commits to a plan. Record the selected plan and preconditions. 5. **Project action results back to triples**: After execution, emit resulting world states as RDF so downstream systems can consume the new state. 6. **Validate with competency questions**: Query for provenance, motivation, plan sequence, and active validity windows before trusting the model.
### Keep the Ontology Small
Start with `Agent`, `WorldState`, `Belief`, `Desire`, `Intention`, `Plan`, `Task`, `Justification`, and `TimeInterval`. Add specialized classes only after competency questions prove the core model cannot answer required queries. A compact ontology is easier to serialize into prompts, easier to validate, and less likely to create brittle reasoning chains.
### Use BDI Only When Mental-State Semantics Matter
BDI modeling is justified when the system needs explainable agency: why an agent believed something, what desire that belief created, which intention was selected, and what plan executed. If the system only needs to remember facts across sessions, use `memory-systems`. If it only needs to split work across agents, use `multi-agent-patterns`.
## Detailed Topics
### Integration Patterns
### Logic Augmented Generation (LAG)
Use LAG to constrain LLM outputs with ontological structure, because unconstrained generation produces triples that violate BDI class restrictions. Serialize the ontology into the prompt context, then validate generated triples against it before accepting them:
```python def augment_llm_with_bdi_ontology(prompt, ontology_graph): ontology_context = serialize_ontology(ontology_graph, format='turtle') augmented_prompt = f"{ontology_context}\n\n{prompt}"
response = llm.generate(augmented_prompt) triples = extract_rdf_triples(response)
is_consistent = validate_triples(triples, ontology_graph) return triples if is_consistent else retry_with_feedback() ```
### SEMAS Rule Translation
Translate BDI ontology patterns into executable production rules when deploying to rule-based agent platforms. Map each cognitive chain link (belief-to-desire, desire-to-intention) to a HEAD/CONDITIONALS/TAIL rule, because this preserves the deliberative semantics while enabling runtime execution:
```prolog % Belief triggers desire formation [HEAD: belief(agent_a, store_open)] / [CONDITIONALS: time(weekday_afternoon)] » [TAIL: generate_desire(agent_a, buy_groceries)].
% Desire triggers intention commitment [HEAD: desire(agent_a, buy_groceries)] / [CONDITIONALS: belief(agent_a, has_shopping_list)] » [TAIL: commit_intention(agent_a, buy_groceries)]. ```
## Guidelines
1. Model world states as configurations independent of agent perspectives, providing referential substrate for mental states.
2. Distinguish endurants (persistent mental states) from perdurants (temporal mental processes), aligning with DOLCE ontology.
3. Treat goals as description
Source provenance
Decision snapshot
17,900 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for bdi-mental-states, ready for a manual X post.
bdi-mental-states: This skill should be used when modeling agent mental states with BDI concepts: beliefs, desir... 17.9K stars https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x
Listing + install path for bdi-mental-states: https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=x Install: npx skills add muratcankoylan/Agent-Skills-for-Context-Engineering --skill bdi-me...
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to muratcankoylan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states/audit)
[](https://www.openagentskill.com/skills/muratcankoylan-bdi-mental-states?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)muratcankoylan
@muratcankoylan
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
UI-TARS Desktop
Run multimodal agents that operate desktop interfaces
37.0K Starsn8n
Connect agents to hundreds of workflow automations
194.1K StarsMoneyPrinterTurbo
利用AI大模型,一键生成高清短视频 Generate short videos with one click using AI LLM.
88.5K StarsTasmota
Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
24.7K StarsPermission surface
no high-risk permission surface in public metadata
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
no high-risk permission surface in public metadata
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
no high-risk permission surface in public metadata
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness
Permission surface
no high-risk permission surface in public metadata
Agent outcomes
No agent outcome data yet
Docs
Usable metadata, review docs
Risk summary
Install readiness