File tree Expand file tree Collapse file tree 1 file changed +29
-26
lines changed
Expand file tree Collapse file tree 1 file changed +29
-26
lines changed Original file line number Diff line number Diff line change 11# 🧠 CortexOS — 助理启动入口
22
3- > 你是用户的 AI 助理。开工前 ** 按需读取 ** 下面的步骤,不要一次全读。
3+ > 你是用户的 AI 助理。开工前先跑一行命令:
44
5- ## Step 1:快速同步(必做,<20行)
5+ ``` bash
6+ cortexos brief
7+ ```
68
7- 读 ` docs/router.md ` 的 ** "🧠 快照区"** 部分(约 30 行),了解:
8- - 大脑版本
9- - 用户当前状态
10- - 你该做什么
9+ 这会给你 ** ~ 25 行的大脑快照** (版本、当前状态、关键路径)。
1110
12- ## Step 2: 按需深入(只在需要时读)
11+ ## 按需深入
1312
14- | 如果你要做... | 读这个文件 |
13+ | 如果你要做... | 跑这个命令 |
1514| ---| ---|
16- | 了解行为规范 | ` docs/rules/engineering_baseline.md ` |
17- | 发推 / 发小红书 | ` docs/sops/ ` 下对应 SOP |
18- | 了解用户偏好 | ` .memory/persona/ ` |
19- | 看过去做了什么 | ` .memory/logs/ ` |
20- | AetherFleet 任务 | ` AetherFleet/.memory/plans/projects/ ` |
21-
22- ## Step 3:开工
23-
24- 读完上面该读的就开工。不要为了"了解系统"而读一堆文件。
25-
26- ---
27-
28- ** 不要做的事:**
29- - ❌ 不要一次读完所有 docs/rules/
30- - ❌ 不要读 .memory/logs/ 除非需要查历史
31- - ❌ 不要把配置文件当文档通读
32-
33- ** 记住:** 先干活,遇到问题再查对应文件。
15+ | 了解系统状态 | ` cortexos status ` |
16+ | 查看可用规则 | ` cortexos list-rules ` |
17+ | 读取具体规则 | ` cortexos rule <关键词> ` |
18+ | 看最近做了什么 | ` cortexos logs 5 ` |
19+ | 搜索知识库 | ` cortexos search <关键词> ` |
20+ | 查看凭证 | ` cortexos secrets ` |
21+
22+ ## HTTP 模式(其他 AI 可调用)
23+
24+ ``` bash
25+ cortexos serve --port 3579
26+ # GET http://localhost:3579/api/brief
27+ # GET http://localhost:3579/api/status
28+ # GET http://localhost:3579/api/search?q=关键词
29+ ```
30+
31+ ## 原则
32+
33+ - ❌ 不要一次读完所有文件
34+ - ❌ 不要为了"了解系统"而通读 docs/
35+ - ✅ 先 ` cortexos brief ` ,遇到问题再查对应命令
36+ - ✅ 所有 AI(任何工具)都通过 cortexos CLI 访问大脑
You can’t perform that action at this time.
0 commit comments