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}, where meta.next is the command to run next;
    • or {ok: false, error: {code, message, hint, status}}.
  • Never run bare smashandclash or smashandclash 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.

Play a game step by step

Installs
1
First Seen
Today
smash-and-clash-cli — smashandclash/plugin