treesitter
Installation
SKILL.md
STOP. READ THIS ENTIRE SKILL.MD BEFORE CALLING ANY ENDPOINT.
Treesitter Skill
Parse code files or snippets using tree-sitter to extract symbols (functions, classes, methods).
Quick Start
# Extract symbols from a file
.pi/skills/treesitter/run.sh symbols /path/to/file.py --json
# Extract with full source code
.pi/skills/treesitter/run.sh symbols /path/to/file.py --content --json
# Scan a directory
.pi/skills/treesitter/run.sh scan /path/to/dir --json