Install
openclaw skills install mindgraphCreate and query an Obsidian-style [[wikilink]] knowledge graph with learnable repeatable MindSkills for managing and analyzing workspace files.
openclaw skills install mindgraphA knowledge graph + learnable process engine for OpenClaw. Two core features:
[[wikilinks]] across all workspace filesEvery time you write or edit a markdown file, use [[wikilinks]] for:
[[Alice]], [[Bob]][[my-saas]], [[landing-page]][[Stripe]], [[Vercel]], [[GitHub]][[Knockout Test]], [[B2B SaaS]][[Claude Code]], [[Sonnet]]This is not optional. Links are how knowledge connects. No links = isolated notes = useless.
NEVER use [[wikilinks]] in messages to the user (Telegram, Discord, etc.). Wikilinks are for workspace files only. In conversations, write names plain: "Alice", not "[[Alice]]".
After significant file changes, rebuild the index:
python3 skills/mindgraph/scripts/mindgraph.py index
# Build/rebuild index
python3 skills/mindgraph/scripts/mindgraph.py index
# Query a topic (backlinks + context + connections)
python3 skills/mindgraph/scripts/mindgraph.py query "<name>"
# Backlinks only (what references this?)
python3 skills/mindgraph/scripts/mindgraph.py backlinks "<name>"
# Forward links (what does this link to?)
python3 skills/mindgraph/scripts/mindgraph.py links "<file>"
# Bidirectional connections
python3 skills/mindgraph/scripts/mindgraph.py connections "<name>"
# ASCII tree visualization
python3 skills/mindgraph/scripts/mindgraph.py tree "<name>" [depth]
# Find orphans, dead links, unconnected files
python3 skills/mindgraph/scripts/mindgraph.py orphans
python3 skills/mindgraph/scripts/mindgraph.py deadlinks
python3 skills/mindgraph/scripts/mindgraph.py lonely
# Full statistics
python3 skills/mindgraph/scripts/mindgraph.py stats
MindSkills are repeatable frameworks stored in skills/mindgraph/mindskills/. Each has a defined process and saves results as graph-connected markdown.
# List all learned mindskills
python3 skills/mindgraph/scripts/mindgraph.py skills
# Show a mindskill's process
python3 skills/mindgraph/scripts/mindgraph.py skill <name>
# List results for a mindskill
python3 skills/mindgraph/scripts/mindgraph.py results <name>
When a user asks to run a process (e.g., "run the knockout test on X"), follow this flow:
PROCESS.md for the process definitionskills/mindgraph/mindskills/<name>/results/<subject>.md[[wikilinks]] throughout the result fileResult file template:
---
mindskill: <skill-name>
subject: <what was tested/analyzed>
date: <YYYY-MM-DD>
verdict: <outcome>
aliases: [<aliases>]
---
# [[<MindSkill Name>]]: [[<Subject>]]
<Results following the process defined in PROCESS.md>
## Connections
- Related: [[link1]], [[link2]]
When a user says "learn a mindskill called X" or describes a repeatable process:
# Create a new mindskill
python3 skills/mindgraph/scripts/mindgraph.py learn "<name>"
This creates the directory structure. Then write the PROCESS.md based on the user's description.
A good PROCESS.md contains:
When a user's request matches a learned mindskill, proactively suggest it:
Links match (case-insensitive) against:
[[MEMORY]] → MEMORY.md[[my-saas]] → projects/my-saas/[[Pet Tracker KT]] → knockout test resultaliases: [AV-Check] → [[AV-Check]] resolvesmindgraph.json (workspace root)skills/mindgraph/mindskills/skills/mindgraph/scripts/mindgraph.py