Scut

CLI Reference

CLI Reference

Root command, command groups, configuration commands, hook entry points, and diagnostics.

scut is the root command for the CLI. Use it directly for top-level actions such as setup, diagnostics, updates, and version output. Use command groups when you need a family of related subcommands, such as agent hooks, config installers, formatters, Go documentation lookup, logging maintenance, or MCP utilities.

Each reference page covers one command or command group. The generated help blocks are snapshots from the current scut binary and remain the authoritative flag listing for the documented command.

Top-level commands

CommandPurpose
scut versionPrint the installed scut version.
scut initInstall scut hook configuration for supported agents.
scut doctorDiagnose installed hook configuration.
scut updateUpdate scut when the install method supports automatic updates.

Command groups

Command groups contain subcommands. Run scut <group> --help to list the commands in a group, then use the linked reference page for details.

GroupPurpose
scut claudeClaude Code hooks, status line, and configuration commands.
scut codexCodex hooks and lifecycle integration commands.
scut formatSource formatting commands.
scut gotoolsGo tool-inspired commands for agents.
scut loggingscut log maintenance commands.
scut mcpMCP utilities, including the AWS MCP proxy.

Generated help

Generated from scut --help.

Usage: scut <command-or-group> [flags]

CLI tool for managing AI coding agents, hooks, MCP utilities, and developer
helper commands.

Commands:
  version    Print version and exit.
  init       Set up scut hooks for detected or selected coding agents.
  doctor     Diagnose scut hook setup for supported coding agents.
  update     Update scut when the install method supports automatic updates.

Command groups:
  Command groups contain related subcommands. Run "scut <group> --help" to list
  the commands inside a group.

  claude     Claude Code agent commands — hooks, status line, and configuration.
  codex      Codex agent commands — hooks and lifecycle integrations.
  format     Format source code files.
  gotools    Go tool-inspired commands for agents.
  logging    Manage scut log files.
  mcp        MCP utility commands for agents.

Flags:
  -h, --help       Show context-sensitive help.
  -v, --version    Print version and exit.

Run "scut <command-or-group> --help" for more information.