active-inference-in-r
R implementation of Active Inference with belief updating, free energy minimization, and policy selection
DeepseekModel
Curated skill
Quality Good · 64
v1.0.0
Get
https://deepseekmodel.com/api/download.php?id=activeinferenceinstitute-activeinferants-0-context-computer-languages-r-skill-md&format=skill
Download .skill
Standard format with system_prompt and model_config, ready for any agent framework
The actual content of the system_prompt field in the .skill file.
name Active Inference in R description R implementation of Active Inference with belief updating, free energy minimization, and policy selection Active Inference in R Overview This skill provides a complete Active Inference implementation in R, demonstrating Bayesian belief updating, variational free energy calculation, and expected free energy-based policy selection. Core Algorithms Belief Updating : Bayesian inference using observation likelihoods to update posterior beliefs Free Energy Calculation : KL divergence between posterior beliefs and prior distribution Policy Selection : Softmax action selection over expected free energy per action Perception-Action Loop : Iterative sense → infer → act cycle with generative model Key Files active_inference.R — Source implementation run.sh — Execution script (handles compilation if needed) README.md — Usage documentation and requirements Usage cd 0_CONTEXT/Computer_Languages/R/ ./run.sh Language-Specific Features Native matrix/array operations Scientific computing ecosystem Built-in visualization support Integration Tested via master_controller.py test r Benchmarked via benchmark_suite.py Listed in languages.json under category "Scientific" Prerequisites See README.md for R-specific installation requirements.
Keywords that activate this skill. Click one to copy it.
This skill does not provide trigger words.
The downloaded .skill package contains the following fields.
| Field | Description |
|---|---|
| format | Format tag (skill/v1) |
| skill_id | Unique skill ID |
| name | Skill name |
| version | Version |
| description | Description |
| category | Categories (array) |
| trigger_words | Trigger words |
| tags | Tags |
| source | Source |
| source_url | Source URL (this page) |
| exported_at | Exported at (set per download) |
| system_prompt | System prompt body |
| model_config | Model config: provider / model / temperature / max_tokens / top_p |
| examples | Examples |
| install_guide | Import guide for Coze / Dify / Claude / custom frameworks |
The same skill can be exported in different platform formats.