vibherpunk/ai-skills/ai-agent-governance
Claude Code and agent skill by vibherpunk/ai-skills
- community
Checking that the SKILL.md file is still in the repository.
Install
npx vskill@latest install vibherpunk/ai-skills/ai-agent-governanceSKILL.md
The same SKILL.md was published earlier as vibherpunk/ai-skills/ai-agent-governance.
AI Agent Governance Skill
Overview
AI agents are powerful tools that can automate complex tasks, but they also introduce significant risks if not properly governed. This skill teaches you how to implement robust governance frameworks for AI agents in enterprise environments. Key concepts include identity management, input/output controls, auditability, FinOps, and human-in-the-loop strategies. For a deeper dive into core concepts, see Core Concepts.
Step-by-Step Workflow
- Establish Identity Controls: Ensure agents have their own credentials with proper expiration, authorization, and cybersecurity protections. Treat credentials as first-class data.
- Implement Input Controls: Guard against prompt injection and ensure tools are allow-listed and scanned. Use input validation mechanisms.
- Enforce Output Controls: Limit tool calls, retries, and rollback paths. Ensure outputs are non-toxic and compliant.
- Enable Auditability: Log all agent actions and decisions. Use tools like LangFuse for telemetry and build a system of records for traceability.
- Apply FinOps Discipline: Set budgets at run, workflow, and agent levels. Throttle agent behavior (e.g., tool call count, recursion depth, execution time).
- Integrate Human-in-the-Loop: Define roles as value stream owners. Train humans to work with agents and measure outcomes.
Code Snippets and Prompt Templates
Best Practices and Common Pitfalls
- Best Practice: Treat tools as executable dependencies. Allow-list and scan tools before integration.
- Pitfall: Ignoring identity controls can lead to credential exposure and system corruption.
- Best Practice: Use auditability frameworks like LangFuse for real-time monitoring.
- Pitfall: Overlooking FinOps can result in spiraling costs due to uncontrolled token usage.
Validation and Testing
- Quality Testing: Use LLM-as-judge to evaluate consistency across predefined use cases.
- Performance Testing: Monitor P99 performance to ensure no significant delays.
- Safety Testing: Implement PII redaction and real-time filters.
- Cost Testing: Track token usage and set thresholds for each run.
For practical implementation guidance, refer to Practical Guide.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/AI Agent Governance/skill.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/vibherpunk/ai-skills/ai-agent-governance)