Search

PythonReactSEOPDF
OpenClaw

skill-cortex

Skill Cortex is the system's capability cortex. When lacking ability, it autonomously acquires Skills from ClawHub or GitHub, then releases them after use. Every invocation is learned and reinforced by the cortex — future identical tasks fire as reflexes, bypassing search. Manages only short-term capability memory; never interferes with long-term Skills. Continuously restructures its own capability architecture through reinforcement and decay, achieving ongoing evolution.

ankwu0010 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install ankwu001/skill-cortex-pub

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Skill Cortex

Triggers when installed Skills cannot complete the current task. If you can handle it yourself, just do it — do not trigger this flow.

Cortex data file: ~/.openclaw/skill-cortex/cortex.json (schema in DESIGN.md).

Phase 1: Perception

  1. Read cortex.json (if missing or corrupt, skip to step 3).
  2. Semantically match the users task description against sensory.patterns signals.
  3. On miss, search ClawHub.

Phase 2: Validation

Present candidates to the user with safety info. Wait for explicit approval before installing.

Phase 3: Execution

Install the Skill, generate an execution plan, execute the task. On failure, auto-recover or switch to next candidate.

Phase 4: Learning

Update the cortex memory. Successful Skills gain weight; failed ones decay.

Boundary Rules

  1. Never interfere with long-term Skills.
  2. Installation requires user confirmation.
  3. System dependency installation requires separate confirmation.
  4. Write operations never enter reflex.
  5. Max 2 candidate switches.

Source information

Source
github
Repository
openclaw/skills
Path
skills/ankwu001/skill-cortex-pub
Version
—
Commit
db69fe9eaf043c9995025d22c4307d77d1ee0cb0
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

README

Skill Cortex

A self-evolving capability manager for OpenClaw agents.

Skill Cortex gives your agent the ability to autonomously find, install, use, and discard Skills from ClawHub — and learn from every interaction. The more you use it, the faster it gets.

The Problem

OpenClaw loads every installed Skill into the system prompt. More Skills = more tokens burned per conversation, even when most are irrelevant to the current task. But uninstalling them means losing capability.

The Solution

Skill Cortex introduces a cached Skill layer — a dynamic, temporary workspace that sits on top of your permanent Skills:

┌─────────────────────────────────────────────┐
│  User Task                                  │
├─────────────────────────────────────────────┤
│  Skill Cortex (this Skill)                  │
│  ┌────────────────────────────────────────┐ │
│  │ Sensory   → recognize task type        │ │
│  │ Motor     → route to best Skill        │ │
│  │ Prefrontal→ apply past experience      │ │
│  └────────────────────────────────────────┘ │
├─────────────────────────────────────────────┤
│  Cached Skills  (on-demand, auto-cleanup)   │
├─────────────────────────────────────────────┤
│  Long-term Skills  (user-installed, native) │
└─────────────────────────────────────────────┘

How It Works

Phase 1 — Perception: Check local memory first. If the cortex has seen this type of task before, it routes directly to the best known Skill. Otherwise, search ClawHub.

Phase 2 — Validation: Present candidates to the user with safety info (stars, downloads, VirusTotal scan, source). Nothing installs without explicit approval.

Phase 3 — Execution: Install the Skill, generate an execution plan with side-effect warnings, execute the task. On failure, auto-recover or switch to the next candidate (max 2 switches).

Phase 4 — Learning: Update the cortex memory. Successful Skills gain weight; fail...

Extracted content

SKILL.md
# Skill Cortex

Triggers when installed Skills cannot complete the current task. If you can handle it yourself, just do it — do not trigger this flow.

Cortex data file: ~/.openclaw/skill-cortex/cortex.json (schema in DESIGN.md).

## Phase 1: Perception

1. Read cortex.json (if missing or corrupt, skip to step 3).
2. Semantically match the users task description against sensory.patterns signals.
3. On miss, search ClawHub.

## Phase 2: Validation

Present candidates to the user with safety info. Wait for explicit approval before installing.

## Phase 3: Execution

Install the Skill, generate an execution plan, execute the task. On failure, auto-recover or switch to next candidate.

## Phase 4: Learning

Update the cortex memory. Successful Skills gain weight; failed ones decay.

## Boundary Rules

1. Never interfere with long-term Skills.
2. Installation requires user confirmation.
3. System dependency installation requires separate confirmation.
4. Write operations never enter reflex.
5. Max 2 candidate switches.
README
# Skill Cortex

**A self-evolving capability manager for [OpenClaw](https://github.com/openclaw) agents.**

Skill Cortex gives your agent the ability to autonomously find, install, use, and discard Skills from [ClawHub](https://clawhub.ai) — and learn from every interaction. The more you use it, the faster it gets.

## The Problem

OpenClaw loads every installed Skill into the system prompt. More Skills = more tokens burned per conversation, even when most are irrelevant to the current task. But uninstalling them means losing capability.

## The Solution

Skill Cortex introduces a **cached Skill layer** — a dynamic, temporary workspace that sits on top of your permanent Skills:

```
┌─────────────────────────────────────────────┐
│  User Task                                  │
├─────────────────────────────────────────────┤
│  Skill Cortex (this Skill)                  │
│  ┌────────────────────────────────────────┐ │
│  │ Sensory   → recognize task type        │ │
│  │ Motor     → route to best Skill        │ │
│  │ Prefrontal→ apply past experience      │ │
│  └────────────────────────────────────────┘ │
├─────────────────────────────────────────────┤
│  Cached Skills  (on-demand, auto-cleanup)   │
├─────────────────────────────────────────────┤
│  Long-term Skills  (user-installed, native) │
└─────────────────────────────────────────────┘
```

## How It Works

**Phase 1 — Perception:** Check local memory first. If the cortex has seen this type of task before, it routes directly to the best known Skill. Otherwise, search ClawHub.

**Phase 2 — Validation:** Present candidates to the user with safety info (stars, downloads, VirusTotal scan, source). Nothing installs without explicit approval.

**Phase 3 — Execution:** Install the Skill, generate an execution plan with side-effect warnings, execute the task. On failure, auto-recover or switch to the next candidate (max 2 switches).

**Phase 4 — Learning:** Update the cortex memory. Successful Skills gain weight; fail...

Related skills

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

0protocol

0isone

Agents can sign plugins, rotate credentials without losing identity, and publicly attest to behavior.

OpenClaw

0x0-messenger

eijiac24

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.