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
| Mode | Description |
|---|---|
| Default | Deep scan with detector findings, commitment recommendations, anomalies, and LLM spend context |
--quick | In-process detectors only; useful for fast local checks |
--local | Skip 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 --quickFlags
| Flag | Default | Description |
|---|---|---|
--format | terminal | Output format: terminal, json, or markdown |
--export | empty | Write the receipt to a file |
--fix | empty | Write a maker plan JSON with one command per finding |
--quick | false | Run fast detector-only scan |
--local | false | Skip backend discovery |
--backend | auto | Override Clanker Cloud backend URL |
--profile | AWS_PROFILE | AWS profile for AWS checks |
--lookback | 60 | Commitment recommendation lookback |
--term | 1 | Commitment recommendation term in years |
--top | 20 | Limit findings by monthly waste; 0 means all |
--no-color | false | Disable 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.