← Back to Skills Marketplace
qomg

Knowledge Base SOP

by hormaz · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
46
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install knowledge-base-sop
Description
Knowledge base management SOP for ingesting, archiving, linting, and maintaining a personal wiki knowledge base. Use when processing raw documents, bookmarks...
README (SKILL.md)

Knowledge Base SOP

Directory Structure

  • raw/ — Original, unprocessed materials (web scrapes, bookmark exports, PDFs). Never modify directly.
  • wiki/ — Cleaned, structured core knowledge base (Markdown).
  • outputs/ — Temporary reports, drafts, or exported files.

1. Ingest & Compile

Trigger: New files appear in raw/.

  • Extract core points, entities (names/projects/tech stacks), and logical relationships.
  • Split long text into reasonable paragraphs of structured Markdown (H2/H3 headings, bold key terms).
  • Noise rule: Discard content under 300 words or with no substantive technical/knowledge value. Log the discard.
  • Hallucination guard: Strictly summarize from source. Never fabricate data or conclusions not in the original.

2. Archive

  • File naming: YYYY-MM-DD-core-topic-source.md
  • Obsidian wikilinks: Use [[Concept Name]] for cross-references in wiki pages.
  • Dedup: Before writing, search wiki/ for titles with >90% similarity. If found, append new content as a "supplemental update" at the bottom with a timestamp.
  • See references/archive-rules.md for detailed dedup logic.

3. Bookmark Pipeline

Trigger: raw/bookmarks.html updated.

  1. Parse HTML, extract all \x3Ca> tags (URL, title, meta description).
  2. Headlessly visit each URL to fetch body content (strip ads, nav bars).
  3. Summarize fetched content (≤300 chars), extract 5 keywords.
  4. Generate Markdown cards in wiki/Bookmarks/.
  5. Mark processed entries in the original HTML to prevent re-crawl.

4. Lint & Cleanup

  • Trust levels: All newly ingested wiki pages carry a [[待验证]] tag. Remove only after user confirmation.
  • Dead link detection: Weekly scan of all URLs in wiki/. On HTTP 404 or timeout, add {{dead_link}} marker at page top.
  • Orphan cleanup: Monthly check for pages not linked by any other page. Move to outputs/orphans/.

5. Interaction Constraints

  • Maintain a professional, precise communication style.
  • Before destructive operations (e.g., bulk deletion), present a plan and wait for confirmation.
  • Prioritize local tools. Minimize unnecessary follow-up questions.
Usage Guidance
This skill appears safe to install if you want an agent to help maintain a local personal wiki. Use it on a dedicated KB folder, keep backups or version control, review imported pages before trusting them, and clarify whether raw/bookmarks.html may be modified or should be tracked with a separate processed-state file.
Capability Analysis
Type: OpenClaw Skill Name: knowledge-base-sop Version: 1.0.0 The skill bundle defines a standard workflow for personal knowledge management, including document ingestion, bookmark processing, and wiki maintenance. The instructions in SKILL.md and references/archive-rules.md are transparent, align with the stated purpose, and include safety-oriented constraints such as requiring user confirmation for destructive operations and implementing 'hallucination guards' during summarization.
Capability Assessment
Purpose & Capability
The requested behavior matches a personal knowledge-base workflow: ingest raw material, summarize it into Markdown, deduplicate pages, check links, and maintain wiki folders. Users should still expect local file edits and web requests.
Instruction Scope
The scope is mostly bounded to raw/, wiki/, and outputs/, with confirmation required before destructive operations. One instruction conflicts with the raw/ immutability rule by marking processed entries in the original bookmarks HTML.
Install Mechanism
No install spec, code files, required binaries, environment variables, or credentials are present; this is an instruction-only skill.
Credentials
Network fetching of bookmark URLs and weekly link checks are proportionate to the stated bookmark/wiki maintenance purpose, but users should only run it on intended KB folders and URLs.
Persistence & Privilege
The skill creates and updates persistent Markdown pages and markers inside the local wiki workflow, but it does not request credentials, elevated privileges, background services, or hidden persistence.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install knowledge-base-sop
  3. After installation, invoke the skill by name or use /knowledge-base-sop
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Ingest & compile, archive with dedup, bookmark pipeline, lint & cleanup, trust levels and orphan detection.
Metadata
Slug knowledge-base-sop
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Knowledge Base SOP?

Knowledge base management SOP for ingesting, archiving, linting, and maintaining a personal wiki knowledge base. Use when processing raw documents, bookmarks... It is an AI Agent Skill for Claude Code / OpenClaw, with 46 downloads so far.

How do I install Knowledge Base SOP?

Run "/install knowledge-base-sop" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Knowledge Base SOP free?

Yes, Knowledge Base SOP is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Knowledge Base SOP support?

Knowledge Base SOP is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Knowledge Base SOP?

It is built and maintained by hormaz (@qomg); the current version is v1.0.0.

💬 Comments