Skip to content

Lambenthan/empiricalwiki / .claude/skills/discover

discover

Verified

基于 anchor 论文、topic 关键词或当前 wiki 状态,产出一份排好序的候选论文 shortlist,供用户或上游 skill 决定是否进一步 `/ingest`。当用户问 "接下来该读什么"、"找和这篇相似的论文"、"推荐相关工作"、"这个方向周围有什么" 时触发;`/ingest --discover` 也会内部调用本 skill。本身不 ingest,只提出候选。

FileKindSize
SKILL.mdskill md9.8 KB
references/ranking-signals.mdmarkdown5.8 KB
references/seed-modes.mdmarkdown2.4 KB
references/wiki-dedup.mdmarkdown2.2 KB

references/seed-modes.md

View on GitHub
# /discover seed 模式

每次调用只选一个模式。决策依据是用户(或调用方 skill)实际说了什么,而不是 wiki 里已有什么。

## Anchor 模式(`from-anchors`)

使用场景:用户指明了一或多篇具体论文,或者这是 `/ingest --discover` 的后续。

触发信号:

- "找和 LoRA 相似的论文"
- "这篇刚 ingest 的,周围还有什么"
- 请求里出现了 arXiv URL / ID / wiki paper slug
- `/ingest --discover` 的内部调用(anchor = 刚 ingest 论文的 arXiv ID)

anchor 模式是最强信号通道 —— Semantic Scholar 的 recommendations endpoint 基于训练模型返回语义相似论文,比在用户手握具体参考点时做关键词搜索更有效。

如果用户给了负例("不要这些"、"和 X 不一样的"),通过 `--negative` 传入。S2 recommendations endpoint 会把结果分布推离负 anchor,当用户想跳出自己已熟悉的子领域时非常有用。

## Topic 模式(`from-topic`)

使用场景:用户给的是 topic / 方向 / 关键词,没有指明具体论文。

触发信号:

- "找 diffusion model fine-tuning 方向的论文"
- "retrieval augmented generation 这块都写了些什么"
- 只有领域短语,没有 anchor

topic 模式跑 S2 search 加(如可用的)DeepXiv search,再排序。它是 `/init` planner 的轻量替代:适合探索,但**不**替代 `/init` 的完整 bootstrap workflow。用户想用一个 topic 从头建 wiki,应该引导到 `/init`,而不是让 `/discover` 承担那个职责。

## Wiki 模式(`from-wiki`)

使用场景:用户开放式地问 "接下来读什么",没有 anchor 也没有 topic。

触发信号:

- "给我下一批要读的论文"
- "当前 wiki 的一个好后续是什么"
- 显式 `--from-wiki` flag

wiki 模式取 wiki 最近修改过的几篇论文页,提取 arXiv ID 作为 anchor。这会隐式把 discovery 偏向用户最近在做的东西 —— 通常正是期望行为。

如果 `wiki/papers/` 为空,或没有论文带 `arxiv` 或 `arxiv_id` frontmatter,wiki 模式无法运行。告诉用户 wiki 过于稀疏,建议改用 topic 模式(或 `/init`)。

## 用户同时给了 anchor 和 topic 怎么办?

优先 anchor 模式。anchor 是比 topic 字符串强得多的信号。可以在给用户的 report 里提一下 topic 已被注意,但 discovery 本身走 `from-anchors`。
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall