Skip to content
Agentmart
Submit a tool

codebase-graph

Multi-layer dependency indexer for N5OS.

Skill by <YOUR_HANDLE>.zo.computer

IndexedMIT★ 6
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/thevibethinker-codebase-graph

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

Multi-layer dependency indexer for N5OS. Maps imports, subprocess calls, config references, prompt wiring, skill dependencies, and Pulse build relationships. Use it for blast-radius review before refactors, debugging shared behavior, and exploring codebase coupling.

Use cases: agent-building

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
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/codebase-graph

What's inside

Skill name
codebase-graph
Description
Multi-layer dependency indexer for N5OS. Maps imports, subprocess calls, config references, prompt wiring, skill dependencies, and Pulse build relationships. Use it for blast-radius review before refactors, debugging shared behavior, and exploring codebase coupling.
License
MIT
Compatibility
Created for Zo Computer
Metadata
author: <YOUR_HANDLE>.zo.computer · created: 2026-03-15 · version: 1.0
Instructions
153 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (6)

  • SKILL.md
  • .gitkeep · data/
  • __init__.py · scripts/
  • graph_builder.py · scripts/
  • parsers.py · scripts/
  • query.py · scripts/

SKILL.md (first lines)

# Codebase Graph

## When To Activate

Use this skill when:
- a change touches shared code in `N5/`, `Skills/`, `Prompts/`, or `Integrations/`
- you need blast-radius analysis before a refactor
- debugging spans multiple scripts, prompts, or skills
- you want to inspect cluster/domain structure, hubs, or orphaned nodes

For trivial typo fixes, isolated note edits, or obviously local single-file changes, this skill is optional.

## Quick Start

```bash
python3 Skills/codebase-graph/scripts/query.py index
python3 Skills/codebase-graph/scripts/query.py review N5/lib/paths.py
```

`index` rebuilds the graph from canonical N5OS surfaces.
`review` is the default operational entry point for a specific target.

## Core Commands

```bash
python3 Skills/codebase-graph/scripts/query.py index
python3 Skills/codebase-graph/scripts/query.py review <node>
python3 Skills/codebase-graph/scripts/query.py rdeps <node>
python3 Skills/codebase-graph/scripts/query.py deps <node>
python3 Skills/codebase-graph/scripts/query.py info <node>
python3 Skills/codebase-graph/scripts/query.py hubs [N]
python3 Skills/codebase-graph/scripts/query.py cluster <domain>
python3 Skills/codebase-graph/scripts/query.py orphans
python3 Skills/codebase-graph/scripts/query.py path <source> <target>
python3 Skills/codebase-graph/scripts/query.py export-json
```

## Recommended Workflow

### 1. Refresh the graph

```bash
python3 Skills/codebase-graph/scripts/query.py index
```

Run this at the start of any qualifying refactor/debugging task so decisions are based on current state.

### 2. Review the target

```bash
python3 Skills/codebase-graph/scripts/query.py review N5/scripts/db_paths.py
```

This summarizes:
- direct dependents
- total reverse dependents
- immediate dependencies
- edge-type mix
- risk label (`LOW`, `MEDIUM`, `HIGH`)

### 3. Drill deeper if needed

If the target is high risk or the coupling pattern is unclear:

```bash
python3 Skills/codebase-graph/scripts/query.py rdeps N5/scripts/db_paths.py
python3 Skills/codebase-graph/scripts/query.py deps N5/scripts/db_paths.py
python3 Skills/codebase-graph/scripts/query.py info N5/scripts/db_paths.py
python3 Skills/codebase-graph/scripts/query.py cluster n5-core
```

## Visualization

Interactive graph explorer:

- https://<YOUR_HANDLE>.zo.space/n5os-graph

API endpoint:

- https://<YOUR_HANDLE>.zo.space/api/n5os-graph

Use the page for exploration and pattern-finding. Use the CLI for operational decisions before edits.

## Scope

The graph currently indexes canonical N5OS surfaces:
- Python from `N5/`, `Skills/`, and `Integrations/`
- prompts from `Prompts/`, `N5/`, `Skills/`, plus root prompt files
- `SKILL.md` files under `Skills/`
- `N5/config/*`
- Pulse build metadata and drop briefs under `N5/builds/*`

Detected edge types:
- `IMPORTS`
- `CALLS_SUBPROCESS`
- `CONFIG_REF`
- `PROMPT_REF`
- `SKILL_REF`
- `PULSE_PLANNED`

## Exclusions

The index intentionally excludes noisy mirrors and runtime surfaces such as:
- logs
- `.backups/`
- `Build Exports/`
- `Temp/`
- `node_modules/`
- `state/`
- virtualenv folders

This keeps blast-radius analysis focused on canonical sources rather than stale copies.

## Pulse Integration

For qualifying refactor Drops, graph review should be explicit in the brief.

Minimum pre-check:

From thevibethinker/n5os-ode, MIT.

More from thevibethinker/n5os-ode

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Jun 10, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

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

More from <YOUR_HANDLE>.zo.computer

Cite this page

codebase-graph skill. Agent Mart. https://agentmart.dev/skills/thevibethinker-codebase-graph (last updated 2026-10-24)