Skip to content
Development
Command

/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
974 skills4 commands4 hooks
shell
$ npx -y skills add abhisekjha/pith --agent claude-code

Ships with pith. Installing the plugin gets this command.

How it fires

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

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/pith-graph

Context preview

What this command does when you run it.

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.

Command definition

pith-graph.md
allowed-tools: Bash
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 Pith wiki graph generator for the current project.

python3 "${CLAUDE_PLUGIN_ROOT}/tools/graph_generator.py"

The script will: 1. Scan `./wiki/` for `.md` files and extract `[[wikilinks]]` 2. Write `wiki-graph.html` to the current project root 3. Automatically open it in the default browser

If `wiki/` does not exist or has no `.md` files, tell the user to build the wiki first with `/pith wiki`.

Read it on GitHub ↗
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, auto-invoked
Stats
97
Stars
0
Views
12
Forks
Maintained
Maintenance
Python
Language
MIT
License
2mo ago
Last commit
3mo ago
Created

Repo: abhisekjha/pith