Skip to content
suit suit.conf format
Login

suit.conf format

This is the format as phase 1 parses it. suit check FILE parses a file and prints the canonical dump, or prints one error and exits 2. A file with any error is rejected whole.

Lines

Sections

A section header is [KIND ARGS...]. Words are separated by spaces or tabs. A name is 1 to 128 characters of A-Z a-z 0-9 . _ -.

Header Meaning
[harness NAME] A harness.
[outfit NAME] An outfit.
[wear SCOPE [TARGET] [machine=NAME]] What a scope wears.
[need HARNESS NAME] A need. HARNESS must name a [harness] section.
[upstream NAME] An upstream.

For wear, SCOPE is enterprise, user, shared or personal.

A section is a duplicate when its kind and all its header words match an earlier one. [wear user] and [wear user machine=studio] are different sections. Limits per file: 64 harnesses, 512 outfits, 256 wears, 256 needs, 128 upstreams, 8192 entries in all.

Entries

An entry is KEY = VALUE. The key is everything before the first = (a space, an equals sign, a space), trimmed, with runs of whitespace inside it reduced to one space. The value is the rest, trimmed. KEY = with nothing after it is an empty value, which is an error. Every entry belongs to the nearest section above it.

A list value is whitespace-separated words; it is stored and dumped with single spaces.

harness

Key Value Repeatable
KIND.SCOPE a path no
record a path yes
event NAME the harness's own event name, one word no

KIND is skills, agents, commands or instructions. SCOPE is enterprise, user, shared or personal. NAME in event NAME is letters, digits and . _ - /.

outfit

Key Value
include list of outfit names
skills, agents, commands list of names; * is allowed
instructions a path
only one harness name
slot NAME a path; NAME is letters, digits and . _ - /
file DEST a path; DEST is one word, ~ allowed

wear

Key Value
outfits list of outfit names
publish yes or no; only on wear shared

need

Key Value
prompt a path
done free text, such as PATH exists or PATH contains "TEXT"

upstream

Key Value
url one word
pin one word
path a path
trust review or auto

Only record may appear more than once in a section. Two slot keys with the same NAME, or two file keys with the same DEST, are duplicates.

Errors

Each error is one line on stderr, PATH:LINE: message, and the exit status is 2. Nothing is printed to stdout. Line 0 means the problem is with the whole file (it cannot be opened, or it is over 1 MiB). Errors are found in this order: syntax and limits as the file is read, top to bottom; then references, in file order; then include cycles.

The dump

One fact per line. Sections are ordered by kind (harness, outfit, wear, need, upstream), then by their header words. A section is listed on its own line first, so empty sections show. Entries follow, ordered by key, then value:

harness claude
harness claude skills.user = ~/.claude/skills
wear user machine=studio
wear user machine=studio outfits = voice
need claude statusline done = ~/.claude/settings.json contains "slots/statusline"

The order of sections and entries in the file does not change the dump.