Work with JSON data structures, APIs, and serialization effectively.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install json或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install json⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/json/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: JSON description: Work with JSON data structures, APIs, and serialization effectively. metadata: {"clawdbot":{"emoji":"📦","os":["linux","darwin","win32"]}} ---
additionalProperties: false to reject unknown fields in strict contextscamelCase for JS ecosystems, snake_case for Python/RubyuserId alongside user_name confuses consumers"users": [] not "user": []null—reduces payload, clearer intent"2024-01-15T14:30:00Z"—no ambiguous formats like "01/15/24"Z suffix—local times without zone are useless"id": "9007199254740993"—JavaScript loses precision above 2^53"price": "19.99" or "price_cents": 1999{"data": ..., "meta": ..., "errors": ...}next/prev links or cursor{"code": "INVALID_EMAIL", "message": "...", "field": "email"}"request_id": "abc-123"toJSON() method silently overrides output—Date becomes string, custom classes may surpriseflatted__proto__ key can pollute prototypes—sanitize input or use Object.create(null)\uD83D\uDE00—single \u1F600 invalid\uFEFF from file input安装 JSON 后,可以对 AI 说这些话来触发它
Help me get started with JSON
Explains what JSON does, walks through the setup, and runs a quick demo based on your current project
Use JSON to work with JSON data structures, APIs, and serialization effectively
Invokes JSON with the right parameters and returns the result directly in the conversation
What can I do with JSON in my developer & devops workflow?
Lists the top use cases for JSON, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/json/ 目录(个人级,所有项目可用),或 .claude/skills/json/(项目级)。重启 AI 客户端后,用 /json 主动调用,或让 AI 根据上下文自动发现并使用。
JSON 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
JSON 可免费安装使用。请查阅仓库了解许可证信息。
Work with JSON data structures, APIs, and serialization effectively.
JSON 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using JSON
Identifies repetitive steps in your workflow and sets up JSON to handle them automatically