Knowledge Lib for Openclaw

A sophisticated personal knowledge wiki manager that transforms raw links and documents into a structured, cross-referenced Markdown knowledge base.

lifei68801
v1.2.0
Apr 5, 2026
0
971
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install knowledge-lib

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install knowledge-lib using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Knowledge Lib?

Knowledge Lib is a professional-grade personal knowledge management (PKM) tool designed for AI agents to organize information into a structured wiki format. By leveraging Openclaw Skills for automated data processing, it converts disparate sources like research papers, GitHub repositories, and technical blogs into a unified library located at ~/.openclaw/workspace/knowledge/. This skill handles the heavy lifting of categorization, summarization, and metadata management, ensuring your technical knowledge is always accessible and logically organized.

The core value of using Knowledge Lib within the Openclaw Skills ecosystem lies in its ability to maintain a 'living' knowledge base. It doesn't just store files; it synthesizes information into PascalCase concept pages and performs automated contradiction checks. This ensures that as you add new information, the agent identifies when new data challenges existing claims, allowing you to maintain an accurate and high-fidelity secondary brain.

Knowledge Lib Use Cases

  • Researching complex technical topics by aggregating academic papers and industry blogs into a centralized Openclaw Skills workspace.
  • Building a structured secondary brain for engineering projects, startup strategies, or product development.
  • Automating the identification of conflicting information across different technical sources via status lifecycle management.
  • Generating a searchable, cited knowledge base that can be queried naturally to retrieve specific technical insights.

How Knowledge Lib Works

  1. The workflow begins when a user issues a command like add to wiki accompanied by a link or file.
  2. The skill saves the source to a raw directory and logs the operation in a chronological log.md file.
  3. An automated summarization process identifies key points and classifies the content type (e.g., Paper, Project, or Blog).
  4. The agent performs a contradiction check against existing active concepts to ensure knowledge integrity.
  5. New concepts are created as PascalCase Markdown files, or existing ones are updated with new citations and increased source counts.
  6. The skill generates Obsidian-compatible wiki-links and backlinks to create a dense web of related information.
  7. Users can then query the knowledge base or request a wiki status for a comprehensive health check of the library.

Knowledge Lib Setup

To initialize this library within your Openclaw Skills environment, you must ensure the local directory structure is prepared for the agent:

# Create the necessary workspace directories
mkdir -p ~/.openclaw/workspace/knowledge/{raw,wiki,output,wiki/concepts,wiki/summaries,wiki/analyses}

Once the directories are ready, you can immediately begin adding content by telling the agent to add to wiki followed by your source material.

Knowledge Lib Data Schema & Taxonomy

Knowledge Lib utilizes a strict Markdown-based schema with YAML frontmatter to ensure interoperability and clarity. The Openclaw Skills agent manages the following structure:

Directory File Type Purpose
wiki/concepts/ PascalCase.md High-level concept definitions and consolidated points.
wiki/summaries/ YYYY-MM-DD-slug.md Summarized versions of raw source documents.
wiki/analyses/ YYYY-MM-DD-query.md Saved results from complex user queries.
wiki/index.md catalog A refreshed index of all pages within the wiki.
raw/ source files Original documents categorized by topic (ai-llm, engineering, etc.).

All wiki pages include frontmatter tracking created, updated, related concepts, and status (active, superseded, or disputed).

Knowledge Lib Advanced Features

  • Automated contradiction checking that marks old knowledge as disputed when new evidence is introduced via Openclaw Skills workflows.
  • Deep-linting health checks that identify orphan pages, missing frontmatter, or stale claims.
  • Seamless integration with Obsidian through the use of standard wiki-link syntax and PascalCase naming conventions.
  • Intelligent content classification that distinguishes between academic papers, GitHub repos, and commercial blog posts for tailored summarization.
  • Query writeback support where substantial AI-generated answers are automatically archived into the analyses folder for future reference.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*