Skip to content
Agentmart
Submit a tool

madge-cli

Comprehensive wrapper for Madge CLI.

Skill by jericbas

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jericbas-madge-cli

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Comprehensive wrapper for Madge CLI. Detects circular dependencies, orphans, leaves, and generates visual dependency graphs.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/madge-cli

What's inside

Skill name
madge-cli
Description
Comprehensive wrapper for Madge CLI. Detects circular dependencies, orphans, leaves, and generates visual dependency graphs.
License
MIT
Metadata
category: ci
Instructions
21 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: "madge-cli" does not match folder "madge"

Files (1)

  • SKILL.md

SKILL.md (first lines)

## Install
Run:
`npx skills add jericbas/skills --skill madge`

# /madge

## Instructions for the Agent:

1. Determine the user's execution environment. Ask if they are using `npx madge` or a globally installed `madge` command if it is not already known. If Madge is not installed or not configured for the project, direct the user to run `/madge-setup` first.
2. Ask the user which specific CLI analysis they want to perform on their target file or directory. Offer the following capabilities:
   - **List Dependencies**: Standard dependency tree listing.
   - **Circular Dependencies**: Detect circular loops using `--circular`.
   - **Orphans**: Find unused modules using `--orphans`.
   - **Leaves**: Find modules with no dependencies using `--leaves`.
   - **Dependents**: Find what depends on a specific module using `--depends <module>`.
   - **Visual Graph**: Generate a visual representation using `--image graph.svg` (requires Graphviz).
3. Formulate the exact Madge command based on their choice and the target path.
4. Execute the command (or provide the command for the user to execute) and summarize the terminal output directly in the chat.
5. If the user specifies `--image` and Graphviz is missing (resulting in an EPIPE error), direct them to run `/madge-setup` to install system dependencies.

From jericbas/skills, MIT.

More from jericbas/skills

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Jul 24, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jericbas

Cite this page

madge-cli skill. Agent Mart. https://agentmart.dev/skills/jericbas-madge-cli (last updated 2026-10-24)