Skip to content
Back to skills

Ascii Dependency Graph

ASecurity

Render an ASCII dependency graph from a JSON structure.

  • 7 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentspythonnode

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add rohingosling/claude-skills --skill ascii-dependency-graph --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ascii Dependency Graph?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ascii Dependency Graph
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rohingosling-ascii-dependency-graph/badge)](https://www.skillsdirectory.com/skills/rohingosling-ascii-dependency-graph)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: ascii-dependency-graph
description: Render an ASCII dependency graph from a JSON structure.
disable-model-invocation: false
---

Render an ASCII dependency graph using the Python script at `${CLAUDE_SKILL_DIR}/scripts/render_ascii_dependency_graph.py`.

## Instructions

1. Construct a JSON object describing the dependency tree. Each node has:
   - `"name"`: the module/dependency name (required)
   - `"right"`: a single node connected horizontally to the right (optional)
   - `"bottom"`: an array of child nodes connected vertically below (optional)
   - Use `{"ellipsis": true}` in a `bottom` array to insert a `· · ·` continuation marker.

2. Write the JSON to a temporary file in the current project's working directory (e.g. `dep_graph.json`).

3. Run (use `python3` on macOS/Linux, `python` on Windows):
   ```
   python3 "${CLAUDE_SKILL_DIR}/scripts/render_ascii_dependency_graph.py" --file dep_graph.json
   ```

4. Copy the output into the target markdown file inside a fenced code block.

5. Delete the temporary JSON file.

## Example JSON

```json
{
    "name": "App",
    "right": {
        "name": "LibA",
        "right": { "name": "LibC" }
    },
    "bottom": [
        { "name": "LibB" },
        {
            "name": "LibD",
            "right": { "name": "LibC" }
        }
    ]
}
```

## Box width rule

Each box has odd character width = RoundUpToNearestOdd( len(name) + 4 ). This ensures the `┬` connector exits exactly from the centre of the bottom border.

## User argument

$ARGUMENTS

Files in this skill

  • SKILL.md1.5 KB
  • scripts/render_ascii_dependency_graph.py25.3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.