Agent skill

extract-dependencies

Analyze imports and identify all module dependencies. Use when mapping project structure.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill extract-dependencies-homericintelligence-projectodyssey-2 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 2 KB
Bundled scripts: none
Path: skills/analysis/extract-dependencies-homericintelligence-projectodyssey-2/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Extract Dependencies Analyze import statements and identify all external and internal module dependencies in codebase. ## When to Use - Understanding module coupling - Planning dependency updates - Identifying circular dependencies - Generating dependency graphs ## Quick Reference ```bash # Python dependency extraction grep -r "^import\|^from" --include="*.py" . | sort | uniq # Generate dependency graph pipdeptree # Check for circular dependencies python3 -c "import ast; [print(f.name) for f in ast.walk(ast.parse(open('file.py').read())) if isinstance(f, ast.Import)]" ``` ## Workflow 1. **Scan imports**: Extract all import statements from codebase 2. **Categorize dependencies**: Separate external, internal, standard library 3. **Map relationships**: Create graph of which modules import which 4. **Identify chains**: Trace dependency chains (A→B→C) 5. **Report analysis**: Document dependency structure and issues ## Output Format Dependency analysis: - External dependencies (with versions) - Internal module dependencies - Dependency graph (text or ASCII art) - Circular dependencies (if found) - Recommended import order - Unnecessary or redundant dependencies ## References - See `che

What's inside
Steps it walks through
  1. When to Use
  2. Quick Reference
  3. Workflow
  4. Output Format
  5. References
Ships with 1 file
  • metadata.json
Commands it runs
Python dependency extraction
grep -r "^import\|^from" --include="*.py" . | sort | uniq
Generate dependency graph
pipdeptree
Check for circular dependencies
python3 -c "import ast; [print(f.name) for f in ast.walk(ast.parse(open('file.py').read())) if isinstance(f, ast.Import)]"
More from claude-skill-registry
All skills →
About this skill
What does the extract-dependencies skill do?

Analyze imports and identify all module dependencies. Use when mapping project structure.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill extract-dependencies-homericintelligence-projectodyssey-2 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going