Skip to main content

CLI

The ahar CLI scaffolds and manages Agent Harnesses.

Installation

Commands

ahar init

Scaffold a new harness in the current directory:
Optionally specify a name (defaults to the directory name):
This creates:
When using the claude preset (default), ahar init also installs:
The metaskill is cloned fresh from agentharnesses/metaskill at init time.

ahar validate

Validate a harness directory structure:

ahar read

Read a property from a harness’s HARNESS.md frontmatter:

ahar prompt

Render a harness as prompt XML for agent injection:
These commands are backed by harnesses-ref, the reference implementation for the Agent Harnesses standard.