Openclaw Skills for Agent KB helps you create, maintain, validate, and optimize a repository-local knowledge base for coding agents.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install agent-context-kb
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 agent-context-kb using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Openclaw Skills for Agent KB is a repository-scoped maintenance skill for managing a .agent-kb/ knowledge base designed specifically for coding agents. It focuses on durable, agent-facing project memory: scaffolding the KB, refreshing runtime protocol files, validating structure and routes, compiling inbox notes into stable topics, and trimming stale or redundant content.
Unlike general documentation tooling, this skill is built around a strict separation of concerns between protocol, canon, and maintenance. Openclaw Skills ensures the KB stays compact, reachable, and operational so agents can reliably find the right project knowledge without duplicating human documentation.
.agent-kb/ repository for agent memory and project continuity.agent-kb/plans/current.md--write only for deterministic cleanup..agent-kb/.gitignore and .agent-kb/.kb-meta.yaml aligned with the chosen mode.python3 scripts/agent_kb.py init --root /path/to/repo
python3 scripts/agent_kb.py upgrade --root /path/to/repo
python3 scripts/agent_kb.py validate --root /path/to/repo
python3 scripts/agent_kb.py note --root /path/to/repo --title "Auth session note" --target decisions/active/auth-storage.md --body "Durable fact."
python3 scripts/agent_kb.py compile --root /path/to/repo
python3 scripts/agent_kb.py trim --root /path/to/repo
python3 scripts/agent_kb.py trim --root /path/to/repo --write
python3 scripts/agent_kb.py stats --root /path/to/repo
Openclaw Skills for Agent KB organizes repository knowledge under a .agent-kb/ directory with a strict topical structure and metadata-driven routing.
| Path / File | Purpose | Notes |
|---|---|---|
.agent-kb/start.md |
Canonical durable-knowledge rules | Defines what counts as durable knowledge and the do/don't canon |
.agent-kb/plans/current.md |
Lightweight continuity plan | Stores current focus, milestones, next moves, and open questions |
.agent-kb/routes.yaml |
Canonical route source | Maps tasks to the files agents should read first |
.agent-kb/map.md |
Generated route map | Regenerated when routes change |
.agent-kb/.kb-meta.yaml |
Versioning metadata | Records nested/shared/local mode |
.agent-kb/.gitignore |
Privacy and VCS control | Always excludes .log/ from version control |
Topic files under decisions/, workflows/, etc. |
Durable project knowledge | Must remain reachable from routes or Markdown links |
id: stable route identifiertask: human-readable purpose for the routeread_first: exactly one primary filealso_consider: up to two additional filesinit: scaffold and protocol generationupgrade: conservative refresh of generated filesvalidate: integrity and link checksnote: durable fact capture when destination is uncertaincompile: merge inbox notes into stable topicstrim: reduce redundancy and stalenessstats: report KB health and transcript-derived metricsupgrade behavior to refresh generated scaffold files without unnecessary churnstats output designed for verbatim reporting, including ASCII charts as the deliverableLoading
Karakeep Note Capture lets Openclaw save durable, human-readable notes into Karakeep for later discovery outside chat and local memory.

PriceWin Hotel Price Comparison helps Openclaw Skills agents compare live hotel rates across major OTAs and OpenTravel to find the cheapest bookable option.

Openclaw Skills for PriceWin Flight Search lets agents compare live flight fares across major OTAs with a strict polling workflow and booking links.

PriceWin Hotel Deal Finder uses Openclaw Skills to compare live hotel prices across major OTAs and return the cheapest, best-value, and quality picks in one command.

Xueshu Search is an Openclaw Skills academic search workflow for multilingual paper discovery, citation tracing, DOI lookup, BibTeX export, and AI summaries.

Openclaw Skills helps you decide whether a workflow is suitable for an AI agent and returns practical, best-practice design recommendations.








































