Install
Initialize a project
Create a project-local
.buttons/ directory so the button belongs to this workspace instead of your global ~/.buttons/ folder:buttons init also writes .buttons/AGENT.md and adds a Buttons section to AGENTS.md so coding agents know to discover and press existing buttons before writing one-off commands.See the result
--json for structured output. Piped output auto-detects non-TTY and switches to JSON automatically.What to try next
Code buttons
Run inline shell, Python, or Node scripts.
Prompt buttons
Attach instructions for the consuming agent.
Workflows
Chain buttons into drawers.
Arguments
Typed args with validation.
CLI reference
Full flag reference for create.