An enterprise-grade AI agent framework featuring a robust hook system, automated memory extraction, and specialized core agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install hai-agent-framework
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 hai-agent-framework using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The HAI Agent Framework is a sophisticated infrastructure designed to build and manage enterprise-level AI agents. By integrating this framework into your library of Openclaw Skills, you gain access to a powerful Hook Event System that triggers scripts at critical lifecycle moments, such as session starts or tool calls. This system ensures that your AI agents are not just reactive but are governed by structured protocols and persistent memory across different operational layers.
At its core, the framework focuses on automating the learning process. It extracts user preferences and decision-making patterns directly from conversations, storing them in a hierarchical memory structure. This allows developers to deploy highly specialized agents—ranging from security scanners to documentation writers—that possess deep, contextual knowledge of the projects they are assisting with, making it a standout choice among available Openclaw Skills.
To install the HAI Agent Framework and integrate it with your existing Openclaw Skills, use the following command:
clawhub install hai-agent-framework
Configuration is managed via the .hai/ directory. To enable a hook, create a JSON configuration in .hai/hooks/:
{
"name": "load-memory",
"event": "SessionStart",
"priority": 100,
"enabled": true,
"action": {
"type": "script",
"script": ".hai/scripts/load-memory.py"
}
}
The HAI Agent Framework uses a structured directory schema to manage the lifecycle of Openclaw Skills data:
| Directory | Purpose |
|---|---|
.hai/agents/ |
Contains Markdown definitions for specialized system prompts. |
.hai/hooks/ |
Stores JSON configurations for event-based triggers (e.g., PreToolUse). |
.hai/memory/ |
Hierarchical storage including transcript, project, and global context. |
.hai/scripts/ |
Executable Python scripts for hook actions and conversation analysis. |
.hai/rules/ |
User-defined local rules and constraints for agent behavior. |
Loading
A structured AI framework for managing business and IT incidents through automated classification, communication, and post-mortem reporting.

Automate the generation of SOC2 evidence collection checklists and scripts to prepare for Type I and Type II audits across all Trust Service Criteria.

A comprehensive AI-driven auditing tool for executing global regulatory compliance reviews and generating actionable remediation roadmaps.

A unified portal for four diverse text-based adventure games including cultivation, martial arts, historical romance, and campus life.

A specialized tool for searching bearing specifications, parsing model codes, and providing industrial selection recommendations.

An automated skill designed to generate production-ready mindmaps, diagrams, and visual documentation from simple text prompts.








































