Overview
- Skill Key
- claudiodrusus/skill-3
- Author
- claudiodrusus
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/claudiodrusus/skill-3
- Latest Commit SHA
- a953170a6753823c4b36fd3a06b2e22488f6a82e
Swiss-army knife for JSON files. Pretty-print, validate, minify, sort keys, and query with dot-notation paths. Zero dependencies.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 json-toolkit 技能。 若已安装,则直接安装 json-toolkit 技能。
# JSON Toolkit A zero-dependency Python utility for working with JSON data. Validates, formats, minifies, queries, and inspects JSON files — all with Python's standard library. ## Features - **Pretty-print** with configurable indentation (2, 4, or any number of spaces) - **Minify** JSON to reduce file size for APIs and storage - **Validate** JSON and get structural stats (type, key count, size) - **Query** nested data with dot-notation paths including array indices - **Sort keys** alphabetically for deterministic output and easier diffs - **Stdin support** for use in shell pipelines with other tools ## Usage Examples Pretty-print a JSON file: ```bash python main.py data.json ``` Validate without output: ```bash python main.py config.json --validate # ✓ Valid JSON # Type: object (12 keys) # Size: 4832 bytes ``` Query a nested value: ```bash python main.py users.json --query data.users.0.name # "Alice" ``` Minify for production: ```bash python main.py config.json --minify -o config.min.json ``` Sort keys for consistent diffs: ```bash python main.py package.json --sort-keys -o package-sorted.json ``` Pipe from curl: ```bash curl -s https://api.example.com/data | python main.py - --query results.0 ``` ## Query Syntax Use dot notation to navigate nested structures. Array indices are numbers: - `name` — top-level key - `data.users` — nested object key - `data.users.0` — first element of an array - `data.users.0.email` — field of the first array element - `config.servers.2.host` — deeply nested value ## Command Line Options - `input` — JSON file path, or `-` for stdin - `-o, --output` — Output file (defaults to stdout) - `--indent N` — Indentation spaces (default: 2) - `--minify` — Output minified JSON (no whitespace) - `--query PATH` / `-q PATH` — Extract a value at the given dot-notation path - `--validate` — Only validate and print stats, no output - `--sort-keys` — Sort object keys alphabetically - `--json` — (implicit) Output is always valid JSON
openstockdata
OpenClaw Skill for stock data analysis
capt-marbles
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.
capgoblin
Access unsecured credit lines for AI agents on the Arc Network using the Credex Protocol. Use for borrowing USDC against reputation, repaying debt to grow credit limits, providing liquidity as an LP, or managing cross-chain USDC via Circle Bridge. Triggers on "borrow from credex", "repay debt", "deposit to pool", "check credit status", "provide liquidity", or any credit/lending task on Arc.
capt-marbles
Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.
camelsprout
DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".
camohiddendj
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.