AI 코딩 보조 스킬(Claude Code, Codex, OpenCode, OpenClaw, Factory Droid)

hackernews | | 📦 오픈소스
#ai #claude #claude code #codex #coding assistant #knowledge graph #review
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

AI 코딩 어시스턴트를 위한 '그래피파이(graphify)' 스킬은 코드, PDF, 이미지 등의 파일을 분석해 지식 그래프를 구축하여 코드베이스를 빠르고 구조적으로 이해할 수 있도록 돕는 도구입니다. 1단계에서는 코드 구조를 AST로 추출하고, 2단계에서는 클로드(Claude) 비전을 활용한 병렬 서브에이전트가 문서와 이미지에서 개념과 관계를 추출한 뒤 Leiden 알고리즘으로 클러스터링하여 HTML, JSON, 마크다운 보고서를 생성합니다. 특히 별도의 벡터 데이터베이스 없이도 작동하며, 원시 파일을 직접 읽는 대신 쿼리당 71.5배 적은 토큰을 소모하는 것이 특징입니다. 현재 파이썬 3.10 이상 환경에서 클로드 코드, 코덱스(Codex), 오픈코드 등 다양한 플랫폼을 지원하며, 설치 후 `/graphify .` 명령어를 통해 손쉽게 전체 프로젝트 폴더를 분석할 수 있습니다.

본문

An AI coding assistant skill. Type /graphify in Claude Code, Codex, OpenCode, OpenClaw, or Factory Droid - it reads your files, builds a knowledge graph, and gives you back structure you didn't know was there. Understand a codebase faster. Find the "why" behind architectural decisions. Fully multimodal. Drop in code, PDFs, markdown, screenshots, diagrams, whiteboard photos, even images in other languages - graphify uses Claude vision to extract concepts and relationships from all of it and connects them into one graph. 19 languages supported via tree-sitter AST (Python, JS, TS, Go, Rust, Java, C, C++, Ruby, C#, Kotlin, Scala, PHP, Swift, Lua, Zig, PowerShell, Elixir, Objective-C). Andrej Karpathy keeps a /raw folder where he drops papers, tweets, screenshots, and notes. graphify is the answer to that problem - 71.5x fewer tokens per query vs reading the raw files, persistent across sessions, honest about what it found vs guessed. /graphify . # works on any folder - your codebase, notes, papers, anything graphify-out/ ├── graph.html interactive graph - click nodes, search, filter by community ├── GRAPH_REPORT.md god nodes, surprising connections, suggested questions ├── graph.json persistent graph - query weeks later without re-reading └── cache/ SHA256 cache - re-runs only process changed files Add a .graphifyignore file to exclude folders you don't want in the graph: # .graphifyignore vendor/ node_modules/ dist/ *.generated.py Same syntax as .gitignore . Patterns match against file paths relative to the folder you run graphify on. graphify runs in two passes. First, a deterministic AST pass extracts structure from code files (classes, functions, imports, call graphs, docstrings, rationale comments) with no LLM needed. Second, Claude subagents run in parallel over docs, papers, and images to extract concepts, relationships, and design rationale. The results are merged into a NetworkX graph, clustered with Leiden community detection, and exported as interactive HTML, queryable JSON, and a plain-language audit report. Clustering is graph-topology-based — no embeddings. Leiden finds communities by edge density. The semantic similarity edges that Claude extracts (semantically_similar_to , marked INFERRED) are already in the graph, so they influence community detection directly. The graph structure is the similarity signal — no separate embedding step or vector database needed. Every relationship is tagged EXTRACTED (found directly in source), INFERRED (reasonable inference, with a confidence score), or AMBIGUOUS (flagged for review). You always know what was found vs guessed. Requires: Python 3.10+ and one of: Claude Code, Codex, OpenCode, OpenClaw, or Factory Droid pip install graphifyy && graphify install The PyPI package is temporarily named graphifyy while thegraphify name is being reclaimed. The CLI and skill command are stillgraphify . | Platform | Install command | |---|---| | Claude Code (Linux/Mac) | graphify install | | Claude Code (Windows) | graphify install (auto-detected) or graphify install --platform windows | | Codex | graphify install --platform codex | | OpenCode | graphify install --platform opencode | | OpenClaw | graphify install --platform claw | | Factory Droid | graphify install --platform droid | Codex users also need multi_agent = true under [features] in ~/.codex/config.toml for parallel extraction. Factory Droid uses the Task tool for parallel subagent dispatch. OpenClaw uses sequential extraction (parallel agent support is still early on that platform). Then open your AI coding assistant and type: /graphify . Note: Codex uses $ instead of / for skill calling, so type $graphify . instead. After building a graph, run this once in your project: | Platform | Command | |---|---| | Claude Code | graphify claude install | | Codex | graphify codex install | | OpenCode | graphify opencode install | | OpenClaw | graphify claw install | | Factory Droid | graphify droid install | Claude Code does two things: writes a CLAUDE.md section telling Claude to read graphify-out/GRAPH_REPORT.md before answering architecture questions, and installs a PreToolUse hook (settings.json ) that fires before every Glob and Grep call. If a knowledge graph exists, Claude sees: "graphify: Knowledge graph exists. Read GRAPH_REPORT.md for god nodes and community structure before searching raw files." — so Claude navigates via the graph instead of grepping through every file. Codex, OpenCode, OpenClaw, Factory Droid write the same rules to AGENTS.md in your project root. These platforms don't support PreToolUse hooks, so AGENTS.md is the always-on mechanism. Uninstall with the matching uninstall command (e.g. graphify claude uninstall ). Always-on vs explicit trigger — what's the difference? The always-on hook surfaces GRAPH_REPORT.md — a one-page summary of god nodes, communities, and surprising connections. Your assistant reads this before searching files, so it navigates by structure instead of keyword matching. T

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →