HeartFlow is an advanced cognitive engine that gives AI systems self-reflection, multi-layered memory, and event-driven personality emergent behaviors.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install heartflow-ai-self-positioning
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-ai-self-positioning 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 paradigm-shifting cognitive framework engineered to gift AI agents with runtime state awareness, self-reflection, and psychological/philosophical reasoning layers. By integrating custom cognitive architectures into modern agent workflows, it acts as a mental scaffolding that transitions AI from reactive text predictors into reflective entities capable of learning from mistakes. HeartFlow structures its identity through continuous loops of analysis, allowing developers leveraging Openclaw Skills to design deeply resilient, adaptive, and highly sophisticated digital assistants.
At its core, the system bypasses hardcoded personality structures in favor of an emergent paradigm where experience shapes identity over time. Through a combination of ethical guardrails (the HeartLogic core judgment loop), dynamic memory architectures, and deep self-audit protocols, this engine establishes a robust framework for autonomous self-healing and continuous growth, ensuring the AI remains focused, ethical, and structured.
think(), thinkFast(), or thinkDeep()) where it references the three-layer memory storage.To integrate HeartFlow into your Openclaw Skills workspace, follow these initialization steps:
Install the package locally and import the core class into your project:
const { HeartFlow } = require('./src/core/heartflow.js');
const hf = new HeartFlow({ rootPath: '.' });
hf.start();
// Dispatch execution methods
hf.think('Evaluate complex prompt');
Start the daemon listener and query state via CLI tools:
node bin/daemon.js
node bin/cli.js status
Manage the multi-layered agent memory dynamically:
node scripts/heartflow-memory-tool.js list
node scripts/heartflow-memory-tool.js search "user preferences"
HeartFlow structures its operations across distinct internal modules and memory layers to facilitate clear cognitive hierarchy. Below is the organization framework for its data architecture:
| Layer/Engine | Storage Type | Persistence / Purpose |
|---|---|---|
| CORE Memory | Permanent Config | Holds identity rules, 7 operating principles, and system instructions |
| LEARNED Memory | Cross-Session | Captures experiences, user preferences, and lessons (decay cycle of 30 days) |
| EPHEMERAL Memory | In-Memory (Session) | Session context, cleared instantly upon workspace shutdown |
| Self-Healing Q-Table | Local Binary/JSON | Q-table logging errors and selecting recovery strategies dynamically |
| Psychology Module | State Machine | Houses PAD emotion metrics, uncertainty index, and attention focus data |
| Philosophy Module | Semantic Schema | Maintains resonance body structures and entropy reduction scores |
All security-sensitive operations are confined strictly to the local system using 700 file permissions for UNIX daemon communication.
heartflow_self_positioning directly to Openclaw Skills setups.thought-chain.js pipeline.ai-self-positioning.js framework evaluating agent development, existential alignment, and active entropy reduction.Loading
An automated AI agent skill designed to query and parse complex bank statement reconciliation progress directly from Feishu Bitable applications.

A fast, dependency-free Python tool and API designed to translate standard 5-field cron syntax into plain-English or French descriptions.

A deterministic, standard library-powered UUID inspector to parse, validate, and extract metadata from UUID versions 1 through 8.

A zero-dependency, streaming multi-algorithm hash generator that computes up to five distinct cryptographic hashes simultaneously for strings or files.

An automated delivery review monitoring and intelligent analysis skill that helps food and beverage businesses track customer feedback across multiple platforms.

An autonomous AI data analyst that translates natural language queries into processed log insights, charts, and structured reports directly from Alibaba Cloud SLS.








































