recursive-dep-trace-parallel

Map and read all files reachable from a repository entry script.

7|1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/gyy0592/claude-config --skill recursive-dep-trace-parallel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recursive-dep-trace-parallel
Source: https://github.com/gyy0592/claude-config/tree/main/skills/recursive-dep-trace-parallel
Command: npx skills add https://github.com/gyy0592/claude-config --skill recursive-dep-trace-parallel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides an exhaustive, line-by-line traversal of every file reachable from a single entry script so users can obtain a complete code and data dependency closure without making ad hoc assumptions or skipping data artifacts.

Core Features & Use Cases

  • Breadth-first recursive tracing: Seed with an entry file and discover imports, path literals, subprocess-invoked scripts, glob patterns, and data-file references across the repository.
  • Parallel worker dispatch: Dispatch batches of workers to read files line-by-line, report every external reference, and push new items back to the root queue for resolution.
  • Data-inspect support: Open and inspect .npz, .pkl, .json, .yaml, and .csv artifacts to extract path-shaped strings and push them into the closure; record unreadable files as HOLES.
  • Resumable, auditable state: Maintain artifacts/task_<name>/_state.md and worker_reports/ to resume interrupted runs, append incremental closure.zh.md entries, and produce a final third-party and holes summary.
  • Use case: Ideal for security audits, reproducibility checks, migration planning, or any scenario that requires an exhaustive map of both code and data dependencies starting from one entry point.

Quick Start

Point the skill at your repository entry script and request a complete recursive dependency closure and worker report.

Frequently Asked Questions about recursive-dep-trace-parallel

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace all code and data dependencies from a single Python entry script?

To trace all code and data dependencies from a Python entry script, you need a recursive closure analysis tool that resolves imports, path literals, and globs to absolute paths. This technique discovers every reachable file without making ad hoc assumptions.

Can I extract path-like strings from binary data files like .npz and .pkl during dependency tracing?

Yes, you can extract path-like strings from binary data files like .npz and .pkl during dependency tracing. The process involves opening and inspecting data artifacts to find path-shaped references and push them into the closure.

What is the best way to speed up line-by-line repository analysis for large codebases?

The best way to speed up line-by-line repository analysis for large codebases is parallel worker dispatch. This approach dispatches batches of workers to read files concurrently, report external references, and push new items back to a central queue.

How do I resume an interrupted recursive dependency closure scan?

To resume an interrupted recursive dependency closure scan, you need a tool that maintains resumable state. It saves progress in state files and worker reports, allowing you to resume the scan and append incremental closure entries from where it stopped.

Does exhaustive dependency tracing work with Jupyter notebooks and bundled data artifacts?

Yes, exhaustive dependency tracing works with Jupyter notebooks and bundled data artifacts. The recursive tracing process applies to software repositories, notebooks, and data artifacts when you need a complete code and data closure from one entry point.

Why are some files recorded as holes during a repository dependency closure?

Files are recorded as holes during a repository dependency closure when they are unreadable or cannot be resolved. The tracing process explicitly records these gaps alongside third-party leaves to produce a complete, auditable summary of missing dependencies.