Skills for Real Engineers. Straight from my .agents directory.
agent-governance
Agent skill fromgithub/awesome-copilot
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 to install agent-governance
npx skills add github/awesome-copilot# or add only this skill to Claude Code: copy the folder
skills/agent-governance/
# into
~/.claude/skills/agent-governance/ (all projects)
.claude/skills/agent-governance/ (one project)
1# Agent Governance Patterns23Patterns for adding safety, trust, and policy enforcement to AI agent systems.45## Overview67Governance patterns ensure AI agents operate within defined boundaries — controlling which tools they can call, what content they can process, how much they can do, and maintaining accountability through audit trails.89```10User Request → Intent Classification → Policy Check → Tool Execution → Audit Log11 ↓ ↓ ↓12 Threat Detection Allow/Deny Trust Update13```1415## When to Use1617- **Agents with tool access**: Any agent that calls external tools (APIs, databases, shell commands)18- **Multi-agent systems**: Agents delegating to other agents need trust boundaries19- **Production deployments**: Compliance, audit, and safety requirements20- **Sensitive operations**: Financial transactions, data access, infrastructure management2122---2324## Pattern 1: Governance Policy2526Define what an agent is allowed to do as a composable, serializable policy object.2728```python29from dataclasses import dataclass, field30from enum import Enum31from typing import Optional32import re3334class PolicyAction(Enum):35 ALLOW = "allow"36 DENY = "deny"37 REVIEW = "review" # flag for human review3839@dataclass40class GovernancePolicy:41 """Declarative policy controlling agent behavior."""42 name: str43 allowed_tools: list[str] = field(default_factory=list) # allowlist44…
Excerpt shown under the repository's MIT license.
More skills in awesome-copilot
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
