smash-and-clash-cli
Installation
SKILL.md
Smash&Clash CLI
smashandclash (beta) plays Smash&Clash from a shell. Install it globally to also get the short alias snc:
npx smashandclash --help
Rules for agents
- Always pass
--json. Each command prints exactly one JSON line on stdout:{ok: true, command, data, meta}, wheremeta.nextis the command to run next;- or
{ok: false, error: {code, message, hint, status}}.
- Never run bare
smashandclashorsmashandclash play. Those open a full-screen game for humans. Off a terminal they refuse with exit code 2. - The CLI remembers the current game in
~/.smashandclash, so moves need no ids.