json-query-expert

Extract and edit targeted values in large JSON files using JSONPath queries.

4|Updated Feb 5, 2026
One-click install
npx skills add https://github.com/ki2pixel/After-Effects-Scripts-Plugins-Bundle --skill json-query-expert-ki2pixel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-query-expert
Source: https://github.com/ki2pixel/After-Effects-Scripts-Plugins-Bundle/tree/main/.windsurf/skills/json-query-expert
Command: npx skills add https://github.com/ki2pixel/After-Effects-Scripts-Plugins-Bundle --skill json-query-expert-ki2pixel

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Large JSON files such as i18n translations, package.json, or manifest files waste tokens and context when loaded entirely, making targeted edits slow and error-prone. ## Core Features & Use Cases - Targeted JSONPath Extraction: Query specific values with json_query_query_json instead of reading whole files over 1000 lines. - Key Localization: Find exact line positions of keys with json_query_search_keys before editing. - Surgical Editing: Apply precise line-level changes with edit_file, then validate JSON syntax. - Use Case: Update a single translation key inside a 15000-line i18n file by querying the JSONPath, locating the line, and editing only that line. ## Quick Start Ask the assistant to find and update a specific key in your large JSON configuration file using JSONPath queries instead of reading the whole file.

Frequently Asked Questions about json-query-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query a large JSON file without loading it entirely?

Use json_query_query_json with a JSONPath expression like "$.scripts.dev" to extract only the targeted value. This avoids loading files over 1000 lines into context and keeps token usage minimal.

How to edit a specific key in a big JSON config file?

First locate the key with json_query_search_keys to find its exact line, then apply a surgical change with edit_file at that line. Validate the result afterward by re-querying the JSONPath to confirm syntax remains valid.

What JSONPath syntax should I use for nested JSON queries?

JSONPath expressions must start with $, such as "$.database.connections[0].host" for nested access or "$.array[*]" for all elements. Recursive search uses "$..deeplyNested" and filters use "$.array[?(@.type=='button')]".

When should I avoid reading a JSON file directly?

Never fully load JSON files over 1000 lines, such as large i18n or manifest files. Instead inspect with JSONPath queries first, and only read small line ranges with context once the target location is confirmed.

Why does my JSONPath query return no results?

Queries fail when the path syntax is wrong, the file is invalid JSON, or the key does not exist. Verify the file validity first, confirm the path starts with $, and test the query on a small sample before editing.