Agent skill

Code To Control Mapper

by GRCEngClub in GRCEngClub/claude-grc-engineering

Maps infrastructure code (Terraform, Kubernetes, CloudFormation) to compliance controls (ISO 27001, SOC 2, NIST 800-53).

Custom licenceAuto-check: notesDevOps & Cloud

Install Code To Control Mapper

skills CLI
$ npx skills add GRCEngClub/claude-grc-engineering --skill code-to-control-mapper -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install GRCEngClub/claude-grc-engineering code-to-control-mapper --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/GRCEngClub/claude-grc-engineering.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/grc-engineer/skills/code-to-control-mapper .claude/skills/code-to-control-mapper && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
code-to-control-mapper
GitHub stars
419
Token cost
~524 tokens
SKILL.md length
130 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
Custom licence

At a glance

Maps infrastructure code (Terraform, Kubernetes, CloudFormation) to compliance controls (ISO 27001, SOC 2, NIST 800-53).

  • Tasks that involve Infrastructure as code
  • SKILL.md covers Quick Commands, Supported Frameworks, Supported IaC Formats and Output Format, plus 2 more sections
  • Calls node
  • Tasks that involve SOC 2 and security compliance

What it does

Code To Control Mapper is an agent skill from GRCEngClub/claude-grc-engineering. Maps infrastructure code (Terraform, Kubernetes, CloudFormation) to compliance controls (ISO 27001, SOC 2, NIST 800-53). Analyzes IaC files and generates compliance evidence mappings showing which controls are satisfied.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Infrastructure as code and SOC 2 and security compliance. It works with AWS CloudFormation, Kubernetes and Terraform. The repository describes itself as: Open-source GRC toolkit from the GRC Engineering Club. Claude Code plugins for evidence collection, SCF crosswalks, multi-framework gap reports, OSCAL workflows.

When your agent uses it

  • Tasks that involve Infrastructure as code
  • Tasks that involve SOC 2 and security compliance

Example prompts

  • “/code-to-control-mapper”

Requirements

  • Pre-approved tools (allowed-tools): Bash, Read, Glob, Write, Edit

What it can do on your machine

Read from SKILL.md and the folder at commit 784fd9a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash
    • Read
    • Glob
    • Write
    • Edit

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • node

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Code To Control Mapper loads about 524 tokens when it runs. Until then it costs about 61 tokens; SKILL.md has 130 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~61
When it runs · the whole SKILL.md, loaded when a task matches
~524

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Bash, Read, Glob, Write, Edit

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 130 words (~524 tokens).

“Maps infrastructure-as-code (IaC) files to specific compliance framework controls. Translates technical implementations into audit-ready compliance evidence.”

— opening of SKILL.md by GRCEngClub, Custom licence
name
code-to-control-mapper
allowed-tools
Bash, Read, Glob, Write, Edit

Read the full SKILL.md on GitHub

Files

Just SKILL.md in plugins/grc-engineer/skills/code-to-control-mapper of GRCEngClub/claude-grc-engineering.

Open the folder on GitHubat commit 784fd9a

Compare with similar skills

Code To Control Mapper next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Code To Control Mapper compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Code To Control Mapper this skillGRCEngClub/claude-grc-engineering419—~524Automated safety check: NotesCustom licence
Audit Infrastructure As Codecyberful/cyberful135—~649Automated safety check: PassAGPL-3.0
Iac CheckovAgentSecOps/SecOpsAgentKit2201 repos~4.6kAutomated safety check: PassCustom licence
Implementing Infrastructure As Code Security Scanningmukul975/Anthropic-Cybersecurity-Skills34k—~2.2kAutomated safety check: PassApache-2.0
Iac Security ReviewOWASP/secure-agent-playbook187—~694Automated safety check: PassCC-BY-4.0
Iac Securityhardw00t/ai-security-arsenal104—~2.4kAutomated safety check: PassNone

Similar skills

  • Audit infrastructure-as-code artifacts for unsafe defaults, policy gaps, privilege exposure, control drift, and deployment-impact evidence.

    135 GitHub stars~649 tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Iac Checkov

    AgentSecOps/SecOpsAgentKit

    Infrastructure as Code (IaC) security scanning using Checkov with 750+ built-in policies for Terraform, CloudFormation, Kubernetes, Dockerfile, and ARM templates.

    220 GitHub starsUsed in 1 repo~4.6k tokens
    DevOps & CloudAuto-check passed
  • Implementing Infrastructure As Code Security Scanning

    mukul975/Anthropic-Cybersecurity-Skills

    Implements automated security scanning for Infrastructure as Code using Checkov, tfsec, and KICS to detect misconfigurations in Terraform, CloudFormation, Kubernetes manifests, and Helm charts, plus…

    34k GitHub stars~2.2k tokensUpdated 1 mo ago
    DevOps & CloudAuto-check passed
  • Iac Security Review

    OWASP/secure-agent-playbook

    Security review of Infrastructure-as-Code (Terraform, Kubernetes, CloudFormation).

    187 GitHub stars~694 tokensUpdated 13 days ago
    DevOps & CloudAuto-check passed
  • Iac Security

    hardw00t/ai-security-arsenal

    Infrastructure-as-Code security scanning router for Terraform, CloudFormation, Kubernetes manifests, Helm, ARM/Bicep.

    104 GitHub stars~2.4k tokensUpdated 5 mo ago
    DevOps & CloudAuto-check passed
  • Checking Infrastructure Compliance

    jeremylongshore/tons-of-skills-marketplace

    Execute use when you need to work with compliance checking. An agent skill from jeremylongshore/tons-of-skills-marketplace.

    2.8k GitHub stars~1.1k tokensUpdated today
    Legal & ComplianceAuto-check passed

More from GRCEngClub/claude-grc-engineering

All 12 skills in this repo
  • Trust Center Builder

    GRCEngClub/claude-grc-engineering

    Builds and deploys a serverless trust center that publishes a company's compliance posture, with gated access to audit reports and an admin dashboard.

    419 GitHub stars~2.6k tokensUpdated 4 days ago
    Auto-check passed
  • GRC Report Context Bootstrap

    GRCEngClub/claude-grc-engineering

    Checks that plugins, collected findings and history exist before a GRC /report command runs, and walks the user through setup instead of producing an empty report.

    419 GitHub stars~1.4k tokensUpdated 4 days ago
    Auto-check: notes
  • Draw.io Diagram Generator

    GRCEngClub/claude-grc-engineering

    Generates draw.io diagrams as native .drawio files, including GRC workflows and control maps, with optional PNG, SVG or PDF export that stays editable.

    419 GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check: notes
  • Academic Research Companion

    GRCEngClub/claude-grc-engineering

    Guide a research project through the full academic lifecycle — from raw idea to concrete research question, literature grounding, methodology, writing, feedback, and publication.

    419 GitHub stars~2.2k tokensUpdated 4 days ago
    Auto-check passed
  • Access Review Triage

    GRCEngClub/claude-grc-engineering

    Helps you triage a quarterly user access review from an Okta, Azure AD, AWS IAM, GitHub, or generic CSV/JSON export.

    419 GitHub stars~2.4k tokensUpdated 4 days ago
    Auto-check: notes
  • Audit Ready PR Reviewer

    GRCEngClub/claude-grc-engineering

    Reviews pull requests for compliance regressions. An agent skill from GRCEngClub/claude-grc-engineering.

    419 GitHub stars~587 tokensUpdated 4 days ago
    Auto-check: notes

Questions about Code To Control Mapper

What does Code To Control Mapper do?

Maps infrastructure code (Terraform, Kubernetes, CloudFormation) to compliance controls (ISO 27001, SOC 2, NIST 800-53). Code To Control Mapper is an agent skill from GRCEngClub/claude-grc-engineering. Maps infrastructure code (Terraform, Kubernetes, CloudFormation) to compliance controls (ISO 27001, SOC 2, NIST 800-53).

When should I use Code To Control Mapper?

Code To Control Mapper fits situations like: tasks that involve Infrastructure as code; tasks that involve SOC 2 and security compliance.

How do I install Code To Control Mapper in Claude Code?

Run `npx skills add GRCEngClub/claude-grc-engineering --skill code-to-control-mapper -a claude-code`. Or copy the skill folder (plugins/grc-engineer/skills/code-to-control-mapper in GRCEngClub/claude-grc-engineering) into .claude/skills/code-to-control-mapper in your project. Claude Code loads it when a task matches its description.

How do I install Code To Control Mapper in Codex?

Run `npx skills add GRCEngClub/claude-grc-engineering --skill code-to-control-mapper -a codex`. Or copy the skill folder (plugins/grc-engineer/skills/code-to-control-mapper in GRCEngClub/claude-grc-engineering) into .agents/skills/code-to-control-mapper in your project. Codex loads it when a task matches its description.

Can I use Code To Control Mapper in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GRCEngClub/claude-grc-engineering --skill code-to-control-mapper -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-to-control-mapper, .gemini/skills/code-to-control-mapper, .github/skills/code-to-control-mapper and .opencode/skills/code-to-control-mapper in your project.

What does Code To Control Mapper need to run?

Going by SKILL.md and its folder, Code To Control Mapper needs the command-line tools its instructions call (node). Its frontmatter pre-approves these tools: Bash, Read, Glob, Write, Edit.

Does Code To Control Mapper access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Code To Control Mapper safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Code To Control Mapper use?

Code To Control Mapper has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Code To Control Mapper use?

About 524 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Code To Control Mapper?

Skills that share tags, products or a category with Code To Control Mapper: Audit Infrastructure As Code (cyberful/cyberful, 135 stars), Iac Checkov (AgentSecOps/SecOpsAgentKit, 220 stars), Implementing Infrastructure As Code Security Scanning (mukul975/Anthropic-Cybersecurity-Skills, 34k stars) and Iac Security Review (OWASP/secure-agent-playbook, 187 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Code To Control Mapper?

GRCEngClub (a GitHub organization) maintains it in GRCEngClub/claude-grc-engineering, which has 419 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 4, 2026.

Source: GRCEngClub/claude-grc-engineering on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.