← 返回 Skills 市场
自然语言转JOSN参数
作者
Paulina Laitinen
· GitHub ↗
· v1.0.1
258
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nl2json
功能描述
将自然语言转换成JSON参数。当用户说"帮我把自然语言转成JSON"、"把这段话转换成JSON参数"、"识别成JSON"、"转成JSON"、"转换成JSON"、"帮我生成JSON"、"用JSON表示"、"提取成JSON"、"解析成JSON"、"把这句话变成JSON"、"帮我做JSON转换"、"查询数据转JSON"...
安全使用建议
This skill appears consistent and low-risk: it reads a local template and the conversation history, then returns structured JSON. Before installing, consider: (1) the skill will include raw user inputs in the generated JSON and may rely on stored previous conversions—avoid submitting sensitive personal data if you don't want it preserved; (2) confirm how your agent platform persists conversation memory (how long previous conversions are kept); and (3) review templates/default.json if you want different fields. Test the skill with non-sensitive example inputs first.
功能分析
Type: OpenClaw Skill
Name: nl2json
Version: 1.0.1
The nl2json skill is a utility designed to convert natural language into structured JSON parameters based on a provided template. The skill instructions in SKILL.md focus on data extraction, time format normalization, and context inheritance for multi-turn conversations, with no evidence of malicious intent, data exfiltration, or unauthorized command execution.
能力评估
Purpose & Capability
Name and description match the actual behavior: reading templates/default.json and converting user text into a JSON structure. There are no unrelated binaries, environment variables, or external endpoints requested.
Instruction Scope
SKILL.md instructs only to read the local template, extract fields from user input, convert relative/absolute times to a fixed format, optionally inherit prior-conversion values from conversation history, and output JSON only. It does not instruct reading system files, contacting external services, or accessing unrelated credentials.
Install Mechanism
No install spec and no code files that would be written/executed on disk; this is instruction-only and has minimal surface area.
Credentials
No environment variables, secrets, or config paths are required. The only data used are the local template file and conversation history, which are proportional to the task.
Persistence & Privilege
always:false and no system-modifying instructions. The skill requires remembering the previous conversion result (conversation history or agent memory) to implement 'context inheritance'—this is expected for the feature but implies the agent will persist or access prior outputs; verify how long and where that context is stored if you have privacy concerns.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install nl2json - 安装完成后,直接呼叫该 Skill 的名称或使用
/nl2json触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 增强了自然语言转JSON能力,完善模板化自动结构化输出,并支持上下文继承。
- 支持严格按照 templates/default.json 模板结构输出结果,保证每个模板字段不遗漏。
- 新增上下文参数继承机制:用户可连续部分修改(如只改时间/来源/数量),仅变更字段自动合并。
- 统一所有时间参数格式为 YYYY-mm-dd H:i:s,并支持丰富的相对及具体时间自然语言解析。
- 提供丰富的应用场景示例及查询短语支持,提升各类中文数据/新闻/舆情转JSON体验。
- 明确默认值填充及输出格式规范,确保每次生成结果 JSON 可直接解析。
元数据
常见问题
自然语言转JOSN参数 是什么?
将自然语言转换成JSON参数。当用户说"帮我把自然语言转成JSON"、"把这段话转换成JSON参数"、"识别成JSON"、"转成JSON"、"转换成JSON"、"帮我生成JSON"、"用JSON表示"、"提取成JSON"、"解析成JSON"、"把这句话变成JSON"、"帮我做JSON转换"、"查询数据转JSON"... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 258 次。
如何安装 自然语言转JOSN参数?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install nl2json」即可一键安装,无需额外配置。
自然语言转JOSN参数 是免费的吗?
是的,自然语言转JOSN参数 完全免费(开源免费),可自由下载、安装和使用。
自然语言转JOSN参数 支持哪些平台?
自然语言转JOSN参数 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 自然语言转JOSN参数?
由 Paulina Laitinen(@yingjiusheng)开发并维护,当前版本 v1.0.1。
推荐 Skills