← Back to Skills Marketplace
shenghoo123-png

JSON Query Tool

by shenghoo123-png · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
124
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install json-query-tool
Description
免费本地运行的在线 JSON 查询工具,支持路径查询、数组索引、通配符及深层嵌套,快速提取所需数据。
README (SKILL.md)

JSON Query Tool - 在线 JSON 查询工具

描述

免费的在线 JSON 查询工具,支持路径查询、数组索引、通配符、深层嵌套。快速从复杂的 JSON 数据中提取需要的信息,数据不上传服务器。

触发词

  • "json query"
  • "json查询"
  • "json路径"
  • "json提取"
  • "jsonpath"
  • "查询json"
  • "json filter"
  • "json 搜索"

使用方式

当用户请求 JSON 查询、路径提取、数据筛选时,直接调用本技能。

1. 启动工具

主工具: https://clawhub.ai/skills/json-query-tool

在线访问: https://json-query-tool.pages.dev/

GitHub: https://github.com/shenghoo123-png/json-query-tool-web

2. 功能说明

  • 路径查询: $.store.book[*].author
  • 数组索引: users[0].email
  • 通配符: $.data[*].name, $.items.*
  • 深层嵌套: $.config.settings.theme.colors.primary
  • 三种输出: JSON / 表格 / 原始

3. 查询语法

$.key           → 根对象字段
$.arr[0]        → 数组第一个元素
$.arr[*]        → 数组所有元素
$.obj.*         → 对象所有字段
$.a.b.c         → 深层嵌套
$.a[0].b        → 数组+对象组合

示例

// 输入 JSON
{"store":{"book":[{"author":"张三"},{"author":"李四"}]}}

// 查询
$.store.book[*].author

// 结果
["张三", "李四"]

适用人群

  • 前端开发者: 从 API 响应提取数据
  • 测试工程师: 验证 JSON 字段是否存在
  • 后端开发者: 调试 API 返回
  • 数据分析师: 提取 JSON 中的特定数据

技术栈

  • 纯前端 HTML/CSS/JavaScript
  • 文件大小 \x3C 35KB
  • 无框架依赖
  • 数据完全在本地处理

更新日志

v1.0.0

  • 初始版本
  • 支持路径查询、数组索引、通配符
  • 三种输出格式
  • 预置示例数据
Usage Guidance
This appears to be a benign, local front-end JSON query utility. Before installing or invoking: (1) confirm you do not paste sensitive secrets into any remote demo site linked in SKILL.md — the tool claims to process data locally, but visiting the hosted demo will contact external servers; (2) if you follow DEPLOY.md to self-host, you will need to provide deployment tokens (Vercel/Cloudflare/Netlify) — only supply those to services you trust; (3) you can use the included index.html offline to keep data local. If you want higher assurance, inspect the full index.html in a safe environment to verify no network calls are made when running queries locally.
Capability Analysis
Type: OpenClaw Skill Name: json-query-tool Version: 1.0.0 The bundle provides a functional, client-side JSON query tool implemented as a single-page HTML application. Analysis of index.html confirms that all data processing and querying are performed locally in the browser with no evidence of data exfiltration, external network calls, or malicious execution logic. The instructions in SKILL.md and the deployment guides in DEPLOY.md are consistent with the tool's stated purpose and do not contain prompt-injection attacks or harmful commands.
Capability Assessment
Purpose & Capability
The name/description (JSON Query Tool) matches the provided artifacts (index.html, README, SKILL.md). No unrelated binaries, env vars, or capabilities are requested.
Instruction Scope
SKILL.md directs the agent to invoke this skill for JSON queries and points to an online demo and GitHub repo. The runtime instructions do not ask the agent to read local files, environment variables, or transmit data. Note: the skill references external URLs (demo host and GitHub) — invoking those links would contact remote endpoints, but the skill itself claims local-only data processing.
Install Mechanism
No install spec and no code executed at install time (instruction-only plus an included index.html). Lowest-risk delivery model: nothing is written to disk by an installer.
Credentials
The skill declares no required environment variables or credentials (appropriate for a client-side tool). Deployment instructions in DEPLOY.md show optional commands that use deployment tokens (VERCEL_TOKEN, CLOUDFLARE_API_TOKEN, NETLIFY_TOKEN) — those are only relevant if you choose to deploy the app yourself and are not required to use the skill as provided.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills. Autonomous invocation is enabled (platform default) but not combined with other red flags.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install json-query-tool
  3. After installation, invoke the skill by name or use /json-query-tool
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
JSON Query Tool v1.0.0 (Initial Release) - 首次发布:提供免费的在线 JSON 查询工具 - 支持路径查询、数组索引、通配符及深层嵌套数据提取 - 三种输出格式:JSON、表格、原始 - 数据本地处理,无需上传服务器 - 提供预置示例数据和查询语法说明
Metadata
Slug json-query-tool
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is JSON Query Tool?

免费本地运行的在线 JSON 查询工具,支持路径查询、数组索引、通配符及深层嵌套,快速提取所需数据。 It is an AI Agent Skill for Claude Code / OpenClaw, with 124 downloads so far.

How do I install JSON Query Tool?

Run "/install json-query-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is JSON Query Tool free?

Yes, JSON Query Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does JSON Query Tool support?

JSON Query Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created JSON Query Tool?

It is built and maintained by shenghoo123-png (@shenghoo123-png); the current version is v1.0.0.

💬 Comments