wayglass agent setup
Teach coding agents the Wayglass loop in AGENTS.md.
Writes a short block between <!– wayglass:begin –> and <!– wayglass:end –> into the repo’s AGENTS.md (or –file): declare an intent, commit with the why, push, propose and obey the exit code, land only when approved, never approve your own work. Rerunning replaces only that block. Nothing is committed.
wayglass agent setup [flags]Examples
Section titled “Examples”wayglass agent setupwayglass agent setup --file CLAUDE.mdwayglass agent setup --print >> notes.md| Flag | Default | Description |
|---|---|---|
--file string |
AGENTS.md |
instructions file to update, relative to the repo root (e.g. CLAUDE.md) |
--print |
print the block instead of writing it |
Global flags
Section titled “Global flags”| Flag | Default | Description |
|---|---|---|
--json |
print a JSON envelope for agents (no colour, prompts or spinners) |
Exit codes and the --json envelope are the same for every command; see For agents.
See also
Section titled “See also”wayglass agent: Set up coding agents to work through Wayglass