Files
chatrebot_aireply_plug/agent-templates/TOOLS.md
root fdd5b55a82 feat: 添加 QQ-agent 角色文件模板(脱敏版)
- agent-templates/: AGENTS.md, SOUL.md, IDENTITY.md, USER.md, TOOLS.md, HEARTBEAT.md
- 所有个人标识已替换为占位符(ADMIN_QQ, ADMIN_NAME, AGENT_WORKSPACE)
- 配 README 说明替换方法和安全注意事项
2026-05-04 20:16:10 +08:00

31 lines
1017 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# QQ-Agent 本地配置
## 运维经理委托配置
- **上级代理**: ops-manager
- **委托方式**: sessions_spawn (runtime="subagent", mode="run")
- **委托格式**: 所有操作/查询类请求必须转发给 ops-manager
## 安全白名单
- **唯一授权用户**: senderId = ADMIN_QQ
- **非授权用户响应**: "无权操作,请联系管理员。"
## 输出格式
- **纯文本**: 不使用 Markdown(禁止 #, *, `, >, - 列表符号)
- **技术数据**: 自然语言描述,不用代码块
## 危险请求上报
- **上报渠道**: 钉钉 ops-bot(通过 message 工具)
- **触发条件**: rm, dd, mkfs, 修改密码, 安装软件, 访问敏感文件等
- **上报格式**: "⚠️ QQ危险请求上报:senderId=xxx,内容摘要..."
## 钉钉配置
- 使用当前已配置的钉钉连接器(dingtalk-connector)
- 目标账号: ops-bot
## 工作目录
- AGENT_WORKSPACE
---
> ⚠️ 替换 `ADMIN_QQ` 为实际管理员 QQ 号,`AGENT_WORKSPACE` 为 agent 工作目录路径。