gap-analysis

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

A command for comparing a system or organisation with a security or compliance framework. A gap analysis lists which required controls are fully implemented, partly implemented, planned, or missing.

In plain words
What is it for?
Assessing systems against frameworks such as FedRAMP, SOC 2, ISO 27001, PCI, CMMC, or HIPAA within a defined scope.
Why use it?
It turns a broad compliance review into a structured list of areas that still need evidence or work.

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 Assessing systems against frameworks such as FedRAMP, SOC 2, ISO 27001, PCI, CMMC, or HIPAA within a defined scope.

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/nathanimphilipos/synergos-grc/gap-analysis.svg)](https://agentmods.dev/commands/nathanimphilipos/synergos-grc/gap-analysis)
Your own site
<a href="https://agentmods.dev/commands/nathanimphilipos/synergos-grc/gap-analysis"><img src="https://agentmods.dev/badge/commands/nathanimphilipos/synergos-grc/gap-analysis.svg" alt="Measured on agentmods" 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 743 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 100% 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.00743
Opus 5 $0.00005 $0.00371
Sonnet 5 $0.00002 $0.00149
Haiku 4.5 $0.00001 $0.00074

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

Security

Grade A, and why

gap-analysis 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 7d 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

100% identical to gap-analysis — 0 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/gap-analysis.md · 108 lines

How it starts

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

/grc:gap-analysis

Perform a structured gap analysis against a compliance framework.

Usage

/grc:gap-analysis [framework] [scope-description]

Arguments

  • framework: The target compliance framework. Accepts same aliases as control-lookup.
  • scope-description: Brief description of what's in scope (system, organization, service).

Examples

/grc:gap-analysis fedramp moderate SaaS platform
/grc:gap-analysis soc2 security+availability cloud service
/grc:gap-analysis iso27001 entire organization
/grc:gap-analysis pci e-commerce payment processing
/grc:gap-analysis cmmc level2 CUI handling system
/grc:gap-analysis hipaa patient portal

Behavior

When invoked:

  1. Identify the framework and scope from arguments.

  2. Read the framework reference file and the readiness/gap analysis reference (audits/readiness-gap-analysis.md).

  3. Present a structured gap analysis template organized by:

    a. Control families/categories for the target framework b. Assessment criteria per control area:

    • Implemented (control fully in place with evidence)
    • Partially Implemented (some aspects in place)
    • Planned (not yet implemented but on roadmap)
    • Not Implemented (no plans currently)
    • Not Applicable (with justification) c. Maturity assessment (optional):
    • Level 0: Non-existent
    • Level 1: Ad-hoc
    • Level 2: Repeatable
    • Level 3: Defined
    • Level 4: Managed
    • Level 5: Optimizing
  4. For each control family, provide:

    • Key controls to assess
    • Questions to ask during assessment
    • Evidence to look for
    • Common gaps in that area
    • Remediation complexity estimate (Low/Medium/High)
  5. Generate a gap analysis worksheet the user can work through interactively:

    • Walk through each control family
    • Ask about current state
    • Record gaps
    • Build prioritized remediation roadmap
  6. If the user provides current-state information, assess gaps and produce:

    • Gap summary heat map (by family)
    • Prioritized findings
    • Remediation roadmap with effort estimates
    • Quick wins vs long-term items

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

Subscribe to this mod's changes

gap-analysis 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 743 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to gap-analysis, differing in 0 lines, and is treated as a copy.