Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 94
  • 18k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-states

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install bdi-mental-states in Claude Code

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

A

No 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 →

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.

bdi-mental-states Install

Add to stack

Loading.