Knowledge Lib

👤 lifei68801 📦 v1.2.0 ⭐ 4.2 ⬇️ 800 下載
📚 知識管理 免費

📖 技能介紹


name: knowledge-lib displayName: Knowledge Lib description: > Personal knowledge wiki manager. Organizes notes into structured .md wiki with concept pages, summaries, and cross-references. Activate when user says "add to wiki", asks to query knowledge base, or mentions "knowledge base". version: 1.2.0 metadata: permissions: - file:read - file:write behavior: network: none telemetry: none credentials: none


Knowledge Lib

Personal knowledge wiki at ~/.openclaw/workspace/knowledge/.

Quick Start

  1. User says "add to wiki" with a link or file → agent saves + summarizes it
  2. User says "look up X" → agent searches wiki pages and answers with citations
  3. User says "wiki status" → agent reports wiki health stats

Directory Structure

knowledge/
├── raw/<category>/        # Source documents (read-only)
├── wiki/
│   ├── index.md           # Content catalog (refreshed on every write)
│   ├── log.md             # Chronological operation log (append-only)
│   ├── concepts/          # Concept pages (PascalCase: Self-Distillation.md)
│   ├── summaries/         # Document summaries (date-slug.md)
│   └── analyses/          # Query writeback results (date-query-slug.md)
└── output/                # Generated outputs (slides, charts)

Categories: ai-llm, engineering, products, startups

Schema Conventions

Frontmatter (all wiki pages)

---
created: YYYY-MM-DD
updated: YYYY-MM-DD
related: [[Concept-A]], [[Concept-B]]
sources: N
tags: [tag1, tag2]
status: active        # active | superseded | disputed
---

Naming Rules

  • Concepts: PascalCase → Self-Distillation.md, RAG.md
  • Summaries: YYYY-MM-DD-<slug>.md
  • Analyses: YYYY-MM-DD-query-<slug>.md

Cross-references

  • Wiki-links: [[ConceptName]] (Obsidian compatible)
  • Source citation: [[YYYY-MM-DD-summary-slug]]
  • Dispute mark: ⚠️ [[ConceptName#disputed]] when new data challenges old claims

Status Lifecycle

  • active → current knowledge
  • superseded → newer source proved this wrong (keep with link to replacement)
  • disputed → conflicting evidence, needs resolution

Content Type Guide

When user sends a link or document, classify by content type:

Type Indicators
Paper arxiv.org, paperswithcode.com, huggingface.co/papers
Project github.com repos
Blog medium.com, substack.com, tech blogs
Company post openai.com/blog, anthropic.com/news, deepmind.google
Product producthunt.com, techcrunch.com

Action: save to raw/<category>/, then summarize and link concepts.

Workflow

Save (trigger: user command "add to wiki")

  1. Read the provided content or link
  2. Save to raw/<category>/YYYY-MM-DD-<slug>.md with frontmatter
  3. Log in log.md: ## [YYYY-MM-DD] save | <Title> | <category>
  4. Proceed to Summarize step

Summarize (trigger: after save)

  1. Read the raw document, identify key points
  2. Write summary to wiki/summaries/YYYY-MM-DD-<slug>.md
  3. Contradiction check: Compare new claims against existing active concepts
  4. If conflict: mark old as disputed, link both pages
  5. If reinforcement: update existing page, increment sources
  6. Create or update wiki/concepts/<Concept>.md

    7w4.net提供免費和付費技能下載。

  7. Add [[backlinks]] between related concept pages
  8. Refresh index.md
  9. Log: ## [YYYY-MM-DD] summarize | <Title> | touched N pages

Query (trigger: user asks "look up X")

  1. Search wiki/concepts/ and wiki/summaries/ for matches
  2. Answer with source citations
  3. If the answer is substantial → write to wiki/analyses/ and update links
  4. Log: ## [YYYY-MM-DD] query | <Topic> | sources: N

Health Check (trigger: user says "wiki status")

  1. Count unprocessed raw docs, orphan pages, missing frontmatter
  2. Report stats summary
  3. Optionally do deep-lint: contradiction scan, stale claims, missing concepts

Quick Commands

User says Action
"add to wiki" + link/file save → summarize
"look up X" query wiki
"wiki status" health check
"deep check" full lint

Templates

Concept Page

---
created: YYYY-MM-DD
updated: YYYY-MM-DD
related: [[Concept-A]], [[Concept-B]]
sources: N
tags: [category]
status: active
---
# Concept Name

## Definition
One sentence.

## Key Points
- ...

## Contradictions
- ⚠️ [[YYYY-MM-DD-summary-slug]] challenges: <brief>

## Sources
- [[YYYY-MM-DD-summary-slug]]

Summary Page

---
source: <URL>
category: <category>
concepts: [[Concept-A]], [[Concept-B]]
imported: YYYY-MM-DD
---
# Title

## Core Points
- ...

## Key Data
- ...

Analysis Page

---
created: YYYY-MM-DD
query: <Original question>
concepts: [[Concept-A]], [[Concept-B]]
sources: N
---
# <Question Summary>

## Answer
...

## Key Insights
- ...

🤖 AI 評測

這個 Skill 整體質量不錯,文件寫得很詳細,功能設計也很系統化。它能幫你管理個人知識庫,支援儲存網頁、生成摘要、查詢檢索、質量檢查等操作。優點是結構規範、使用簡單,缺點是目前只是基礎框架,缺少一些高階功能,實際使用可能還需要手動調整一些細節。適合對知識管理有需求且願意花時間配置的使用者。

📊 多維度評分

適應性4.4
規範性4
有效性4.2
可靠性4.4
可信度4.3

📁 包含檔案 (7 個)

📄 SKILL.md 4.8 KB
📄 _meta.json 132 B
📄 compile.sh 1.1 KB
📄 health.sh 1.3 KB
📄 ingest.sh 1.3 KB
📄 lint.sh 3.9 KB
📄 update-index.sh 2.8 KB