npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@gaodes/pi-graphify

v0.1.2

Published

Turn any folder into a queryable knowledge graph — build, query, explore, and update graphs from inside Pi

Readme

@gaodes/pi-graphify

Turn any folder of files (code, docs, papers, images, video) into a queryable knowledge graph with community detection, an honest audit trail, and three outputs: interactive HTML, GraphRAG-ready JSON, and a plain-language GRAPH_REPORT.md.

Source · npm

Inspired by graphify — the AI coding assistant skill. This extension wraps graphify's Python CLI for native Pi integration.

It also bundles a graphify skill (skills/graphify/SKILL.md) for full-pipeline orchestration. Use /skill:graphify when you want the guided multi-step workflow; use the tools and /graphify command for fast operational calls.

Tools

| Tool | Description | | ------------------ | ------------------------------------------------------------------------------------------------ | | graphify_build | Build a knowledge graph from a directory (full pipeline: detect → extract → cluster → visualize) | | graphify_query | Query the graph — BFS for broad context, DFS for tracing specific paths | | graphify_path | Find the shortest path between two concepts in the graph | | graphify_explain | Plain-language explanation of a node — everything connected to it | | graphify_add | Fetch a URL and add it to the corpus, then update the graph | | graphify_update | Incremental update — re-extract only changed files | | graphify_watch | Watch a directory for changes, auto-rebuild graph on code edits | | graphify_cluster | Re-run community detection on an existing graph (no re-extraction) |

Commands

| Command | Description | | ----------- | ------------------------------------------------------------------ | | /graphify | Single entry point with autocomplete for all subcommands and flags |

Subcommands and flags

/graphify <path>                              # build graph (full pipeline)
/graphify <path> --mode deep                  # thorough extraction, richer INFERRED edges
/graphify <path> --update                     # incremental — re-extract only changed files
/graphify <path> --cluster-only               # rerun clustering on existing graph
/graphify <path> --no-viz                     # skip visualization, just report + JSON
/graphify <path> --obsidian                   # generate Obsidian vault
/graphify <path> --svg                        # export graph.svg
/graphify <path> --graphml                    # export for Gephi / yEd
/graphify <path> --neo4j                      # generate cypher.txt for Neo4j

/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 "ConceptA" "ConceptB"          # shortest path between two concepts
/graphify explain "ConceptName"               # plain-language explanation of a node
/graphify add <url>                           # fetch URL, save to ./raw, update graph
/graphify add <url> --author "Name"           # tag who wrote it
/graphify update <path>                       # incremental update
/graphify watch <path>                        # watch folder, auto-rebuild on changes
/graphify cluster                             # rerun clustering on existing graph
/graphify hook install                        # install git hooks for auto-rebuild
/graphify hook uninstall                      # remove git hooks
/graphify hook status                         # check hook status

Prerequisites

  • Python 3.10+
  • graphifyy package (auto-installed on first run): pip install graphifyy or uv tool install graphifyy

Install

pi install @gaodes/pi-graphify

Configuration

Key: pi-graphify in prime-settings.json (legacy graphify key auto-migrates on load).

| Setting | Type | Default | Description | | ------------ | --------- | ----------------- | ------------------------------------- | | enabled | boolean | true | Enable/disable the extension | | pythonPath | string | "python3" | Path to Python interpreter | | outputDir | string | "graphify-out" | Output directory name | | statusbar | object | built-in defaults | Optional pi-statusbar widget settings |

Git tracking policy

On build initialization, the extension ensures .gitignore exists and applies Graphify-specific rules:

  • keeps graphify-out/ tracked
  • ignores only:
    • graphify-out/cache/
    • graphify-out/.graphify_python
    • graphify-out/.graphify_root
    • graphify-out/cost.json

If a legacy graphify-out/ ignore entry exists, it is removed automatically.

Source

  • Canonical: ~/agents/primecodex/packages/pi-graphify/
  • GitLab: agents/primecodex/packages/pi-graphify
  • GitHub: github.com/gaodes/pi-graphify