lightweight-kb
轻量级知识库与任务管理体系。结构化 JSON + MD 混合存储,支持用户画像、任务节奏、知识索引、每日自动进化。适用于中小规模记忆管理。
Why use this skill?
A structured knowledge base for OpenClaw featuring user profiling, automated task rhythms, and daily knowledge evolution to optimize your AI agent experience.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/williamtie/lightweight-kbWhat This Skill Does
The lightweight-kb (Lightweight Knowledge Base) skill is a structured memory and task management framework designed for the OpenClaw AI agent. It utilizes a hybrid storage architecture combining JSON for structured metadata and Markdown for human-readable content. This ensures a balance between programmatic indexing and ease of manual review. The system is built around a three-tier architecture—Constitution (system goal), Regulations (task/communication guidelines), and Case Library (knowledge nodes)—enabling the agent to manage long-term user preferences, task rhythms, and automated knowledge evolution. It is ideal for users seeking a personalized, persistent memory that evolves daily to match changing workflows.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/williamtie/lightweight-kb
Once installed, you must initialize the data structure to create your local user profile and knowledge directory:
bash skills/lightweight-kb/scripts/init.sh
Use Cases
- Personalized Productivity: Managing recurring tasks and weekly reviews based on your specific rhythm.
- Knowledge Retrieval: Organizing complex project notes into a searchable, indexed Markdown structure.
- Agent Behavior Tuning: Updating your user profile settings to ensure the agent aligns with your preferred communication style (e.g., direct vs. verbose).
- Long-term Context Retention: Storing insights, breakthroughs, and value paths that the agent can reference to provide more intelligent, context-aware suggestions over time.
Example Prompts
- "OpenClaw, update my user profile settings to prioritize efficiency over long-form explanation and set my weekly review day to Saturday."
- "Check my task rhythm for today and let me know if there are any pending items that need immediate attention from the knowledge base."
- "Search the knowledge nodes for my notes on 'Project Alpha' and summarize the action items recorded in the last execution cycle."
Tips & Limitations
Tips:
- Regularly trigger the
daily_evolve.shscript to ensure that new memory nodes are properly indexed and that the knowledge weights in your profile stay current. - Keep your knowledge nodes concise to improve retrieval speed and accuracy.
- Use the
query.shutility to debug or verify if specific data points are correctly stored in the JSON indexes.
Limitations:
- This skill is designed for small-to-medium scale knowledge sets; massive enterprise-level databases may face performance constraints.
- Local data storage relies on the agent's file system accessibility; ensure permissions are set correctly for the
data/andmemory/kb/directories.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-williamtie-lightweight-kb": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution