agent-governance

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

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.

Installation

Add agent-governance to your agent with:

git clone https://github.com/github/awesome-copilot ~/.claude/skills/agent-governance

Always review a skill's source before installing it. This command comes from the skill's public repository; the linked repo is the source of truth for exact setup steps.

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

When to use it

Reach for agent-governance when you want backend help from your agent without writing the same instructions every session. Load the skill and the agent picks it up automatically for relevant tasks.

Strengths

  • Clear MIT license — safe to read and adapt
  • Ships in github/awesome-copilot, an established project with 37,982 GitHub stars
  • Actively maintained (recent commits)

Topics

agent-skillsagentsaiawesomecustom-agentsgithub-copilothacktoberfestprompt-engineering

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.
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.

Related skills

More Backend →

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.

39k wshobson MIT

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 topoteretes Apache-2.0

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 topoteretes Apache-2.0

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 topoteretes Apache-2.0