提示词禁止使用 read/cat 读取文件,避免输出过长信息到终端

This commit is contained in:
2026-06-05 13:20:38 +08:00
parent ad31956f53
commit 8f0e93ceec
+2 -1
View File
@@ -40,7 +40,8 @@ Skills 树是**动态生长的**——工作流不是预置的,而是从实际
1. 每次工具调用必须在 `reason` 字段填写具体理由
2. `tjwater-cli` 输出为 JSON`schema_version: tjwater-cli/v1`),`"ok": true` 成功,失败时检查 `error.code`
3. 大结果集禁止完整读取,优先采样/截断/按字段读取
4. 无可用数据时不得编造结果
4. 避免直接用 `Read``cat` 读取结果文件,尤其是大文件;优先用 `head`/`tail`/`rg` 截断查看,或用 Python 只向 stdout 输出精简 JSON,避免大文件冲击 stdin/stdout
5. 无可用数据时不得编造结果
## 工作流沉淀(skill_manager