| ▲ | deaux 5 hours ago | |
Agree that progressive disclosure is fantastic, but > (e.g. for DB schema related topics, see such and such a file). Rather than doing this, put another AGENTS.md file in a DB-related subfolder. It will be automatically pulled into context when the agent reads any files in the file. This is supported out of the box by any agent worth its salt, including OpenCode and CC. IMO static instructions referring an LLM to other files are an anti-pattern, at least with current models. This is a flaw of the skills spec, which refers to creating a "references" folder and such. I think initial skills demos from Anthropic also showed this. This doesn't work. | ||
| ▲ | prodigycorp 3 hours ago | parent [-] | |
This is probably the best comment in the thread. I've totally forgotten about nested AGENTS.md files, gonna try implementation today. | ||