Skip to content

CLI Overview

The cyberplace CLI is used by skills under the hood. You can also invoke it directly for scripting and advanced workflows.

Always pin to an exact version — never use @latest in hooks or CI:

Terminal window
# Explore (OK for one-off investigation)
npx cyberplace@latest --help
# Scripting (pin to current version)
npx cyberplace@$(npm view cyberplace version) <command>
CommandPurpose
auditValidate skills against structural, quality, and security checks
governanceList and display version-pinned governance documents
hookRegister and run SessionStart instruction hooks
skillList, validate, and repair skills

Most subcommands accept --format:

ValueConsumerOutput
(default)HumansTables, aligned fields, prose
--format agentAI agents / LLMsTerse text — lower token cost, better reasoning
--format jsonScripts / pipelinesFlat JSON for programmatic parsing

Skills should use --format agent. Non-LLM automation should use --format json. --json is a deprecated alias for --format json.

The init-commit-discipline skill resolves the current npm version and writes it into the SessionStart hook command. After upgrading, re-run init-commit-discipline to bump the pin:

Terminal window
npx cyberplace@0.2.1 hook register \
--name commit-discipline \
--event SessionStart \
--extract AGENTS.md \
--heading "Commit Discipline"