Agent Skills
› nodetool-ai/nodetool
› sandbox-jmespath
sandbox-jmespath
GitHub在沙箱环境中使用 JMESPath 查询和提取 JSON 数据,支持路径选择与聚合计算。
Trigger Scenarios
需要解析或过滤 JSON 数据
从 API 响应中提取特定字段
Install
npx skills add nodetool-ai/nodetool --skill sandbox-jmespath -g -y
SKILL.md
Frontmatter
{
"name": "sandbox-jmespath",
"description": "Query a JSON document with JMESPath inside a Code node or CodeAct action"
}
JMESPath in the sandbox
Specifier: @nodetool-ai/sandbox-jmespath. One module, the jmespath
root export. Import it at the top of the body.
search — pick values out of JSON
import jmespath from "@nodetool-ai/sandbox-jmespath";
const names = jmespath.search(inputs.data, "items[*].name");
const total = jmespath.search(inputs.data, "sum(items[*].amount)");
return { names, total };
Gotchas
- Default export.
import jmespath from "@nodetool-ai/sandbox-jmespath". - Missing paths return
null, they do not throw. - The expression is a string. Build it carefully; do not interpolate untrusted input into it.
Version History
- a6a7e57 Current 2026-08-20 09:52


