agent-governance

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)

by github 38k GitHub stars MIT Updated Aug 18, 2026
agent-governance skill by github
agent-governance — Backend skill by github

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

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

github 41 skills in the catalog · GitHub profile ↗
View skills

Topics

Need a skill like this, tailored to your team?Build a custom skill →

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.

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

↑ Growing Claude CodeCodexCursor+3
39k GitHub stars MIT Updated Aug 24, 2026 Free

Use when the user wants to run cognee with Docker or docker compose — trying it out from the prebuilt image, starting the API server in a container, or bringing up the full stack (UI, MCP, Postgres, Neo4j) with compose profiles.

30k GitHub stars Apache-2.0 Updated Aug 18, 2026 Free

Use when the user wants to connect cognee to external services — switching LLM or embedding providers (OpenAI, Azure, Gemini, Anthropic, Ollama, OpenRouter), changing databases (Postgres, PGVector, Neo4j, Neptune, Turso), S3 storage, or the MCP server for IDE integration.

30k GitHub stars Apache-2.0 Updated Aug 18, 2026 Free

Use when the user wants to run the cognee API server (and optional UI) on their own machine — starting it, checking it's healthy, connecting the SDK or other clients to it, and choosing the right auth posture.

30k GitHub stars Apache-2.0 Updated Aug 18, 2026 Free