Skip to content
Development
Skill

/pith-graph

Run the Pith wiki graph generator for the current project. Scans wiki/ for .md files, extracts [[wikilinks]], and opens an interactive force-directed graph in the browser as wiki-graph.html.

From plugin
pith
9812 skills4 commands4 hooks
Install
$ npx -y skills add abhisekjha/pith --skill pith-graph --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/pith-graph

Context preview

The summary Claude sees to decide when to auto-load this skill.

Run the Pith wiki graph generator for the current project. Scans wiki/ for .md files, extracts [[wikilinks]], and opens an interactive force-directed graph in the browser as wiki-graph.html.

SKILL.md

pith-graph.SKILL.md
name: pith-graph
description: >
  Run the Pith wiki graph generator for the current project.
  Scans wiki/ for .md files, extracts [[wikilinks]], and opens an
  interactive force-directed graph in the browser as wiki-graph.html.

Run the graph generator against the current project's wiki.

Steps

1. Run: `python3 <pith_install_dir>/tools/graph_generator.py`

  • Where `<pith_install_dir>` is the directory where pith is installed (the directory containing this skills/ folder).
  • The script resolves `wiki/` and writes `wiki-graph.html` relative to the current working directory (project root).

2. It will open `wiki-graph.html` automatically in the browser. 3. If `wiki/` does not exist or has no `.md` files, tell the user to run `/pith wiki` first to build the wiki.

When to use

  • User runs `/pith-graph`
  • User asks to "visualize the wiki" or "show the wiki graph"

Notes

  • Output file: `wiki-graph.html` in the project root (where the user ran the command)
  • No dependencies beyond Python 3 stdlib — no install needed
  • Ghost nodes (dashed) = pages referenced by wikilinks but not yet written

One-shot. Does not persist.

Ships withpith

Status: stable — not actively adding features. Bug fixes welcome via issues. Token compression hooks for Claude Code. Install once, works in every session, zero config.

Get the whole plugin
Stats
98
Stars
11
Forks
Maintained
Maintenance
Python
Language
MIT
License
4mo ago
Last commit
5mo ago
Created

Repo: abhisekjha/pith

Other skills on pith.