permission-governor

Auto-approve whitelisted operations to reduce operator prompts. Analyzes approval cache and identifies bottlenecks.

SKILL.md

GitHub

Permission Governor

Auto-approve whitelisted operations and analyze bottlenecks.

Trigger

/skill permission-governor — invoke from gstack or CLI

Input Schema

interface Input {
  operation: string;            // operation to check (e.g., "read-repo")
  whitelist?: string[];         // operations to auto-approve (default: built-in)
  analyzeCalls?: boolean;       // analyze approval patterns (default: false)
}

Output Schema

interface Output {
  status: "success" | "error";
  approved: boolean;
  reason?: string;
  analysis?: {
    totalCalls: number;
    approved_count: number;
    denied_count: number;
    bottlenecks: string[];
  };
  timestamp: string;
}

Full reference: See Skill Operator Guide.