Repository navigation
MCP 和 skill:查资料搜到视频时先读一遍确认内容 - #451
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
agent 查资料搜到 B站 / YouTube 视频时,以前没有任何地方告诉它用 MoonDigest 核实内容,它多半只看标题就引用或推荐。
instructions,Claude Code 等客户端会放进模型的提示词):查资料、找教程、比较来源时搜到视频,不凭标题、封面、播放量判断,挑最相关的几个用 get_video 读,只保留真正讲了用户要的内容的,带时间戳说明;一次读几个不读几十个,限流就停;MoonDigest 不会搜索,视频要用 agent 自己的搜索工具找。验证
mcp/下 12 条测试通过,stdio 那条加了断言:客户端拿到的 instructions 和 get_video 说明里有这条引导。node scripts/selftest.mjs41 个通过。第一次全量跑时 triage.selftest.js 有一条倒计时断言偶发失败(单独跑 3 次都过,重跑全量也过),和这次改动无关。