Reference files are linked from SKILL.md

A file linked from SKILL.md links on to further bundled files that SKILL.md does not link.

WarningRuns on uploaded foldersFails on 67 of 4462 indexed skills
share

Claude may read only the first lines of a file two links away

When a skill triggers, the agent reads SKILL.md in full. The files SKILL.md links to are opened when a step calls for them, and they are read in full too.

The problem is one level further down. Say SKILL.md links deploy.md, and deploy.md says "see regions.md for the region list". Anthropic's authoring guide says that in this case Claude often previews regions.md with a command like head -100 instead of reading the whole file. If the region list starts on line 120, the agent never sees it, and nothing tells it that it missed something.

The Agent Skills specification gives the same advice for every agent: keep file references one level deep.

"When encountering nested references, Claude might use commands such as head -100 to preview content rather than reading entire files, resulting in incomplete information. Keep references one level deep from SKILL.md."
Anthropic: skill authoring best practices, avoid deeply nested references
"Keep file references one level deep from SKILL.md. Avoid deeply nested reference chains."
Agent Skills specification: file references

Link every reference file straight from SKILL.md

Add a line to SKILL.md for each reference file, with a few words on when to open it. Reference files can still point at each other, as long as SKILL.md links them too.

FailsPasses
SKILL.md linksdeploy.mddeploy.md and regions.md
deploy.md linksregions.mdregions.md
## Reference files

- [Deploy steps](references/deploy.md): read before any deploy
- [Regions](references/regions.md): region names and their limits