Quickstart
This guide walks you through creating a minimal harness from scratch.Prerequisites
- An AI client that supports Agent Harnesses (see Clients)
- Basic familiarity with markdown
Step 1 — Create the harness directory
Step 2 — Write HARNESS.md
HARNESS.md is the only required file. Create it now:
Step 3 — Add a skill (optional)
Create a skill to give your agent a specific, reusable capability:.leaf-detectors file at the harness root so clients know to treat directories containing SKILL.md as skill leaves:
skills/summarize/ as an ordinary directory rather than activating it as a skill.
Update HARNESS.md to reference it:
Step 4 — Add a directory (optional)
You can add any top-level directory to bundle context relevant to your domain. The directory name is up to you. Create a routing file named after it in all-caps to help the agent navigate its contents:HARNESS.md:
Step 5 — Install the harness
Refer to your AI client’s documentation for how to install a local harness directory. Typically this involves pointing the client at the harness root folder.What’s next
- Best Practices — learn how to structure harnesses for maintainability
- Optimizing Descriptions — write descriptions that help agents activate the right skills
- Evaluating Harnesses — test that your harness behaves as expected