跳到正文
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 或你在用的任意编程智能体里。

链接