dotfiles-agentsRepository
On this page

Commands become a fourth primitive type

Context

Until now the roster carried three kinds of thing an agent runs — skill, agent, hook — plus mcp. TYPES in scripts/check_roster.py encoded that as a closed set, and nothing in primitives-core/ or any assembly was a command. Claude Code has supported plugin commands the whole time; this repo simply never shipped one.

TASK-058 asked for an easier way to set up .claude/atelier.local.md. The activation skill shipped first (PR #295). The open half was whether a command should ship beside it, and the argument against was cost: a command is the first of its kind, so it reshapes the roster schema and lands in check_roster.py, gen_opencode.py, check_symlinks.py, and flow.yaml before it does anything useful. Skills are already reachable as a slash invocation, so on the operator axis alone the command buys little.

The owner overruled that on a different axis: "the agent can run it on my behalf as well." A skill is knowledge a model reaches for; a command is an instruction an operator or an agent issues. Wanting the setup performed unattended, on request, is a command-shaped want, and no amount of skill polish makes a skill the thing you hand to an agent to do.

Decision

command is a fourth primitive type, first-class in the roster and in the gates. The cost of the schema change was raised before the ruling and accepted by the owner explicitly and twice.

The first command wraps the activation skill and stays thin. The procedure lives in the skill and is never duplicated into the command — the command loads the skill and drives it. That boundary is what keeps a second surface from becoming a second source of truth, which is the failure this whole card exists to fix (the shipped README had already drifted from the schema it copied).

Consequences