Skip to content

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.

Terminal window
wayglass agent setup [flags]
Terminal window
wayglass agent setup
wayglass agent setup --file CLAUDE.md
wayglass 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
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.