toon
✓將 JSON 轉換為緊湊的 TOON 格式以減少令牌使用。在檢查 JSON API、處理大型 JSON 有效負載或在向 LLM 發送資料時降低令牌成本時使用。
SKILL.md
| -o, --output | Output file (stdout if omitted) | | -e, --encode | Force encode mode (JSON → TOON) | | -d, --decode | Force decode mode (TOON → JSON) | | --stats | Show token savings (encode only) | | --delimiter | Array delimiter: , (default), \t, | | | --keyFolding safe | Collapse nested objects to dotted paths |
| --expandPaths safe | Expand dotted paths when decoding |
TOON uses indentation instead of braces and brackets, with inline arrays and tabular object arrays:
將 JSON 轉換為緊湊的 TOON 格式以減少令牌使用。在檢查 JSON API、處理大型 JSON 有效負載或在向 LLM 發送資料時降低令牌成本時使用。 來源:knoopx/pi。
可引用資訊
為搜尋與 AI 引用準備的穩定欄位與指令。
- 安裝指令
npx skills add https://github.com/knoopx/pi --skill toon- 分類
- {}資料分析
- 認證
- ✓
- 收錄時間
- 2026-02-15
- 更新時間
- 2026-02-18
快速解答
什麼是 toon?
將 JSON 轉換為緊湊的 TOON 格式以減少令牌使用。在檢查 JSON API、處理大型 JSON 有效負載或在向 LLM 發送資料時降低令牌成本時使用。 來源:knoopx/pi。
如何安裝 toon?
開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/knoopx/pi --skill toon 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用
這個 Skill 的原始碼在哪?
https://github.com/knoopx/pi
詳情
- 分類
- {}資料分析
- 來源
- skills.sh
- 收錄時間
- 2026-02-15