modern-fireman-99755
07/06/2026, 9:12 AM.claude/rules) because rules are actually just skills.
This way, we can reuse all the infrastructure already in place for skills and plugins.
Moreover, starting with the next SDK release, these will be usable by everyone out of the box (as the skill framework is already in place and working).
cc @curved-angle-80449 @limited-student-10747calm-artist-7206
07/06/2026, 5:55 PMcalm-artist-7206
07/06/2026, 5:56 PMcalm-artist-7206
07/06/2026, 5:56 PMcalm-artist-7206
07/06/2026, 5:58 PMcurved-angle-80449
07/06/2026, 6:47 PMmodern-fireman-99755
07/07/2026, 7:25 AMmodern-fireman-99755
07/07/2026, 7:26 AMI mean, as you can see in the issue, Claude Code and Codex have both solved this problem, instructions per file/dir, in two different waysYes, but this is another feature right?
calm-artist-7206
07/07/2026, 7:33 AMmodern-fireman-99755
07/07/2026, 7:34 AMcalm-artist-7206
07/07/2026, 8:23 AM.agents/skills, please correct me if wrong?
To load the AGENTS.md files, we'd have to tell the LLM to load the respective md 🤔calm-artist-7206
07/07/2026, 8:29 AM.agents/skills. For example, with a tiny openhands doctormodern-fireman-99755
07/07/2026, 8:30 AMcalm-artist-7206
07/07/2026, 8:30 AMcalm-artist-7206
07/07/2026, 8:31 AMcalm-artist-7206
07/07/2026, 8:31 AMcalm-artist-7206
07/07/2026, 8:31 AMcalm-artist-7206
07/07/2026, 8:32 AMcalm-artist-7206
07/07/2026, 8:33 AMcalm-artist-7206
07/07/2026, 8:35 AMcalm-artist-7206
07/07/2026, 8:38 AMmodern-fireman-99755
07/07/2026, 8:49 AMcalm-artist-7206
07/07/2026, 8:50 AMcalm-artist-7206
07/07/2026, 8:51 AMcalm-artist-7206
07/07/2026, 8:53 AMmodern-fireman-99755
07/07/2026, 8:28 PM=> codex/openhands-sdk : ok add them in AGENTS.md in subdirectories, and we'll try to load those when the agent works with files in the respective locationSo you have the rules inside the AGENTS.md which are actually injected 2 times inside the agent context. At the beginning of the discussion and if the agent enter in a directory. Right? I don't know if it is a good idea... I mean the path triggered skill is doing the same job
calm-artist-7206
07/07/2026, 8:42 PMcalm-artist-7206
07/07/2026, 8:42 PMcalm-artist-7206
07/07/2026, 8:42 PMcalm-artist-7206
07/07/2026, 8:43 PMmodern-fireman-99755
07/07/2026, 8:47 PMAGENTS.md files but the agent seems not to care about them. So the solution would be that when we see that the agent is going inside this path -> we load the AGENTS.md inside the context.
I think this is actually a good idea. And it should not difficult to add to the PR
sorry, I'm tired 😅calm-artist-7206
07/07/2026, 8:52 PMcalm-artist-7206
07/07/2026, 8:53 PMmodern-fireman-99755
07/07/2026, 9:49 PM