skill
clawtree
π³ Talent tree + knowledge graph for OpenClaw skills β audit, gap analysis, semantic search, evolve
Set up
Skills are installed by placing their folder where your agent loads skills.
The download comes from github.com/Gzeu/clawtree itself, not from our server, so what you get is exactly what its author published.
Install instructions come from the README
README
synced Oct 23, 2026π³ ClawTree
The OpenClaw skill that grows your skills.
Audit β Gap Analysis β Talent Tree β Knowledge Graph β Evolve
What it does
clawtree is a meta-skill for the OpenClaw ecosystem: it manages, recommends, and evolves your skill collection using a talent-tree model, a semantic knowledge graph, and a persistent Gardener memory layer that survives across agent restarts.
/inception "web scraping" β full audit + gap analysis + 3 install variants
/tree show β ASCII talent tree with live XP bars
/tree branch add {"name":"crypto",...} β add your own custom branch
/graph search "monitoring" β semantic search (offline, no API key)
/graph path <slug> β shortest path to any skill (Dijkstra)
/fleet sync β merge all agent trees into shared fleet tree
/slots add * on_evolve flush_memory β auto-flush on every evolution
/remember β flush memory before context compaction
Quick install
clawhub install clawtree
Or manually:
git clone https://github.com/Gzeu/clawtree
cp -r clawtree/skills/clawtree ~/path/to/your/openclaw/skills/
Architecture
clawtree/
βββ π Inception Engine audit + gap + 3 variants automatically
βββ π³ Talent Tree DAG of skills with XP + auto-evolution
β βββ AUTO mode agent recommends and installs at threshold
β βββ MANUAL mode full user control
β βββ HYBRID mode auto-recommend, manual approve (default)
β βββ Custom branches via config.json or branches/*.json
βββ π§ Knowledge Graph semantic search + Dijkstra pathfinding
β βββ Xenova/all-MiniLM offline embeddings, 23 MB, no API key
β βββ Mermaid renderer flowchart auto-generated in reports/
βββ πΎ Gardener Memory XP survives restarts via MEMORY.md
β βββ Summary Layer MEMORY.md β always loaded at session start
β βββ Detail Layer memory/YYYY-MM-DD.md β lazy daily logs
βββ π Fleet Tree (V3) multi-agent shared talent tree
β βββ fleetRegistry register/list agents globally
β βββ sharedTree ~/.clawtree/fleet-tree.json (max-wins merge)
β βββ fleetSync push/pull between personal and fleet
βββ π§ Conditional Slots (V3) event-driven rule engine
βββ Triggers on_use | on_install | on_evolve | on_chain | *
βββ Actions notify | auto_install | unlock_branch | flush | emit
File structure
skills/clawtree/
βββ index.ts command router
βββ skill.json ClawHub manifest (triggers + lifecycle)
βββ SKILL.md OpenClaw manifest
βββ config.example.json default config + custom_branches example
βββ src/
β βββ tree/ (8 files) SkillTree, Manager, Evolver, Recommender,
β β Renderer, Persistence, ConfigLoader, BranchLoader
β βββ memory/ (4 files) Gardener, SummaryIndex, DetailLayer, MemoryFlush
β βββ graph/ (6 files) KnowledgeGraph, SemanticSearch, Pathfinder,
β β Mermaid, Persistence, Enricher
β βββ safety/ (2 files) PermissionsGate, InjectionHeuristics
β βββ audit/ (1 file) localClawhub (Inception Engine)
β βββ fleet/ (4 files) FleetRegistry, SharedTree, FleetSync, GardenerAgent
β βββ slots/ (3 files) ConditionalSlots, SlotEngine, SlotPersistence
βββ tests/ (9 suites) tree, pathfinder, safety, memory, recommender,
β integration, fleet, slots, branches
βββ branches/ (optional) drop custom branch .json files here
βββ docs/
βββ architecture.md full system architecture
βββ talent-tree.md branch reference, XP rules, modes
βββ knowledge-graph.md edge types, semantic search, pathfinding
βββ memory.md Gardener two-layer memory system
βββ fleet.md Fleet Tree: multi-agent shared tree
βββ slots.md Conditional Slots: event-driven rules
βββ custom-branches.md User-defined branches guide
All commands
| Command | Description |
|---|---|
/inception <query> | Audit + gap analysis + 3 install variants |
/tree show | ASCII talent tree with XP bars |
/tree recommend | Top 5 recommendations + 30-day history boost |
/tree install <slug> | Install a skill with XP tracking |
/tree mode auto|manual|hybrid | Change management mode |
/tree evolve <slug> | Force evolution check |
/tree branch list | List all custom branches |
/tree branch add <json> | Add a user-defined branch |
/tree branch remove <name> | Remove a custom branch |
/graph show | Mermaid flowchart β reports/skill-graph.md |
/graph search <query> | Hybrid semantic + keyword search |
/graph path <slug> | Shortest path to a skill (Dijkstra) |
/graph subgraph <slug> | BFS depth-2 neighbourhood |
/graph recommend <query> | Semantic recommendations + path |
/remember | Flush MEMORY.md manually |
/gardener stats | Usage stats + top skills + total XP |
/gardener flush | Force flush to MEMORY.md |
/fleet status | Show registered agents + fleet summary |
/fleet sync | Merge all agents into shared fleet tree |
/fleet pull | Upgrade personal tree from fleet |
/fleet push | Contribute personal tree to fleet |
/fleet register <name> <path> | Register an agent |
/fleet list | List all registered agents |
/slots list | List all conditional slots |
/slots add <slug> <trigger> <action> | Create a conditional slot |
/slots remove <id> | Remove a slot by ID |
/slots fire <event> <slug> | Manually test a slot trigger |
Talent Tree β Branches
| Branch | Skills | Unlocked by |
|---|---|---|
| π± Foundation | clawtree β clawhub-cli β clawguard β skillscan β publisher | Always |
| π Web Intelligence | decodo β web-monitor β amadeus β web-oracle | skill-clawhub |
| π Blockchain & Web3 | multiversx-wallet β nft-monitor β defi-tracker β on-chain-oracle | skill-clawhub |
| π‘οΈ Security & Trust | blocklist β prime-auditor β supply-chain β trust-oracle | clawguard |
| π€ AI & LLM | model-router β rag-pipeline β prompt-chain β multi-agent | skill-clawhub |
| π Data & Analytics | csv-processor β data-pipeline β analytics β insight-oracle | skill-clawhub |
| βοΈ DevOps & Infra | tautulli β rlm-controller β ci-guardian | skill-clawhub |
| π‘ Comms | notifier β router β comms-oracle | skill-clawhub |
| β¨ Custom | (your branches) | config.json or branches/*.json |
Custom Branches
Extend the talent tree without touching core code. Add a custom_branches key to your config.json:
{
"custom_branches": [
{
"name": "crypto-trading",
"label": "πΉ Crypto Trading",
"nodes": [
{ "slug": "binance-api", "name": "Binance API", "description": "Real-time spot data", "tier": 1 }
]
}
]
}
Or drop a .json file in branches/. See docs/custom-branches.md for the full guide.
Safety
ClawTree's PermissionsGate checks every skill before install:
- Skills requesting
shell + filesystem + networksimultaneously require explicit user confirmation - Unknown permission strings are blocked by default
InjectionHeuristics scans all user queries and skill metadata for 10 prompt-injection patterns before executing any command.
OpenClaw lifecycle hooks
"lifecycle": {
"onSessionStart": "gardener.boot",
"onMemoryFlush": "gardener.flush"
}
Your XP state is automatically restored at session start and saved before context compaction. No manual /remember needed for normal operation.
Docs
docs/architecture.mdβ full system architecturedocs/talent-tree.mdβ branch reference, XP rules, modesdocs/knowledge-graph.mdβ graph model, edge types, semantic searchdocs/memory.mdβ Gardener two-layer memorydocs/fleet.mdβ Fleet Tree: multi-agent shared treedocs/slots.mdβ Conditional Slots: event-driven rulesdocs/custom-branches.mdβ User-defined branches guideCHANGELOG.mdβ full release notes
Contributing
See CONTRIBUTING.md. Open a New Branch Idea issue to propose new skill branches.
After your first contribution, weβll add you to the contributors list. β€οΈ
Roadmap
- V1 β Gardener Memory (XP survives restarts)
- V2 β Knowledge Graph (semantic search + Dijkstra + Mermaid)
- V3 β Fleet Tree (multi-agent shared tree + Conditional Slots)
- ClawHub publish automation via CI
- User-defined branches via
config.json - Fleet Web UI (dashboard for multi-agent view)
License
MIT Β© 2026 Gzeu β contributions welcome π³