Skip to main content
The Detail CLI (detail) gives you full access to your Detail workspace from the terminal. Use it to triage bugs, manage custom rules, inspect scan history, and list repositories without opening a browser.

What you can do

Each top-level command maps to a core part of Detail. Run any of them with --help to see the available subcommands and options.
CommandWhat it does
detail bugsList, view, close, and reopen bug findings
detail rulesCreate, propose, and inspect custom analysis rules
detail scansList recent scans and filter by status, date, or type
detail reposList repositories connected to your Detail account
detail authAuthenticate with your Detail account
detail skillInstall Detail skills into your repo’s .claude/skills/ directory

Installation

The CLI is a single static binary with no runtime dependencies. Install it on macOS, Linux, or Windows in seconds. See the Installation guide for the full steps.

Authentication

Before running any command, authenticate with your Detail account using detail auth login. The CLI supports a browser-based OAuth flow for local development and a --token flag for CI/CD pipelines. See the Authentication guide for details.

Next steps

Installation

Install the Detail CLI on macOS, Linux, or Windows.

Authentication

Log in with your Detail account or an API key.

Bugs

List, view, close, and reopen bug findings.

Rules

Create and manage custom analysis rules.

Getting help

Run detail --help for a top-level overview of every command. Append --help to any subcommand for focused usage information:
detail --help
detail bugs --help
detail rules create --help
To enable tab completion in your shell, use detail completions:
# Bash
source <(detail completions bash)

# Zsh
source <(detail completions zsh)

# Fish
detail completions fish | source

# PowerShell
detail completions powershell | Out-String | Invoke-Expression
See the Installation guide for how to persist completions across shell sessions.