Organizing Large Harnesses
As a harness grows, listing every skill and reference directly inHARNESS.md becomes unwieldy. Subdirectories let you group related skills and references together, keeping HARNESS.md short while still giving the agent a clear map of what’s available.
Subdirectory Structure
Organizeskills/ and references/ into named subdirectories by theme:
SKILLS.md and REFERENCES.md
Adding a summary file to each subdirectory is optional but strongly encouraged. The primary purpose of these files is routing: an agent reading a summary should be able to decide quickly whether the group is relevant to the current task, without opening individual files.SKILLS.md is valuable when a group is large or varied enough that the individual skill descriptions alone don’t paint a clear picture. REFERENCES.md is especially valuable because references vary widely in file type and may not carry a machine-readable description field — without a summary, the agent has little to go on besides filenames.
The body is free-form markdown. A brief narrative works well, optionally followed by a list for larger groups:
skills/data-access/SKILLS.md
references/data-sources/REFERENCES.md
HARNESS.md stays short:
Nesting
This structure can be nested arbitrarily. Each level of subdirectory gets its ownSKILLS.md or REFERENCES.md, allowing the agent to incrementally traverse the hierarchy rather than loading everything at once.
Example
Thedata-analyst-assistant example demonstrates this pattern with three reference subdirectories and two skill subdirectories.