@itradingai/aiwiki 0.2.21 → 0.2.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,291 +1,323 @@
1
- ![AIWiki 宣传图](https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/aiwiki-hero.png)
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/aiwiki-hero.png" alt="AIWiki" width="100%" />
3
+ </p>
4
+
5
+ <p align="center">
6
+ <a href="./README.zh-CN.md">Chinese</a> |
7
+ <a href="./docs/README.md">Docs</a> |
8
+ <a href="./docs/USAGE.md">Usage</a> |
9
+ <a href="./docs/FAQ.md">FAQ</a> |
10
+ <a href="https://www.npmjs.com/package/@itradingai/aiwiki">npm</a>
11
+ </p>
2
12
 
3
13
  # AIWiki
4
14
 
5
- AIWiki 是一个开源的 Agent-first 本地 LLM-wiki CLI。
15
+ [![npm version](https://img.shields.io/npm/v/@itradingai/aiwiki.svg)](https://www.npmjs.com/package/@itradingai/aiwiki)
16
+ [![Node.js >=20](https://img.shields.io/badge/node-%3E%3D20-339933.svg)](https://nodejs.org/)
17
+ [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
18
 
7
- 你把文章链接、网页正文或本地文本交给宿主 Agent;宿主 Agent 负责读取和理解内容;AIWiki 负责把结果稳定写进本地 Markdown 知识库,并生成可追踪、可查询、可持续整理的 Wiki 条目。
19
+ **Save what your AI reads. Ask it later. Keep everything local.**
8
20
 
9
- 一句话说:AIWiki 不是网页抓取器,而是宿主 Agent 的本地 LLM-wiki 后端。
21
+ AIWiki is a local Markdown knowledge base for AI assistants.
10
22
 
11
- ## 它解决什么
23
+ Give your AI assistant a URL, article, file, or note. The assistant reads and understands it. AIWiki turns the result into structured, traceable, reusable Markdown knowledge files.
12
24
 
13
- - 链接和资料散在聊天记录里,后续很难复用。
14
- - AI 总结过一次内容,但没有沉淀成可查询的知识条目。
15
- - 想把资料卡、选题、大纲、Wiki 条目放进同一个本地知识库。
16
- - 想让 Agent 负责理解内容,让 CLI 负责稳定落盘和追踪。
25
+ Use it to build a local AI knowledge base that can be queried, checked, maintained, and reused later.
17
26
 
18
- ## 工作流
27
+ ## Quick Start
19
28
 
20
- ### Ingest:把资料写入本地 Wiki
29
+ Ask your AI assistant to install and configure AIWiki.
30
+
31
+ 1. Choose a local folder for your knowledge base.
21
32
 
22
33
  ```text
23
- 用户给 URL / 正文 / 文件
24
- -> 宿主 Agent 读取内容并尽量生成 analysis / wiki_entry
25
- -> aiwiki ingest-agent --stdin
26
- -> AIWiki 写入 Raw / Source Card / Wiki Entry / Run Summary;有明确内容或请求时再写 Claim / Topic / Outline / Asset
34
+ Windows: D:\AIWiki
35
+ macOS/Linux: ~/AIWiki
36
+ Project test: ./aiwiki-test
27
37
  ```
28
38
 
29
- ### Query:从 Wiki 调度知识
39
+ 2. Copy this prompt into Codex, Claude Code, QClaw, OpenClaw, or another local coding assistant.
30
40
 
31
- ```bash
32
- aiwiki context "AI Agent 出海机会"
33
- aiwiki query "AI Agent 出海机会"
34
- ```
41
+ Before sending it, replace every `<replace-with-my-aiwiki-path>` with your own local folder path, such as `D:\AIWiki` or `~/AIWiki`. Do not leave the placeholder in the commands.
35
42
 
36
- `context` 返回 JSON,主要给宿主 Agent 用;`query` 使用同一套检索结果,输出给人看的摘要。第一版是本地关键词检索,不是向量检索。
43
+ ```text
44
+ Please install and configure AIWiki for me.
37
45
 
38
- ### Lint:检查知识库结构
46
+ First check that Node.js is installed and that node --version is >=20.
47
+ If Node.js is missing or older than 20, stop and tell me how to upgrade before running npm install.
39
48
 
40
- ```bash
41
- aiwiki lint
42
- ```
49
+ Use this knowledge base path:
43
50
 
44
- `lint` 会检查缺失链接、重复来源、fallback Wiki 条目、enriched 条目缺字段等问题,并写入 `dashboards/Lint Report.md`。
51
+ <replace-with-my-aiwiki-path>
45
52
 
46
- ## 示例
53
+ Replace every `<replace-with-my-aiwiki-path>` below with my own local folder path before running commands. If I left the placeholder unchanged, stop and ask me for the real path.
47
54
 
48
- 仓库内置了一个由当前 CLI 重新生成的样例:
55
+ Run these commands:
49
56
 
50
- - `examples/demo-run/`:输入材料、执行命令和关键 CLI 输出。
51
- - `examples/obsidian-vault-sample/`:可直接查看的样例知识库。
57
+ npm install -g @itradingai/aiwiki@latest
58
+ aiwiki setup --path "<replace-with-my-aiwiki-path>" --yes
59
+ aiwiki agent sync --yes
60
+ aiwiki agent sync --path "<replace-with-my-aiwiki-path>" --yes
61
+ aiwiki agent check --json
62
+ aiwiki agent check --path "<replace-with-my-aiwiki-path>" --json
63
+ aiwiki doctor --path "<replace-with-my-aiwiki-path>"
64
+ aiwiki status --path "<replace-with-my-aiwiki-path>"
65
+
66
+ Then tell me:
67
+
68
+ 1. whether AIWiki was installed successfully
69
+ 2. which assistant targets were synced
70
+ 3. whether workspace guidance was written
71
+ 4. whether I need to restart or reload my assistant
72
+ 5. what I should do next
73
+ ```
52
74
 
53
- 样例展示了核心产物优先的约定:Raw、Source Card、Wiki Entry、Run Summary、Processing Summary 总是最先检查;Claim、Asset、Topic、Outline 只在 payload 有对应内容或明确请求时出现。
75
+ 3. Restart or reload your assistant if needed.
54
76
 
55
- ## 快速开始
77
+ If assistant sync fails, open an [Agent Integration issue](https://github.com/iTradingAI/aiwiki/issues/new?template=agent_integration.md) and include the output of `aiwiki agent check --json` and `aiwiki doctor --path "<workspace>"`.
56
78
 
57
- ### 第一步:安装 AIWiki CLI
79
+ ## First Use
58
80
 
59
- AI 帮你安装时,可以把下面这段交给当前 Agent,改成自己的知识库路径:
81
+ Trying AIWiki for the first time? Use the short trial route in the [Usage Guide](docs/USAGE.md#3-ingest-a-source).
82
+
83
+ ### Ingest a source
84
+
85
+ Tell your assistant:
60
86
 
61
87
  ```text
62
- 请帮我安装并配置 AIWiki
63
- 安装命令:npm install -g @itradingai/aiwiki@latest
64
- 我的知识库路径:F:\knowledges
65
-
66
- 请检查 Node.js >=20,执行 aiwiki setup --path "我的知识库路径" --yes,
67
- 然后运行 aiwiki agent sync --yes、aiwiki agent check --json、
68
- aiwiki agent sync --path "我的知识库路径" --yes 和 aiwiki agent check --path "我的知识库路径" --json,
69
- 完成宿主 Agent 与知识库根指导对接。
70
- 最后执行 aiwiki doctor 和 aiwiki status,告诉我实际执行了哪些命令和还差什么手动步骤。
88
+ Ingest this into AIWiki:
89
+ <url>
71
90
  ```
72
91
 
73
- 手动安装:
92
+ Or:
74
93
 
75
- ```bash
76
- npx @itradingai/aiwiki@latest setup
77
- aiwiki agent sync --yes
78
- aiwiki agent check --json
94
+ ```text
95
+ Save this note into AIWiki:
96
+ <paste your note here>
79
97
  ```
80
98
 
81
- ### 第二步:接入宿主 Agent
99
+ The assistant reads the source and calls AIWiki to write the result into your local knowledge base.
82
100
 
83
- ```bash
84
- aiwiki agent sync --yes
85
- aiwiki agent check --json
86
- aiwiki agent sync --path "F:\knowledges" --yes
87
- aiwiki agent check --path "F:\knowledges" --json
101
+ ### Ask your knowledge base
102
+
103
+ Tell your assistant:
104
+
105
+ ```text
106
+ What does AIWiki know about <topic>?
88
107
  ```
89
108
 
90
- 也可以直接输出通用协议:
109
+ The assistant should call:
91
110
 
92
111
  ```bash
93
- aiwiki prompt agent
112
+ aiwiki context "<topic>"
94
113
  ```
95
114
 
96
- ### 第三步:第一次入库
115
+ For direct terminal output, use:
97
116
 
98
- 对宿主 Agent 发送:
99
-
100
- ```text
101
- 入库 https://example.com/article
117
+ ```bash
118
+ aiwiki query "<topic>"
102
119
  ```
103
120
 
104
- 宿主 Agent 读取正文后调用 `aiwiki ingest-agent --stdin`。用户不需要手动保存 payload,也不需要每次输入 `--path`。
105
-
106
- ### 第四步:从知识库提问
121
+ ### Check your workspace
107
122
 
108
- 对宿主 Agent 说:
123
+ Tell your assistant:
109
124
 
110
125
  ```text
111
- AIWiki 里帮我了解 xxx
126
+ Check and organize my AIWiki workspace.
112
127
  ```
113
128
 
114
- 宿主 Agent 应优先调用:
129
+ The assistant should call:
115
130
 
116
131
  ```bash
117
- aiwiki context "xxx"
132
+ aiwiki lint --json
118
133
  ```
119
134
 
120
- 人直接查询时可以运行:
135
+ ## What AIWiki Creates
121
136
 
122
- ```bash
123
- aiwiki query "xxx"
124
- ```
137
+ A successful ingest creates a traceable knowledge package:
125
138
 
126
- ## AIWiki 会生成什么
139
+ ```text
140
+ 02-raw/articles/ Raw source record
141
+ 03-sources/article-cards/ Source card
142
+ 05-wiki/source-knowledge/ Reusable wiki entry
143
+ 09-runs/<run-id>/ Processing record
144
+ ```
127
145
 
128
- 成功入库会生成:
146
+ Optional files may also be created when the assistant provides enough structured content:
129
147
 
130
148
  ```text
131
- 02-raw/articles/
132
- 03-sources/article-cards/
133
- 05-wiki/source-knowledge/
134
- 09-runs/<run-id>/
149
+ 04-claims/_suggestions/ Claim candidates
150
+ 06-assets/_suggestions/ Reusable ideas or writing assets
151
+ 07-topics/ready/ Topic candidates
152
+ 08-outputs/outlines/ Draft outlines
135
153
  ```
136
154
 
137
- 其中 `02-raw/articles/`、`03-sources/article-cards/`、`05-wiki/source-knowledge/` `09-runs/<run-id>/` 是核心产物。`04-claims/_suggestions/`、`06-assets/_suggestions/`、`07-topics/ready/`、`08-outputs/outlines/` 只在 payload 有对应内容或 `request.outputs` 明确请求时生成。
155
+ The Wiki Entry is the main reusable knowledge surface. The raw record and source card preserve traceability, so you can always go back from a summary to the source.
138
156
 
139
- ### Agent-Enriched Wiki Entry
157
+ See:
140
158
 
141
- 如果宿主 Agent 在 payload 中提供了 `analysis` 或 `wiki_entry`,AIWiki 会把这些总结、核心观点、知识点、概念、选题等内容写入 Wiki Entry。
159
+ - [`examples/demo-run/`](examples/demo-run/)
160
+ - [`examples/obsidian-vault-sample/`](examples/obsidian-vault-sample/)
142
161
 
143
- frontmatter 会标记:
162
+ ## Why AIWiki
144
163
 
145
- ```yaml
146
- generation_mode: "agent_enriched"
147
- quality: "enriched"
148
- generated_by: "host_agent"
149
- llm_enriched: true
150
- source_role: "input"
151
- represents_user_view: false
152
- ```
164
+ Most useful information dies in one of three places:
165
+
166
+ - bookmarks you never reopen
167
+ - chat summaries you cannot reuse
168
+ - notes that never become output
169
+
170
+ AIWiki helps your assistant turn reading into a durable local knowledge base.
171
+
172
+ Instead of saving links and losing context, you get Markdown files that your assistant can query, maintain, and reuse later.
153
173
 
154
- ### Deterministic Fallback Wiki Entry
174
+ ## Practical Scenarios
155
175
 
156
- 如果宿主 Agent 只提供原文,AIWiki 仍会创建 Wiki Entry,但它只是可追溯脚手架,包含标题、来源、正文预览、反链和待补全区。
176
+ - **Build a personal research wiki** from articles, PDFs, files, and notes.
177
+ - **Turn useful reading into reusable ideas** such as concepts, claims, topics, and outlines.
178
+ - **Give Codex, Claude Code, or QClaw a stable local knowledge layer** it can query before answering.
179
+ - **Keep summaries traceable** with raw records, source cards, Wiki Entries, and run records.
157
180
 
158
- frontmatter 会标记:
181
+ ## How It Works
159
182
 
160
- ```yaml
161
- generation_mode: "deterministic_fallback"
162
- quality: "scaffold"
163
- generated_by: "aiwiki_cli"
164
- llm_enriched: false
165
- source_role: "input"
166
- represents_user_view: false
183
+ ```text
184
+ User gives a URL, file, note, or text
185
+ -> AI assistant reads and understands it
186
+ -> AIWiki writes structured Markdown files
187
+ -> Assistant retrieves context later with aiwiki context
188
+ -> AIWiki lint checks structure and consistency
167
189
  ```
168
190
 
169
- AIWiki CLI 本身不调用 LLM,所以不会在没有 Agent 分析字段时承诺高质量提炼。
191
+ AIWiki separates responsibilities:
170
192
 
171
- ## 设计边界
193
+ - the assistant reads and understands sources
194
+ - AIWiki writes, links, queries, and checks the local knowledge base
195
+ - Markdown remains inspectable, editable, portable, and versionable
172
196
 
173
- AIWiki 做:
197
+ Technically, AIWiki is Agent-first: the host assistant reads and understands sources; AIWiki writes, links, queries, and checks the local Markdown knowledge base.
174
198
 
175
- - 接收宿主 Agent payload。
176
- - 写入本地 Markdown。
177
- - 生成 frontmatter、wikilink、处理记录。
178
- - 生成 Wiki Entry 容器。
179
- - 支持 `context`、`query`、`next` 和 `lint`。
199
+ ## Inspired By
180
200
 
181
- AIWiki 不做:
201
+ AIWiki is inspired by two useful ideas:
182
202
 
183
- - 通用网页抓取。
184
- - 微信公众号读取。
185
- - 伪造浏览器头。
186
- - 浏览器插件。
187
- - CLI 内置 LLM。
188
- - 自动高质量总结。
189
- - 默认人工审核流程。
190
- - 企业级 RBAC。
191
- - 多知识库。
192
- - 批量采集 / 定时采集 / RSS。
203
+ - **LLM Wiki**, popularized by Andrej Karpathy: compile sources into a persistent, maintainable wiki instead of rediscovering knowledge from raw documents every time.
204
+ - **Content workflow thinking**, seen in creator systems such as Dan Koe's: useful ideas should become reusable building blocks for topics, outlines, writing, and future work.
193
205
 
194
- ## Obsidian / Dataview
206
+ AIWiki does not simply copy either approach.
195
207
 
196
- AIWiki 生成的是标准 Markdown frontmatter,不强依赖 Obsidian。
208
+ It turns them into a practical assistant-driven workflow:
197
209
 
198
- Obsidian 是推荐查看界面;Dataview 只是可选 dashboard 增强。AIWiki 不会自动安装 Dataview,也不会修改 `.obsidian`。
210
+ ```text
211
+ source
212
+ -> source card
213
+ -> wiki entry
214
+ -> reusable assets
215
+ -> topics
216
+ -> outlines
217
+ -> future work
218
+ ```
199
219
 
200
- Review Queue 可以保留为回看入口,但不是 AIWiki 的主流程。
220
+ The goal is simple: make what your assistant reads useful again later.
201
221
 
202
- ## 常见问题
222
+ ## Agent Integration
203
223
 
204
- ### AIWiki 会自己抓网页吗?
224
+ AIWiki is built for assistant-driven workflows. `aiwiki agent sync --yes` syncs packaged AIWiki instructions into supported local assistant environments, and `aiwiki agent sync --path "<workspace>" --yes` writes workspace guidance so assistants entering the knowledge base use AIWiki commands first.
205
225
 
206
- 不会。网页读取由宿主 Agent 完成,AIWiki 负责把 Agent 已经读到的内容写入本地知识库。
226
+ See [Agent Handoff](docs/AGENT_HANDOFF.md) for the full command-first contract.
207
227
 
208
- ### 为什么会生成 05-wiki?
228
+ ## Obsidian and Dataview
209
229
 
210
- 因为 AIWiki 的目标不是只保存资料,而是让资料进入可查询、可维护的 Wiki 知识层。
230
+ AIWiki writes plain Markdown and frontmatter.
211
231
 
212
- ### 05-wiki 是否代表我的观点?
232
+ Obsidian is optional but useful as a viewing surface. Dataview is an optional dashboard enhancement.
213
233
 
214
- 不一定。外部资料生成的 Wiki 条目默认代表“外部资料的结构化整理”,不代表你的个人观点。
234
+ AIWiki does not require Obsidian, does not auto-install Dataview, and does not edit `.obsidian`.
215
235
 
216
- ### 什么内容才代表我的观点?
236
+ Review Queue is not the main workflow. AIWiki creates Wiki entries first, then uses lint and assistant workflows to keep the workspace clean.
217
237
 
218
- `source_role=output` 用于标记用户已发布文章、演讲稿、公众号文章等个人输出,并可配合 `represents_user_view: true`。外部资料默认是 `source_role: input`、`represents_user_view: false`。
238
+ ## Security and Privacy
219
239
 
220
- ### Dataview 必须安装吗?
240
+ - AIWiki writes local Markdown and JSON files.
241
+ - AIWiki does not upload your knowledge base.
242
+ - AIWiki does not include a built-in LLM.
243
+ - AIWiki does not crawl the web by itself.
244
+ - `npm install` does not modify assistant configuration.
245
+ - Agent integration is explicit through `aiwiki agent sync`.
221
246
 
222
- 不必须。没有 Dataview,也可以用普通 Markdown、Properties、Backlinks、Search 和 Graph View。
247
+ ## Current Status
223
248
 
224
- ### Review Queue 还需要吗?
249
+ AIWiki currently focuses on:
225
250
 
226
- 不是必需流程。它只适合低置信度、来源缺失、内容冲突、个人观点把关等回看场景。
251
+ - one local AIWiki knowledge base
252
+ - local Markdown and frontmatter retrieval
253
+ - assistant-driven ingest
254
+ - Source Cards and Wiki Entries
255
+ - `context`, `query`, `lint`, `status`, and `doctor` workflows
227
256
 
228
- ## 文档
257
+ Semantic search, vector indexing, browser clipping, RSS collection, and enterprise permissions are intentionally out of scope for now.
229
258
 
230
- - [docs/USAGE.md](docs/USAGE.md)
231
- - [docs/AGENT_HANDOFF.md](docs/AGENT_HANDOFF.md)
232
- - [docs/FAQ.md](docs/FAQ.md)
233
- - [docs/SHOWCASE.md](docs/SHOWCASE.md)
234
- - [docs/ROADMAP.md](docs/ROADMAP.md)
235
- - [docs/RELEASE.md](docs/RELEASE.md)
236
- - [CONTRIBUTING.md](CONTRIBUTING.md)
237
- - [SECURITY.md](SECURITY.md)
259
+ ## Boundaries
238
260
 
239
- ## 本地开发
261
+ AIWiki is not:
240
262
 
241
- ```bash
242
- npm install
243
- npm run build
244
- npm test
245
- npm link
246
- aiwiki setup --path "F:\knowledge_data\aiwiki-test" --yes
247
- aiwiki doctor
248
- aiwiki ingest-agent --payload tests/fixtures/agent_payload.url.valid.json --path "F:\knowledge_data\aiwiki-test"
249
- aiwiki context "AI Agent" --path "F:\knowledge_data\aiwiki-test"
250
- aiwiki query "AI Agent" --path "F:\knowledge_data\aiwiki-test"
251
- aiwiki next --path "F:\knowledge_data\aiwiki-test"
252
- aiwiki lint --path "F:\knowledge_data\aiwiki-test"
253
- ```
263
+ - a web crawler
264
+ - a WeChat reader
265
+ - a browser extension
266
+ - a built-in LLM
267
+ - a vector database
268
+ - a replacement for every RAG system
269
+ - an Obsidian plugin
270
+ - a default manual review queue
271
+ - a multi-knowledge-base manager
272
+ - an RSS or scheduled collection system
254
273
 
255
- ## License
274
+ AIWiki receives content already read by your assistant and turns it into a local Markdown knowledge base.
256
275
 
257
- MIT. See [LICENSE](LICENSE).
276
+ ## Community
258
277
 
259
- ## Query Filters
278
+ AIWiki is developed by iTradingAI.
260
279
 
261
- AIWiki retrieval is local Markdown/frontmatter search. It is intentionally lightweight: no vector search, no database, no external search, and no RAG-over-wiki.
280
+ For Chinese users, scan the QR codes below to join the WeChat group or follow the official account.
262
281
 
263
- ```bash
264
- aiwiki context "AI Agent" --type wiki_entries --source-role input --wiki-type source_knowledge --status active --limit 5
265
- aiwiki query "AI Agent" --type source_cards --status to-review --limit 3
266
- ```
282
+ <p>
283
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/join-group.png" alt="Join WeChat group" width="220" />
284
+ <img src="https://raw.githubusercontent.com/iTradingAI/aiwiki/main/docs/assets/wechat-official-account.png" alt="WeChat official account" width="220" />
285
+ </p>
267
286
 
268
- `context` returns Agent-readable JSON with `query_scope`, `result_quality`, `recommended_next_action`, `match_reasons`, `quality_signals`, and `related_refs`. `query` uses the same retrieval path and shows the match reasons and quality hints for humans.
287
+ ## Documentation
269
288
 
270
- ## Agent Skill Sync and Upgrade
289
+ - [Docs](docs/README.md)
290
+ - [Usage Guide](docs/USAGE.md)
291
+ - [Agent Handoff](docs/AGENT_HANDOFF.md)
292
+ - [FAQ](docs/FAQ.md)
293
+ - [Showcase](docs/SHOWCASE.md)
294
+ - [Trial Feedback Template](docs/TRIAL_FEEDBACK_TEMPLATE.md)
295
+ - [Roadmap](docs/ROADMAP.md)
296
+ - [Release Notes](docs/RELEASE.md)
271
297
 
272
- AIWiki is Agent-first: after installing or upgrading the npm package, sync the packaged AIWiki skill into the local Agent environment.
298
+ ## Development
273
299
 
274
- First install and later upgrades use the same safe command:
300
+ For local development:
275
301
 
276
302
  ```bash
277
- npm install -g @itradingai/aiwiki@latest
278
- aiwiki agent sync --yes
279
- aiwiki agent check
303
+ npm install
304
+ npm run build
305
+ npm test
306
+ npm link
280
307
  ```
281
308
 
282
- For one Agent:
309
+ Use a temporary workspace for local testing:
283
310
 
284
311
  ```bash
285
- aiwiki agent sync --agent codex --yes
286
- aiwiki agent sync --agent claude --yes
312
+ aiwiki setup --path "./aiwiki-test" --yes
313
+ aiwiki doctor --path "./aiwiki-test"
314
+ aiwiki status --path "./aiwiki-test"
315
+ aiwiki ingest-agent --payload tests/fixtures/agent_payload.url.valid.json --path "./aiwiki-test"
316
+ aiwiki context "AI Agent" --path "./aiwiki-test"
317
+ aiwiki query "AI Agent" --path "./aiwiki-test"
318
+ aiwiki lint --path "./aiwiki-test"
287
319
  ```
288
320
 
289
- `agent sync` is idempotent. Missing targets are installed, current targets are left unchanged, and changed old skill files are backed up before overwrite. Use `--dry-run` to preview and `--json` when an AI Agent needs stable machine-readable status.
321
+ ## License
290
322
 
291
- After sync, restart or reload the target Agent so it reads the new AIWiki skill. To roll back, copy the generated `.bak-<timestamp>` file back over the target skill file.
323
+ MIT. See [LICENSE](LICENSE).