Iac Secopilot — Security skill for Claude Code
Ask natural-language questions about a Terraform plan and get cited, evaluated answers grounded in the CIS AWS Foundations Benchmark and OWASP Top 10 CI/CD Security Risks.
How to install Iac Secopilot
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open togleid/iac-secopilot and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Iac Secopilot does
Ask natural-language questions about a Terraform plan and get cited, evaluated answers grounded in the CIS AWS Foundations Benchmark and OWASP Top 10 CI/CD Security Risks. Run it as a CLI, hit it over HTTP, or expose it to Claude Code / Cursor as an MCP server — same retriever, same scan agent, same citations.
Alternatives in Security
- Tech Debt Skill — Claude Code skill that produces a thorough, file-cited tech debt audit of an entire codebase 590 ★
- Audit Assist — Flow B — AI-assisted iterative audit with a human in the loop 50 ★
- MaliciousAgentSkillsBench — A Security Benchmark for Claude Code Agent Skills 40 ★
README
iac-security-copilot
Ask natural-language questions about a Terraform plan and get cited, evaluated answers grounded in the **CIS AWS Foundations Benchmark** and **OWASP Top 10 CI/CD Security Risks**. Run it as a CLI, hit it over HTTP, or expose it to Claude Code / Cursor as an MCP server — same retriever, same scan agent, same citations.
What's in the box:
- RAG over a security corpus — hybrid retrieval (BM25 + dense + RRF + cross-encoder rerank) over Postgres + pgvector.
- LangGraph scan agent — parses a Terraform plan JSON, fans out one branch per resource, retrieves matching guidance, asks an LLM (Anthropic / OpenAI / Ollama / a deterministic stub) for a structured finding with citations.
- MCP stdio server —
search_corpus,scan_terraform_plan,list_sourcesexposed as tools so editor agents can ground their answers in the same corpus. - FastAPI service —
POST /v1/search,POST /v1/scan,GET /v1/sources; same business logic as the CLI and MCP server. - Eval harness — 22 hand-curated golden cases (17 Terraform plan JSON + 5 CloudFormation templates), scored with custom resource-centric matching + severity tolerance + keyword grounding + citation correctness. Committed regression reports for every supported LLM.
- Local Kubernetes demo —
./k8s/up.shbrings up akindcluster with Postgres + the FastAPI app behind ingress-nginx + a real HPA in one command.
Latest eval reports
Two reports live side-by-side, each answering a different question:
- `evals/qwen3-baseline.md` — real-quality measurement against
ollama:qwen3:latest(8B). The headline number when you want to know what the product actually does. - `evals/stub-baseline.md` — deterministic regression check using the stub LLM. F1=1.00 by construction — this baseline gates the framework, not the product. Runs in <1s.
Top-line against the 17 Terraform cases of the 22-case golden set (CFN cases are e
Related Skills
Website Benchmark
Claude Code skill: research, audit and benchmark a website against the best competitors, then get a cited rese
Audit Devex
Audit the project's dev pipeline (file structure, scripts, IDE config, automation, debug setup, repeated pain
Harden Iac
Pin Terraform modules, check state security, and flag dangerous provisioners
Iac Review
Full Terraform/Ansible IaC review — plan sanity, security, state hygiene, and Checkov findings.
Mcpscore Plugin
Audit and fix the MCP server you're building from Claude Code, Codex or Cursor. Ask your agent to audit it and
Obey
Rule enforcement plugin. Save rules with natural language, enforce with 17 lifecycle hooks. Three scopes (glob
Related Agents
Blue Team
Defensive security and hardening specialist. Creates detection rules, hardens Linux/Windows systems, writes Si
Sec Researcher
Read-only security research for ClaudeSec — threats, CVEs, attack vectors, and compliance frameworks (NIST, IS
Appsec Compliance Checker
Use proactively to map security findings from a threat model or code review to specific controls in OWASP ASVS