Skip to content
AI Primer
Developer ToolsML/AIData Analysis

graphify-chokidar

watch a directory and auto-rebuild the graphify knowledge graph on file changes — token-aware, cancellable, no manual re-runs

2 starsFirst seen April 22, 2026Last seen April 22, 20261 public mentions

Install command

npx skills add https://github.com/yetanotheraryan/graphify-chokidar --skill graphify-chokidar
View on GitHub
SKILL.md show

Parsed frontmatter

name
graphify-chokidar
description
watch a directory and auto-rebuild the graphify knowledge graph on file changes — token-aware, cancellable, no manual re-runs
trigger
/graphify-chokidar
---
name: graphify-chokidar
description: "watch a directory and auto-rebuild the graphify knowledge graph on file changes — token-aware, cancellable, no manual re-runs"
trigger: /graphify-chokidar
---

# /graphify-chokidar

Start a file watcher that keeps a [graphify](https://github.com/yetanotheraryan/graphify) knowledge graph in sync with your codebase automatically.

- **Code changes** (`.ts`, `.py`, `.go`, …) → rebuild runs immediately, no LLM, no prompt
- **Doc/media changes** (`.md`, `.pdf`, `.png`, …) → asks you before spending tokens
- **New change mid-build** → previous build is cancelled, fresh build starts right away
- **Repeated LLM triggers while building** → collapsed into one prompt, not spammed

## Usage

```
/graphify-chokidar                         # watch current directory
/graphify-chokidar <path>                  # watch a specific path
/graphify-chokidar <path> --debounce 500   # wait 500ms after last change (default: 2000ms)
/graphify-chokidar <path> --silent         # only log errors
/graphify-chokidar <path> --once           # exit after first rebuild (CI mode)
```

## What You Must Do When Invoked

If no path was given, use `.` (current directory). Do not ask the user for a path.

### Step 1 — Ensure graphify-chokidar is installed

```bash
which graphify-chokidar 2>/dev/null || npm install -g graphify-chokidar
```

If the install fails, tell the user and stop. Do not proceed without the binary.

Also verify that `graphify` itself is on the PATH — graphify-chokidar shells out to it:

```bash

Source

Repository
yetanotheraryan/graphify-chokidar
Entry path
SKILL.md
Default branch
main
Commit
9c584df

Recent mentions

1 shown