governance-check
Skill195 starsChanged 8 days agoApache-2.0View on GitHub
Checks an agent or LLM application for governance and security risks before it reaches production: prompt injection surfaces (direct and indirect), tools with excessive permissions or no approval step, data exfiltration paths, personal data in prompts and logs, and missing human oversight or audit trails. Use when the user asks for a security, privacy, or governance review of an agent, or whether it is safe to deploy. Do not use for general code security audits unrelated to LLMs, or for tool usability (use tool-reviewer).
1 other project uses a version of this.
Adopted by
Most recently taken up by
- pitimon/claude-governancetheir own version, first seen Nov 1, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- pitimon/claude-governance★ 4same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- skills/instruction-auditor/examples/AGENTS.mdAGENTS.md
- eval-builderSkill
- instruction-auditorSkill
- memory-designerSkill
- prompt-reviewerSkill
- retrieval-advisorSkill
- skill-reviewerSkill
- token-budget-auditorSkill
- tool-reviewerSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 20
Read references/checklist.md and check the agent against every rule in it.
- Distinctive: line 22
Write the report described below.
- Distinctive: line 26
Write the report in Markdown, in this order:
- Distinctive: line 49
Use the book section given in the checklist for each rule.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- 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).
- Mark every place where untrusted content enters the context, and every action with side effects outside the system.
- Read
references/checklist.mdand check the agent against every rule in it. - Rate severity by impact:
highwhen the issue allows data exfiltration, unauthorized actions, or exposure of personal data,mediumwhen it weakens oversight or auditability,lowotherwise. - 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:
## Summary: two to four sentences on the overall state and the most important change.## Findings: one bullet per finding, most severe first, in the form- [severity] location: problem. Fix: suggested fix. (book section). Severity ishighwhen the problem causes wrong or unsafe behavior,mediumwhen it makes results unreliable or costly, andlowfor clarity or maintenance issues. If there are no problems, writeNo findings.- Any skill-specific section named in the procedure.
- A final fenced
jsonblock 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
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

