AICookAI

AGENTS.md

AGENTS.md is the Bot's work rules file with the highest priority. It defines security boundaries, permission rules, reply formats, and other core behaviors.

Contents

  • Security BoundariesDefine what the Bot must never do
  • Permission RulesDefine permission behavior in different contexts
  • Reply FormatDefine the Bot's reply style and format requirements
  • API Key HandlingDefine how to safely handle sensitive information

Priority

AGENTS.md has higher priority than SOUL.md and system defaults. If rules in AGENTS.md conflict with SOUL.md, AGENTS.md rules take effect. This ensures security rules can't be overridden by persona settings.

How to Modify

Ask the Bot to modify the AGENTS.md file in private chat. Modify carefully, as incorrect rules may affect the Bot's normal operation.

Before modifying AGENTS.md, it's recommended to backup the current content first.