Usage Anomaly Investigation with Claude Code: Artifact Delivery
A production playbook for usage anomaly investigation in cross-industry operations using Claude Code: artifact delivery, run-scoped inputs, logs, typed results, and artifacts.
Audience: Growth and infra teams
The problem
Growth and infra teams need usage anomaly investigation to run repeatedly against usage exports, logs, billing events, and customer metadata. In cross-industry operations, the pain is not one good answer; it is repeatability, auditability, exception handling, and evidence that survives handoff.
Implementation path
Require Claude Code to write customer-visible files under /skill/output/artifacts, validate filenames and sizes, then return signed artifact metadata in argo.result.v1.
Tradeoffs and failure modes
Artifact policy constrains file output, but customers receive files that are durable, typed, and safe to download. For usage anomaly investigation, the practical test is whether a second run can be debugged, retried, and consumed by a product without reading the raw agent transcript.
Artifact manifest
artifacts:
- usage-anomaly-investigation-summary.md
- usage-anomaly-investigation-evidence.csv
- usage-anomaly-investigation-review.json
signed_urls: true
retention: org_policy
Run this on Argo