Skip to main content
Run any Skill in Manus
with one click

recursive-dep-trace

Stars7
Forks1
UpdatedApril 10, 2026 at 17:59

Recursive first-principles static dependency tracing for a single code entry point, producing a real-time stream-of-consciousness trace markdown that embodies the AI's reading process as a call-stack of TODOs. Given one entry script (e.g. `train.py`, `minimal_generate_image_v3.py`, `main.py`), the AI reads the code line-by-line, stops at every external dependency, pushes it onto a TODO stack with "paused at line N of parent" bookkeeping, recurses, pops, and resumes — updating the same markdown file after every tiny reading step so the final document is a complete proof that a fresh agent can run the entry from an empty machine. Use whenever the user says things like "递归分析依赖", "第一性原理级别的依赖闭包", "为了从头跑起 X 需要什么", "trace dependencies for X", "required_dependencies 文档", "精确到每一行的依赖追踪", or pins a task to recursive static dependency analysis. Also use proactively when preparing a repo for open-source release, minimal-reproducible-example extraction, or auditing whether a training/inference pipeline is truly self-contai

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.

SKILL.md
readonly