Community编程与开发github.com

知识实体

在授权的内容摄取或实体更新过程中,解析并丰富知识库中的人物、公司、项目和概念,并附有来源、时间线和反向链接。仅限身份查询的只读操作不会触发写操作。

知识实体 是什么?

该技能用于在知识管理系统中解析和丰富实体信息。其核心流程包括:识别源材料中的人物、公司、项目和概念;通过身份解析链确定是重用已有页面、创建新页面还是跳过;为关键和重要实体进行外部查询和数据丰富;生成或更新实体简介,确保每一条事实都有内联引用;最后进行交叉链接和验证。适用平台为基于Markdown的知识图系统(如Clawdbot)。该技能特别强调按重要性缩放投入、杜绝占位符、保留用户撰写的内容,并记录所有不确定或冲突的操作。支持批量操作和证据修复授权。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/extensions/knowledge/skills/knowledge-entities

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

解析并丰富实体

在提问之前先找到实体是谁或是什么,决定它是否值得拥有一个页面,然后编写一份有来源的个人简介并进行双向链接。仅在某个步骤需要时才读取参考资料。所有参考资料在不同知识技能之间保持一致;如果另一个知识技能将您引到这里,不要重新读取您已经读过的参考资料。

  • 设置:始终,首先(状态、本体、搜索)
  • 身份:解析实体;是否创建页面
  • 丰富:层级、要提取的内容、外部查询、批量运行
  • 个人简介:页面结构、创建或更新
  • 写作:在撰写页面正文之前
  • 来源:保留来源并引用它们
  • 断言:关于实体的声明和关系
  • 发布:页面写入和批处理
  • 恢复:任何不确定、被拒绝或冲突的写入
  • 验证:验证和报告
  • 证据修复:仅用于授权的证据集修复

合约

  • 在询问用户或进行外部搜索之前,先检查知识库。仅凭假设提出问题。
  • 没有存根或占位符:每个页面的第一行都要说明它是谁或是什么。
  • 每个事实都有内联引用;每个丰富的页面都链接到其来源,并且来源也链接回来。
  • 根据重要性缩放投入。有疑问时,不要创建页面。
  • 永远不要覆盖用户撰写的评估;用两个引用标记冲突。

步骤

1. 识别实体

列出源中的人物、公司、项目和概念。将实际参与者与提到的第三方区分开来。

完成条件: 每个实体都被标记为参与者、实质性或偶然性。

2. 解析每个实体

运行身份中的解析链。重用现有页面的ID。根据其页面创建规则决定创建、更新或跳过,并选择最合适的已声明本体类型。

完成条件: 每个实体都有一个现有ID、一个带有类型的创建决定或被跳过;模糊的身份被记录为部分或未解析。

3. 收集信号

从源中提取纹理,对于关键和值得注意的实体,查找缺失的信息(丰富)。只有受支持的声明继续;推论保持标记在它们出现的位置。

完成条件: 每个实体都有其受支持的事实和纹理,每个事实都有一个引用,或者有一个没有的理由。

4. 编写

  • 创建: 介绍、状态和第一条时间线,加上只有证据支持的可选部分(个人简介)。
  • 更新: 添加时间线;仅当状态主题的含义发生变化时才编辑;使用knowledge_edit_body进行本地编辑。
  • 仅使用已声明的本体字段;省略未知值。
  • 为独立有用的断言创建声明和有证据支持的关系(断言)。Markdown链接不会创建关系。

完成条件: 每个计划的写入都有一个已发布的回执。

5. 交叉引用

使用观察到的路径链接来源 → 实体和实体 → 来源。当新信号对相关页面有重要意义时,更新它们:从一个人更新到其公司页面,反之亦然;从一个子功能更新到其父项目。

完成条件: 每个关联实体都存在两个方向的链接。

6. 验证

使用双向的预期链接、关联和关系端点运行验证。根据写作和无占位符规则重新读取每个更改的页面。

完成条件: 结构检查通过,每个更改的页面读起来都像一份真实的简报。

报告

向调用方或用户返回已解析的ID、已创建/更新/重用的页面、使用的来源、未解析或部分身份、冲突以及跳过的工作。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills when explicitly requested; install, verify, update, uninstall, publish, or sync skills.

相关技能