Skip to main content

callchainexpander

Stars13
Forks0
UpdatedApril 28, 2026 at 10:25

从指定方法出发,返回该方法的完整 body 摘要(≤600字符)及其所有 direct callee 的签名和风险标签(I/O / DATABASE / NETWORK / THREADING / SYNCHRONIZATION / HANDLER)。 对可疑的 callee 再次发起 EXPAND 可获取其 body 及下一层 callee 信息, 逐层按需深入,避免一次性拉取过多无关代码。 已展开过 body 的方法会被自动跳过(记忆化),无需手动追踪。 是 ReAct 探索阶段调用最频繁的工具,四级决策(CONCLUDE/EXPLORE/EXPAND/MOCK)的核心依据来源。 【前置依赖】必须在同一 Agent 会话中先调用 SootStaticAnalyzer,才能使用本工具。 SootStaticAnalyzer 在运行时将分析结果同时写入内存索引(供本工具使用)和磁盘文件: - <agent目录>/skill1_output/ui_entry_points.json — UI 入口列表(method_signature 字段即为 method 参数的来源) - <agent目录>/skill1_output/call_graph.json — 全量调用图(可用于确认签名格式) 若未先调用 SootStaticAnalyzer,本工具将直接返回错误。

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
4 files
SKILL.md
readonly