aws-toolkit-vscode icon indicating copy to clipboard operation
aws-toolkit-vscode copied to clipboard

Amazon Q ignores config for using AGENTS.md

Open dag opened this issue 2 months ago • 3 comments

Problem

I want Amazon Q to read AGENTS.md like every other agent does, but it doesn't by default and it appears to ignore the resources setting. The AGENTS.md website suggests using symlinks in such situations, but that is not a reliable solution on Windows with Git.

Steps to reproduce the issue

  1. Edit .amazonq/agents/default.json to add AGENTS.md to resources:
    {
      "resources": [
        "file://AGENTS.md",
        "file://AmazonQ.md",
        "file://README.md",
        "file://.amazonq/rules/**/*.md"
      ],
    }
    
  2. Click Rules in Amazon Q: Chat

Expected behavior

See AGENTS.md listed and enabled.

System details (run AWS: About and/or Amazon Q: About)

OS: Windows_NT x64 10.0.26200 Visual Studio Code extension host: 1.105.1 Amazon Q: 1.101.0 node: 22.19.0 electron: 37.6.0

dag avatar Oct 23 '25 15:10 dag