cloudthinker-ai/cloudskills/analyzing-checkov
Claude Code and agent skill by cloudthinker-ai/cloudskills
- community
Checking that the SKILL.md file is still in the repository.
Use when working with Checkov — checkov infrastructure-as-code security scanning. Covers Terraform, CloudFormation, Kubernetes, and Dockerfile scanning, policy management, custom checks, compliance frameworks, and suppression management. Use when scanning IaC for security misconfigurations, evaluating compliance, managing custom policies, or reviewing scan results.
Install
npx vskill@latest install cloudthinker-ai/cloudskills/analyzing-checkovSKILL.md
The same SKILL.md was published earlier as cloudthinker-ai/cloudskills/analyzing-checkov.
Checkov IaC Security Analysis Skill
Analyze infrastructure-as-code security using Checkov across Terraform, CloudFormation, Kubernetes, and more.
MANDATORY: Discovery-First Pattern
Always check Checkov version and available frameworks before running scans.
Phase 1: Discovery
Core Helper Functions
Output Rules
- TOKEN EFFICIENCY: Target <=50 lines per output
- Use
--output json --compactfor structured results - Use
--checkor--skip-checkto focus scans - Group findings by severity and category
Common Operations
Full Directory Scan
Terraform-Specific Scan
Compliance Framework Scan
Custom Check Management
Scan Results Comparison
Safety Rules
- Scans are read-only -- Checkov never modifies scanned files
- Use `--skip-check` for known false positives rather than removing checks entirely
- Custom checks should be version-controlled and reviewed before deployment
- CI/CD integration should use
--soft-failinitially to avoid blocking pipelines - Suppressions should have justification comments explaining why checks are skipped
Output Format
Present results as a structured report:
Target ≤50 lines of output. Use tables for multi-resource comparisons.
Anti-Hallucination Rules
- NEVER assume resource names — always discover via CLI/API in Phase 1 before referencing in Phase 2.
- NEVER fabricate metric names or dimensions — verify against the service documentation or
--helpoutput. - NEVER mix CLI commands between service versions — confirm which version/API you are targeting.
- ALWAYS use the discovery → verify → analyze chain — every resource referenced must have been discovered first.
- ALWAYS handle empty results gracefully — an empty response is valid data, not an error to retry.
Counter-Rationalizations
| Shortcut | Counter | Why | |
|---|---|---|---|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors | |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures | |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled | |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues | |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |
Common Pitfalls
- Python version: Checkov requires Python 3.7+ -- version conflicts cause import errors
- Large repositories: Scanning large repos can be slow -- use
--frameworkto target specific IaC types - Variable resolution: Checkov may not resolve all Terraform variables -- some checks produce false positives
- Module scanning: Remote modules are not downloaded by default -- use
--download-external-modules true - YAML parsing: Mixed YAML formats (K8s, CloudFormation, Ansible) can cause parser confusion
- Check ID changes: Checkov check IDs can change between versions -- pin version in CI
- Baseline drift: Running without
--baselinecauses re-reporting of known issues - Graph-based checks: Some checks require the full resource graph -- scanning individual files may miss context
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/connections/analyzing-checkov/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cloudthinker-ai/cloudskills/analyzing-checkov)