Pilothify — AI skill for Claude Code
Turn any codebase — code, docs, schemas, images — into a queryable knowledge graph for AI coding agents (Claude Code, Codex, Cursor, Gemini CLI, …).
How to install Pilothify
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open thangnd96/pilothify and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Pilothify does
Turn any codebase — code, docs, schemas, images — into a queryable knowledge graph for AI coding agents (Claude Code, Codex, Cursor, Gemini CLI, …). Local tree-sitter AST, confidence-tagged edges, MCP server, and hooks that make the agent ask the graph before it greps.
Alternatives in AI
- WeKnora — Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, an 26.9k ★
- Jcodemunch MCP — Cut AI token costs 95%+ on code exploration 2.6k ★
- Claude Skill Aso Appstore Screenshots — A Claude Code skill that generates high-converting App Store screenshots for your iOS app 1.2k ★
README
pilothify
Biến một codebase (kèm docs, schema SQL, config, PDF, ảnh) thành **knowledge graph** để AI agent hỏi graph thay vì grep và đọc từng file.
- Code được phân tích tại máy, không gọi LLM. tree-sitter dựng AST, sau đó một lượt nối lời gọi, import và kế thừa giữa các file. Cùng input luôn ra cùng graph.
- Mỗi cạnh đều có nhãn tin cậy:
EXTRACTED(ghi rõ trong source),INFERRED(suy ra theo luật, kèm điểm),AMBIGUOUS(cần người xem lại). - Không dùng vector store. Graph thật, truy vấn bằng cách đi theo cạnh.
Cài đặt
Cần Python 3.10 đến 3.14 và [uv](https://docs.astral.sh/uv/).
git clone https://github.com/thangnd96/pilothify.git && cd pilothify
uv venv --python 3.13 .venv
uv pip install --python .venv/bin/python -e ".[leiden,mcp,sql]"
Hoặc cài thành công cụ dùng chung cho mọi project: `uv tool install "pilothify[leiden,mcp,sql] @ git+https://github.com/thangnd96/pilothify"`.
Các extra khác (`pdf`, `office`, `video`, `watch`, `terraform`, `anthropic`, `ollama`, …) xem trong `pyproject.toml`.
Dùng trong Claude Code
pilothify install # đăng ký skill /pilothify
pilothify claude install # thêm luật vào CLAUDE.md và hook nhắc agent hỏi graph trước khi grep
pilothify hook install # git hook: cập nhật graph sau mỗi commit
Sau đó gõ `/pilothify .` trong Claude Code. Các assistant khác: `pilothify install --platform ` (codex, cursor, gemini, …).
Dùng từ dòng lệnh
PILOTHIFY_BACKEND=none pilothify extract . --code-only # chỉ code, không cần API key
pilothify cluster-only . # chia community, sinh GRAPH_REPORT.md và graph.html
pilothify update . # cập nhật sau khi sửa code (chỉ AST)
pilothify query "spin wallet debit" # subgraph cho một câu hỏi
pilothify explain "SpinService" # một node và các kết nối của nó
pilothify path "SpinController" "WalletApi" #
Related Skills
Reporecall
Local codebase memory for Claude Code. Tree-sitter AST indexing (22 languages), hybrid keyword + vector search
Codetospec
Turn a legacy codebase into a verifiable, versionable knowledge graph of its business rules — LLM map/reduce i
Semble Rs
Fast, AI-agent-native code search in Rust — hybrid BM25 + semantic, Tree-sitter AST chunking, dependency & imp
Ast Outline
ast-outline lets AI coding agents pull exactly the code context they need — a repo skeleton, a file outline, o
Codesift
Token-efficient code intelligence for AI agents — 66 MCP tools via tree-sitter AST, BM25F search, semantic sea
CtxGuard
面向 AI Agent 的高并发、低延迟上下文治理与 Prompt Cache 守护网关 (Tree-sitter AST / Tool Delta / 50%~80% Token 削减)
Related Agents
Image Importer
Use this agent to turn a picture of a diagram (a whiteboard photo, a screenshot, a PNG or SVG from another too
Kb Extraction Worker
Turn ONE raw or vendored source file into one graphify {nodes, edges, hyperedges} extraction chunk and write i
Ad Attack Planner
Reasons about low-privilege-to-Domain-Admin paths in an authorized Active Directory assessment. Takes the enum