AGENT SKILL

json-answer-formatter

Format retrieval answers as a dictionary in /root/answer.json.

License 许可
MIT
最近更新
2026-10-02
Stars
★ 93
Forks
8

01 前言 Front Matter

name
json-answer-formatter
description
Format retrieval answers as a dictionary in /root/answer.json.

03 SKILL.md 正文

Overview

This skill defines the format for saving the answers of retrieved data.

Output Format

{
    "q1": {"answer": ["value1", "value2"], "tokens": 123},
    "q2": {"answer": ["single_value"], "tokens": 456}
}

Requirements

  • answer field must always be a list.
  • tokens field must be a positive numeric value.
  • Store the file at /root/answer.json.
  • When appending, read the existing file if it exists, update it, and write it back.

04 同仓库更多 Skills