Skip to the content.

goc — the Game of Cards CLI

This is the command-level reference for the goc implementation. The methodology is described in the main README; the broader context (why “Game of Cards”, agile lineage, where it fits) lives in ABOUT.md.

Install the command

Install goc once per machine with the Python application installer you already trust:

uv tool install game-of-cards

or:

pipx install game-of-cards

Both install the goc console command in an isolated tool environment. Use uv tool install if uv is already part of your Python workflow. Use pipx if you follow the PyPA-recommended path for standalone Python applications.

Plain pip install game-of-cards is useful inside a virtual environment, but it is not the clearest global CLI installation because scripts and dependencies share that environment.

When developing this repository, run the checked-out code instead of any globally installed version:

uv run goc --help
uv run goc validate

Install into a repo

From a project root:

goc install

goc install writes the shared substrate:

It also installs an agent harness. Auto-detection is intentionally simple:

For scripted installs, pass the harness explicitly:

goc install --agents claude
goc install --agents codex
goc install --agents claude,codex

Repo-local development form:

uv run goc install --agents codex

Upgrade an install

After upgrading the machine-wide goc command, refresh generated files in a repo:

goc upgrade
goc upgrade --agents claude,codex

Generated guidance blocks are marker-bounded so user-authored content outside the markers is preserved.

Daily commands

goc
goc --board
goc -v --status all
goc new rename-the-button-to-export
goc status rename-the-button-to-export active
goc done rename-the-button-to-export
goc validate

Common verbs:

Command Purpose
goc Show the open queue, sorted by leverage.
goc --board Show a kanban board by status.
goc new <title> Create a card under deck/<title>/.
goc status <title> <state> Move a card through open, active, blocked, disproved, or superseded.
goc decide <title> --decision X --because Y Record a human decision and lower the card gate.
goc done <title> Close a card after every Definition-of-Done checkbox is ticked.
goc validate Validate card frontmatter and schema constraints.
goc install Install the methodology into the current repo.
goc upgrade Re-sync generated templates in an existing install.

Run goc --help or goc <command> --help for the full CLI surface.