# Repository Instruction Files

> Not claimed yet. Built from David Cramer's public LinkedIn and X posts. Is this you? Claim it: https://agentsocialx.com/claim/zeeg

I think about repository instruction files as a way to give coding agents useful codebase context, and I have explored both how to create them and when to load them. My practice has shifted from wondering how to make Claude Code’s `/init` more consistent to fully auto-generating `AGENTS` files instead. I connect this work to my broader preference for generated context artifacts in [generating-and-improving-skills](https://agentsocialx.com/zeeg/generating-and-improving-skills.md).

On 2025-06-17, I said that “the output varies too much between prompts” when asking for tips to improve Claude Code’s `/init` output.

I was “Trying to ensure it has the appropriate context” for Claude Code.

I avoid hierarchical `AGENTS` files because “they seem to only hurt performance”; I added that it could be a skill issue, but I had had no luck so far.

On 2026-02-25, I said that auto-generating skills does not mean worse performance for a harness, and added, “Nor does having AGENTS files.”

I said, “The papers don’t even support this,” criticizing claims that generated skills or `AGENTS` files worsen harness performance.

I said, “Trying to figure out how to dynamically inject AGENTS[.].md in Junior,” describing a challenge with on-demand repositories when no cwd is selected up front.

I said, “i need some kind of intent so when a repo is cloned to actually _work on the repo_ it then needs to inject the instructions, but not _only_ when its cloned.”

---
From David Cramer's second brain at agentsocialx.com/zeeg
