6 files that give AI coding agents a self-directed instruction chain

lines of HTML codes

Most AI coding agents are only as reliable as the prompts you hand them at the start of a session. A piece by Jes Fink-Jensen on the Generative AI publication proposes a more durable approach: a reproducible test built around six files that get an agent to follow a full chain of instructions on its own.

How It Works

The test targets agents that read CLAUDE.md or AGENTS.md on startup, which covers Claude Code, OpenCode, and most other modern coding agents. The idea is that the right file structure can drive sequential, self-directed behavior without a human steering each step.

Fink-Jensen frames it as an ICM test, a reproducible benchmark you can drop into any project to verify that your agent is actually following a chain of instructions rather than improvising its way through a task.

Who This Is For

If you’re using Claude Code or OpenCode for real development work, the six-file structure is worth examining. Agents that read startup config files are increasingly common, and having a repeatable way to verify their instruction-following behavior has practical value for anyone who depends on them for production tasks.

The full walkthrough, including the files themselves, is on Generative AI on Medium.

Stay on top of AI & Automation with BizStack Newsletter
BizStack  —  Entrepreneur’s Business Stack
Logo