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, Claude Code hooks cannot match on tool arguments (like file extensions). According to the Claude Code Hooks Reference, matchers only support tool name patterns (e.g., "Read", "Edit"), not argument-based filtering (e.g., "read(*.json)"). Additionally, the respond hook type does not exist; valid types are: command, http, prompt, agent. For argument-level validation, hooks must use a command script that parses tool_input JSON.


Related skills

More from doiiarx/claude-skills

Installs
15
GitHub Stars
16
First Seen
Feb 17, 2026