Works with the AI Agents you already use

    JSON Toolkit

    by megaartaiking-cmd

    1

    Validate, format, flatten, query, and diff JSON files with Python. Use when the user or agent wants to check, clean up, read a value from, or compare JSON data.

    Free

    Security scanned
    JSON Toolkit

    JSON Toolkit

    Example session with this skill installed

    What is the value of user.address.city?

    • Read your context and instructions
    • Compiled the json toolkit

    **The value is:** Paris **How I got it** - First I validated user.json — it is valid JSON (an object), so the answer is reliable and not a guess at broken data. - Then I read the value at the path user.address.city. - Result: Paris Your original file was not changed. This was a read-only query, and nothing was written. **Other things I can do with JSON files** - Validate: check a config file before using it, for example 'Valid JSON: config.json (object)'. If it is invalid, I report the exact error with its line and column and stop. - Format: pretty-print with 2-space indent, optionally sorted keys. - Flatten: turn nested data into dot-separated keys, for example user.address.city. - Diff: compare two versions and list what was added, removed, or changed — for example '3 difference(s): ~ user.age: 28 -> 29, + user.nickname: "Aisha" (added)'.

    First I validated user.json

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Handling nested JSON data in the terminal is slow and error-prone. This skill provides a Python-based toolset to validate, query, and compare JSON files without sending data to external services. ## What it does - **Validate JSON** checks files for syntax errors and reports exact line and column numbers. - **Format and sort** pretty-prints minified JSON with 2-space indentation and optional key sorting. - **Flatten hierarchies** converts deeply nested objects into a flat list of dot-notated keys. - **Query values** retrieves specific data points using dot-separated paths and index numbers. - **Data diffing** compares two JSON objects to identify added, removed, or changed values by key. ## How it works 1. Run the validate command to ensure the target file is syntactically correct before processing. 2. Use the get command with a dot-notated path to extract specific values from large datasets. 3. Apply the flatten command to simplify complex structures for analysis or reporting. 4. Execute the diff command to track changes between two versions of a data file. ## Frameworks & tools This skill utilizes a Python script (`jsontool.py`) for all operations, requiring a standard Python environment. ## Why this beats prompting it yourself LLMs often hallucinate values when reading large JSON blocks or fail to notice subtle syntax errors in deeply nested structures. This skill uses programmatic execution to ensure 100% accuracy in data retrieval and validation while keeping your data local. ## Use cases - Debugging broken configuration files by identifying exact syntax error locations. - Extracting specific fields from massive API response logs without manual searching. - Comparing two versions of a database export to find updated or missing records. - Preparing minified JSON for human review by applying consistent formatting and key sorting. ## Known limitations The diff tool compares by key structure rather than line-by-line text, making it unsuitable for comparing JSON files containing long prose blocks. It does not support automatic fixing of invalid JSON.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 8 days ago

    • Free with an Agensi account

    Software
    Python 3.10+

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed8 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a local, Python-powered terminal toolset for validating, querying, flattening, and diffing JSON files, ensuring 100% accuracy without the hallucinations common when asking LLMs to parse large data blocks.

    The skill includes a dedicated Python script (`jsontool.py`) and an integration manifest that allows your AI agent to execute these commands directly in its local environment.

    Because all operations are handled by the local Python script, your JSON data is processed entirely on your machine and never sent to external servers for parsing or validation.

    The skill requires a standard Python environment; it is compatible with most AI agents and IDE extensions that support local script execution and file system access.

    The 'diff' tool compares JSON objects by their key-value structure rather than text lines, making it perfect for tracking data changes in database exports but less effective for comparing long blocks of text within JSON.

    New in APIs & Backend

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for APIs & Backend.

    Free