@topmindspace/topmind-skills 4.15.4 → 4.15.6
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/CHANGELOG.md +20 -6
- package/INSTALL.md +97 -187
- package/README.en.md +74 -143
- package/README.md +74 -148
- package/README.zh-CN.md +2 -179
- package/bin/install-skills.mjs +81 -11
- package/evals/evals.json +1 -1
- package/integrations/codex/README.md +1 -1
- package/integrations/hermes/README.md +1 -1
- package/integrations/opencode/README.md +1 -1
- package/package.json +2 -2
- package/skills.md +25 -35
- package/topmind/SKILL.md +2 -2
- package/topmind-capture/SKILL.md +2 -2
- package/topmind-ledger/SKILL.md +2 -2
- package/topmind-loop/DESIGN.md +1 -1
- package/topmind-loop/SKILL.md +2 -2
- package/topmind-maintain/SKILL.md +3 -2
- package/topmind-memory/SKILL.md +3 -3
- package/topmind-organize/SKILL.md +4 -4
- package/topmind-pack.json +2 -2
- package/topmind-weread/SKILL.md +2 -2
- package/topmind-write/SKILL.md +2 -2
- package/topmind-x/SKILL.md +2 -2
package/README.en.md
CHANGED
|
@@ -1,175 +1,106 @@
|
|
|
1
1
|
# topmind Skills
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Bring the topmind personal-knowledge workflow to your AI assistant (Claude Code, Codex, Cursor, OpenCode, Hermes and others). Say "save this", "organize this week" or "turn it into a draft", and the assistant stores everything in your own `topmind-workspace` folder under one shared set of conventions. Skill text is written in Chinese.
|
|
4
4
|
|
|
5
|
-
[简体中文](README.md) · [English](README.en.md) · [
|
|
5
|
+
[简体中文](README.md) · [English](README.en.md) · [Install guide](./INSTALL.md) · [Changelog](./CHANGELOG.md) · [Product](https://github.com/topmindspace/topmind) · [npm](https://www.npmjs.com/package/@topmindspace/topmind-skills)
|
|
6
|
+
|
|
7
|
+
## Install
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
# 1) npm (recommended · pack-aware · includes shared/ · canonical .agents + agents)
|
|
9
10
|
npx @topmindspace/topmind-skills add topmindspace/topmind-skills -g
|
|
10
|
-
# subset of agents
|
|
11
|
-
npx @topmindspace/topmind-skills add topmindspace/topmind-skills -g -a claude-code -a mimocode
|
|
12
|
-
# upgrade
|
|
13
|
-
npx @topmindspace/topmind-skills update -g
|
|
14
|
-
|
|
15
|
-
# 2) Community CLI (fast try; omits shared/ — see INSTALL.md)
|
|
16
|
-
npx skills add topmindspace/topmind-skills -g -y
|
|
17
|
-
|
|
18
|
-
# 3) Pack-aware installer (from a source checkout)
|
|
19
|
-
npm run add -- topmindspace/topmind-skills -g
|
|
20
|
-
npm run update -- -g
|
|
21
|
-
|
|
22
|
-
# 4) From GitHub Release (pinned version / offline)
|
|
23
|
-
node bin/install-skills.mjs add release:latest -g
|
|
24
|
-
|
|
25
|
-
# Inspect matrix / repair broken roots
|
|
26
|
-
node bin/install-skills.mjs agents
|
|
27
|
-
node bin/install-skills.mjs doctor --repair
|
|
28
11
|
```
|
|
29
12
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
**Version and manifest truth:** [`topmind-pack.json`](./topmind-pack.json) (`npm run versions`).
|
|
33
|
-
Each `SKILL.md` `metadata.version` **must** equal the pack version.
|
|
13
|
+
Then say "topmind" or just ask for what you need. To upgrade:
|
|
34
14
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
## Layout
|
|
38
|
-
|
|
39
|
-
```text
|
|
40
|
-
topmind-skills/ # pack root = repo root
|
|
41
|
-
├── topmind/ # only daily entry (router)
|
|
42
|
-
├── topmind-capture|organize|write|memory|maintain|loop/
|
|
43
|
-
├── topmind-weread|x/ # optional connectors
|
|
44
|
-
├── topmind-ledger/ # optional bookkeeping (memory-plane ledgers)
|
|
45
|
-
├── shared/ # write receipts · degradation · auto-suggest · capture …
|
|
46
|
-
├── install-targets/ # host install shapes
|
|
47
|
-
├── evals/evals.json
|
|
48
|
-
├── bin/install-skills.mjs # pack-aware installer (shared/ aware)
|
|
49
|
-
├── scripts/build-pack.mjs
|
|
50
|
-
└── topmind-pack.json # version truth
|
|
15
|
+
```bash
|
|
16
|
+
npx @topmindspace/topmind-skills update -g
|
|
51
17
|
```
|
|
52
18
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
| **Connectors** | weread · x (optional) |
|
|
58
|
-
| **Optional** | ledger (记账 · memory-plane books) |
|
|
59
|
-
| **External optional (not bundled)** | WeChat `topmind-wechat-post` and other writing skills (topmind-writing-skills) · `topmind-research` · `topmind-presentation` · `topmind-handoff`; routing in `shared/trigger-disambiguation.md` |
|
|
19
|
+
- A newer packaged skill overwrites the installed copy and prints `Upgraded <skill> <old> -> <new>`; the same version prints `Already up to date`; a newer installed version is kept unless you pass `--force`.
|
|
20
|
+
- To install for some assistants only, add `-a claude-code -a codex` to `add`.
|
|
21
|
+
- The community CLI `npx skills add topmindspace/topmind-skills -g -y` also works, but it leaves out the `shared/` folder, so some rules cannot be read. See [INSTALL.md](./INSTALL.md#社区-cli-npx-skills) for the extra step.
|
|
22
|
+
- Pinned or offline installs, project scope and per-assistant folders are covered in [INSTALL.md](./INSTALL.md).
|
|
60
23
|
|
|
61
|
-
|
|
24
|
+
## Usage
|
|
62
25
|
|
|
63
|
-
|
|
26
|
+
Expose only `topmind` as the daily entry. It decides which skill handles your request, so you never need to remember sub-skill names.
|
|
64
27
|
|
|
65
|
-
|
|
28
|
+
| You say | Handled by | Result |
|
|
29
|
+
|---|---|---|
|
|
30
|
+
| "Save this link" | `topmind-capture` | Stored in the weekly stream, a topic or the Inbox; the receipt says where |
|
|
31
|
+
| "Remind me to do X" | `topmind-capture` | Material saved, to-do written to `memory/todo.md` |
|
|
32
|
+
| "What's on my list?" | `topmind` | Open items from `memory/todo.md` |
|
|
33
|
+
| "Organize this week", "summarize this topic" | `topmind-organize` | Tidies the week's stream or organizes, compares and distills a topic |
|
|
34
|
+
| "Write it up", "polish this" | `topmind-write` | Drafts or revises into the delivery folder or the topic |
|
|
35
|
+
| "Remember that I…", "update my profile" | `topmind-memory` | Updates `memory/profile.md` or a periodic reflection |
|
|
36
|
+
| "Run a health check", "doctor" | `topmind-maintain` | Checks folder structure and config, with reversible cleanup |
|
|
37
|
+
| "Run the loop" | `topmind-loop` | Walks every topic and can resume after an interruption |
|
|
38
|
+
| "Sync WeRead" | `topmind-weread` | Optional: syncs WeRead highlights and notes into topics |
|
|
39
|
+
| "Post to X", "archive my posts" | `topmind-x` | Optional: X archive, search and posting |
|
|
40
|
+
| "Log 35 for lunch" | `topmind-ledger` | Optional: bookkeeping in `memory/ledgers/` |
|
|
66
41
|
|
|
67
|
-
|
|
68
|
-
User experience: capture-first
|
|
69
|
-
Data organization: category-first + topic-emerges
|
|
70
|
-
Content truth: topmind-workspace
|
|
71
|
-
Capability model: action-first
|
|
72
|
-
Save settings: auto | confirm
|
|
73
|
-
Safety model: reversible by default
|
|
74
|
-
Suggestions: L0 auto-land · L1 auto-prepare · L2 confirm-apply — shared/auto-suggest.md
|
|
75
|
-
```
|
|
42
|
+
The pack has 10 skills: the `topmind` entry, 6 actions, 2 optional connectors and 1 optional ledger. See [skills.md](./skills.md).
|
|
76
43
|
|
|
77
|
-
|
|
78
|
-
**Desktop is not required** for this pack. **UTR is optional** — use host file tools when UTR is absent.
|
|
79
|
-
|
|
80
|
-
Workflow: `收进来 -> 继续做 -> 交付/沉淀 -> 找回/调整`
|
|
81
|
-
**Capture whenever / use whenever:** capture lands with zero questions; classification alternatives, todo extraction, and memory candidates are prepared as L1 suggestions for one-word accept ([`shared/auto-suggest.md`](./shared/auto-suggest.md)). `memory/todo.md` is a satellite — not a sixth concept.
|
|
82
|
-
(If the user says “capture this”, “note it”, “organize”, “write it up”, or “run a loop”, the router infers category / topic / action.)
|
|
83
|
-
|
|
84
|
-
---
|
|
85
|
-
|
|
86
|
-
## SKILL.md frontmatter
|
|
87
|
-
|
|
88
|
-
```yaml
|
|
89
|
-
---
|
|
90
|
-
name: <kebab-case-id> # required; matches directory name
|
|
91
|
-
description: >- # required; what + Use when + Do NOT use
|
|
92
|
-
…
|
|
93
|
-
license: MIT
|
|
94
|
-
compatibility: … # optional; environment notes (≤500 chars)
|
|
95
|
-
metadata: # Agent Skills spec: custom fields live here, string values
|
|
96
|
-
version: "<pack.version>" # required; = topmind-pack.json version
|
|
97
|
-
action_category: "capture" # skill taxonomy (not user note category)
|
|
98
|
-
entrypoint: "false" # only the topmind router is "true"
|
|
99
|
-
triggers: "记一下, 收进, capture" # comma-separated
|
|
100
|
-
tags: "capture, inbox"
|
|
101
|
-
author: "TopMindSpace"
|
|
102
|
-
homepage: "https://github.com/topmindspace/topmind-skills"
|
|
103
|
-
updated: "YYYY-MM-DD"
|
|
104
|
-
degradation: "../shared/capability-degradation.md"
|
|
105
|
-
---
|
|
106
|
-
```
|
|
44
|
+
### Companion skills (installed separately)
|
|
107
45
|
|
|
108
|
-
|
|
46
|
+
These are not part of this pack. When installed, `topmind` hands matching requests to them; otherwise it falls back to `topmind-write` or explains in the receipt.
|
|
109
47
|
|
|
110
|
-
|
|
48
|
+
| Need | Skill | Repository |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| WeChat articles, X articles, short posts, covers, long images | `topmind-wechat-post` and 7 other writing skills | [topmind-writing-skills](https://github.com/topmindspace/topmind-writing-skills) |
|
|
51
|
+
| AI industry news, papers, number checks | `topmind-research` | [topmind-research](https://github.com/topmindspace/topmind-research) |
|
|
52
|
+
| Turn material into paged HTML and PPTX | `topmind-presentation` | [topmind-presentation](https://github.com/topmindspace/topmind-presentation) |
|
|
53
|
+
| Hand memory over between tools | `topmind-handoff` | [topmind-handoff](https://github.com/topmindspace/topmind-handoff) |
|
|
111
54
|
|
|
112
|
-
|
|
55
|
+
Routing between them is defined in [`shared/trigger-disambiguation.md`](./shared/trigger-disambiguation.md).
|
|
113
56
|
|
|
114
|
-
|
|
115
|
-
{workspace-root}/
|
|
116
|
-
├── topmind.yaml # contract v4
|
|
117
|
-
├── memory/ # profile.md · periodic/ · topics/ · todo.md · optional ledgers/
|
|
118
|
-
├── .topmind/ # rebuildable machine state
|
|
119
|
-
├── 00-Inbox/ # role: buffer (live dir name)
|
|
120
|
-
├── 10-Stream/ … # categories (template-driven)
|
|
121
|
-
├── 88-Delivery/ or 88-交付/ # role: delivery
|
|
122
|
-
└── 99-Archive/ or 99-归档/ # role: system
|
|
123
|
-
```
|
|
57
|
+
## Where content lives
|
|
124
58
|
|
|
125
|
-
|
|
59
|
+
Everything is plain Markdown in your local `topmind-workspace`, readable in Obsidian or any editor.
|
|
126
60
|
|
|
127
61
|
```text
|
|
128
|
-
|
|
129
|
-
├──
|
|
130
|
-
├──
|
|
131
|
-
|
|
62
|
+
topmind-workspace/
|
|
63
|
+
├── topmind.yaml # workspace config
|
|
64
|
+
├── memory/ # profile, reflections, to-dos, ledgers
|
|
65
|
+
├── 00-Inbox/ # anything not yet classified
|
|
66
|
+
├── 10-动态/ # weekly stream notebooks
|
|
67
|
+
├── … # other categories from your template; rename, hide or add
|
|
68
|
+
├── 88-交付/ # finished drafts
|
|
69
|
+
└── 99-归档/
|
|
132
70
|
```
|
|
133
71
|
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
**Do not create (deprecated):** default `outline.md` / `setting.md` / `style.md`; `project_type` frontmatter; nested topic `notes/` or `outputs/`; top-level `projects/`; `YYYY-类型-项目名` naming.
|
|
137
|
-
|
|
138
|
-
**Categories:** discover `{NN-Name}/` at runtime + `topmind.yaml` v4 (`categories.extensions` / `categories.overrides` with `hidden`). Shared resolver: engine `lib/workspace-model.mjs`. Prefer role-based routing over hardcoded `10-`/`20-` numbers.
|
|
72
|
+
- When enough notes share a theme, they gather into a topic folder `{category}/{YYYY-theme}/`; until then notes sit at the category root.
|
|
73
|
+
- Categories do not overlap, topics emerge, the stream stays flat, the Inbox is cleared about every 30 days, references live apart, and category names stay stable. Full rules: [`shared/project-model-brief.md`](./shared/project-model-brief.md).
|
|
139
74
|
|
|
140
|
-
|
|
75
|
+
## Conventions
|
|
141
76
|
|
|
142
|
-
|
|
77
|
+
- **Save first**: unclear items go to the Inbox; imperfect classification never blocks a save.
|
|
78
|
+
- **Every write has a receipt**: which file, why there, and what you can do next.
|
|
79
|
+
- **Save settings**: `writeback_mode: auto | confirm`. auto writes and returns a receipt; confirm lets you review first. High-impact changes such as deleting memory or creating topics always need your OK; see [`shared/auto-suggest.md`](./shared/auto-suggest.md).
|
|
80
|
+
- **Files are the only source of truth**: assistant session state must not become topmind content truth.
|
|
81
|
+
- **Desktop is not required, UTR is optional**: without topmind Desktop or the UTR CLI, the assistant uses its own file tools under the same conventions.
|
|
82
|
+
- **Nothing is posted for you**: skills only draft; you publish.
|
|
143
83
|
|
|
144
|
-
|
|
145
|
-
2. **Topics emerge** (do not force-create)
|
|
146
|
-
3. **Dynamic/stream category is special** (flat-default)
|
|
147
|
-
4. **Catch-all cleanup** (~30 days)
|
|
148
|
-
5. **Reference materials stay reference-only**
|
|
149
|
-
6. **Category names stay stable** (rename via migration)
|
|
84
|
+
## For maintainers
|
|
150
85
|
|
|
151
|
-
|
|
86
|
+
- Version and skill list come from [`topmind-pack.json`](./topmind-pack.json) (`npm run versions`); every `SKILL.md` `metadata.version` must match.
|
|
87
|
+
- `SKILL.md` frontmatter uses only Agent Skills spec fields (`name`, `description`, `license`, `compatibility`, `metadata`, `allowed-tools`); custom fields go under `metadata` as strings. CI checks each skill with `agentskills validate`.
|
|
88
|
+
- Run tests with `npm test`. Release steps are in [INSTALL.md](./INSTALL.md#发布维护者).
|
|
152
89
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
- **Compound discipline (no structure change):** organize leaves synthesis on disk; write reads optional `topic.md` first; memory only on explicit confirm; capture never edits `topic.md`; **no** hard `INDEX.md` / parallel wiki trees (see `shared/project-model-brief.md`)
|
|
167
|
-
|
|
168
|
-
---
|
|
169
|
-
|
|
170
|
-
## Install targets
|
|
90
|
+
```text
|
|
91
|
+
topmind-skills/
|
|
92
|
+
├── topmind/ # daily entry (router)
|
|
93
|
+
├── topmind-capture/ … topmind-loop/ # 6 action skills
|
|
94
|
+
├── topmind-weread/ topmind-x/ # optional connectors
|
|
95
|
+
├── topmind-ledger/ # optional ledger
|
|
96
|
+
├── shared/ # rules shared by all skills
|
|
97
|
+
├── install-targets/ # install shapes per assistant
|
|
98
|
+
├── integrations/ # Codex, Hermes, OpenCode notes
|
|
99
|
+
├── evals/ # routing evals
|
|
100
|
+
├── bin/install-skills.mjs
|
|
101
|
+
└── topmind-pack.json
|
|
102
|
+
```
|
|
171
103
|
|
|
172
|
-
|
|
173
|
-
Prefer the pack-aware installer so `shared/` and `topmind-pack.json` stay intact — see [`INSTALL.md`](./INSTALL.md).
|
|
104
|
+
## License
|
|
174
105
|
|
|
175
|
-
|
|
106
|
+
MIT
|
package/README.md
CHANGED
|
@@ -1,180 +1,106 @@
|
|
|
1
1
|
# topmind Skills
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
把 topmind 的个人知识工作流装进你的 AI 助手(Claude Code、Codex、Cursor、OpenCode、Hermes 等)。你只管说「记一下」「整理本周」「写成稿」,助手按同一套约定把内容存进你自己的 `topmind-workspace` 文件夹。
|
|
4
4
|
|
|
5
|
-
[简体中文](README.md) · [English](README.en.md) · [
|
|
5
|
+
[简体中文](README.md) · [English](README.en.md) · [安装说明](./INSTALL.md) · [更新记录](./CHANGELOG.md) · [产品总览](https://github.com/topmindspace/topmind) · [npm](https://www.npmjs.com/package/@topmindspace/topmind-skills)
|
|
6
|
+
|
|
7
|
+
## 安装
|
|
6
8
|
|
|
7
9
|
```bash
|
|
8
|
-
# 1) npm(推荐 · pack-aware · 含 shared/ · canonical .agents + 多智能体)
|
|
9
10
|
npx @topmindspace/topmind-skills add topmindspace/topmind-skills -g
|
|
10
|
-
# 只装给部分智能体
|
|
11
|
-
npx @topmindspace/topmind-skills add topmindspace/topmind-skills -g -a claude-code -a mimocode
|
|
12
|
-
# 升级
|
|
13
|
-
npx @topmindspace/topmind-skills update -g
|
|
14
|
-
|
|
15
|
-
# 2) 社区 CLI(快速试用;不含 shared/ — 见 INSTALL.md)
|
|
16
|
-
npx skills add topmindspace/topmind-skills -g -y
|
|
17
|
-
|
|
18
|
-
# 3) Pack-aware 安装器(源码仓内)
|
|
19
|
-
npm run add -- topmindspace/topmind-skills -g
|
|
20
|
-
npm run update -- -g
|
|
21
|
-
|
|
22
|
-
# 4) 从 GitHub Release 装(离线/固定版本)
|
|
23
|
-
node bin/install-skills.mjs add release:latest -g
|
|
24
|
-
|
|
25
|
-
# 查看矩阵 / 修断链
|
|
26
|
-
node bin/install-skills.mjs agents
|
|
27
|
-
node bin/install-skills.mjs doctor --repair
|
|
28
11
|
```
|
|
29
12
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
**版本与清单真源:** [`topmind-pack.json`](./topmind-pack.json)(`npm run versions`)。
|
|
33
|
-
各 `SKILL.md` 的 `metadata.version` **必须**等于 pack 版本。
|
|
34
|
-
|
|
35
|
-
---
|
|
13
|
+
装好后对助手说「topmind」或直接说要做的事即可。升级用:
|
|
36
14
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
```text
|
|
40
|
-
topmind-skills/ # pack 根 = 仓库根
|
|
41
|
-
├── topmind/ # 唯一日常入口(router)
|
|
42
|
-
├── topmind-capture|organize|write|memory|maintain|loop/
|
|
43
|
-
├── topmind-weread|x/ # 可选连接器
|
|
44
|
-
├── topmind-ledger/ # 可选记账(记忆平面账本)
|
|
45
|
-
├── shared/ # 写回回执 · 降级 · 自动建议 · 捕获 …
|
|
46
|
-
├── install-targets/ # Host 安装形状(claude-code / codex / mimocode / …)
|
|
47
|
-
├── evals/evals.json
|
|
48
|
-
├── bin/install-skills.mjs # pack-aware + agent matrix 安装器
|
|
49
|
-
├── scripts/build-pack.mjs
|
|
50
|
-
└── topmind-pack.json # 版本真源
|
|
15
|
+
```bash
|
|
16
|
+
npx @topmindspace/topmind-skills update -g
|
|
51
17
|
```
|
|
52
18
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
| **连接器** | weread · x(可选) |
|
|
58
|
-
| **可选** | ledger(记账 · 记忆平面账本) |
|
|
59
|
-
| **外部可选(不随包)** | 公众号 `topmind-wechat-post` 等写作技能(topmind-writing-skills)· `topmind-research` · `topmind-presentation` · `topmind-handoff`;路由见 `shared/trigger-disambiguation.md` |
|
|
19
|
+
- 包里版本更新时直接覆盖,打印 `Upgraded <技能> <旧> -> <新>`;版本相同打印 `Already up to date`;已装版本更新时不降级,要降级加 `--force`。
|
|
20
|
+
- 只装给部分助手:在 `add` 后面加 `-a claude-code -a codex`。
|
|
21
|
+
- 社区 CLI `npx skills add topmindspace/topmind-skills -g -y` 也能装,但不带 `shared/` 目录,部分规则会读不到,装完要补一步,见 [INSTALL.md](./INSTALL.md#社区-cli-npx-skills)。
|
|
22
|
+
- 固定版本或离线安装、项目级安装、各助手的目录位置,都在 [INSTALL.md](./INSTALL.md)。
|
|
60
23
|
|
|
61
|
-
|
|
24
|
+
## 怎么用
|
|
62
25
|
|
|
63
|
-
|
|
26
|
+
日常入口只暴露 `topmind` 一个。你说的话由它判断交给哪个技能,你不用记子技能的名字。
|
|
64
27
|
|
|
65
|
-
|
|
28
|
+
| 你说 | 交给 | 结果 |
|
|
29
|
+
|---|---|---|
|
|
30
|
+
| 「记一下这个链接」「收进来」 | `topmind-capture` | 存进动态周期本、专题或 Inbox,回执告诉你放在哪 |
|
|
31
|
+
| 「记一下要做 X」「别忘了 X」 | `topmind-capture` | 材料落盘,待办写进 `memory/todo.md` |
|
|
32
|
+
| 「有什么要做的」 | `topmind` | 列出 `memory/todo.md` 里没做完的事 |
|
|
33
|
+
| 「整理本周」「总结一下这个专题」 | `topmind-organize` | 理顺本周动态,或在专题里整理、对比、提炼 |
|
|
34
|
+
| 「写成稿」「润色一下」 | `topmind-write` | 起草或改稿,放到交付目录或专题里 |
|
|
35
|
+
| 「记住我…」「更新我的情况」 | `topmind-memory` | 更新 `memory/profile.md` 或周期反思 |
|
|
36
|
+
| 「体检一下」「doctor」 | `topmind-maintain` | 检查目录结构和配置,做可回退的清理 |
|
|
37
|
+
| 「跑一遍 loop」 | `topmind-loop` | 逐个专题巡检,中断后能接着跑 |
|
|
38
|
+
| 「同步微信读书」 | `topmind-weread` | 可选:把划线和想法同步到专题 |
|
|
39
|
+
| 「发推」「归档我的推文」 | `topmind-x` | 可选:X 归档、搜索与发帖 |
|
|
40
|
+
| 「记一笔,午饭 35」 | `topmind-ledger` | 可选:记账到 `memory/ledgers/` |
|
|
66
41
|
|
|
67
|
-
|
|
68
|
-
User experience: capture-first
|
|
69
|
-
Data organization: category-first + topic-emerges
|
|
70
|
-
Content truth: topmind-workspace
|
|
71
|
-
Capability model: action-first
|
|
72
|
-
Save settings: auto | confirm
|
|
73
|
-
Safety model: reversible by default
|
|
74
|
-
Suggestions: L0 auto-land · L1 auto-prepare · L2 confirm-apply — shared/auto-suggest.md
|
|
75
|
-
```
|
|
42
|
+
本包共 10 个技能:入口 `topmind`、6 个动作技能、2 个可选连接器、1 个可选记账。清单见 [skills.md](./skills.md)。
|
|
76
43
|
|
|
77
|
-
|
|
78
|
-
本 pack **不要求 Desktop**。**UTR 可选** — 没有 UTR 时用 Host 文件工具。
|
|
79
|
-
|
|
80
|
-
工作流:`收进来 -> 继续做 -> 交付/沉淀 -> 找回/调整`
|
|
81
|
-
(用户说「收一下」「记一下」「整理」「写成稿」「跑一遍 loop」— router 推断类别 / 专题 / 动作。)
|
|
82
|
-
|
|
83
|
-
**想记就记 / 随用随记**:捕获零提问落盘(L0);分类备选 / 待办 / 记忆候选默认 L1 准备——显式行动语待办在 auto 下同轮写入 `memory/todo.md`,其余建议点头再落([`shared/auto-suggest.md`](./shared/auto-suggest.md))。
|
|
84
|
-
|
|
85
|
-
---
|
|
86
|
-
|
|
87
|
-
## SKILL.md frontmatter
|
|
88
|
-
|
|
89
|
-
```yaml
|
|
90
|
-
---
|
|
91
|
-
name: <kebab-case-id> # 必填;与目录名一致
|
|
92
|
-
description: >- # 必填;做什么 + Use when + Do NOT use
|
|
93
|
-
…
|
|
94
|
-
license: MIT
|
|
95
|
-
compatibility: … # 可选;运行环境说明(≤500 字符)
|
|
96
|
-
metadata: # Agent Skills 规范:自定义字段一律放这里,值为字符串
|
|
97
|
-
version: "<pack.version>" # 必填;= topmind-pack.json version
|
|
98
|
-
action_category: "capture" # skill 分类(不是用户笔记的 category)
|
|
99
|
-
entrypoint: "false" # 只有 topmind router 是 "true"
|
|
100
|
-
triggers: "记一下, 收进, capture" # 逗号分隔
|
|
101
|
-
tags: "capture, inbox"
|
|
102
|
-
author: "TopMindSpace"
|
|
103
|
-
homepage: "https://github.com/topmindspace/topmind-skills"
|
|
104
|
-
updated: "YYYY-MM-DD"
|
|
105
|
-
degradation: "../shared/capability-degradation.md"
|
|
106
|
-
---
|
|
107
|
-
```
|
|
44
|
+
### 配套技能(单独安装)
|
|
108
45
|
|
|
109
|
-
|
|
46
|
+
下面这些不随本包发布,装了以后 `topmind` 会把对应请求转过去,没装时退回 `topmind-write` 或在回执里说明。
|
|
110
47
|
|
|
111
|
-
|
|
48
|
+
| 需求 | 技能 | 仓库 |
|
|
49
|
+
|---|---|---|
|
|
50
|
+
| 公众号、X 长文、短文、段子、封面、长图 | `topmind-wechat-post` 等 8 个写作技能 | [topmind-writing-skills](https://github.com/topmindspace/topmind-writing-skills) |
|
|
51
|
+
| AI 行业动态、读论文、核实数字 | `topmind-research` | [topmind-research](https://github.com/topmindspace/topmind-research) |
|
|
52
|
+
| 把材料做成可翻页 HTML 和 PPTX | `topmind-presentation` | [topmind-presentation](https://github.com/topmindspace/topmind-presentation) |
|
|
53
|
+
| 跨工具交接记忆 | `topmind-handoff` | [topmind-handoff](https://github.com/topmindspace/topmind-handoff) |
|
|
112
54
|
|
|
113
|
-
|
|
55
|
+
各技能怎么分工,见 [`shared/trigger-disambiguation.md`](./shared/trigger-disambiguation.md)。
|
|
114
56
|
|
|
115
|
-
|
|
116
|
-
{workspace-root}/
|
|
117
|
-
├── topmind.yaml # contract v4
|
|
118
|
-
├── memory/ # profile.md · periodic/ · topics/ · todo.md · 可选 ledgers/
|
|
119
|
-
├── .topmind/ # rebuildable machine state
|
|
120
|
-
├── 00-Inbox/ # role: buffer (live dir name)
|
|
121
|
-
├── 10-动态/ … # categories (template-driven)
|
|
122
|
-
├── 88-交付/ or 88-Delivery/ # role: delivery
|
|
123
|
-
└── 99-归档/ or 99-Archive/ # role: system
|
|
124
|
-
```
|
|
57
|
+
## 内容存在哪
|
|
125
58
|
|
|
126
|
-
|
|
59
|
+
所有内容都是你本机 `topmind-workspace` 里的 Markdown 文件,用 Obsidian 或任何编辑器都能打开。
|
|
127
60
|
|
|
128
61
|
```text
|
|
129
|
-
|
|
130
|
-
├──
|
|
131
|
-
├──
|
|
132
|
-
|
|
62
|
+
topmind-workspace/
|
|
63
|
+
├── topmind.yaml # 工作区配置
|
|
64
|
+
├── memory/ # 我的情况、周期反思、待办、账本
|
|
65
|
+
├── 00-Inbox/ # 一时分不了类的先放这里
|
|
66
|
+
├── 10-动态/ # 按周的动态周期本
|
|
67
|
+
├── … # 其他大类,按模板生成,可以改名、隐藏、新增
|
|
68
|
+
├── 88-交付/ # 写好的稿件
|
|
69
|
+
└── 99-归档/
|
|
133
70
|
```
|
|
134
71
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
**不要创建(已废弃):** 默认 `outline.md` / `setting.md` / `style.md`;`project_type` frontmatter;专题内嵌套 `notes/` 或 `outputs/`;顶层 `projects/`;`YYYY-类型-项目名` 命名。
|
|
138
|
-
|
|
139
|
-
**类别:** 运行时发现 `{NN-Name}/` + `topmind.yaml` v4(`categories.extensions` / `categories.overrides` 含 `hidden`)。共享解析器:引擎 `lib/workspace-model.mjs`。优先按角色路由,不要写死 `10-` / `20-` 编号。
|
|
140
|
-
|
|
141
|
-
不要硬编码绝对路径 — 从 Host 推断 `workspace_root`,或向用户询问。
|
|
142
|
-
|
|
143
|
-
### 6 条核心规约
|
|
144
|
-
|
|
145
|
-
1. **大类不重叠**
|
|
146
|
-
2. **专题自然涌现**
|
|
147
|
-
3. **动态类特殊**(默认平铺)
|
|
148
|
-
4. **兜底类清理**(约 30 天)
|
|
149
|
-
5. **参考资料定位**
|
|
150
|
-
6. **大类命名稳定**(rename via migration)
|
|
72
|
+
- 一个大类下面,同一主题的笔记多了会自然聚成专题文件夹 `{大类}/{YYYY-主题}/`;没有专题时笔记直接放在大类根。
|
|
73
|
+
- 大类不重叠、专题自然形成、动态平铺、Inbox 约 30 天清一次、参考资料单独放、大类名称保持稳定。完整规则见 [`shared/project-model-brief.md`](./shared/project-model-brief.md)。
|
|
151
74
|
|
|
152
|
-
|
|
75
|
+
## 几条约定
|
|
153
76
|
|
|
154
|
-
|
|
77
|
+
- **先存下来再说**:分类不确定时先放 Inbox,不因为分类拦住保存。
|
|
78
|
+
- **每次写入都有回执**:写了哪个文件、为什么放这里、下一步可以做什么。
|
|
79
|
+
- **保存设置**:`writeback_mode: auto | confirm`。auto 直接写并给回执;confirm 先给你审阅。删除记忆、建专题这类高影响操作总要你点头,规则见 [`shared/auto-suggest.md`](./shared/auto-suggest.md)。
|
|
80
|
+
- **文件是唯一的数据来源**:助手自己的会话状态不得成为 topmind 内容真源。
|
|
81
|
+
- **不要求 Desktop,UTR 可选**:topmind Desktop 和 UTR 命令行都不是必需的,没有时用助手自带的文件工具,遵守同一套约定。
|
|
82
|
+
- **不代发**:任何技能都只起草,发布由你操作。
|
|
155
83
|
|
|
156
|
-
##
|
|
84
|
+
## 给维护者
|
|
157
85
|
|
|
158
|
-
-
|
|
159
|
-
-
|
|
160
|
-
-
|
|
161
|
-
- 每次写入返回回执(路径、路由原因、下一步)
|
|
162
|
-
- `source_type`: `user-original` | `external-capture` | `ai-derived`
|
|
163
|
-
- UTR 可选 — Host 文件工具遵守同一契约
|
|
164
|
-
- 保存设置协议:`writeback_mode: auto | confirm`
|
|
165
|
-
- locked:auto 下可编辑(任务级首写快照);永久删 locked/core 仅用户
|
|
166
|
-
- 本 pack 不要求 Desktop
|
|
167
|
-
- **复合纪律(不改结构):** organize 把综合写回磁盘;write 先读可选 `topic.md`;memory 仅在明确确认后写;capture 从不改 `topic.md`;**不要**硬造 `INDEX.md` / 平行 wiki 树(见 `shared/project-model-brief.md`)
|
|
86
|
+
- 版本和技能清单以 [`topmind-pack.json`](./topmind-pack.json) 为准(`npm run versions` 查看),各 `SKILL.md` 的 `metadata.version` 必须一致。
|
|
87
|
+
- `SKILL.md` frontmatter 只用 Agent Skills 规范字段(`name`、`description`、`license`、`compatibility`、`metadata`、`allowed-tools`),自定义字段放在 `metadata` 下、值为字符串。CI 用 `agentskills validate` 逐个检查。
|
|
88
|
+
- 本地测试:`npm test`。发布流程见 [INSTALL.md](./INSTALL.md#发布维护者)。
|
|
168
89
|
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
90
|
+
```text
|
|
91
|
+
topmind-skills/
|
|
92
|
+
├── topmind/ # 日常入口(路由)
|
|
93
|
+
├── topmind-capture/ … topmind-loop/ # 6 个动作技能
|
|
94
|
+
├── topmind-weread/ topmind-x/ # 可选连接器
|
|
95
|
+
├── topmind-ledger/ # 可选记账
|
|
96
|
+
├── shared/ # 各技能共用的规则文档
|
|
97
|
+
├── install-targets/ # 各助手的安装形状
|
|
98
|
+
├── integrations/ # Codex、Hermes、OpenCode 接入说明
|
|
99
|
+
├── evals/ # 路由评测
|
|
100
|
+
├── bin/install-skills.mjs
|
|
101
|
+
└── topmind-pack.json
|
|
178
102
|
```
|
|
179
103
|
|
|
180
|
-
|
|
104
|
+
## 许可证
|
|
105
|
+
|
|
106
|
+
MIT
|