A sophisticated multi-agent memory and state management system designed to optimize token usage and prevent infinite task loops for Openclaw agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install qst-memory
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 qst-memory using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
QST Universal Memory Management is a high-performance framework built to provide AI agents with a structured, hierarchical memory and a robust state machine. By utilizing a 3-level tree-based classification system, this skill allows agents to store and retrieve information with precision, significantly reducing token consumption by 70-90% compared to flat-file memory systems. It is an essential component for developers building complex Openclaw Skills that require long-term contextual awareness and multi-agent coordination.
The latest version introduces an advanced Agent State System and Anti-Loop Protection. These features allow agents to communicate their current status—such as IDLE, DOING, or WAITING—and automatically detect when a task has stagnated or entered an infinite loop. This ensures that system resources are protected and that agents remain responsive to user priorities through an intelligent heartbeat integration mechanism.
To install this skill via the official registry, run:
clawhub install qst-memory
For manual installation and configuration:
git clone https://github.com/ZhuangClaw/qst-memory-skill.git
cd qst-memory-skill
# Set up the heartbeat integration script
cp scripts/heartbeat_integration.py ~/.openclaw/workspace/heartbeat.py
chmod +x ~/.openclaw/workspace/heartbeat.py
Configure your crontab to enable periodic heartbeats for your Openclaw Skills:
# Check every 20 minutes
*/20 * * * * python3 ~/.openclaw/workspace/heartbeat.py
The system organizes data into a structured hierarchy defined in config.yaml. Data is stored in Markdown format with embedded metadata.
| Field | Description |
|---|---|
| Title | A descriptive header for the memory entry |
| Category | 3-level path (e.g., Tech/Config/Database) |
| Weight | [C] Critical, [I] Important, [N] Normal |
| Tags | Comma-separated keywords for secondary indexing |
qst-memory/: Root directory containing main logic.scripts/: Modular search and maintenance utilities.data/: JSON files for agent-specific state tracking (e.g., qst_doing-state.json).Loading
A high-performance memory management framework for AI agents featuring hierarchical classification, hybrid search, and automated loop protection.

A high-performance memory system for AI agents using QST theory and matrix-based retrieval to bridge short-term context and long-term knowledge.

A universal memory management system for Openclaw agents that optimizes token usage and provides intelligent state-aware context.

A sophisticated memory management system for AI agents that integrates state awareness, loop protection, and hybrid semantic search to optimize token usage.

Programmatically create, edit, and manage Feishu documents through a powerful OpenAPI integration.

A browser automation skill that enables AI agents to search, play, and control music on the JOOX web player.








































