approval-gates
Skill7 starsChanged 19 days agoMITView on GitHub
Check whether an action needs approval before doing it. Say "do I need approval for this" or "should I ask first". Triggers when you are about to send, publish, pay, sign, delete, or push something public. Reads `rules/approval-gates.md` and classifies the action as auto-runnable, ask-first, or refused. Other skills call this internally.
In this repository100 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- notion-package/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- add-handsSkill
- add-mouthSkill
- add-voiceSkill
- auditSkill
- backupSkill
- blind-spot-reviewSkill
- bottleneck-diagnosticSkill
- brain-logSkill
- brain-passSkill
- brain-snapshotSkill
- brand-interviewSkill
- brand-voice-interviewSkill
- business-context-loaderSkill
- campaign-from-themeSkill
- capture-sweepSkill
- catch-upSkill
- client-updateSkill
- connectSkill
- content-repurposerSkill
- content-startSkill
- context-persistenceSkill
- cross-linkSkill
- data-securitySkill
- decision-frameworkSkill
- decisions-startSkill
- delivery-startSkill
- email-drafterSkill
- employee-reviewSkill
- finance-importSkill
- forcing-questionsSkill
- founder-coachingSkill
- founder-next-moveSkill
- founder-os-setupSkill
- founder-reviewSkill
- founder-scope-challengeSkill
- github-opsSkill
- handoff-protocolSkill
- hireSkill
- historySkill
- housekeepingSkill
- ingestSkill
- knowledge-captureSkill
- legal-complianceSkill
- linkedin-brand-directionSkill
- linkedin-network-scanSkill
- linkedin-postSkill
- linkedin-power-auditSkill
- linkedin-startSkill
- linkedin-warm-revivalSkill
- lintSkill
- list-prunerSkill
- log-archiveSkill
- log-replySkill
- meeting-prepSkill
- memory-passSkill
- menuSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
Read rules/approval-gates.md.
- Distinctive: line 18
If neither file exists, default to ask-first for any external, financial, public, destructive, or data-sensitive action.
- Very specific: line 39
Read the relevant gate from rules/approval-gates.md.
- Very specific: line 44
If the gate is ambiguous, choose ASK FIRST.
- Distinctive: line 61
If an action changes state after approval, log the outcome to the right file:
- Distinctive: line 67
If the user rejects the action, log only if the decision affects future behavior.
- Distinctive: line 71
Do not auto-approve because a similar action happened before.
- Distinctive: line 72
Do not ask for approval on actions clearly below threshold.
- Distinctive: line 73
Do not proceed silently on partial approval.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Approval Gates
Runs on: reasoning - reads your files and reasons; any capable agent can run this.
Pre-Read
Read rules/approval-gates.md. If the installed OS has no customized copy, read templates/rules/approval-gates.md as the fallback.
If neither file exists, default to ask-first for any external, financial, public, destructive, or data-sensitive action.
Action Classes
Classify the requested action into one of these groups:
| Class | Default Gate |
| Internal note, log entry, or draft | Auto-runnable |
| Read-only scan or local analysis | Auto-runnable |
| Edit to operating files with user data | Ask first |
| External send, publish, payment, contract, invoice, or proposal | Ask first |
| Public repo push, public release, or public package update | Ask first |
| Delete, hard reset, force push, secret exposure, or AI attribution in commit history | Refuse unless the user explicitly owns the risk and the action is allowed by repo rules |
The local rules/approval-gates.md wins over this default table.
Procedure
- State the action in one sentence.
- Classify the action type.
- Read the relevant gate from
rules/approval-gates.md. If that file is absent, fall back totemplates/rules/approval-gates.md. If neither exists, use the default table above. - Return one of three calls:
AUTO-RUN- proceed and log if the action changes state.ASK FIRST- show the exact action and wait for yes.REFUSE- explain the blocked action and the safer path.
- If the gate is ambiguous, choose
ASK FIRST.
Approval Artifact
For ask-first actions, present:
Approval needed: <action>
Gate: <rule name or section>
Why approval is needed: <one sentence>
What will change: <files, external party, public surface, money, or data>
Rollback path: <how to undo, or none>
Question: Proceed? yes / noLogging
If an action changes state after approval, log the outcome to the right file:
brain/log.mdfor operating actions.context/decisions.mdfor resolved decisions.context/clients.mdfor revenue or client state.
If the user rejects the action, log only if the decision affects future behavior.
Rules
- Do not auto-approve because a similar action happened before.
- Do not ask for approval on actions clearly below threshold.
- Do not proceed silently on partial approval.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

