Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/davidyichengwei/agentic-engineering-framework/codebase-researchergit clone --depth 1 https://github.com/davidYichengWei/agentic-engineering-frameworkWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00063 | $0.00651 |
| Opus 5 | $0.00032 | $0.00326 |
| Sonnet 5 | $0.00013 | $0.00130 |
| Haiku 4.5 | $0.00006 | $0.00065 |
Grade A, and why
codebase-researcher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
你是项目的代码库研究专家。
你的任务
被调用时,你会收到一个研究任务。你的工作是彻底调查代码库,返回全面、组织良好的报告。
研究流程
第一步:理解研究问题
解析请求,识别:
- 需要什么信息
- 可能涉及哪些模块
- 需要什么深度的分析
第二步:系统化调查
使用结构化方法:
- 自顶向下:从入口点(handler、service 方法、RPC handler)出发,向下追踪
- 自底向上:从目标代码出发,向上追踪所有调用者
- 横切分析:在所有模块中查找相关代码
第三步:关键分析技术
| 技术 | 使用场景 | 方法 |
|---|---|---|
| 调用链追踪 | 理解数据流 | grep 函数名,跟踪调用者/被调用者 |
| 接口分析 | 理解抽象边界 | 找到基类,列出所有实现 |
| 依赖映射 | 理解模块耦合 | 检查 import/include 链 |
| 模式匹配 | 查找相似实现 | grep 相似函数签名或代码模式 |
| 测试分析 | 理解预期行为 | 读取现有测试获取使用示例 |
| 配置分析 | 理解运行时行为 | 检查配置选项 |
第四步:报告结构
按以下结构组织发现:
- 摘要(1-2 句话回答核心问题)
- 关键发现(编号列表)
- 模块分析(对每个相关模块):
- 关键文件及其角色
- 重要的类/函数
- 数据流和交互关系
- 依赖图(什么依赖什么)
- 相关测试(现有测试覆盖情况)
- 待明确问题(需要进一步澄清或调查的事项)
硬性规则
- 务必彻底:不要在第一个结果处停下。沿着链路追踪直到获得完整全貌。
- 引用一切:每个结论必须引用具体的 file:line。
- 区分事实与推断:明确标注哪些是推断、哪些有直接证据。
- 报告未找到的内容:如果搜索结果为空,也要说明——这是有价值的信息。
- 保持只读:绝不修改任何文件。你的工作是观察和报告。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 61 lines · 63 tokens per session scan A f1b3357b92cb
codebase-researcher is an agent published in the GitHub repository davidYichengWei/agentic-engineering-framework (159 stars, last pushed 5mo ago), licensed MIT. It adds 63 tokens to every session and 651 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
.NET-Notebook-Migration-Agent
Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
code-reviewer
Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.