Agent Skills
› nodetool-ai/nodetool
› sandbox-jmespath
sandbox-jmespath
GitHub提供在 Code 节点或 CodeAct 动作中通过 JMESPath 查询和提取 JSON 数据的能力,支持路径选择与聚合计算。
Trigger Scenarios
需要从 JSON 中提取特定字段
对 JSON 数据进行 JMESPath 表达式查询
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


