feat: add agent-governance skill — governance patterns for AI agent systems#755
Merged
aaronpowell merged 4 commits intogithub:mainfrom Feb 18, 2026
Merged
Conversation
Add governance patterns and techniques for AI agent systems: - Policy definition with allowlists, blocklists, and content filters - Semantic intent classification for threat detection - Tool-level governance decorator pattern - Trust scoring with temporal decay for multi-agent systems - Append-only audit trail design - Framework integration examples (PydanticAI, CrewAI, OpenAI Agents) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request introduces the agent-governance skill, the first security and governance-focused skill in the Awesome Copilot collection. It provides comprehensive patterns and code examples for implementing safety controls, policy enforcement, and audit trails in AI agent systems. The skill targets developers building production AI agents that need governance controls for tool usage, multi-agent trust, and compliance requirements.
Changes:
- New skill covering 6 core governance patterns: declarative policies, policy composition, semantic intent classification, tool-level decorators, trust scoring, and audit trails
- Framework integration examples for PydanticAI, CrewAI, and OpenAI Agents SDK
- Comprehensive best practices and implementation checklist for agent governance
- Updated README.skills.md index with new entry
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| skills/agent-governance/SKILL.md | New 564-line skill document covering governance patterns, code examples, framework integrations, and best practices for AI agent safety and control |
| docs/README.skills.md | Added alphabetically-sorted entry for agent-governance skill in the skills index table |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
- Use context manager and path validation for file reading example - Block directory traversal attacks with os.path.realpath check - Update terminology: whitelist/blacklist -> allowlist/blocklist Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
aaronpowell
approved these changes
Feb 18, 2026
Contributor
Author
|
All review comments addressed in latest push:
Validated: |
This was referenced Feb 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds
agent-governance— a skill teaching Copilot governance patterns for AI agent systems. This is the first security/governance-focused skill in the collection.What's Included
skills/agent-governance/SKILL.mdcovers 6 core patterns:@govern(policy)decorator wrapping tool functions with policy enforcement + audit.Framework Coverage
Includes integration examples for:
@agent.tool+@govern()composition@function_tool+@govern()patternWhen Copilot Activates This Skill
From the description trigger:
Validation
Context
We're building Agent-OS and AgentMesh Integrations — governance frameworks for AI agent systems with integrations for PydanticAI, CrewAI, and OpenAI Agents. This skill distills those patterns into practical guidance Copilot can apply when users build agent code.