governance-check

governance-check is a skill for Claude Code from bonigarcia/context-engineering. It costs 110 tokens per session (660 once invoked), scanned A, original, Apache-2.0.

A governance and security review for an agent or LLM application before production. It maps incoming data, available tools, outgoing data, permissions, personal information, and human approval points.

In plain words
What is it for?
Use it to inspect prompt-injection paths, tool permissions, data exfiltration risks, personal data in prompts and logs, human oversight, and audit records.
Why use it?
AI agents can be manipulated by untrusted content, misuse powerful tools, leak data, or act without a useful audit trail. The review ranks risks by the harm they could cause.

Skill for Claude Code

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

Part of the context-engineering-skills plugin — 12 skills shipped together

Good fit Use it to inspect prompt-injection paths, tool permissions, data exfiltration risks, personal data in prompts and logs, human oversight, and audit records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bonigarcia/context-engineering/governance-check
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.

Any agent
npx skills add bonigarcia/context-engineering --skill governance-check
Clone the repo
git clone --depth 1 https://github.com/bonigarcia/context-engineering

Made for: Claude Code.

Or install context-engineering-skills, the plugin that ships this one along with the rest of its 12 skills.

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 governance-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/bonigarcia/context-engineering/governance-check/github.svg)](https://agentmods.dev/skills/bonigarcia/context-engineering/governance-check)
Your own site
<a href="https://agentmods.dev/skills/bonigarcia/context-engineering/governance-check"><img src="https://agentmods.dev/badge/skills/bonigarcia/context-engineering/governance-check/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 governance-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/bonigarcia/context-engineering/governance-check"><img src="https://agentmods.dev/badge/skills/bonigarcia/context-engineering/governance-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 660 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.00110 $0.00660
Opus 5.5 $0.00044 $0.00264
Sonnet 5.5 $0.00022 $0.00132
Haiku 4.5 $0.00011 $0.00066

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

Security

Grade A, and why

governance-check 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 11d 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.

skills/governance-check/SKILL.md · 52 lines

How it starts

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

Governance check

Review this agent before deployment and tell the user which risks to fix first, judged by what an attacker or a mistake could actually cause.

Procedure

  1. Map the data flows: what enters the context (user input, web pages, files, emails, tool results), what the agent can do (each tool and its scope), and what leaves the system (messages, emails, logs, stored data).
  2. Mark every place where untrusted content enters the context, and every action with side effects outside the system.
  3. Read references/checklist.md and check the agent against every rule in it.
  4. Rate severity by impact: high when the issue allows data exfiltration, unauthorized actions, or exposure of personal data, medium when it weakens oversight or auditability, low otherwise.
  5. Write the report described below. Each finding names the tool, file, or flow it refers to.

Report format

Write the report in Markdown, in this order:

  1. ## Summary: two to four sentences on the overall state and the most important change.
  2. ## Findings: one bullet per finding, most severe first, in the form - [severity] location: problem. Fix: suggested fix. (book section). Severity is high when the problem causes wrong or unsafe behavior, medium when it makes results unreliable or costly, and low for clarity or maintenance issues. If there are no problems, write No findings.
  3. Any skill-specific section named in the procedure.
  4. A final fenced json block with the same content, as in this example.
{
  "skill": "governance-check",
  "summary": "...",
  "findings": [
    {
      "severity": "high",
      "location": "tools.json, read_url",
      "problem": "...",
      "fix": "...",
      "book_section": "Chapter 9, Safety and security"
    }
  ]
}

Use the book section given in the checklist for each rule. If the input is missing or out of scope for this skill, say so in one sentence and stop.

Learn more: Chapter 9 of Context Engineering (Manning), https://hubs.la/Q04ksQ8J0

Read the full file on GitHub · 52 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 11d ago First seen · 52 lines · 110 tokens per session scan A aeef4d312b93

Subscribe to this mod's changes

governance-check is a skill published in the GitHub repository bonigarcia/context-engineering (196 stars, last pushed 2d ago), licensed Apache-2.0. It adds 110 tokens to every session and 660 once invoked, about $0.0004 per session on Opus 5.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-11-19.

Related

governance-check compared with skills from other repositories

governance-check next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
governance-checkbonigarcia/context-engineeringSkill1962d agoApache-2.0A110Claude Code
Braintree Automationopenteams-lab/openteamsSkill5995d agoApache-2.0A25Claude Code, Codex
asin-data-api-automationopenteams-lab/openteamsSkill5995d agoApache-2.0A30Claude Code, Codex
Coinbase Automationopenteams-lab/openteamsSkill5995d agoApache-2.0A24Claude Code, Codex
college-football-data-automationopenteams-lab/openteamsSkill5995d agoApache-2.0A30Claude Code, Codex
incident-postmortem-reportcaipe-io/ai-platform-engineeringSkill453todayApache-2.0A76Claude Code, Codex
connect-appsopenteams-lab/openteamsSkill5995d agoApache-2.0A41Claude Code