# Send MindCore to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mindcore",
    "name": "MindCore",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/fatcatMaoFei/mindcore",
    "canonicalUrl": "https://clawhub.ai/fatcatMaoFei/mindcore",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/mindcore",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mindcore",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/ARCHITECTURE.md",
      "references/CHANGELOG.md",
      "references/CUSTOMIZATION.md",
      "references/INTEGRATION.md",
      "references/README.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "mindcore",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-02T10:38:00.810Z",
      "expiresAt": "2026-05-09T10:38:00.810Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mindcore",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mindcore",
        "contentDisposition": "attachment; filename=\"mindcore-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "mindcore"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mindcore"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mindcore",
    "downloadUrl": "https://openagent3.xyz/downloads/mindcore",
    "agentUrl": "https://openagent3.xyz/skills/mindcore/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mindcore/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mindcore/agent.md"
  }
}
```
## Documentation

### MindCore — Biomimetic Subconscious Engine

Give your AI agent autonomous thoughts, emotions, and spontaneous impulses.

### What It Does

MindCore is a standalone background daemon that simulates a subconscious
mind. It rolls dice every second, modeling the random emergence of thoughts
like "I want milk tea", "I'm bored", or "I suddenly want to chat".

When a thought's probability accumulates past the firing threshold, the engine
outputs a JSON signal telling your AI Agent: "I have something to say."

### Architecture

Layer 0: Noise Generators (3000 nodes)
    ├── Pink Noise (1/f, long-range correlation)
    ├── Ornstein-Uhlenbeck (physiological baseline)
    ├── Hawkes Process (emotional chain reaction)
    └── Markov Chain (attention drift)
         ↓
Layer 1: Sensor Layer (150 sensors)
    ├── Body State (hunger/fatigue/bio-rhythms)
    ├── Environment (time/weather/noise)
    └── Social Context (interaction/neglect)
         ↓
Layer 2: Impulse Emergence (150 impulse nodes)
    ├── Synapse Matrix (sensor → impulse mapping)
    ├── Sigmoid Probability + Mood Modulation
    └── Dice Roll → Random Firing
         ↓
Layer 3: Personality Gate (Softmax Sampling)
    ├── Learnable Personality Weights
    └── Short-Term Memory Topic Boost
         ↓
Layer 4: Output Template → JSON signal

### Quick Start

# Install dependencies
pip install -r requirements.txt

# Start the engine
python main.py

Requires Python 3.8+. On first run, automatically downloads all-MiniLM-L6-v2
local NLP model (~80MB) for synapse matrix generation.

### Key Features

150 Daily Impulses across 9 categories (food, social, entertainment, etc.)
Stochastic, Not Scheduled — Pink Noise + Hawkes Process + Sigmoid probability
Circadian Rhythms — real clock-driven hunger/thirst/sleep cycles
Short-Term Memory — 5-slot FIFO buffer with 2-hour exponential decay
Mood Baseline — continuous valence modulation of impulse probability
Tunable Frequency — single BURST_BASE_OFFSET parameter controls activity

### Integration

MindCore outputs standard JSON and is designed for OpenClaw
but compatible with any AI Agent framework that supports external signal injection.

See references/INTEGRATION.md for detailed integration guide.

### File Structure

main.py — Entry point and engine loop
engine/ — Core 5-layer pipeline implementation
engine_supervisor.py — Process supervisor for daemon mode
data/ — Runtime data (sensor state, synapse matrix, memory)
js_bridge/ — JavaScript bridge for OpenClaw integration

### License

AGPL-3.0 (commercial licensing available — contact zmliu0208@gmail.com)
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: fatcatMaoFei
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-02T10:38:00.810Z
- Expires at: 2026-05-09T10:38:00.810Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/mindcore)
- [Send to Agent page](https://openagent3.xyz/skills/mindcore/agent)
- [JSON manifest](https://openagent3.xyz/skills/mindcore/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/mindcore/agent.md)
- [Download page](https://openagent3.xyz/downloads/mindcore)