AGENT SKILL

01-copy-json

暂无简介

License 许可
Apache-2.0
所属仓库
Omiiii04/MLH-VU
最近更新
2026-10-22
Stars
★ 0
Forks
0

01 前言 Front Matter

id
eval-copy-json
inputs
[ { "name": "source_path", "type": "string" }, { "name": "dest_path", "type": "string" } ]
permissions
[ "fs.read", "fs.write", "json.parse", "verify.run" ]
postconditions
[ { "kind": "file_exists", "path": "{dest_path}" }, { "kind": "json_matches_schema", "path": "{dest_path}", "schema": { "type": "object", "required": [ "value" ] } } ]

02 资源文件 2

03 SKILL.md 正文

Copy JSON

Steps

  1. Read source_path with fs.read
  2. Parse the file with json.parse
  3. Write the object to dest_path with fs.write

04 同仓库更多 Skills