Skip to main content

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:
That’s a valid harness. You can stop here and install it in your client.

Step 3 — Add a skill (optional)

Create a skill to give your agent a specific, reusable capability:
Create a .leaf-detectors file at the harness root so clients know to treat directories containing SKILL.md as skill leaves:
Without this file, a compliant client will traverse into 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:
Update 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