Skip to content

scan

Scan configured cloud accounts for actionable cost-savings opportunities.

clanker scan prints a color-coded cost receipt and can export JSON, Markdown, or a maker-style fix plan.

Usage

bash
clanker scan [flags]

Modes

ModeDescription
DefaultDeep scan with detector findings, commitment recommendations, anomalies, and LLM spend context
--quickIn-process detectors only; useful for fast local checks
--localSkip Clanker Cloud backend discovery and use local CLI commitment scan only

Examples

bash
clanker scan
clanker scan --quick
clanker scan --format json
clanker scan --export receipt.md --format markdown
clanker scan --fix waste-fix-plan.json
clanker scan --profile prod --quick

Flags

FlagDefaultDescription
--formatterminalOutput format: terminal, json, or markdown
--exportemptyWrite the receipt to a file
--fixemptyWrite a maker plan JSON with one command per finding
--quickfalseRun fast detector-only scan
--localfalseSkip backend discovery
--backendautoOverride Clanker Cloud backend URL
--profileAWS_PROFILEAWS profile for AWS checks
--lookback60Commitment recommendation lookback
--term1Commitment recommendation term in years
--top20Limit findings by monthly waste; 0 means all
--no-colorfalseDisable ANSI color output

Sources

The scan composes findings from local detectors, Clanker Cloud backend detectors when available, AWS Cost Explorer recommendations, anomaly data, and LLM spend context in deep mode.