@vima_tech/telos 1.4.0
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 +179 -0
- package/README.zh.md +180 -0
- package/bin/telos.js +477 -0
- package/package.json +37 -0
- package/scripts/auto-distill.sh +154 -0
- package/scripts/available.json +11 -0
- package/scripts/bridge-to-coder.sh +139 -0
- package/scripts/feedback-hook.sh +157 -0
- package/scripts/telos-install.sh +329 -0
- package/skills/_kernel/distillation.md +311 -0
- package/skills/_kernel/skill-extraction.md +227 -0
- package/skills/_template/domain.md +93 -0
- package/skills/_template/feedback-questions.sh +9 -0
- package/skills/_template/skill.yaml +22 -0
- package/skills/req-mining/artifacts.md +185 -0
- package/skills/req-mining/domain.md +243 -0
- package/skills/req-mining/feedback-questions.sh +9 -0
- package/skills/req-mining/industry/erp.md +108 -0
- package/skills/req-mining/industry/retail.md +24 -0
- package/skills/req-mining/memory/failure-patterns.md +84 -0
- package/skills/req-mining/skill.yaml +45 -0
- package/templates/state.json +91 -0
package/README.md
ADDED
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
# Telos
|
|
2
|
+
|
|
3
|
+
**Towards who you become.**
|
|
4
|
+
|
|
5
|
+
Your conversations grow into reusable skills. Telos turns what you learn into what you carry forward — across every domain, every session, towards the person you're becoming.
|
|
6
|
+
|
|
7
|
+
Runs inside Claude Code — no server, no setup.
|
|
8
|
+
|
|
9
|
+
[中文文档 →](README.zh.md)
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## The Problem
|
|
14
|
+
|
|
15
|
+
Current AI memory knows who you are. It doesn't know what you've learned.
|
|
16
|
+
|
|
17
|
+
You figure out the trick to braising meat. You nail a negotiation framework. You debug a subtle async race condition. Next session: gone. The AI starts cold, and you start explaining again.
|
|
18
|
+
|
|
19
|
+
- **Declarative memory** (preferences, background) — every major AI has this.
|
|
20
|
+
- **Procedural memory** (how to do things) — nobody is building this.
|
|
21
|
+
|
|
22
|
+
The gap: you have better conversations every day, but you never get permanently better at anything.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## What Telos Does
|
|
27
|
+
|
|
28
|
+
**Skills Library** — Every conversation that teaches you something can be distilled into a skill file. Next time the topic comes up, Telos loads what you already know and picks up where you left off — any domain, not just coding.
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
Session 1: you work out braising technique with Claude
|
|
32
|
+
→ /skill save → skills/cooking/braising.md
|
|
33
|
+
|
|
34
|
+
Session 2: "how do I braise short ribs?"
|
|
35
|
+
→ Telos silently loads braising.md
|
|
36
|
+
→ Claude starts from your existing knowledge, not from zero
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
**Multi-expert Deliberation** — Use `@skill` to summon domain-expert protocols into the same session. Each analyzes your material independently, then Telos synthesizes: consensus, divergence, recommended next step.
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
tos @req-mining @code-review review this spec
|
|
43
|
+
req-mining → 5 requirements · gap: budget undefined
|
|
44
|
+
code-review → requirement 3 has tech risk · prototype first
|
|
45
|
+
Synthesis → consensus on scope · diverge on timeline · prototype first
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
**Flywheel** — Expert protocols self-improve from execution feedback. Instant correction: `@req-mining you missed priority ranking` — written to memory immediately, no log accumulation needed.
|
|
49
|
+
|
|
50
|
+
---
|
|
51
|
+
|
|
52
|
+
## Highlights
|
|
53
|
+
|
|
54
|
+
| | |
|
|
55
|
+
|---|---|
|
|
56
|
+
| **Skill growth** | Conversations → structured reusable skills, auto-loaded next session |
|
|
57
|
+
| **Any domain** | Cooking, negotiation, writing, coding — not limited to programming |
|
|
58
|
+
| **`@skill` routing** | `tos @req-mining @code-review spec.md` — one line, multiple experts |
|
|
59
|
+
| **Context isolation** | Each expert sees only your material, not others' answers — no groupthink |
|
|
60
|
+
| **`--parallel` mode** | Real independent sub-agents concurrently, not role-playing |
|
|
61
|
+
| **Instant correction** | `@skill you missed X` writes to memory immediately |
|
|
62
|
+
| **Self-evolving** | Ring 3 distillation turns execution failures into permanent protocol improvements |
|
|
63
|
+
| **Industry packs** | Domain knowledge auto-loaded by keyword (ERP, retail, trade…) |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Install
|
|
68
|
+
|
|
69
|
+
> Tip: paste either command below directly into Claude Code — Claude will run it for you.
|
|
70
|
+
|
|
71
|
+
**New project:**
|
|
72
|
+
|
|
73
|
+
```bash
|
|
74
|
+
npm install -g @vima_tech/telos
|
|
75
|
+
telos new my-project
|
|
76
|
+
cd my-project && claude
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
**Embed into an existing project:**
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
curl -sSL https://raw.githubusercontent.com/renmengkai/telos/main/install.sh | bash
|
|
83
|
+
|
|
84
|
+
# Install with a specific skill package
|
|
85
|
+
curl -sSL https://raw.githubusercontent.com/renmengkai/telos/main/install.sh | bash -s req-mining
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Both include `skills/`, `scripts/`, `CLAUDE.md`, and the `telos` / `tos` commands. After installation, open Claude Code and type `tos` to start.
|
|
89
|
+
|
|
90
|
+
---
|
|
91
|
+
|
|
92
|
+
## Usage
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Grow your skills
|
|
96
|
+
/skill save # distill current conversation into a skill
|
|
97
|
+
/skill save cooking/braising # save with specific domain/name
|
|
98
|
+
/skill list # see what you know
|
|
99
|
+
/skill load negotiation # manually load a domain into context
|
|
100
|
+
|
|
101
|
+
# Multi-expert deliberation
|
|
102
|
+
tos @req-mining review this PRD... # single expert
|
|
103
|
+
tos @req-mining @code-review review this... # group deliberation, isolated
|
|
104
|
+
tos @req-mining @code-review ... --parallel # true parallel sub-agents
|
|
105
|
+
tos @all review this... # every installed skill
|
|
106
|
+
|
|
107
|
+
# Corrections (write to memory instantly)
|
|
108
|
+
@req-mining you missed priority ranking
|
|
109
|
+
@? # list available skills
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## How Skills Work
|
|
115
|
+
|
|
116
|
+
Two kinds of skills live in `skills/` — distinguished by whether they have a `skill.yaml`:
|
|
117
|
+
|
|
118
|
+
**Protocol skills** (have `skill.yaml`) — structured analysis frameworks like `req-mining` or `code-review`. Installed from the registry, self-improving via the flywheel.
|
|
119
|
+
|
|
120
|
+
**Knowledge skills** (no `skill.yaml`) — procedural knowledge extracted from your conversations. `cooking/braising`, `negotiation/salary`, `writing/technical`. Accumulated over time, loaded automatically by topic.
|
|
121
|
+
|
|
122
|
+
```
|
|
123
|
+
skills/
|
|
124
|
+
req-mining/ ← protocol skill (summon with @req-mining)
|
|
125
|
+
skill.yaml
|
|
126
|
+
domain.md
|
|
127
|
+
cooking/
|
|
128
|
+
braising.md ← knowledge skill (auto-loads on cooking topics)
|
|
129
|
+
_index.md ← topic-matching index for auto-loading
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## The Flywheel
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
Ring 1 @skill analyzes → assumptions flagged · gaps listed · synthesis view
|
|
138
|
+
Ring 2 Execution tool implements → failures written to .telos-feedback.json
|
|
139
|
+
Ring 3 ≥3 feedback items, or instant @skill correction
|
|
140
|
+
→ distill → update protocol memory / domain
|
|
141
|
+
→ skill is more accurate next session
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
One manual touchpoint: a single y/n on the distillation diff preview.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## Build Your Own Skill
|
|
149
|
+
|
|
150
|
+
```bash
|
|
151
|
+
/add-skill
|
|
152
|
+
# guided: name · description · use case · trigger keywords
|
|
153
|
+
# generates skills/{name}/ with tier: workspace
|
|
154
|
+
|
|
155
|
+
./scripts/telos-install.sh publish {name} # share via registry
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
## Contributing
|
|
161
|
+
|
|
162
|
+
- **New skills** — PR to `skills/your-skill-name/`
|
|
163
|
+
- **Industry packs** — add to `skills/{name}/industry/`
|
|
164
|
+
- **Kernel** — `scripts/` or `skills/_kernel/`
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## License
|
|
169
|
+
|
|
170
|
+
MIT
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
<div align="center" style="background:#0b0d12; padding:24px 0; margin:0; border-radius:8px;">
|
|
174
|
+
|
|
175
|
+

|
|
176
|
+
|
|
177
|
+
**[📄 View Full Poster →](docs/Telos_Poster.html)**
|
|
178
|
+
|
|
179
|
+
</div>
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
[English →](README.md)
|
|
2
|
+
|
|
3
|
+
# Telos
|
|
4
|
+
|
|
5
|
+
**走向你将成为的那个人。**
|
|
6
|
+
*Towards who you become.*
|
|
7
|
+
|
|
8
|
+
对话里学到的东西,不该下次就忘掉。Telos 把你每次对话的收获提炼为可复用的技能,持久留存,跨越每一个领域、每一次会话——走向那个更懂行、更有积累的你。
|
|
9
|
+
|
|
10
|
+
运行在 Claude Code 内部——无需服务器,无需配置。
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## 痛点
|
|
15
|
+
|
|
16
|
+
现有 AI 记住你**是谁**。但不记得你**懂什么**。
|
|
17
|
+
|
|
18
|
+
你学会了红烧肉的诀窍,摸透了谈判的节奏,调通了一个隐蔽的异步 bug——下次会话:全部清零。AI 重新从零开始,你重新从头解释。
|
|
19
|
+
|
|
20
|
+
- **陈述性记忆**(偏好、背景):所有主流 AI 都在做。
|
|
21
|
+
- **程序性记忆**(怎么做事):没有人在做。
|
|
22
|
+
|
|
23
|
+
这个缺口就是:你每天的对话在进步,但你没有在任何领域真正变得更厉害。
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Telos 做什么
|
|
28
|
+
|
|
29
|
+
**技能库** — 每次有收获的对话都可以提炼为技能文件。下次同类话题出现,Telos 静默加载你已有的知识,从你上次停下的地方继续——不限于编程,任何领域都可以。
|
|
30
|
+
|
|
31
|
+
```
|
|
32
|
+
第一次会话:和 Claude 研究红烧肉的技巧
|
|
33
|
+
→ /skill save → skills/cooking/braising.md
|
|
34
|
+
|
|
35
|
+
第二次会话:"炖牛腩怎么做?"
|
|
36
|
+
→ Telos 静默加载 braising.md
|
|
37
|
+
→ Claude 从你已有的基础出发,不从零开始
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
**多专家分析** — 用 `@skill` 把领域专家协议召入同一会话,各自独立分析你的材料,Telos 输出综合视图:共识、分歧、下一步建议。
|
|
41
|
+
|
|
42
|
+
```
|
|
43
|
+
tos @req-mining @code-review 帮我看这份需求文档
|
|
44
|
+
req-mining → 识别到 5 个需求 · 信息缺口:预算范围未定义
|
|
45
|
+
code-review → 需求 3 存在技术风险 · 建议先做原型再排期
|
|
46
|
+
综合视图 → 范围上达成共识 · 时间线存在分歧 · 先做原型
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**飞轮** — 专家协议从执行反馈中自动进化。即时纠正:`@req-mining 你漏掉了优先级排序` — 直接写入记忆,无需等待积累门槛。
|
|
50
|
+
|
|
51
|
+
---
|
|
52
|
+
|
|
53
|
+
## 亮点
|
|
54
|
+
|
|
55
|
+
| | |
|
|
56
|
+
|---|---|
|
|
57
|
+
| **技能成长** | 对话 → 结构化可复用技能,下次会话自动加载 |
|
|
58
|
+
| **不限领域** | 烹饪、谈判、写作、编程——技能库不只是给程序员用的 |
|
|
59
|
+
| **`@skill` 路由** | `tos @req-mining @code-review 文档` — 一行命令,多位专家 |
|
|
60
|
+
| **上下文隔离** | 每个专家只看你的材料,看不到其他专家的输出——杜绝群体思维 |
|
|
61
|
+
| **`--parallel` 真并行** | 派生真正独立的子任务并发运行,不是角色扮演 |
|
|
62
|
+
| **即时纠正** | `@skill 你漏掉了 X` 立即写入记忆,不需要积累日志 |
|
|
63
|
+
| **自我进化** | Ring 3 蒸馏将执行失败转化为协议的永久改进 |
|
|
64
|
+
| **行业包** | 关键词自动加载领域知识(ERP、零售、外贸……)|
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
## 安装
|
|
69
|
+
|
|
70
|
+
> 提示:将下面的命令直接粘贴到 Claude Code 中,Claude 会帮你执行。
|
|
71
|
+
|
|
72
|
+
**新建项目:**
|
|
73
|
+
|
|
74
|
+
```bash
|
|
75
|
+
npm install -g @vima_tech/telos
|
|
76
|
+
telos new my-project
|
|
77
|
+
cd my-project && claude
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**嵌入现有项目:**
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
curl -sSL https://raw.githubusercontent.com/renmengkai/telos/main/install.sh | bash
|
|
84
|
+
|
|
85
|
+
# 指定安装特定 Skill 包
|
|
86
|
+
curl -sSL https://raw.githubusercontent.com/renmengkai/telos/main/install.sh | bash -s req-mining
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
两种方式均包含 `skills/`、`scripts/`、`CLAUDE.md` 以及 `telos` / `tos` 命令。安装完成后,打开 Claude Code,输入 `tos` 即可启动。
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 使用方式
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# 积累你的技能
|
|
97
|
+
/skill save # 把当前对话提炼为技能
|
|
98
|
+
/skill save cooking/braising # 指定领域和名称
|
|
99
|
+
/skill list # 查看你已掌握的技能
|
|
100
|
+
/skill load negotiation # 手动加载某领域到当前上下文
|
|
101
|
+
|
|
102
|
+
# 多专家分析
|
|
103
|
+
tos @req-mining 帮我看这份 PRD... # 单专家分析
|
|
104
|
+
tos @req-mining @code-review 帮我看这份... # 群聊,隔离顺序(默认)
|
|
105
|
+
tos @req-mining @code-review ... --parallel # 真并行子任务
|
|
106
|
+
tos @all 帮我看这份... # 激活所有已安装 Skill
|
|
107
|
+
|
|
108
|
+
# 即时纠正(直接写入记忆)
|
|
109
|
+
@req-mining 你漏掉了优先级排序
|
|
110
|
+
@? # 列出可用 Skill
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
---
|
|
114
|
+
|
|
115
|
+
## 两类 Skill
|
|
116
|
+
|
|
117
|
+
`skills/` 目录下共存两类技能,通过是否有 `skill.yaml` 区分:
|
|
118
|
+
|
|
119
|
+
**协议 Skill**(有 `skill.yaml`)— 结构化分析框架,如 `req-mining`、`code-review`。从注册表安装,通过飞轮自我进化。
|
|
120
|
+
|
|
121
|
+
**知识 Skill**(无 `skill.yaml`)— 从对话提炼的程序性知识,如 `cooking/braising`、`negotiation/salary`。随时间积累,按话题自动加载。
|
|
122
|
+
|
|
123
|
+
```
|
|
124
|
+
skills/
|
|
125
|
+
req-mining/ ← 协议 Skill(用 @req-mining 召唤)
|
|
126
|
+
skill.yaml
|
|
127
|
+
domain.md
|
|
128
|
+
cooking/
|
|
129
|
+
braising.md ← 知识 Skill(烹饪话题时自动加载)
|
|
130
|
+
_index.md ← 话题匹配索引
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## 飞轮三环
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
Ring 1 @skill 分析 → 标注假设 · 列出信息缺口 · 输出综合视图
|
|
139
|
+
Ring 2 执行工具落地 → 失败写入 .telos-feedback.json
|
|
140
|
+
Ring 3 ≥3 条反馈,或 @skill 即时纠正
|
|
141
|
+
→ 蒸馏 → 更新协议记忆 / 分析协议
|
|
142
|
+
→ 下次分析更准确
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
唯一需要人工操作的是蒸馏差异预览的一次 y/n 确认。
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## 创建自己的 Skill
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
/add-skill
|
|
153
|
+
# 引导填写:名称 · 描述 · 使用场景 · 触发词
|
|
154
|
+
# 自动生成 skills/{name}/,tier: workspace
|
|
155
|
+
|
|
156
|
+
./scripts/telos-install.sh publish {name} # 稳定后发布到注册表
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
---
|
|
160
|
+
|
|
161
|
+
## 开源贡献
|
|
162
|
+
|
|
163
|
+
- **新 Skill** — PR 到 `skills/your-skill-name/`
|
|
164
|
+
- **行业包** — 添加到 `skills/{name}/industry/`
|
|
165
|
+
- **内核改进** — 修改 `scripts/` 或 `skills/_kernel/`
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## License
|
|
170
|
+
|
|
171
|
+
MIT
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
<div align="center" style="background:#0b0d12; padding:24px 0; margin:0; border-radius:8px;">
|
|
175
|
+
|
|
176
|
+

|
|
177
|
+
|
|
178
|
+
**[📄 View Full Poster →](docs/Telos_Poster.html)**
|
|
179
|
+
|
|
180
|
+
</div>
|