Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This suggests adding a `QWEN.md` in the repo for agents instructions. Where are we with `AGENTS.md`? In a team repo it's getting ridiculous to have a duplicate markdown file for every agent out there.


I just symlink to AGENTS.md, the instructions are all the same (and gitignore the model-specific version).


I just make a file ".llmrules" and symlink these files to it. It clutters the repo root, yes...


Can't these hyper-advanced-super-duper tools discover what UNIX tools since circa 1970 knew, and just have a flag/configuration setting pointing them to the config file location? Excuse me if they already do :-)

In which case you'd have 1 markdown file and at least for the ones that are invoked via the CLI, just set up a Makefile entry point that leads them to the correct location.


CLAUDE.md MISTRAL.md GEMINI.md QWEN.md GROK.md .cursorrules .windsurfrules .copilot-instructions

Saw a repo recently with probably 80% of those


It would be funny to write conflicting instructions on these, and then unleash different coding agents on the same repo in parallel, and see which one of them first identifies the interference from the others and rewrites their instructions to align with its own.



Lol you can even tell each model to maliciously and secretly sabotage other agents and see which one wins.


I built https://github.com/czottmann/render-claude-context for that exact reason.

> This node.js CLI tool processes CLAUDE.md files with hierarchical collection and recursive @-import resolution. Walks directory tree from current to ~/.claude/, collecting all CLAUDE.md files and processing them with file import resolution. Saves processed context files with resolved imports next to the original CLAUDE.md files or in a specific location (configurable).

I mostly use Claude Code, but every now and then go with Gemini, and having to maintain two sets of (hierarchical) instructions was annoying. And then opencode showed up, which meant yet another tool I wanted to try out and …well.


Maybe there could be an agent that is in charge of this and it's trained to automatically create a file for any new agent, it could even temporarily delete local copies of MD files that no agents are using at the moment to free the visual clutter when navigating the repo.


I tried making an MCP with the common shit I need to tell the agents, but it didn't pan out.

Now I have a git repo I add as a submodule and tell each tool to read through and create their own WHATEVER.md


https://github.com/intellectronica/ruler

Library to help with this. Not great that a library is necessary, but useful until this converges to a standard (if it ever does).


these files are for free publicity on github




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: