graphify

A tool that turns a folder of code, documents, papers, images, or video into a searchable map of related files and concepts.

In plain words
What is it for?
Use it to analyze a codebase, understand architecture, map dependencies, and export an interactive HTML view, JSON data, or a plain-language report.
Why use it?
It helps make a large collection easier to understand by showing communities, dependencies, and the evidence behind each connection.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/choeng-rayu/rayu-cli/graphify
Any agent
npx skills add Choeng-Rayu/rayu-cli --skill graphify
Clone the repo
git clone --depth 1 https://github.com/Choeng-Rayu/rayu-cli

Made for: Claude Code, Codex.

Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,563 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00076 $0.12563
Opus 5 $0.00038 $0.06281
Sonnet 5 $0.00015 $0.02513
Haiku 4.5 $0.00008 $0.01256

Measured 2d ago against content hash 8b3f260f554b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

graphify scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

If the user invoked `/graphify --help` or `/graphify -h` (with no other arguments), print the contents of the `## Usage` section above verbatim and stop. Do not run any commands, do not detect files, do not default the p

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

rayu/.kiro/skills/graphify/SKILL.md · 1,229 lines

How it starts

The opening of the file, as written. The whole thing — 1,229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/graphify

Turn any folder of files into a navigable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPH_REPORT.md.

Usage

/graphify                                             # full pipeline on current directory → Obsidian vault
/graphify <path>                                      # full pipeline on specific path
/graphify <path> --mode deep                          # thorough extraction, richer INFERRED edges
/graphify <path> --update                             # incremental - re-extract only new/changed files
/graphify <path> --cluster-only                       # rerun clustering on existing graph
/graphify <path> --no-viz                             # skip visualization, just report + JSON
/graphify <path> --html                               # (HTML is generated by default - this flag is a no-op)
/graphify <path> --svg                                # also export graph.svg (embeds in Notion, GitHub)
/graphify <path> --graphml                            # export graph.graphml (Gephi, yEd)
/graphify <path> --neo4j                              # generate graphify-out/cypher.txt for Neo4j
/graphify <path> --neo4j-push bolt://localhost:7687   # push directly to Neo4j
/graphify <path> --mcp                                # start MCP stdio server for agent access
/graphify <path> --watch                              # watch folder, auto-rebuild on code changes (no LLM needed)
/graphify add <url>                                   # fetch URL, save to ./raw, update graph
/graphify add <url> --author "Name"                   # tag who wrote it
/graphify add <url> --contributor "Name"              # tag who added it to the corpus
/graphify query "<question>"                          # BFS traversal - broad context
/graphify query "<question>" --dfs                    # DFS - trace a specific path
/graphify query "<question>" --budget 1500            # cap answer at N tokens
/graphify path "AuthModule" "Database"                # shortest path between two concepts
/graphify explain "SwinTransformer"                   # plain-language explanation of a node

Read the full file on GitHub · 1,229 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 1,229 lines · 0 tokens per session scan A 8b3f260f554b

Subscribe to this mod's changes

graphify is a skill published in the GitHub repository Choeng-Rayu/rayu-cli (38 stars, last pushed 2d ago), licensed MIT. It adds 76 tokens to every session and 12,563 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (unrestricted tool access). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

Claude Code

Guides operator-owned delegation to Claude Code when repo work benefits from a second coding lane or an interactive code agent.

agentic-in/elephant-agent · 26 tokens

Codex

Guides operator-owned delegation to Codex when the task fits a bounded coding lane, review pass, or worktree-isolated implementation track.

agentic-in/elephant-agent · 31 tokens

OpenCode

Frames OpenCode as an operator-controlled coding lane for bounded implementation or review work inside a real repository.

agentic-in/elephant-agent · 23 tokens

diagram

Generate or update a mermaid diagram with the .mmd text as source of truth — defaults to a lightweight zero-dependency Node live-preview server that watches the .mmd and hot-reloads a browser tab (pan/zoom), with a self-hosted mermaid.live editor via Docker, system-viewer SVG, VS Code live preview, or a public…

victusfate/scaffold · 135 tokens

voice-chat

Hands-free, headphones-only voice loop for the coding agent — you speak, whisper.cpp transcribes, claude -p runs with full tools at flat-rate under your Claude Code subscription, and a local TTS backend (macOS say, espeak-ng, Piper, or an XTTS voice-clone) speaks the reply. Cross-platform (macOS/Linux/WSL); everything…

victusfate/scaffold · 114 tokens

code-refiner

Composite review-and-fix for the current diff — run the correctness review (validate) and structural-quality review (simplify) in parallel, merge their findings, then apply all fixes in a single serial pass and re-verify. Supports --effort, --fix, --comment. For a full-repo survey use /audit.

victusfate/scaffold · 71 tokens