preview-json
Installation
SKILL.md
Preview JSON Skill
Interactive JSON/JSONL viewer that generates HTML visualizations with syntax highlighting, collapsible tree structure, and search functionality.
Agent Usage
When the user asks to preview a JSON or JSONL file, DO NOT build HTML manually. Use the Bash tool to execute this skill's run.sh script:
# Preview a JSON file
./run.sh data.json
# Preview a JSONL file
./run.sh logs.jsonl
# Pipe content
cat data.json | ./run.sh