graphify: Code Navigation

VerifiedCaution

Builds a structural AST index from 12 languages via tree-sitter for code navigation. Trigger: /graphify.

Sby Skills Guide Bot
DevelopmentIntermediate
107/24/2026
Claude Code
#code-navigation#ast-index#symbol-query#call-graph#graphify

Recommended for

Our review

Builds a structural AST index of code (classes, functions, imports, call graph) for 12 languages via tree-sitter and allows symbol queries.

Strengths

  • Indexes code structure rather than raw text
  • Auto-updates via a Claude Code stop hook
  • Supports 12 common programming languages

Limitations

  • Requires installing a global CLI
  • Only works with tree-sitter supported languages
  • May be overkill for very small projects
When to use it

Use it when exploring an unfamiliar codebase or quickly locating symbols before resorting to grep.

When not to use it

Avoid it when you need simple text search or do not want to install additional tooling.

Security analysis

Caution
Quality score88/100

The skill uses Bash to install an external CLI tool globally and modifies Claude Code configuration. While the commands themselves are not overtly destructive, they rely on an unvetted npm package that could be compromised, and the hook installation alters the user's environment in a way that could be abused. No direct exfiltration or destruction is instructed.

Findings
  • Instructs global npm install of third-party package graphify-ts, introducing supply-chain risk
  • Writes to ~/.claude/settings.json to install a Stop hook, which could modify Claude Code behavior

Examples

Build index
/graphify build .
Query symbol
/graphify query graph.json MyFunction

name: graphify description: "Use when exploring unfamiliar codebases, before searching for code, or after editing files. Builds a structural AST index (classes, functions, imports, call graph) from 12 languages via tree-sitter. Trigger: /graphify" allowed-tools: Bash(graphify:*)

Note: This is a reference copy. The production skill is at Howell5/willhong-skills.

graphify — Code Navigation Layer

Structural index of the codebase. Know what exists, where, and how it connects — before you grep.

Requires CLI: npm i -g graphify-ts

Auto-update recommended: Run graphify hook install once. After that, the graph updates automatically at the end of every Claude Code session via a Stop hook.

First-time setup

npm i -g graphify-ts    # install CLI
graphify hook install   # install Stop hook for auto-update

Then per project:

graphify build .

Commands

/graphify build — Build index (first time only)

graphify build .

/graphify query <name> — Search for symbols

graphify query graphify-out/graph.json <name>

/graphify update <files...> — Manual incremental update

Usually not needed — the Stop hook handles updates automatically.

/graphify hook install | uninstall | status

Manage the Claude Code Stop hook. Writes to ~/.claude/settings.json.

When to Use

Before searching code: Query the graph before Glob or Grep.

You do NOT need to manually update after editing. The Stop hook handles it.

Supported Languages

Python, JavaScript, TypeScript (JSX/TSX), Go, Rust, Java, C, C++, Ruby, C#, Kotlin, Scala, PHP

Related skills