proposer-guide
它能做什么
这项技能向 AI 展示,在相信某个说法之前,如何浏览源文件、搜索代码并阅读运行记录。它适合希望对照真实证据检查程序修改的人。
适用场景
- ✓当我想在修改程序之前,先了解它的工作原理的时候。
- ✓当我需要对照过去的尝试和已记录的结果,检查某项修改建议的时候。
- ✓当某个解释或代码注释似乎有误,我需要在代码中加以确认的时候。
技能链接
https://github.com/HKUDS/AgentPilot/blob/main/agentpilot/src/agentpilot/policy/proposer/skills/proposer-guide/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查源代码和过去的运行记录,看看我提出的修复是否真的有帮助。”
每周 5 个新技能,1 分钟读完。
工作原理
AI 会浏览代码、搜索匹配的文本、阅读已记录的尝试,并顺着相关代码追踪下去。在证据支持之前,它会把解释和自我报告的结果当作待验证的说法。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Read source and execution evidence
Read missing code before relying on a name, diagram or docstring. Follow related_implementations into callees when a claim depends on their behavior.
Use paths and record references from the supplied directories:
- list_sources() browses code; read(path="src/main.py", line=40) reads file lines.
- search(query="text") searches source and opens a unique match when possible; use scope="trace" to search executions.
- list_cases(view="tasks") reads task requirements independently of outcomes. list_cases() browses executions; read_trace(ref="<record reference>") opens one.
- check_trace(ref, start, end, name) optionally counts and orders recorded tool requests in an event interval; omit name to include all tools. It checks facts, not whether the proposed change would improve results.
- Follow returned next calls to continue, open calls to inspect a match, and expand calls to recover omitted text. No cursor conversion is needed.
Inspect relevant attempts before connecting their observations. Successful repeats help compare behavior, but neither success nor failure proves a cause. Executor explanations and printed self-verdicts are claims. A recorded tool result may mix terminal output and harness feedback; keep an unknown origin unknown. Keep early ideas provisional: check whether the change already exists, would trigger, or would still accept the recorded failure. Check whether its new action would occur in time to affect that failure. When counterevidence rules out the idea, revise the mechanism or narrow its applicability.
Independent reads may share a response; wait for results when the next action depends on them.
常见问题
一次通过的运行能证明修复有效吗?
不能。指南说,成功或失败都不能证明原因,因此 AI 会更仔细地审视证据。
什么是 trace?
trace 是一次任务的运行记录,包括工具调用及其结果。
它可以读取哪些文件?
它只处理被提供给它的源代码和记录文件夹。
详情
作者的原始描述
Use source and execution tools to investigate a supplied program and check a proposed change against evidence.
repo: HKUDS/AgentPilot
热度
- GitHub 星标
- 7.8k
- 排名
- #12837
- 许可证
- MIT
- 更新时间
- 2026/11/1
评论
- …
同一仓库的更多技能
agentpilot
7.8k帮你的智能体准备任务并运行 AgentPilot 循环,逐步改进项目:循环会提出修改、测试修改并为其打分。
openspace
7.8k帮你的智能体设置 OpenSpace,这是一个用于存储和获取智能体技能的工具,并通过 MCP 将其连接到你的 AI 应用。
rsi-arena
7.8k帮你的智能体设置并运行标准 AI 基准测试,例如 AIME 和 Terminal-Bench,用来比较不同的改进方法。
experiment-guide
7.8k帮你的智能体规划小型实验、阅读实验结果并记录发现,同时研究如何改进一个程序。