← 返回
未分类 中文

Skill Graphify

Turn any folder of code, docs, papers, or images into a queryable knowledge graph. Cross-platform wrapper for graphify CLI.
将任意代码、文档、论文或图片文件夹转换为可查询的知识图谱。跨平台 graphify CLI 包装器。
flobo3 flobo3 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 560
下载
💾 1
安装
1
版本
#latest

概述

Skill Graphify

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

When to use

  • User wants to understand a codebase they're new to
  • User asks "how does X connect to Y" across many files
  • User has a folder of papers/notes/screenshots and wants structure
  • User wants a visual map of their project's architecture

Usage

Step 1 — Ensure graphify is installed

python graphify_wrapper.py ensure-installed

Or manually: pip install graphifyy

Step 2 — Build knowledge graph

python graphify_wrapper.py build /path/to/project

This runs the full pipeline: detect files → AST extraction → build graph → cluster → export.

Output goes to /graphify-out/:

  • graph.html — interactive visualization (open in browser)
  • GRAPH_REPORT.md — plain-language audit report
  • graph.json — queryable knowledge graph
  • cache/ — SHA256 cache for incremental updates

Step 3 — Read the report

python graphify_wrapper.py report

Or read graphify-out/GRAPH_REPORT.md directly. Present the key findings to the user: god nodes (highly connected), surprising connections, community structure.

Step 4 — Query the graph (optional)

python graphify_wrapper.py query "how does authentication work"

Or use the CLI directly for more options:

graphify query "show the auth flow" --graph graphify-out/graph.json
graphify query "what connects X to Y?" --graph graphify-out/graph.json --dfs
graphify query "explain dependency injection" --budget 1500 --graph graphify-out/graph.json

Send results to user

After building, send graphify-out/graph.html to the user so they can explore the interactive graph. Summarize GRAPH_REPORT.md in your response.

CLI reference (graphify)

If graphify CLI is available, you can use these directly:

| Command | Description |

|---------|-------------|

| graphify query "..." --graph | BFS traversal of the graph |

| graphify query "..." --dfs --graph | DFS — trace a specific path |

| graphify query "..." --budget N --graph | Cap output at N tokens |

| graphify path "Node1" "Node2" --graph | Shortest path between concepts |

| graphify explain "NodeName" --graph | Plain-language explanation of a node |

Supported file types

  • Code: 20 languages via tree-sitter (Python, JS, TS, Go, Rust, Java, C, C++, Ruby, C#, Kotlin, Scala, PHP, Swift, Lua, Zig, PowerShell, Elixir, Objective-C, Julia)
  • Docs: Markdown, text, reStructuredText
  • Papers: PDF
  • Images: Screenshots, diagrams, whiteboard photos (requires vision-capable LLM)

Notes

  • The wrapper script (graphify_wrapper.py) handles cross-platform compatibility (Windows CMD, Linux, macOS)
  • graphify's AST extraction is deterministic and requires no LLM — it's free and fast
  • Semantic extraction (docs, images) uses LLM subagents if available, otherwise is skipped
  • Every edge is tagged EXTRACTED, INFERRED, or AMBIGUOUS — you always know what was found vs guessed
  • Incremental updates: re-running on the same folder only processes changed files (cache-based)
  • Add a .graphifyignore file (same syntax as .gitignore) to exclude directories

Dependencies

  • Python 3.10+
  • graphifyy (pip) — automatically installed by wrapper

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 04:37 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ScrapingBee Fetch

flobo3
使用 ScrapingBee API 的高级 JavaScript 网页渲染器,提取主要内容并返回干净的 Markdown。
★ 0 📥 389

Chords Fetcher

flobo3
从热门网站(mychords.net、amdm.ru、ultimate-guitar.com)获取干净的吉他谱和歌词,去除制表符并修正格式。
★ 0 📥 416

Genealogy Agent

flobo3
从原始文本提取、整理、研究并可视化家族历史。构建知识图谱,生成Mermaid树、Obsidian知识库和GEDCOM导出文件。
★ 0 📥 327