Перейти к содержимому
TakoAPI
Назад к навыкам

skill-3

от claudiodrusus

PDF & Documents
304Число загрузок по данным clawskills.sh
0Просмотры
0 лайковВойдите, чтобы поставить лайк навыку
—Ещё нет оценок
Ваша оценка

Кратко

Swiss-army knife for JSON files.

Описание

Что делает этот навык

A Python command-line utility for inspecting and transforming JSON data using only the standard library. Supports pretty-printing, minification, validation, key sorting, and dot-notation queries. Works with files or stdin for pipeline use.

Zero dependencies means it runs anywhere Python is installed without a virtual environment or package manager.

Когда его использовать

  • Formatting an API response before reading it
  • Validating a config file before deploying
  • Extracting a nested value from a large JSON blob
  • Minifying a JSON file for a production build
  • Sorting package.json keys for a clean diff

Пример сценария

ВВОД

User asks: extract the email of the first user from users.json

АГЕНТ
  1. 1

    Read the file path from the user

  2. 2

    Run python main.py users.json --query data.users.0.email

  3. 3

    Capture stdout output

  4. 4

    Return the extracted value to the user

ВЫВОД

"alice@example.com"

Установка

clawhub install claudiodrusus/skill-3

Выполните команду CLI или вставьте промпт в Claude Code, Cursor, Codex — любой кодинг-агент, которым пользуетесь.

Ссылки