npx skills add https://github.com/bukzor/bukzor-agent-skills --skill llm-discourse-graph--- # workaround: anthropics/claude-code#13005 setup: | 所有依赖此技能的项目都应在 CLAUDE.md 前言中包含:
```yaml
--- # workaround: anthropics/claude-code#13003
requires:
- Skill(llm-discourse-graph)
```
用于人机协作知识管理的认知知识图谱。基于 llm.kb 模式构建。对"我们相信什么、为什么相信、置信度如何以及来源何处"进行建模。
| 集合 | 内容 |
|---|---|
questions.kb/ | 构成调查结构的开放式询问 |
claims.kb/ | 命题性断言——观察到的或假设的 |
deductions.kb/ |
--- # workaround: anthropics/claude-code#13005 setup: | All projects that depend on this skill should have as CLAUDE.md frontmatter:
```yaml
--- # workaround: anthropics/claude-code#13003
requires:
- Skill(llm-discourse-graph)
```
Epistemic knowledge graph for collaborative human-LLM knowledge management. Built on the llm.kb pattern. Models what we believe, why, how confidently, and where it comes from.
| Collection | What it holds |
|---|---|
questions.kb/ | Open inquiries that structure investigation |
claims.kb/ | Propositional assertions — observed or hypothesized |
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
| 结构化推理——蕴含或反驳结论的前提 |
sources.kb/ | 来源引用(论文、报告、证词) |
definitions.kb/ | 术语含义——范围、边界、用法 |
细化使用标准的 llm.kb 嵌套约定:$ITEM.kb/ 作为 $ITEM.md 的同级目录。子作用域包含相同的五种集合类型(仅包含需要的类型)。项目根目录本身是一个隐式作用域。
大多数节点 不应 进行细化。通常情况是:几行正文文本加上指向其他节点的前言引用。
父节点 就是 摘要。当子作用域得到解决时(例如问题得到解答),相应地更新父节点的状态和正文。
交叉引用使用集合相对路径:claims.kb/conways-law.md。解析过程向上遍历祖先作用域直到找到匹配项,直至项目根目录。
五个 $COLLECTION.jsonschema.yaml 文件,放置在其管理的集合旁边。请参阅此技能目录中的 schemas/。
交叉引用是 YAML 前言中的路径(claims.kb/x.md)。认知元数据(状态、可能性、类型)跟踪每个节点的状态。问题的状态由字段存在性推导而来:resolved 表示已解答,candidate-resolutions 表示正在调查中,两者皆无表示新/开放。完整的字段定义请参阅模式。
问题由断言解答。断言由推论支持。推论将其他断言作为前提。
question
candidate-resolutions: [claim]
↑ conclusion
deduction
premises: [claim, claim, ...]
candidate-resolutions 指向 断言,而非推论conclusion 指向 断言或推论,而非问题depends 表示"需要来自...的上下文",不暗示支持或反驳schemas/ 链接或复制 $COLLECTION.jsonschema.yaml 模式文件sources.kb/ 和 questions.kb/ 开始candidate-resolutions 将问题连接到断言,通过 conclusion/premises 将断言连接到推论从源文档提取话语图时:
dependsls */ # 存在哪些集合
grep -rL "resolved:" questions.kb/*.md # 开放问题
cat claims.kb/some-claim.md # 阅读一个断言
ls claims.kb/some-claim.kb/ # 有细化吗?
grep -l "status: contested" claims.kb/*.md # 查找有争议的知识
关于集合类型、词法作用域、细化约定、术语、相似性分组和开放世界假设的决策记录,请参阅 docs/dev/adr/。
每周安装数
1
仓库
首次出现
今天
安全审计
安装于
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
deductions.kb/ | Structured inference — premises that entail or contradict a conclusion |
sources.kb/ | Provenance references (papers, reports, testimony) |
definitions.kb/ | What terms mean — scope, boundaries, usage |
Elaboration uses the standard llm.kb nesting convention: $ITEM.kb/ as a sibling of $ITEM.md. Sub-scopes contain the same five collection types (only those needed). The project root is itself an implicit scope.
Most nodes should NOT have elaboration. A few sentences of body text with frontmatter references to other nodes is the normal case.
The parent node IS the summary. When a sub-scope resolves (e.g. a question is answered), update the parent node's status and body accordingly.
Cross-references use collection-relative paths: claims.kb/conways-law.md. Resolution walks up ancestor scopes until a match is found, up to project root.
Five $COLLECTION.jsonschema.yaml files, placed alongside the collections they govern. See schemas/ in this skill directory.
Cross-references are paths in YAML frontmatter (claims.kb/x.md). Epistemic metadata (status, likelihood, kind) tracks the standing of each node. Questions derive their state from field presence: resolved means answered, candidate-resolutions means under investigation, neither means new/open. See the schemas for the complete field definitions.
Questions are answered by claims. Claims are supported by deductions. Deductions draw on other claims as premises.
question
candidate-resolutions: [claim]
↑ conclusion
deduction
premises: [claim, claim, ...]
candidate-resolutions points to claims , not deductionsconclusion points to a claim or deduction , not a questiondepends expresses "needs context from" without implying support or refutation$COLLECTION.jsonschema.yaml schemas from schemas/sources.kb/ and questions.kb/candidate-resolutions, claims to deductions via conclusion/premisesWhen extracting a discourse graph from a source document:
dependsls */ # What collections exist
grep -rL "resolved:" questions.kb/*.md # Open questions
cat claims.kb/some-claim.md # Read a claim
ls claims.kb/some-claim.kb/ # Has elaboration?
grep -l "status: contested" claims.kb/*.md # Find contested knowledge
See docs/dev/adr/ for decision records covering collection types, lexical scoping, elaboration conventions, terminology, similarity groups, and the open world assumption.
Weekly Installs
1
Repository
First Seen
Today
Security Audits
Installed on
zencoder1
amp1
cline1
openclaw1
opencode1
cursor1
超能力技能使用指南:AI助手技能调用优先级与工作流程详解
45,100 周安装