knowledge-graph

Manage atomic facts and summaries in a deterministic knowledge graph.

2|Updated Mar 21, 2026
One-click install
npx skills add https://github.com/adelpro/openclaw-arsenals --skill knowledge-graph-adelpro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: knowledge-graph
Source: https://github.com/adelpro/openclaw-arsenals/tree/main/02-skills/knowledge-graph
Command: npx skills add https://github.com/adelpro/openclaw-arsenals --skill knowledge-graph-adelpro

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Maintains Clawdbot's compounding knowledge graph under life/areas/** by adding and superseding atomic facts (items.json), regenerating entity summaries (summary.md), and keeping IDs consistent. When deterministic updates are required instead of manual JSON edits, this Skill provides automated tooling.

Core Features & Use Cases

  • Atomic fact management: add new facts and supersede outdated ones while preserving a stable IDs sequence.
  • Entity summaries: regenerate concise summaries from active facts to keep knowledge current.
  • Deterministic workflows: ensure reproducible updates across environments using a script-driven process.

Quick Start

Run the bundled kg.py tool to add or supersede facts for an entity and regenerate its summary.

Frequently Asked Questions about knowledge-graph

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate knowledge graph updates for atomic facts without manual JSON edits?

To automate knowledge graph updates, use a Python script to add, supersede, and summarize atomic facts in a JSON file, ensuring deterministic updates and consistent IDs across environments without manual editing.

What is the best way to supersede outdated facts in a knowledge graph while preserving ID sequences?

The best way to supersede outdated facts while preserving ID sequences is using an automated script command that marks old facts as superseded and auto-increments new fact IDs, ensuring data integrity without deleting records.

How do I regenerate entity summaries from active facts in a markdown file?

You regenerate entity summaries from active facts by running a script summarize command that processes the active items in your JSON data and outputs a concise, up-to-date markdown summary file.

Does this knowledge graph automation tool ever delete atomic facts?

No, this knowledge graph automation tool never deletes atomic facts. It maintains data integrity by using an add and supersede workflow, preserving all historical records while keeping entity descriptions current.

Can I use Python scripts to maintain deterministic knowledge graphs across different environments?

Yes, you can use Python scripts to maintain deterministic knowledge graphs across different environments, ensuring reproducible updates by applying standardized add, supersede, and summarize commands to your data files.

Why does my knowledge graph need deterministic workflows for life areas?

Your knowledge graph needs deterministic workflows for life areas to ensure reproducible updates, consistent entity IDs, and stable fact management across environments, preventing manual JSON editing errors and data drift.