﻿---
title: "知识与定制"
description: "分别管理规则、资料、技能、命令、笔记、记忆和历史。"
image: "https://kxen.ai/og.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 使用统一知识格式管理不同类型的长期内容，但每种能力拥有独立的激活方式和权威说明:

- [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
  Rules --> Always["持续约束"]
  References --> Demand["按需读取"]
  Skills --> Match["显式或匹配触发"]
  Commands --> Invoke["命令触发"]
  Notes --> Retrieve["相关性检索"]
  Memory --> Retrieve
  History --> Review["历史查看"]
`}</pre>

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