json-flat-tool
Installation
SKILL.md
JSON Flat Tool
⚠️ MANDATORY: Use jstool instead of read/edit/cat for JSON files!
Before using read/edit on *.json files, ask yourself: "Should I use jstool instead?"
- View:
python3 ~/.agents/skills/json-flat-tool/jstool.py view <file> -s - Edit:
python3 ~/.agents/skills/json-flat-tool/jstool.py set <path> <value> <file> -f - Search:
python3 ~/.agents/skills/json-flat-tool/jstool.py find <pattern> <file>
Note on hooks: This skill previously attempted to use PreToolUse hooks to intercept Read/Edit calls on JSON files. However, harness hooks generally cannot match on tool arguments (like file extensions) — matchers only support tool name patterns (e.g.
"Read","Edit"), not argument-based filtering (e.g."read(*.json)"). For argument-level validation, hooks must use acommandscript that parsestool_inputJSON itself.