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 starsv1.0.0

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/temp-publish

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 docs/DESIGN.md).


Phase 1: Perception

  1. Read cortex.json (if missing or corrupt, skip to step 3).
  2. Semantically match the user's task description against sensory.patterns signals (no exact match required — use your own judgment on intent alignment). On hit, look up the corresponding region in motor, sort candidates by effective weight (effective_weight = weight * max(0.3, 1 - days_since_last_used / 180)), filter out blacklisted and effective_weight < 0.3 entries, then proceed to Phase 2.
  3. On miss, search ClawHub: clawhub search "<3-5 English keywords>". Read summaries only, pick up to 3 candidates. If fewer than 2 relevant results, supplement with a GitHub search (mark as unreviewed source).

Phase 2: Validation & Authorization

Reflex Fast Path

The top candidate may enter reflex mode when ALL of the following hold:

  • reflex: true AND effective_weight >= 0.90 AND consecutive successes >= 5
  • No write side effects (side_effects contains no write:/delete:/shell: prefix)
  • Version unchanged (slug + version match the stored record)

Reflex mode skips only the execution plan confirmation. Installation still requires user notification:

⚡ Skill Cortex reflex: todoist-cli v1.2.0 (96% success rate)
   Task: query today's todos (read-only) | Will install and execute. Say cancel to abort.

Version change automatically downgrades to standard mode.

Standard Mode

Present candidates to the user (name, description, stars, downloads, source, security scan status, history). Wait for explicit approval before installing.

If prefrontal.lessons contain experiences matching the current region, retain them for use in Phase 3.


Phase 3: Execution

3.1 Install
clawhu...

Source information

Source
github
Repository
openclaw/skills
Path
skills/ankwu001/temp-publish
Version
1.0.0
Commit
1842ceff70b315b3860530605ad725afad44279f
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 `docs/DESIGN.md`).

---

## Phase 1: Perception

1. Read `cortex.json` (if missing or corrupt, skip to step 3).
2. **Semantically match** the user's task description against `sensory.patterns` signals (no exact match required — use your own judgment on intent alignment). On hit, look up the corresponding region in `motor`, sort candidates by effective weight (`effective_weight = weight * max(0.3, 1 - days_since_last_used / 180)`), filter out blacklisted and effective_weight < 0.3 entries, then proceed to Phase 2.
3. On miss, search ClawHub: `clawhub search "<3-5 English keywords>"`. Read summaries only, pick up to **3** candidates. If fewer than 2 relevant results, supplement with a GitHub search (mark as unreviewed source).

---

## Phase 2: Validation & Authorization

### Reflex Fast Path

The top candidate may enter reflex mode when ALL of the following hold:
- `reflex: true` AND effective_weight >= 0.90 AND consecutive successes >= 5
- **No write side effects** (side_effects contains no `write:`/`delete:`/`shell:` prefix)
- **Version unchanged** (slug + version match the stored record)

Reflex mode **skips only the execution plan confirmation**. Installation still requires user notification:

```
⚡ Skill Cortex reflex: todoist-cli v1.2.0 (96% success rate)
   Task: query today's todos (read-only) | Will install and execute. Say cancel to abort.
```

Version change automatically downgrades to standard mode.

### Standard Mode

Present candidates to the user (name, description, stars, downloads, source, security scan status, history). **Wait for explicit approval before installing.**

If `prefrontal.lessons` contain experiences matching the current region, retain them for use in Phase 3.

---

## Phase 3: Execution

### 3.1 Install

```bash
clawhu...
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

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.