Overview
agent-governance is an open-source backend skill for Claude Code and compatible agents, published by github. Its author describes it as: “Patterns and techniques for adding governance, safety, and trust controls to AI agent systems. Use this skill when: - Building AI agents that call external tools (APIs, databases, file systems) - Implementing policy-b…”. The project has 38k stars on GitHub and is available under the MIT license. Add it to your setup with `git clone https://github.com/github/awesome-copilot ~/.claude/skills/agent-governance`.
What agent-governance does
Patterns for adding safety, trust, and policy enforcement to AI agent systems.
What’s inside
The SKILL.md for agent-governance is organised into these sections:
- Overview
- When to Use
- Pattern 1: Governance Policy
- Policy Composition
- Policy as YAML
- Pattern 2: Semantic Intent Classification
- Pattern 3: Tool-Level Governance Decorator
- Pattern 4: Trust Scoring
- Pattern 5: Audit Trail
- Pattern 6: Framework Integration
- PydanticAI
- CrewAI
Installation
Add agent-governance to your agent with:
git clone https://github.com/github/awesome-copilot ~/.claude/skills/agent-governance Review a skill’s source before installing it — skills can instruct your agent to run commands. This command comes from the skill’s public repository, which is the source of truth for setup steps. New to skills? Read how to install Claude Code skills.
Supported agents
- GitHub Copilot — declared in the repository topics
License
agent-governance is published under the MIT license.
Strengths
- Clear MIT license — safe to read and adapt within its terms
- Ships in github/awesome-copilot, an established project with 37,982 GitHub stars
- Works with GitHub Copilot
- Actively maintained — repository updated in the last 90 days
Author
Topics
Frequently asked questions
- What does agent-governance do?
- Patterns and techniques for adding governance, safety, and trust controls to AI agent systems. Use this skill when: - Building AI agents that call external tools (APIs, databases, file systems) - Implementing policy-based access controls for agent tool usage - Adding semantic intent classification to detect dangerous prompts - Creating trust scoring systems for multi-agent workflows - Building audit trails for agent actions and decisions - Enforcing rate limits, content filters, or tool restrictions on agents - Working with any agent framework (PydanticAI, CrewAI, OpenAI Agents, LangChain, AutoGen)
- How do I install agent-governance?
- Run git clone https://github.com/github/awesome-copilot ~/.claude/skills/agent-governance in your agent, then reload your skills. Review the source at https://github.com/github/awesome-copilot before installing.
- Is agent-governance free to use?
- Yes. agent-governance is free and open source under the MIT license, so you can read, run, and adapt it within that license's terms.
- Which agents does agent-governance work with?
- agent-governance lists GitHub Copilot — named in its SKILL.md, its plugin marketplace or its repository topics. Skills use the portable SKILL.md format, so other agents that read that format may load it too.
- Where does agent-governance come from?
- agent-governance ships inside github/awesome-copilot, a repository that contains 41 catalogued skills in total. The repository's 37,982 GitHub stars apply to that whole collection, not to this skill on its own.