json-crud

Inspect large JSON files and perform path-based CRUD operations with atomic writes.

1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/Mlightsnow/json-skill --skill json-crud
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: json-crud
Source: https://github.com/Mlightsnow/json-skill/tree/main
Command: npx skills add https://github.com/Mlightsnow/json-skill --skill json-crud

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Reading and modifying large JSON files can be memory-intensive and error-prone; this skill provides a two-step workflow to inspect structure and then perform targeted edits without loading the entire file.

Core Features & Use Cases

  • Inspect large JSON with a compact, depth-limited summary and sample values.
  • Get / Set / Delete by precise paths, with atomic writes to preserve data integrity.
  • Handle arrays and quoted keys, including nested objects, with clear error messages for invalid paths.

Quick Start

Run python3 scripts/inspect.py FILE to view the structure, then use python3 scripts/get.py FILE PATH to read, python3 scripts/set.py FILE PATH VALUE to update, or python3 scripts/delete.py FILE PATH to remove.

Frequently Asked Questions about json-crud

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

FAQPage Schema
How do I edit a large JSON file without loading the entire file into memory?

To edit a large JSON file without loading it entirely, use a two-step workflow: first inspect the file structure to derive a compact summary, then perform targeted path-based CRUD operations with atomic writes.

What is the best way to update a specific value in a nested JSON array via the command line?

The best way to update a value in a nested JSON array via the command line is by using path-based operations that parse arrays and quoted keys, allowing targeted updates without full file loads.

Can I safely delete keys from a large JSON file without risking data corruption?

Yes, you can safely delete keys from a large JSON file using atomic writes via temporary files, which preserves data integrity by ensuring the original file is only replaced upon successful operation completion.

How do I inspect the structure of a massive JSON file to find the exact path I need?

To inspect the structure of a massive JSON file, run an inspection script that generates a depth-limited summary with sample values, allowing you to identify exact paths before performing operations.

Does atomic write functionality work when modifying large JSON files on the command line?

Yes, atomic write functionality works when modifying large JSON files on the command line by using temporary files to write changes before replacing the original, ensuring safe I/O and preventing partial writes.