aidoc-flow-framework: Skill for Claude Code

.agents/skills/approval-gate/SKILL.md

approval-gate is a skill for Claude Code, Codex from vladm3105/aidoc-flow-framework. It costs 51 tokens per session (1,140 once invoked), scanned A, original, MIT.

A checkpoint before an outside or irreversible action, such as sending a message, publishing, spending money, deleting data, or force-pushing code. It classifies the risk and requires human approval when the action needs it.

In plain words
What is it for?
Use it before external communication, publication, financial or legal changes, destructive data operations, force-pushes, or writes to another repository.
Why use it?
It prevents an agent from treating a draft or standing permission as permission for every external action. It also separates reversible work from actions that may be difficult or impossible to undo.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is vladm3105/aidoc-flow-framework's own configuration. It tells Claude Code and Codex how to work on aidoc-flow-framework itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aidoc-flow-framework configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/ya/devd/technology_stack.

Reuse

Borrowing it

Nothing to install: this file belongs to vladm3105/aidoc-flow-framework. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/vladm3105/aidoc-flow-framework/dev/.agents/skills/approval-gate/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/vladm3105/aidoc-flow-framework

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for approval-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/vladm3105/aidoc-flow-framework/approval-gate/github.svg)](https://agentmods.dev/skills/vladm3105/aidoc-flow-framework/approval-gate)
Your own site
<a href="https://agentmods.dev/skills/vladm3105/aidoc-flow-framework/approval-gate"><img src="https://agentmods.dev/badge/skills/vladm3105/aidoc-flow-framework/approval-gate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for approval-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/vladm3105/aidoc-flow-framework/approval-gate"><img src="https://agentmods.dev/badge/skills/vladm3105/aidoc-flow-framework/approval-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,140 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01140
Opus 5.5 $0.00020 $0.00456
Sonnet 5.5 $0.00010 $0.00228
Haiku 4.5 $0.00005 $0.00114

Measured 10d ago against content hash d4119c811880, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

approval-gate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/approval-gate/SKILL.md · 93 lines

How it starts

The opening of the file, as written. The whole thing — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Approval gate

Before acting on the outside world, classify the action and route it. Never self-approve: an agent drafts and proposes; a human authorizes anything external or irreversible.

Standing authorization is not self-approval. Where the human or the active repository has authorized a class of action in advance and in writing, acting within it executes that decision. Merge-on-green exists only where the active repository explicitly grants it; the global rules supply safety carve-outs but not merge authority. Red or incomplete CI always means do not merge.

Tiers

Tier Examples Do
🟢 Act directly commits on your own branch · drafts · internal messages · research and analysis · anything reversible inside your own workspace using approved tech stack tools proceed
🟡 Needs human OK send external email · public posts · publish a site or docs · spend, pricing or contract changes · Missing Tools escalation (in autonomous sessions, always file a GitHub issue detailing the missing tool requirement; interactively, request operator instructions when a needed tool is missing from /home/ya/devd/technology_stack) · conflict disposition (file GitHub issues for real deployment/selection work) · anything a stranger will see prepare the artifact below, then stop and surface it
🔴 Never autonomous financial commitments · legal execution · hiring · force-push · destructive data operations · writes to a repo you are not working in · offering, proposing, or using insecure options (plaintext secrets, disabled sandboxing, bypassed verification --no-verify, relaxed permissions) flag to the human; do not prepare it for auto-execution; reject insecure options outright

When unsure which tier, treat it as the higher one. The cost of over-routing is a few minutes; the cost of under-routing is unrecoverable.

Two distinctions that get missed:

  • Reversibility is not the only test. An action can be technically reversible and still 🟡 because someone already saw it — a deleted post was still read, a sent email was still received.
  • Verbal authorization in chat does not by itself make a durable record. Where an audit trail matters, the artifact is the record; a transcript is not one. (Some projects make this a hard rule — see the workspace section.)

Read the full file on GitHub · 93 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago Changed d4119c811880
  2. 1mo ago First seen · 93 lines · 51 tokens per session scan A 8797fdd65ff4

Subscribe to this mod's changes

approval-gate is a skill published in the GitHub repository vladm3105/aidoc-flow-framework (17 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 1,140 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-28.