Knowledge-Base
结构化 Markdown 知识库管理协议。在知识库中新增、整理、搜索笔记和项目。匹配:在知识库中记笔记/归档/整理/搜索/创建项目/写日报/写周报/记录外部来源/沉淀概念或问题模型/知识库体检。当用户提到知识库操作、笔记管理、知识库健康检查时触发。默认推荐结构见正文,实际目录/命名/脚本等由 references... Skill: Knowledge-Base Owner: otweihan Summary: 结构化 Markdown 知识库管理协议。在知识库中新增、整理、搜索笔记和项目。匹配:在知识库中记笔记/归档/整理/搜索/创建项目/写日报/写周报/记录外部来源/沉淀概念或问题模型/知识库体检。当用户提到知识库操作、笔记管理、知识库健康检查时触发。默认推荐结构见正文,实际目录/命名/脚本等由 references... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-22T08:11:09.184Z | user Initial release: Core protocol + Recommended conventions + HanSphere reference Archive index: Archive v1.0.0: 4 files, 8968 bytes Files
Rank
62
Safety
84
Downloads
1.0k
Updated
Oct 11, 2026
Version
1.0.0
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 11, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 11, 2026
- Adoption signal
- 1K downloadsadoption · observed Oct 11, 2026
- Latest release
- 1.0.0release · observed Apr 22, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17a8ggj4c58kym3w767mysxhs83gdhe:md-knowledge-base- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-otweihan-md-knowledge-base/snapshot"
Run-check
$0.02 USD1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.
Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.
Documentation
CLAWHUB
12,815 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
---
name: knowledge-base
description: "结构化 Markdown 知识库管理协议。在知识库中新增、整理、搜索笔记和项目。匹配:在知识库中记笔记/归档/整理/搜索/创建项目/写日报/写周报/记录外部来源/沉淀概念或问题模型/知识库体检。当用户提到知识库操作、笔记管理、知识库健康检查时触发。默认推荐结构见正文,实际目录/命名/脚本等由 references/ 配置文件定义。"
---
# Knowledge-Base 知识库协议
结构化 Markdown 知识库的最小公共管理协议,通过 references/ 适配具体知识库。
本文档分为两层:
- **核心协议**:所有知识库都应遵守的最小公共约定
- **推荐实践**:默认最佳实现,可由 references 覆盖或替换
## 知识库根路径
由 references/ 配置文件定义。默认参考:[references/hansphere.md](references/hansphere.md)
## 目录约定
### 默认推荐结构
默认推荐采用以下分层结构,具体路径和目录命名以 references 配置为准:
```
知识库根目录/
├── README.md # 仓库总览
└── Notes/
├── 00-Inbox/ # 临时收集箱
├── 01-Daily/ # 日报/工作日志
├── 02-Sources/ # 外部来源
│ └── Fulltext/ # 全文存档
├── 03-Concepts/ # 通用概念
├── 04-Issues/ # 问题模型
├── 05-Projects/ # 项目资料
├── 06-Architecture/ # 架构设计
├── 07-Patterns/ # 工作方法
├── 08-Reviews/ # 复盘总结
├── 09-Indexes/ # 索引导航
├── 10-Operations/ # 操作日志+体检
├── 98-Templates/ # 模板库
└── 99-Archive/ # 归档区
```
各目录职责:
- **Inbox** → 临时收集,定期清理
- **Daily** → 当天事实记录
- **Sources** → 外部文章/资料(摘要+全文)
- **Concepts** → 可复用知识点
- **Issues** → 故障排查记录
- **Projects** → 项目资料(个人+公司统一管理)
- **Architecture** → 架构决策/ADR
- **Patterns** → 工作方法/SOP
- **Reviews** → 周报/月报/阶段复盘
- **Indexes** → 索引导航
- **Operations** → 操作日志+体检报告
- **Templates** → 笔记模板
- **Archive** → 长期归档
> 上述目录结构与职责为默认推荐映射,实际目录和职责边界以 references 配置为准。
## 执行流
### 轻量流
**适用**:Daily / Inbox / 已知文件更新 / 小修订
```
1. 判断目标文件
2. 套用已有模板/结构
3. 写入或更新
4. 回写 updated
5. 核心必检 6 项
6. 必要时补 ops
```
### 标准流
**适用**:新建 Issue/Concept/Pattern/Project / 归档/迁移 / 批量整理 / 建索引
```
1. 搜索防重复
2. 判断类型
3. 读取规则(首次进入该类型时读目录 README + 模板;同会话内沿用上下文)
4. 创建/更新
5. 补关联字段
6. 回写 updated
7. 追加 ops(按工作批次收口)
8. 判断索引更新(延迟触发)
9. 完整质量清单
```
### 规则上下文缓存
- 首次处理某类型笔记时,读取目录 README 和模板
- 同会话内同类型连续处理,沿用上下文,不重复读取
## 核心协议
以下规则适用于所有知识库:
### 1. 语义类型判定
新输入按以下语义角色判断类型(语义类型到实际目录的映射由 references 定义):
| 语义角色 | 含义 | 默认目录 |
| --- | --- | --- |
| **时序记录** | 当天/当期事实记录 | Daily |
| **临时收集** | 尚未分类的新输入 | Inbox |
| **来源资料** | 外部文章、书籍、课程 | Sources |
| **概念知识** | 可复用的原理/机制 | Concepts |
| **问题排查** | 具体故障的排查结论 | Issues |
| **项目资料** | 项目需求、设计、变更记录 | Projects |
| **决策设计** | 架构决策、技术选型 | Architecture |
| **方法流程** | 可复用的工作方法/SOP | Patterns |
| **复盘总结** | 周期性归纳和回顾 | Reviews |
| **导航索引** | 专题汇总、快速跳转 | Indexes |
**边界裁决**:
- 问题排查 围绕"具体故障/排查结论";概念知识 围绕"原理/机制"
- 外部文章即使和项目强相关,仍先进 Sources,再在 `related` 关联项目
- 临时收集 内容 7 天内必须归档或删除
- 时序记录 中出现可复用结论/排障闭环/架构决策/流程优化时,必须升格为长期笔记
### 2. 防重复搜索
新建**长期知识类**笔记前必须搜索同主题已有内容:
| 风险级别 | 语义类型 | 要求 |
| --- | --- | --- |
| **长期知识类(必须搜索)** | 问题排查 / 概念知识 / 方法流程 / 项目正式文档 | 文件名 + 正文 |
| **中期资料类(推荐搜索)** | 来源资料 / 决策设计 / 复盘总结 | 文件名 |
| **临时记录类(可跳过)** | 时序记录 / 临时收集 / 已知更新 | 不强制 |
已有内容高度重合 → 更新旧文档,不新建。
### 3. 相对链接
- 知识库内部使用可点击的 Markdown 相对链接:`[简短说明](相对路径)`
- 禁止使用绝对本地路径
### 4. 更新回写
- 每次修改笔记必须回写 `updated` 字段为当天日期
- `created` 仅在首次创建时设置,后续不修改
### 5. 不写敏感信息
- 不写入密码、Token、API Key、基础设施私钥、客户隐私或商业机密
### 6. 核心必检 6 项
每次写入后检查:
- [ ] 路径_meta.json
{
"ownerId": "kn79jc77vp4h1eqgma3p5ag16183d9rc",
"slug": "md-knowledge-base",
"version": "1.0.0",
"publishedAt": 1776845469184
}references/hansphere.md
# HanSphere 知识库参考
本文件存放 HanSphere-specific 配置,供 `knowledge-base` skill 在 HanSphere 环境下加载。
## 根目录
- 本地根目录:`D:\HanSphere`
- 仓库名称:`HanSphere`
- 笔记格式:Markdown (.md)
- 默认编辑器:VS Code
- 正文语言:中文
- 目录命名:英文
## 知识库路径
```
D:\HanSphere/
├── README.md # 仓库总览
└── Notes/
├── 00-Inbox/ # 收集箱 (临时)
├── 01-Daily/ # 日报 (按月分子目录)
├── 02-Sources/ # 外部来源 (文章/资料)
│ └── Fulltext/ # 全文存档
├── 03-Concepts/ # 通用概念 (按领域分子目录)
├── 04-Issues/ # 问题模型
├── 05-Projects/ # 所有项目 (个人+公司)
├── 06-Architecture/ # 架构设计
├── 07-Patterns/ # 工作方法 (SOP)
├── 08-Reviews/ # 复盘总结 (周报/月报)
├── 09-Indexes/ # 索引导航
├── 10-Operations/ # 操作日志+体检报告
├── 98-Templates/ # 模板库
└── 99-Archive/ # 归档区
```
## 命名规范
| 类型 | 格式 | 示例 |
| --- | --- | --- |
| Inbox | `INBOX-YYYYMMDD-Title.md` | `INBOX-20260422-MeetingNotes.md` |
| Daily | `DAILY-YYYY-MM-DD.md` | `DAILY-2026-04-22.md` |
| Source | `SRC-Topic-YYYY-MM-DD.md` | `SRC-Harness-Engineering-Implementation-2026-04-22.md` |
| Source Fulltext | `SRC-Topic-Fulltext-YYYY-MM-DD.md` | `SRC-xxx-Fulltext-2026-04-22.md` |
| Concept | `CONCEPT-Domain-Topic.md` | `CONCEPT-JVM-GC.md` |
| Issue | `ISSUE-System-Problem.md` | `ISSUE-MySQL-ConnectionTimeout.md` |
| Project | `PRJ-Project-Name/` | `PRJ-WeaveHan-Blog/` |
| Architecture | `ARCH-Topic.md` | `ARCH-Microservices-Decomposition.md` |
| Pattern | `PATTERN-Scenario.md` | `PATTERN-RetryWithBackoff.md` |
| Review | `YYYY-Www-WeeklyReview-MMDD-MMDD.md` / `YYYY-MM-MonthlyReview.md` | `2026-W14-WeeklyReview-0331-0406.md` |
| Index | `INDEX-Domain.md` | `INDEX-Overview.md` |
| Ops-Log | `ops-YYYY-MM-DD.md` | `ops-2026-04-22.md` |
| Lint-Report | `LINT-YYYY-MM-DD-NNN.md` | `LINT-2026-04-22-001.md` |
## 操作日志路径
- `D:\HanSphere\Notes\10-Operations\logs\ops\ops-YYYY-MM-DD.md`
- `D:\HanSphere\Notes\10-Operations\logs\wiki-health\lint-YYYY-MM-DD.log`
- `D:\HanSphere\Notes\10-Operations\reports\wiki-health\LINT-YYYY-MM-DD-NNN.md`
## 操作日志模板
```markdown
# 操作日志 - YYYY-MM-DD
- **日期:** YYYY-MM-DD
- **操作人:** <AI 名称>
- **触发:** 用户请求/主动执行/其他
## 操作记录
### HH:MM - 操作简述
- **新建:** [路径](路径) - 说明
- **修改:** [路径](路径) - 说明
```
## 体检脚本
```powershell
node D:\HanSphere\Notes\10-Operations\tools\wiki-lint.js
```
可通过环境变量 `NOTES_DIR` 指定扫描目录。
## 项目目录结构
```
PRJ-Project-Name/
├── 00-Index/
│ └── INDEX.md # 项目唯一入口(不创建 README.md)
├── 01-Overview/
│ └── Project-Overview.md
├── 02-Requirements/ # 需求文档(可选)
├── 03-Architecture/ # 架构设计(可选,含 Database/ 子目录)
├── 04-Modules/ # 模块结构(可选)
├── 05-Source-Materials/ # 原始资料(可选)
├── 06-Interfaces/ # 接口文档(可选)
├── 07-Data/ # 数据样例、字段映射、导入导出(可选)
├── 08-Environments/ # 环境配置(可选)
├── 11-Issues/ # 项目问题(可选)
├── 12-Change-Logs/ # 变更记录
├── 13-Todos/ # 待办(可选)
├── 14-Decisions/ # 决策记录(可选)
└── 15-Reviews/ #skill-card.md
## Description: Knowledge-Base guides agents through creating, organizing, searching, and maintaining a structured Markdown knowledge base. This skill is ready for commercial/non-commercial use. ## Publisher: [otweihan](https://clawhub.ai/user/otweihan) ### License/Terms of Use: MIT-0 ## Use Case: Developers, knowledge workers, and agent users use this skill to manage notes, project records, source material, daily logs, and knowledge-base health checks in a structured Markdown repository. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The Git workflow can commit and push the entire configured repository, including unrelated or sensitive files. Mitigation: Require git status and staged diff review, stage only intended paths, and ask for approval before any git push. Risk: Knowledge-base repositories may contain private drafts, credentials, local configuration, or unrelated files. Mitigation: Review the skill before installation and use placeholders instead of writing passwords, tokens, API keys, private keys, customer privacy data, or commercial secrets. ## Reference(s): - [HanSphere Knowledge-Base Reference](references/hansphere.md) - [ClawHub Skill Page](https://clawhub.ai/otweihan/skills/md-knowledge-base) ## Skill Output: **Output Type(s):** [Text, Markdown, Shell commands, Configuration guidance] **Output Format:** [Markdown guidance with note structures, relative links, file naming rules, and shell command examples] **Output Parameters:** [1D] **Other Properties Related to Output:** [Chinese-language knowledge-base conventions with repository-specific reference configuration.] ## Skill Version(s): 1.0.0 (source: server release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/otweihan/skills/md-knowledge-base",
"sourceUrl": "https://clawhub.ai/otweihan/skills/md-knowledge-base",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T19:10:10.855Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-otweihan-md-knowledge-base/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-otweihan-md-knowledge-base/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-11T19:10:10.855Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "1K downloads",
"href": "https://clawhub.ai/otweihan/md-knowledge-base",
"sourceUrl": "https://clawhub.ai/otweihan/md-knowledge-base",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-11T19:10:10.855Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.0",
"href": "https://clawhub.ai/otweihan/md-knowledge-base",
"sourceUrl": "https://clawhub.ai/otweihan/md-knowledge-base",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-22T08:11:09.184Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-otweihan-md-knowledge-base/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-otweihan-md-knowledge-base/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.0",
"description": "Initial release: Core protocol + Recommended conventions + HanSphere reference",
"href": "https://clawhub.ai/otweihan/md-knowledge-base",
"sourceUrl": "https://clawhub.ai/otweihan/md-knowledge-base",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-04-22T08:11:09.184Z",
"isPublic": true
}
]
}Record generated Oct 11, 2026.
For crawlers
This page is free to read. The run-check above is the only paid part, and it answers HTTP 402 until it is paid. Everything else here is public.
- One record, as JSON: card, facts, snapshot, contract, trust.
- Every agent, one feed: /.well-known/ai-catalog.json
- What this site sells, and the price: /.well-known/x402
- Paid run-check: /api/v1/agents/clawhub-otweihan-md-knowledge-base/run-check
