# graphify

Builds a structural index of your project: classes, functions, imports and call edges. Lets the agent look up symbols instead of grepping blind.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 2000 installs · ★ 1
- Author: Howell5
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/Howell5/willhong-skills/tree/HEAD/skills/graphify/SKILL.md
- Updated: 2026-08-15
- HTML: https://affpapa.org/en/nevibecode/skills/graphify

## What it does

The skill walks your source files with tree-sitter and writes an index to `graphify-out/graph.json`. Nodes carry symbols with their file and line, edges carry `contains`, `imports`, `calls` and `inherits` relations. Twelve languages are covered, among them Python, TypeScript with JSX and TSX, Go, Rust, Java, C, C++, Ruby, C#, Kotlin, Scala and PHP.

The index never refreshes on its own. Run `graphify update <files>` after edits, or `graphify auto-update` to pick up everything from a git diff at once. That manual step is deliberate: in git worktrees and multi-session setups an automatic write would clash with another session's copy of the graph.

Setup takes two steps. Install the CLI globally with `npm i -g graphify-ts` — it runs on Bun — then build once per project with `graphify build .`. Querying works case-insensitively and returns matching symbols with their locations.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add Howell5/willhong-skills --skill graphify -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/graphify/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/graphify/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add Howell5/willhong-skills --skill graphify -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/graphify/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add Howell5/willhong-skills --skill graphify -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/graphify/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install Howell5/willhong-skills graphify
```

2. **Manually: put the files in place**
- File: `.github/skills/graphify/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add Howell5/willhong-skills --skill graphify -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/Howell5/willhong-skills --path skills/graphify
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/graphify/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add Howell5/willhong-skills --skill graphify -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/Howell5/willhong-skills/tree/HEAD/skills/graphify/SKILL.md

## When to use it
- find an entry point in an unfamiliar repo
- check which files hold a given symbol
- trace callers of a function
- refresh the index after a batch of edits
- map import relationships between modules

## Example prompts
- Build the index for this repo: `/graphify build`
- Where is `parseConfig` defined? Use `/graphify query parseConfig`
- Refresh the graph from my last edits: `/graphify auto-update`

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
