cffrank/paperclip-skills-agents/automation-governance
Claude Code and agent skill by cffrank/paperclip-skills-agents
- community
Checking that the SKILL.md file is still in the repository.
Governance framework for AI agent automation in Paperclip. Covers budget enforcement, runaway prevention, approval gates, agent safety rails, cost tracking, and autonomous operation boundaries. Use when configuring agent budgets, setting up approval workflows, defining agent boundaries, preventing runaway costs, or auditing agent behavior. Triggers on: "budget", "runaway", "governance", "approval gate", "agent safety", "cost control", "autonomous", "guardrails", "circuit breaker", "agent limit", or "spending cap".
Install
npx vskill@latest install cffrank/paperclip-skills-agents/automation-governanceSKILL.md
The same SKILL.md was published earlier as cffrank/paperclip-skills-agents/automation-governance.
Automation Governance Skill
Adapted from agency-agents specialized-automation-governor.md — tailored for Paperclip's budget enforcement and Cloudflare API cost model.
Core Principle
Autonomy is a privilege, not a default. Every agent operates within explicit boundaries. When boundaries are exceeded, the agent stops and escalates.
Budget Framework
Per-Agent Monthly Budgets
| Role | Budget (cents) | USD | Rationale | |
|---|---|---|---|---|
| CTO | 5,000 | $50 | Strategy, delegation, hiring decisions | |
| App Dev Lead | 3,000 | $30 | Code generation, refactoring | |
| QA Lead | 2,000 | $20 | Testing (mostly Haiku, lower cost) | |
| DevOps Lead | 3,000 | $30 | CI/CD operations, deploy monitoring | |
| AI/ML Lead | 3,000 | $30 | Model inference, RAG development | |
| DBA Lead | 1,500 | $15 | Schema review, query optimization | |
| Company total | 17,500 | $175 | Ceiling for all agents combined |
Budget Enforcement Rules
Tracking Costs
Paperclip tracks token usage per agent per task. Monitor via:
In the Paperclip dashboard: Company → Agents → [agent] → Cost tab.
Approval Gates
Actions requiring board (human) approval before execution:
Always Require Approval
- Deploying to production (DevOps Lead proposes, board approves)
- Destructive D1 migrations (DROP/RENAME column)
- Creating new Cloudflare resources (D1 databases, R2 buckets)
- Changing wrangler.toml routes or bindings
- Modifying GitHub Actions workflow files
- Any action costing >$5 in a single execution
Auto-Approved (Within Budget)
- Deploying to dev/staging
- Running tests
- Code review comments
- Creating branches and PRs
- Non-destructive D1 migrations (ADD column)
- Reading Cloudflare analytics
Configuring in Paperclip
Runaway Prevention
Circuit Breakers
Heartbeat Governance
Rules:
- Never set
intervalSecbelow 30 (spam risk, cost risk) maxConcurrentRuns: 1prevents duplicate workcooldownSec: 10prevents rapid re-triggering- IC agents: 600s (10 min) heartbeat
- On-demand agents (QA, DBA): 86400s (daily) +
wakeOnDemand: true
Agent Boundaries
What agents CAN do autonomously:
- Read code, read D1, read R2, read KV
- Write code to branches (never directly to main)
- Run tests and linters
- Post PR comments and reviews
- Create issues and update tickets
- Deploy to dev/staging environments
What agents CANNOT do without approval:
- Deploy to production
- Modify production data
- Delete anything (files, databases, buckets)
- Change access controls or permissions
- Hire/fire other agents (CTO proposes, board approves)
- Spend more than allocated budget
What agents MUST NEVER do:
- Expose secrets in logs, comments, or code
- Bypass Paperclip's ticket system
- Modify their own AGENTS.md or skill files
- Disable monitoring or alerting
- Skip quality gates (tests, review, reality check)
Audit Trail
Every agent action is logged by Paperclip:
- Task checkout/checkin with timestamps
- Token usage per task
- Tool calls with parameters
- Approval requests and responses
- Budget threshold events
Query audit logs:
Cost Optimization Strategies
- Use Haiku for routing agents (QA, DBA) — 3x cheaper than Sonnet
- Use Sonnet for creative agents (App Dev, AI/ML) — quality matters
- Batch similar tasks — one heartbeat processes multiple small tickets
- Skip heartbeats when idle —
wakeOnDemand: trueprevents empty runs - Cache context — Paperclip's persistent state avoids re-reading repos
- Set max_turns low for simple tasks — 10 turns for review, 30 for coding
Relationship to Other Skills
- Loaded by: CTO agent (primary), all agents (awareness)
- Enforced by: Paperclip runtime (budget enforcement is automatic)
- Complements:
axiom-cicd(deploy approval gates)
Security
- Security scanPassed, 90 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/automation-governance/SKILL.md
Popularity
- 7-day trend score
- 0
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/cffrank/paperclip-skills-agents/automation-governance)