agent-governance

Enforce deny-by-default policy rules on agent tool calls with audit logging.

Updated Apr 20, 2026
One-click install
npx skills add https://github.com/thistleknot/skills --skill agent-governance-thistleknot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: agent-governance
Source: https://github.com/thistleknot/skills/tree/main/agent-governance
Command: npx skills add https://github.com/thistleknot/skills --skill agent-governance-thistleknot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Agent-governance prevents unsafe or unauthorized actions by adding policy-based tool access controls, audit logging, and intent-aware enforcement—especially for destructive, high-blast-radius operations.

Core Features & Use Cases

  • Policy Design for Tool Access: Source-controlled ALLOW/DENY rules with deny-by-default behavior to block disallowed actions.
  • Tool Guardian Pattern: Intercepts every tool call, classifies semantic intent, enforces policy decisions, and logs every allowed or denied attempt.
  • Semantic Intent Classification: Maps tool calls and arguments into intent tiers (read/write/delete/exec/network) to express safety rules at the action level.
  • Audit Trail & Monitoring Signals: Append-only, tamper-evident audit records with hashed arguments to reduce secret leakage risk.
  • Secrets Scanner & Blocking: Detects common key/token/password patterns in agent output and blocks unsafe disclosures before commit/transmission.
  • Agent-as-CI-Gate: Converts governance checks into GitHub status checks that can block merges on failure.

Quick Start

Apply the agent-governance skill to your agent tool layer so every tool call is intercepted, denied-by-default unless explicitly allowed by policy, and recorded in an audit trail.

Frequently Asked Questions about agent-governance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent autonomous agents from executing destructive file or deployment actions?

Agent governance prevents unsafe autonomous actions by intercepting tool calls and enforcing deny-by-default policy controls. It classifies semantic intent for operations like delete, execute, or network calls, blocking disallowed high-blast-radius activities before they occur.

What is semantic intent classification for agent tool access control?

Semantic intent classification maps tool calls and arguments into intent tiers like read, write, delete, exec, or network. This mechanism allows agent governance systems to express and enforce safety rules at the action level rather than relying on simple pattern matching.

How do I set up a deny-by-default policy for multi-tenant automation tools?

You establish deny-by-default tool access control by applying source-controlled ALLOW/DENY rules to the agent tool layer. This tool guardian pattern intercepts every call, evaluates it against policy, and blocks any action not explicitly allowed.

Can I use agent governance checks as a CI gate to block merges?

Yes, agent governance converts policy checks into GitHub status checks that block merges on failure. By integrating secrets scanning and policy enforcement into your pipeline, you prevent unsafe disclosures and unauthorized actions from being committed.

How does audit logging handle sensitive arguments in agent tool calls?

Audit logging creates append-only, tamper-evident records with hashed arguments to reduce secret leakage risk. This ensures every allowed or denied tool access attempt is securely recorded for monitoring without exposing the actual sensitive data passed.

Does secrets scanning block tokens in agent output before transmission?

Secrets scanning detects common key, token, and password patterns in agent output to block unsafe disclosures. This prevents sensitive information from being transmitted or committed by intercepting risky data during the governance enforcement phase.