bdi-mental-states
Skill by muratcankoylan
Models agent mental states as beliefs, desires and intentions using RDF and BDI ontology patterns. Built for developers who need explainable, traceable agent reasoning in multi-agent systems.
Install bdi-mental-states
Built from the published package, never by AI.
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering /tmp/Agent-Skills-for-Context-Engineering && mkdir -p ~/.claude/skills && cp -r /tmp/Agent-Skills-for-Context-Engineering/skills/bdi-mental-states ~/.claude/skills/bdi-mental-statesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering /tmp/Agent-Skills-for-Context-Engineering && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Agent-Skills-for-Context-Engineering/skills/bdi-mental-states ~/.gemini/antigravity-cli/skills/bdi-mental-statesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The bdi-mental-states skill models agent mental states with BDI concepts: beliefs, desires and intentions. It transforms external RDF context into beliefs, then links them into motivational chains using properties such as bdi:motivates, bdi:fulfils and bdi:specifies. Mental entities can carry a justification and a validity interval, which supports traceable reasoning and explainability.
The skill also describes a Triples-to-Beliefs-to-Triples pipeline, where agent outputs are projected back into RDF after a plan executes. It covers Logic Augmented Generation for constraining LLM output with an ontology, and translating BDI chains into SEMAS production rules. It is aimed at developers building cognitive or multi-agent systems on frameworks such as SEMAS, JADE or JADEX who need explainable agency and semantic interoperability.
Written from the project's SKILL.md and checked against it.
What it can do
- Belief formation from RDFTranslates incoming RDF world states into belief instances with provenance using BeliefProcess.
- Cognitive chainsLinks beliefs, desires and intentions with motivates, fulfils and isSupportedBy properties.
- Justification trackingAttaches bdi:Justification instances to mental entities to explain why they were formed.
- Temporal validityAssigns validity intervals to mental states and queries which ones are active at a given time.
- Compositional beliefsSplits complex beliefs into parts so each sub-belief can be updated independently.
- Plan modellingConnects intentions to plans and orders tasks with bdi:precedes.
- Result projection to RDFProjects executed plan results back into RDF using bdi:bringsAbout.
- Logic Augmented GenerationSerializes a BDI ontology into the prompt and validates generated triples against it.
- SEMAS rule translationMaps belief-to-desire and desire-to-intention links to HEAD/CONDITIONALS/TAIL rules.
Try asking
- Turn this RDF meeting notice into beliefs and desires for my agent.
- Trace why my agent chose this intention, using its justification links.
- Write a SPARQL query for the mental states active at 10am on a given day.
Good to know
- Advises using BDI modelling only when explainable mental-state semantics matter.
- Points to other skills for plain memory, multi-agent topology and evaluation work.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/bdi-mental-states/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md17 KB -
references/bdi-ontology-core.md6 KB -
references/framework-integration.md20 KB -
references/rdf-examples.md11 KB -
references/sparql-competency.md9 KB
Alternatives to bdi-mental-states
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
bdi-mental-states: common questions
What does the bdi-mental-states skill do?
It models agent mental states as beliefs, desires and intentions, using BDI ontology patterns and RDF. It is meant for explainable agent reasoning.
Which agent frameworks does it mention?
The source names SEMAS, JADE and JADEX as BDI frameworks the skill applies to. It also mentions rule translation for SEMAS.
When should I not use this skill?
The source says to use memory-systems for facts that only need to persist across sessions. It points to multi-agent-patterns for splitting work across agents.
How do I install bdi-mental-states?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bdi-mental-states free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is bdi-mental-states safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to bdi-mental-states?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
