Maintain a deterministic, file-based knowledge graph by adding, superseding, and summarizing atomic facts for entities.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install knowledge-graph
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 knowledge-graph using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Knowledge Graph skill provides a structured way to maintain a compounding repository of facts and entity summaries within a file-based architecture. Instead of relying on manual JSON edits which are prone to error, this skill utilizes a specialized Python script to manage data integrity under the life/areas directory. By leveraging this tool within the Openclaw Skills framework, developers can ensure their AI agents have access to a consistent and growing body of knowledge that persists across sessions.
It focuses on maintaining atomic facts while preserving history. Every piece of information is treated as a discrete item with a unique ID, allowing for clear provenance and the ability to supersede outdated information without losing historical context. This makes it an essential utility for anyone building sophisticated agents using Openclaw Skills.
To begin using this skill, ensure you have the necessary scripts within your local repository. The primary interface is the kg.py script located in the skills directory.
Add a new fact:
python3 skills/knowledge-graph/scripts/kg.py add \
--entity <kind>/<slug> \
--category <category> \
--fact "<your-fact-here>" \
--source <source>
Supersede an existing fact:
python3 skills/knowledge-graph/scripts/kg.py supersede \
--entity <kind>/<slug> \
--old <old-id> \
--category <category> \
--fact "<new-fact-content>"
Refresh the summary:
python3 skills/knowledge-graph/scripts/kg.py summarize --entity <kind>/<slug>
Data is organized hierarchically within the file system to ensure compatibility with standard Openclaw Skills workflows.
| File | Description | Format |
|---|---|---|
life/areas/<kind>/<slug>/ |
The root directory for a specific entity. | Directory |
items.json |
A collection of atomic facts including IDs, timestamps, and status. | JSON Array |
summary.md |
A generated overview of the entity based on non-superseded facts. | Markdown |
<slug>-00n format to prevent collisions.Loading
A personal finance memory layer that enables AI agents to parse statements, store transaction history, and perform spending analysis.

A professional-grade AI agent skill for analyzing Korean stocks using a rigorous financial-first evaluation framework.

A professional AI investment analyst that provides systematic evaluation and scoring for Korean stocks listed on the KRX.

A specialized skill for generating and modifying Obsidian Flavored Markdown, enabling advanced features like wikilinks, callouts, and frontmatter properties.

A terminal-first project bootstrapper and workspace context manager that synchronizes local task management with Trello.

A secure filesystem-backed bridge for exchanging files between users and AI agents via MCP.








































