ASP源码
PHP源码
.NET源码
JSP源码
笔记本是专为 Openclaw Skills 构建的强大个人知识管理系统,优先考虑数据所有权和灵活性。与依赖云的工具不同,此技能以 YAML 格式将所有信息存储在本地,确保没有供应商锁定。它允许开发人员和高级用户定义自己的数据结构——无论是为了跟踪软件功能、项目里程碑还是个人习惯——使其成为以终端为中心的工作流中通用的数字组织中心。
通过利用 Openclaw Skills 的力量,笔记本将原始文本转化为结构化数据库。用户可以定义自定义字段,如状态选择、优先级和长篇笔记,允许 AI 代理通过智能提问和上下文链接协助捕捉和扩展想法。
下载入口:https://github.com/openclaw/skills/tree/main/skills/thesethrose/notebook
从源直接安装技能的最快方式。
npx clawhub@latest install notebook
将技能文件夹复制到以下位置之一
全局模式~/.openclaw/skills/
工作区
/skills/
优先级:工作区 > 本地 > 内置
将此提示词复制到 OpenClaw 即可自动安装。
请帮我使用 Clawhub 安装 notebook。如果尚未安装 Clawhub,请先安装(npm i -g clawhub)。
要在 Openclaw Skills 环境中开始使用笔记本,请定义您的第一个对象类型以初始化目录结构:
# 定义一个用于跟踪想法的自定义类型
notebook type-add idea title:text status:select(raw|expanded|archived) priority:select(high|medium|low) tags:text notes:longtext
# 添加您的第一个条目
notebook add idea "Initial Project Concept" -t research -p high
笔记本技能使用扁平文件结构在 /data/notebook/ 目录中组织数据,以实现最大的便携性:
| 文件/文件夹 | 描述 |
|---|---|
objects/ |
包含为每个创建的对象生成的独立 YAML 文件。 |
types.yaml |
存储自定义对象类型的模式定义。 |
index.json |
用于快速搜索和交叉引用的元数据索引。 |
text: 短字符串值。longtext: 多行描述或笔记。select(a|b|c): 单选下拉选项。number: 用于跟踪指标的数字数据。date: 标准化日期格式。list: 用于标签或集合的字符串数组。name: Notebook
description: Local-first personal knowledge base for tracking ideas, projects, tasks, habits, and any object type you define. YAML-based with no cloud lock-in.
Purpose: Track any object type you define such as ideas, projects, tasks, habits, books, and people.
Location: {WORKSPACE}/skills/notebook/
Guide the user through setup when no object types exist.
It looks like you have not defined any object types yet.
Notebook works best when you define the types of things you want to track.
What would you like to start with?
1. Ideas for capturing thoughts and features
2. Projects for long term work with goals
3. Tasks for actionable items with due dates
4. Something custom tell me what you want to track
If they choose a preset:
Great. Let us set up [type].
I will create it with useful fields. You can add or remove them later.
For [type], what fields do you want?
- title (text, required)
- status (select)
- priority (select)
- tags (text)
- notes (longtext)
- [custom fields]
What fields should [type] have?
If they want custom:
Tell me what you want to track and what details matter.
Example: I want to track books I read. I need title, author, status, rating, and notes.
I will translate that into a type definition.
Now let us add your first [type].
What do you want to track as your first [type]?
Example: The Andromeda Strain for books or Home automation for projects
Perfect. You now have:
- Type: [typename] with [N] fields
- 1 [typename] object: [title]
What would you like to do next?
- notebook list [typename] to see all items
- notebook expand [typename] [title] to add details
- notebook add [typename] to add another
- notebook type-add [typename] to add more fields later
Would you like to deepen this [typename] with some questions?
Say expand and I will ask questions to add depth.
notebook type-add typename field1:text field2:select(a|b|c) field3:number
Field types:
notebook add typename "Title" [-t tag1,tag2 -p priority]
notebook list typename
notebook get typename title
notebook expand typename title
notebook edit typename "title" field:value
notebook link type1:title1 type2:title2
notebook delete typename title
notebook find "query"
notebook stats
# 1. Define a type
notebook type-add idea title:text status:select(raw|expanded|archived) priority:select(high|medium|low) tags:text notes:longtext
# 2. Add your first idea
notebook add idea "Voice capture while driving" -t voice,automation -p high
# 3. Deepen it
notebook expand idea "voice capture"
# 4. Link to other objects
notebook add project "Home automation" -t household
notebook link idea:"voice capture" project:"home automation"
# 5. Update as you work
notebook edit idea "voice capture" status:expanded
/data/notebook/
├── objects/
├── types.yaml
└── index.json