checkov

checkov is a command for Claude Code from nitinjain999/platform-skills. It costs 103 tokens per session (1,224 once invoked), scanned A, original, Apache-2.0.

A command set for checking Terraform and related infrastructure files for known security misconfigurations with Checkov. Terraform is a tool that describes cloud infrastructure in code, and the checks can cover AWS, Azure, GCP, Kubernetes, and other files.

In plain words
What is it for?
Use it to scan Terraform source or plans, inspect secrets and commit history, check GitHub Actions, Dockerfiles, and Helm files, create baselines and policy configurations, generate reports, and apply suggested fixes.
Why use it?
It finds insecure settings before they reach CI or a cloud account. It can also scan for exposed secrets, record accepted existing findings, and produce reports for different tools.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the platform-skills plugin — 1 skill, 43 commands shipped together

Good fit Use it to scan Terraform source or plans, inspect secrets and commit history, check GitHub Actions, Dockerfiles, and Helm files, create baselines and policy configurations, generate reports, and apply suggested fixes.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nitinjain999/platform-skills/checkov
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/nitinjain999/platform-skills

Made for: Claude Code.

Or install platform-skills, the plugin that ships this one along with the rest of its 1 skill, 43 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for checkov

README.md
[![agentmods](https://agentmods.dev/badge/commands/nitinjain999/platform-skills/checkov/github.svg)](https://agentmods.dev/commands/nitinjain999/platform-skills/checkov)
Your own site
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/checkov"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/checkov/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for checkov

Your own site · 80×15
<a href="https://agentmods.dev/commands/nitinjain999/platform-skills/checkov"><img src="https://agentmods.dev/badge/commands/nitinjain999/platform-skills/checkov.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,224 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.01224
Opus 5 $0.00051 $0.00612
Sonnet 5 $0.00021 $0.00245
Haiku 4.5 $0.00010 $0.00122

Measured 9d ago against content hash 599e0ff2cbcc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

checkov scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/checkov.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bootstrap Checkov and scan Terraform code for security misconfigurations — locally, before CI catches them.

Read references/checkov.md before responding. It contains all mode logic, bootstrap steps, provider detection, and fix patterns.

Mode dispatch

Parse the first word of $ARGUMENTS as the mode. When $ARGUMENTS is empty, run the interactive wizard.

Mode What it does
static Scan .tf source files with --download-external-modules true
plan terraform init → plan → JSON → Checkov --deep-analysis (use --upgrade flag to also upgrade providers)
secrets Scan entire repo for hardcoded secrets (--framework secrets --enable-secret-scan-all-files)
audit One-time secrets history scan across all commits (--scan-secrets-history)
multi Scan Terraform + GitHub Actions + Dockerfiles + Helm in a single run
baseline Create .checkov.baseline to snapshot existing violations
fix Re-run scan and apply AI-generated patches to .tf files
scaffold Generate .checkov.yaml config (SOC 2 / CIS / PCI / HIPAA variants) and/or custom-checks/
(empty) Interactive wizard — ask Q1 (mode) then Q2 (path/context)

Interactive Wizard

Q1 — Mode?

What do you need?
  1. static    — scan .tf source files  [default]
  2. plan      — terraform plan → Checkov deep analysis
  3. secrets   — scan entire repo for hardcoded secrets and tokens
  4. audit     — one-time scan of git commit history for leaked secrets
  5. multi     — scan Terraform + GitHub Actions + Dockerfiles + Helm together
  6. baseline  — snapshot existing violations (first-run brownfield)
  7. fix       — scan and apply AI-generated fixes to .tf files
  8. scaffold  — generate .checkov.yaml (SOC 2 / CIS / PCI / HIPAA) or custom-checks/

Enter 1–8 or mode name:

Q2 — Path? (ask after Q1)

Terraform root directory, or press Enter to scan current directory [default: .]:

Then proceed into the relevant mode section in references/checkov.md.

Read the full file on GitHub · 90 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 90 lines · 103 tokens per session scan A 599e0ff2cbcc

Subscribe to this mod's changes

checkov is a command published in the GitHub repository nitinjain999/platform-skills (41 stars, last pushed yesterday), licensed Apache-2.0. It adds 103 tokens to every session and 1,224 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.