🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Skill Graphify

by @flobo3

Turn any folder of code, docs, papers, or images into a queryable knowledge graph. Cross-platform wrapper for graphify CLI.

Versionv1.0.0
Installs1
⚑ When to Use
TriggerAction
- 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
πŸ’‘ Examples

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.

    πŸ“‹ Tips & Best Practices

  • 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
  • View on ClawHub
    TERMINAL
    clawhub install skill-graphify

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’