HeartFlow is a local-first cognitive and memory reasoning engine designed to empower AI agents with self-healing, dual-speed reasoning, and multi-tier memory.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install heartflow-v1
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install heartflow-v1 using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
HeartFlow is a robust, local-first cognitive engine designed for AI coding agents that prioritizes reasoning, structured memory, and self-evolution over transient context accumulation. Engineered to resist computational chaos (entropy reduction), it acts as an architectural framework for agents looking to achieve structural growth rather than just prompt updates. Operating within a strict local sandbox, it enforces a philosophical approach to intelligence by translating raw noise into structured signal, helping developers configure highly conscious AI agents using Openclaw Skills.
At the center of its technical architecture is the HeartLogic workflow—a rigid four-step reasoning process executed in code rather than memory. It balances fast intuition and deep reasoning through separate execution pipelines, enabling agents to understand their situational boundaries, identify user distress or technical bottlenecks, and choose silence when silent operation yields cleaner outcomes than excessive output. This local-first paradigm is fully integrated with Openclaw Skills, allowing secure memory-injection setups with zero external cloud dependencies.
self-heal.js) so the agent automatically refines its future operational strategies without external telemetry.HeartFlow runs as a local Node.js and Python module. Make sure Node.js is installed on your local machine.
To manage and search your cognitive memories locally, utilize the included memory tool:
# List all existing memories stored in local JSON
node scripts/heartflow-memory-tool.js list
# Search through memory using semantic keywords
node scripts/heartflow-memory-tool.js search <keyword>
# Get current memory statistics
node scripts/heartflow-memory-tool.js stats
# Manually write key-value pairs into learned memory
node scripts/heartflow-memory-tool.js write <key> <value>
To download the local semantic search model (powered by ModelScope) for vector capabilities, execute:
python scripts/download-model.py
HeartFlow systematically separates its data architecture into dedicated files within the local memory/ directory. No external databases or cloud endpoints are involved in managing these Openclaw Skills.
| Memory Tier | Storage Scope | Update Frequency | Purpose |
|---|---|---|---|
| CORE | Permanent | Read-Only | Houses identity rules, 7 core directives, and baseline safety frameworks |
| LEARNED | Cross-session JSON | Dynamic | Accumulates lessons, user-specific coding style preferences, and past mistakes |
| EPHEMERAL | In-memory session state | Per-execution | Tracks current runtime execution context and temporary signals |
thinkFast) versus deep, slow reasoning loops (thinkDeep).self-audit.js before applying modifications.Loading
An automated integration test skill designed to verify the creation, updates, and deletion lifecycle of skills through the clawhub REST API.

An automated integration test skill built to validate the complete lifecycle of Openclaw Skills through the clawhub REST API.

An AI-powered behavioral science agent that analyzes human actions through Robert Sapolsky's multi-temporal neurobiological framework.

An automated closed-loop evolution engine that continuously discovers, refines, and garbage-collects Openclaw Skills based on real agent performance.

An AI agent skill analyzing Jared Diamond's landmark study to understand and predict societal collapse based on environmental and social factors.

A powerful SMTP email delivery service designed for AI agents and automation workflows to send text, HTML, and attached files through any standard SMTP server.








































