← Back to Skills Marketplace
safatinaztepe

Knowledge Graph

by SafaTinaztepe · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
6956
Downloads
5
Stars
100
Active Installs
1
Versions
Install in OpenClaw
/install knowledge-graph
Description
Maintain Clawdbot's compounding knowledge graph under life/areas/** by adding/superseding atomic facts (items.json), regenerating entity summaries (summary.md), and keeping IDs consistent. Use when you need deterministic updates to the knowledge graph rather than manual JSON edits.
Usage Guidance
Install only if you want the agent to maintain persistent knowledge files under life/areas/**. Review facts before adding or superseding them, avoid storing sensitive or untrusted claims, and note that the skill needs Python 3 plus local file read/write access even though permissions are not explicitly declared.
Capability Analysis
Type: OpenClaw Skill Name: knowledge-graph Version: 1.0.0 The skill bundle is designed to manage a file-based knowledge graph within the OpenClaw workspace. The `SKILL.md` provides clear, non-malicious instructions for the agent, with no evidence of prompt injection attempts. The `scripts/kg.py` Python script performs file I/O operations (reading/writing `items.json` and `summary.md`) strictly within the designated `life/areas/` directory relative to the workspace root. It does not access sensitive files, make network calls, execute arbitrary commands, or exhibit any other high-risk behaviors or obfuscation techniques.
Capability Assessment
Purpose & Capability
The skill’s stated purpose matches its behavior: it adds, supersedes, and summarizes facts in a file-based knowledge graph under life/areas/**. The main user impact is persistent local knowledge that may later influence agent context.
Instruction Scope
SKILL.md gives explicit commands for add, supersede, and summarize operations. It does not instruct automatic execution, role override, credential access, exfiltration, or unrelated actions.
Install Mechanism
The bundle contains only SKILL.md and a dependency-free Python script. It requires python3 and local file read/write capability, but those permissions are not explicitly declared in the visible metadata.
Credentials
The script uses standard-library local file I/O, validates entity path components to simple lowercase slugs, and confines intended writes to items.json and summary.md under life/areas/<kind>/<slug>/.
Persistence & Privilege
Persistent file writes are core to the skill’s purpose. It appends or supersedes facts and regenerates summaries, with no background worker, privilege escalation, broad local indexing, network calls, or deletion behavior.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install knowledge-graph
  3. After installation, invoke the skill by name or use /knowledge-graph
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the knowledge-graph skill. - Enables safe, programmatic updates to Clawdbot's knowledge graph under life/areas/**. - Add or supersede atomic facts for any entity via command-line scripts. - Ensures fact IDs remain consistent and auto-increment per entity. - Supports regenerating entity summaries from active facts. - Removes the need for manual JSON edits; prevents deletion of facts by enforcing supersession.
Metadata
Slug knowledge-graph
Version 1.0.0
License
All-time Installs 250
Active Installs 100
Total Versions 1
Frequently Asked Questions

What is Knowledge Graph?

Maintain Clawdbot's compounding knowledge graph under life/areas/** by adding/superseding atomic facts (items.json), regenerating entity summaries (summary.md), and keeping IDs consistent. Use when you need deterministic updates to the knowledge graph rather than manual JSON edits. It is an AI Agent Skill for Claude Code / OpenClaw, with 6956 downloads so far.

How do I install Knowledge Graph?

Run "/install knowledge-graph" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Knowledge Graph free?

Yes, Knowledge Graph is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Knowledge Graph support?

Knowledge Graph is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Knowledge Graph?

It is built and maintained by SafaTinaztepe (@safatinaztepe); the current version is v1.0.0.

💬 Comments