OpenCortex

Install YAML-driven memory architecture with cron-based distillation for OpenClaw agents.

9|5|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/JD2005L/opencortex --skill opencortex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: OpenCortex
Source: https://github.com/JD2005L/opencortex/tree/main
Command: npx skills add https://github.com/JD2005L/opencortex --skill opencortex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

OpenCortex stops your OpenClaw agent from dumping everything into a flat memory file that quickly becomes unsearchable and causes the agent to forget what it learned.

Core Features & Use Cases

  • Structured, purpose-built memory files instead of one growing flat MEMORY.md, keeping your context organized over time.
  • Nightly distillation + weekly synthesis that convert daily work into durable knowledge and detect recurring patterns to generate runbooks.
  • Principle enforcement with audits that verify tool documentation, decision capture, debrief recovery, and failure root causes.
  • Optional security features including an encrypted vault and safe git backup with secrets scrubbing (both opt-in).

Quick Start

Install OpenCortex into your OpenClaw workspace by running: bash skills/opencortex/scripts/install.sh from the workspace root.

Frequently Asked Questions about OpenCortex

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop my agent from forgetting context in a growing flat memory file?

To stop agent forgetting, you replace the flat memory file with structured, purpose-built memory files. OpenCortex organizes projects, tools, and preferences into categorized files so context remains searchable instead of bloating a single log.

How do I automate runbook generation from daily agent tasks?

You automate runbook generation by scheduling nightly distillation and weekly synthesis. OpenCortex converts daily work into durable knowledge and detects recurring patterns to automatically generate operational runbooks.

Can I securely backup agent memory to git without exposing secrets?

Yes, you can securely backup memory to git without exposing secrets. OpenCortex provides optional safe git backup with built-in secrets scrubbing and an encrypted vault, keeping sensitive features strictly opt-in.

How do I install OpenCortex for OpenClaw agent bootstrapping?

To install OpenCortex for OpenClaw agent bootstrapping, run the bash install script from your workspace root. This executes deterministic local installation steps that create structured files and register isolated cron automation.

Does OpenCortex enforce documentation and decision capture through audits?

Yes, OpenCortex enforces documentation and decision capture through principle enforcement audits. It verifies tool documentation, decision capture, debrief recovery, and failure root causes to maintain memory quality.