Skills 3/6: skills you turn on are offered to the model, and every pull shows
维护者通常 1 天内回复
@AbirAbbas 已经在做这个了。
开始于 2026年9月23日。
评估
这个 Issue 还没有评估数据。
描述
Step 3 of #1277. It lands in the single pull request for #1277 (branch feat/1277-skills).
What
- Where the choice is kept. Three places hold the same two lists,
on: [names]andoff: [names]. The narrowest scope that names a skill wins; otherwise the skill is off. Every write goes through one engine door.
| Scope | Where |
|---|---|
| global | ~/.codeaf/skills.json |
| project | <project>/.codeaf/skills.json |
| conversation | the conversation's meta.json |
- Catalog. Skills that are on are listed in
message[0](name, one-line description, size), beside the standing orders and folders. The catalog changes only when a setting changes or a folder is attached. - The
skilltool. Itsnameis constrained to the skills that are on. It returns the body wrapped as<skill name="…" dir="…">…</skill>, with the skill's bundled files listed. Relative paths resolve againstdir, and the skill's folder is allow-listed forread. - Absent, not broken. With no skill on, neither the catalog nor the tool exists.
- Every pull is visible. Each call draws its own transcript row naming the skill and its size, for example
used skill pdf-processing · 3.1 KB. It is never folded into prose. - Loaded once. A second pull of the same skill in one conversation returns a short "already loaded". Compaction keeps a loaded skill.
allowed-toolspre-approves nothing.- Words.
prompts/system.mdsays what a skill is and when to open one.docs/CHAT-V3.md's "dropped skills & rules" line is invalidated by this pull request's change entry.
Acceptance, end to end
Real binary with a stub model:
- With
pdf-processingturned on globally, the request's system prompt lists it, and the tools includeskillwithpdf-processingin its enum. - When the stub calls
skillwithpdf-processing, the transcript drawsused skill pdf-processing ·followed by its size. The tool result carries the body and the skill'sdir. - With nothing on, the request has no
skilltool and no catalog section. - A project
skills.jsonturning the skill off overrides the global on. A conversation turning it on overrides the project off. - The belt gate names
skill. The manual answers "which skills can you use on your own?".
- 主要语言
- Go
- 星标
- 115
- 派生
- 14
- 平均合并
- 9 小时 35 分钟
- 30 天内合并 PR
- 752
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Agent-Field/CodeAF 的其他 Issue
-
area:chat bug sev:papercut
难度 2/5 1-3 小时 新手友好度 86/100
Agent-Field/CodeAF#1592 ·
维护者通常 1 天内回复
-
area:headless bug sev:critical
难度 2/5 1-3 小时 新手友好度 88/100
Agent-Field/CodeAF#1566 ·
维护者通常 1 天内回复
-
area:chat bug sev:critical
难度 2/5 1-3 小时 新手友好度 82/100
Agent-Field/CodeAF#1548 · 1 条评论 ·
维护者通常 1 天内回复
-
area:chat feature
难度 2/5 1-3 小时 新手友好度 88/100
Agent-Field/CodeAF#1510 ·
维护者通常 1 天内回复
-
area:tests bug
难度 2/5 1-3 小时 新手友好度 82/100
Agent-Field/CodeAF#1489 ·
维护者通常 1 天内回复
查看 Agent-Field/CodeAF 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
-
难度 1/5 1 小时以内 新手友好度 65/100
521xueweihan/HelloGitHub#3789 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 12 天内回复
-
stage-fail
难度 2/5 1-3 小时 新手友好度 78/100
siyuan-note/bazaar#2282 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
openshift/kube-compare#307 ·
维护者通常 1 天内回复