← 返回 Skills 市场
jq
作者
Gustavo Madeira Santana
· GitHub ↗
· v1.2.0
4209
总下载
4
收藏
23
当前安装
3
版本数
在 OpenClaw 中安装
/install jq
功能描述
Command-line JSON processor. Extract, filter, transform JSON.
使用说明 (SKILL.md)
jq
Command-line JSON processor for extracting, filtering, and transforming JSON.
Installation
macOS / Linux (Homebrew):
brew install jq
All platforms: See jqlang.org/download for packages, binaries, and build instructions.
Usage
jq '[filter]' [file.json]
cat file.json | jq '[filter]'
Quick Reference
.key # Get key
.a.b.c # Nested access
.[0] # First element
.[] # Iterate array
.[] | select(.x > 5) # Filter
{a: .x, b: .y} # Reshape
. + {new: "val"} # Add field
del(.key) # Remove field
length # Count
[.[] | .x] | add # Sum
keys # List keys
unique # Dedupe array
group_by(.x) # Group
Flags
-r raw output (no quotes) · -c compact · -s slurp into array · -S sort keys
Examples
jq '.users[].email' data.json # Extract emails
jq -r '.name // "default"' data.json # With fallback
jq '.[] | select(.active)' data.json # Filter active
jq -s 'add' *.json # Merge files
jq '.' file.json # Pretty-print
安全使用建议
This skill appears safe and purpose-aligned as a jq usage reference. Before installing jq, use a trusted package manager or the official jq download page.
功能分析
Type: OpenClaw Skill
Name: jq
Version: 1.2.0
The skill bundle for 'jq' is benign. Both `_meta.json` and `SKILL.md` contain standard information about the `jq` command-line tool. The `SKILL.md` provides installation instructions using Homebrew and links to the official `jqlang.org` website, along with common usage examples. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, prompt injection attempts against the agent, or obfuscation.
能力评估
Purpose & Capability
The instructions match the stated purpose of using jq to extract, filter, and transform JSON.
Instruction Scope
The command examples are ordinary jq usage and are presented as user-directed examples, not hidden or automatic actions.
Install Mechanism
The skill includes user-directed installation guidance through Homebrew or jqlang.org, which is proportionate for a CLI skill but means the user should trust the package source.
Credentials
No credentials, environment variables, privileged paths, or broad system access are requested by the artifacts.
Persistence & Privilege
No persistence, background execution, credential use, or elevated privilege behavior is described.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install jq - 安装完成后,直接呼叫该 Skill 的名称或使用
/jq触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
Added installation instructions for all platforms
v1.1.0
More concise skill file
v1.0.0
Initial release of jq skill for JSON processing
元数据
常见问题
jq 是什么?
Command-line JSON processor. Extract, filter, transform JSON. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 4209 次。
如何安装 jq?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install jq」即可一键安装,无需额外配置。
jq 是免费的吗?
是的,jq 完全免费(开源免费),可自由下载、安装和使用。
jq 支持哪些平台?
jq 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 jq?
由 Gustavo Madeira Santana(@gumadeiras)开发并维护,当前版本 v1.2.0。
推荐 Skills