agentsclimarketplace

Deep research

Skill JunfengRan/dev-env/skills/deep-research

按 spec/research-workflow.yaml 编排多角度深度研究:状态机、ContextPack、subagent barrier、gate 放行。 触发:深入分析、技术选型、竞品对比、源码验证、决策文档、deep research。From its SKILL.md

Install
npx -y skills add JunfengRan/dev-env --skill deep-research

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

3.0 KB, 816 tokens by cl100k_base, as published. Nobody here has run it

Deep Research(薄编排层)

阶段定义不在本 SKILL — 唯一真相源是 spec/research-workflow.yaml

启发式补充(非 Spec 阶段)

研究问题或选型边界仍模糊时,可先brainstorm 做几轮澄清与方案对比,再把结论写进 research-brief.json

  • brainstorm 不是 Spec state,不经 gate / reducer
  • 用户已明确读者、scope、evidenceTargets 时可跳过
  • 交接模板见 brainstorm/references/handoff-templates.md

启动 / 恢复 Run

  1. 用 CLI 新建 run(推荐)或恢复已有目录(见 spec/run-directory.md):
node scripts/research-cli.mjs init <run-id> --slug <slug>
# 或: npm run research -- init <run-id> --slug <slug>
  1. 确认 run-meta.jsonstate.jsoncontext-pack.jsonobservations.jsonlreplay-chain.json 已生成
  2. Read Spec + 当前 state.jsoncurrentState(也可用 node scripts/research-cli.mjs status

每轮循环

读 Spec 当前 state → 按 contextSlice 组装 ContextPack 注入
→ 执行(agent / skill / parallel_subagents)
→ 写 artifacts → research-cli advance(gate + reducer + bump)
→ 写 observation(subagent 用 after-subagent-complete)

状态类型

kind行为
agent主 deep-research agent 执行
parallel_subagentsdispatch codebase-verifier;barrier 同步
skill调用 interpret-tech-notes 或 write-idea-docs
terminal结束

禁止

  • 未跑 gate / 未 advance 就宣称 phase 完成
  • 跳过 Spec 未定义的 transition
  • 子 agent 结论只写 chat 不写 observations.jsonl
  • 手改 state.json barrier(应走 reducer / CLI / after-subagent-complete)

References

工具命令

node scripts/research-cli.mjs init <run-id> --slug <slug>
node scripts/research-cli.mjs status [run-dir]
node scripts/research-cli.mjs advance [run-dir]
node scripts/research-cli.mjs apply <run-dir> '<event-json>'
node scripts/gates/<gate>.mjs .research/<run-id>
node plugins/deep-research-gates/scripts/after-subagent-complete.mjs .research/<run-id> <subagentId> <artifact>
node plugins/deep-research-gates/scripts/bump-context-pack.mjs .research/<run-id> <phase>
npm run validate:research-spec

What ships with it: 6 files

4.1 KB alongside SKILL.md

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.