SkillReport
The complete report returned from running a skill analysis. Contains findings, usage statistics, and execution metadata.Name of the skill that generated this report (e.g.,
"security-audit", "performance-check")High-level summary of the analysis results. Generated automatically by Warden after analyzing all findings.
Optional arbitrary metadata provided by the skill
Total execution time in milliseconds
Token usage and cost statistics from Claude API calls during skill execution
Files that were skipped due to chunking patterns (e.g., lockfiles, generated code)
Number of hunks that failed to analyze due to SDK errors, API errors, timeouts, etc.
Number of hunks where findings extraction failed (JSON parse errors, malformed output)
Usage statistics from auxiliary LLM calls keyed by operation type:
"extraction-repair"- Fixing malformed JSON output"semantic-dedup"- Deduplicating similar findings"cross-location-merge"- Merging findings across locations"fix-evaluation"- Evaluating suggested fix quality
Per-file breakdown of findings, timing, and token usage
Claude model used for this skill’s analysis (e.g.,
"claude-sonnet-4-20250514")FileReport
Per-file analysis results within a skill report.Path to the analyzed file relative to repository root
Number of findings detected in this file (must be non-negative)
Time spent analyzing this file in milliseconds
Token usage and cost for analyzing this specific file
UsageStats
Token usage and cost tracking from Claude API calls.Number of input tokens consumed (must be non-negative)
Number of output tokens generated (must be non-negative)
Number of input tokens read from prompt cache (reduces cost)
Number of input tokens written to prompt cache for future reuse
Total cost in US dollars for this API call (must be non-negative)
Warden automatically calculates costs based on Claude’s pricing. Cache hits significantly reduce costs for repeated analysis.
SkippedFile
Information about files that were skipped during analysis.Path to the skipped file
Why the file was skipped:
"pattern"- Matched a user-defined chunking pattern"builtin"- Matched a built-in skip pattern (e.g.,pnpm-lock.yaml,package-lock.json)
The glob pattern that caused the file to be skipped (only present when reason is
"pattern")Example: Complete SkillReport
Validation
All report types are validated at runtime using Zod schemas:Warden uses these schemas internally to ensure all skill reports conform to the expected structure. Skills that return invalid data will cause analysis to fail with detailed validation errors.