---
title: "知识与定制"
description: "使用 OKF v0.2 管理可扩展 concepts 与 Kxen 运行 handlers。"
image: "https://kxen.ai/og/knowledge.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://kxen.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 知识与定制

kxen 使用 OKF v0.2 管理不同类型的长期内容。目录只组织 concept，文件内 `type` 决定语义；已知 type 使用独立 handler，未知 type 保持可发现但不执行:

- [Knowledge Library](https://kxen.ai/knowledge/knowledge-library)
- [Rules](https://kxen.ai/knowledge/rules)
- [References](https://kxen.ai/knowledge/references)
- [Skills](https://kxen.ai/knowledge/skills)
- [Commands](https://kxen.ai/knowledge/commands)
- [Notes](https://kxen.ai/knowledge/notes)
- [Memory](https://kxen.ai/knowledge/memory)
- [History](https://kxen.ai/knowledge/history)

统一存储不代表统一注入。Rules、References、Skills、Commands、Notes、Memory 和 History 不会以相同方式进入模型上下文。

<pre class="mermaid">{`
flowchart TB
  Library["Knowledge Library"]
  Library --> Rules
  Library --> References
  Library --> Skills
  Library --> Commands
  Library --> Notes
  Library --> Memory
  Library --> History
  Library --> Generic["Generic concepts"]
  Rules --> Always["持续约束"]
  References --> Demand["按需读取"]
  Skills --> Match["显式或匹配触发"]
  Commands --> Invoke["命令触发"]
  Notes --> Retrieve["相关性检索"]
  Memory --> Retrieve
  History --> Review["历史查看"]
  Generic --> Retrieve
`}</pre>

Source: https://kxen.ai/knowledge/index.mdx
