control-lookup

control-lookup is a command for Claude Code from nathanimphilipos/synergos-grc. It costs 9 tokens per session (1,985 once invoked), scanned A, a copy of control-lookup, MIT.

A compliance-control search command for finding a requirement by framework, control ID, or keyword. It covers standards such as NIST, FedRAMP, SOC 2, ISO 27001, PCI DSS, HIPAA, and GDPR.

In plain words
What is it for?
Use it to find controls about topics such as multi-factor authentication, encryption, or logging, or to look up IDs such as NIST AC-2 or SOC 2 CC6.1.
Why use it?
It saves you from searching through long compliance standards by hand when you need one specific requirement.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the grc plugin — 1 skill, 27 commands shipped together

Good fit Use it to find controls about topics such as multi-factor authentication, encryption, or logging, or to look up IDs such as NIST AC-2 or SOC 2 CC6.1.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/nathanimphilipos/synergos-grc/control-lookup
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/nathanimphilipos/synergos-grc

Made for: Claude Code.

Or install grc, the plugin that ships this one along with the rest of its 1 skill, 27 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 control-lookup

README.md
[![agentmods](https://agentmods.dev/badge/commands/nathanimphilipos/synergos-grc/control-lookup/github.svg)](https://agentmods.dev/commands/nathanimphilipos/synergos-grc/control-lookup)
Your own site
<a href="https://agentmods.dev/commands/nathanimphilipos/synergos-grc/control-lookup"><img src="https://agentmods.dev/badge/commands/nathanimphilipos/synergos-grc/control-lookup/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 control-lookup

Your own site · 80×15
<a href="https://agentmods.dev/commands/nathanimphilipos/synergos-grc/control-lookup"><img src="https://agentmods.dev/badge/commands/nathanimphilipos/synergos-grc/control-lookup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 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,985 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 86% copy Near-identical to another mod 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.00009 $0.01985
Opus 5 $0.00005 $0.00992
Sonnet 5 $0.00002 $0.00397
Haiku 4.5 $0.00001 $0.00198

Measured 10d ago against content hash 7971cdeeb7ac, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

control-lookup 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 10d 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.

Origin

This is a copy

86% identical to control-lookup — 8 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

grc/commands/control-lookup.md · 152 lines

How it starts

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

/grc:control-lookup

Look up controls by framework and ID or keyword.

Usage

/grc:control-lookup [framework] [id-or-keyword]

Arguments

  • framework: The compliance framework to search. Accepts: nist, fedramp, fisma, cmmc, soc2, iso27001, pci, hipaa, cis, cobit, ccm, gdpr
  • id-or-keyword: A control ID (e.g., ac-2, CC6.1, A.8.1) or a keyword (e.g., multi-factor, encryption, logging)

Examples

/grc:control-lookup nist ac-2
/grc:control-lookup soc2 CC6.1
/grc:control-lookup pci 8.3
/grc:control-lookup nist encryption
/grc:control-lookup iso27001 A.8.5
/grc:control-lookup cis 5.2

Behavior

When invoked:

  1. Identify the framework from the first argument. Normalize aliases:

    • nist / 800-53 → NIST 800-53 Rev 5
    • fedramp → FedRAMP (NIST 800-53 + FedRAMP parameters)
    • cmmc / 800-171 → CMMC 2.0 / NIST 800-171
    • soc2 / soc → SOC 2 Trust Services Criteria
    • iso / iso27001 / 27001 → ISO 27001:2022
    • pci / pcidss → PCI DSS v4.0.1
    • hipaa → HIPAA Security Rule
    • cis → CIS Controls v8.1
    • cobit → COBIT 2019
    • ccm / csa → CSA CCM v4
    • gdpr → GDPR
  2. For NIST or FedRAMP lookups, read the OSCAL family JSON first for authoritative control data:

    • Determine the family ID from the control ID (e.g., AC-2 → family ac, IA-5(1) → family ia)
    • For nist: read skills/grc-knowledge/oscal/nist-800-53-rev5/{family}.json
    • For fedramp: read skills/grc-knowledge/oscal/fedramp-moderate-rev5/{family}.json
    • IMPORTANT: Use the Read tool to read the file directly. Do NOT use Bash, Python, jq, or any other scripting tool to extract data from OSCAL files. The JSON is structured and you can find the target control by scanning for its "id" field. For large family files, you may read the file in chunks using offset/limit parameters to locate the control.
    • ID normalization: OSCAL uses lowercase with dots for enhancements — AC-2ac-2, AC-2(1)ac-2.1
    • Extract from OSCAL (jq paths shown for reference — extract visually from the JSON, do not run jq):
      • Control statement: .controls[] | select(.id == "ac-2") | .parts[] | select(.name == "statement")
      • Parameters: .controls[].params[] — look for id, label, guidelines, select/choice constraints. FedRAMP files include .constraints[].description with required values (e.g., "at least every 3 years")
      • Guidance: .parts[] | select(.name == "guidance")
      • Assessment objectives: .parts[] | select(.name == "assessment-objective") — nested tree of testable objectives with .prose for each leaf
      • Assessment methods: .parts[] | select(.name == "assessment-method") — three methods per control:
        • EXAMINE (.props[] | select(.name == "method") | .value == "EXAMINE"): lists documents/artifacts an assessor reviews
        • INTERVIEW: lists roles an assessor interviews
        • TEST: lists processes/mechanisms an assessor tests
        • Each method's objects are in .parts[] | select(.name == "assessment-objects") | .prose
      • Enhancements: .controls[].controls[] (nested under parent)
      • Related controls: .links[] | select(.rel == "related")
    • Then read the markdown framework file from skills/grc-knowledge/frameworks/ for cross-framework mapping, audit context, and narrative guidance

Read the full file on GitHub · 152 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. 10d ago First seen · 152 lines · 9 tokens per session scan A 7971cdeeb7ac

Subscribe to this mod's changes

control-lookup is a command published in the GitHub repository nathanimphilipos/synergos-grc (5 stars, last pushed 6mo ago), licensed MIT. It adds 9 tokens to every session and 1,985 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to control-lookup, differing in 8 lines, and is treated as a copy.