gates

gates is a skill for Claude Code from HigorAlves/orc. It costs 61 tokens per session (1,107 once invoked), scanned A, original, MIT.

A set of rules for asking users to make decisions during an agent workflow. It standardizes confirmation dialogs, previews, choices and escalation points.

In plain words
What is it for?
It helps present recommended options, collect multi-choice answers, show previews before confirmation and stop for required approvals.
Why use it?
It makes important decisions—especially publishing, posting or changing external trackers—visible and explicit instead of silently assumed.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter.

Good fit It helps present recommended options, collect multi-choice answers, show previews before confirmation and stop for required approvals.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/higoralves/orc/gates
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add HigorAlves/orc --skill gates
Clone the repo
git clone --depth 1 https://github.com/HigorAlves/orc

Made for: Claude Code.

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 gates

README.md
[![agentmods](https://agentmods.dev/badge/skills/higoralves/orc/gates/github.svg)](https://agentmods.dev/skills/higoralves/orc/gates)
Your own site
<a href="https://agentmods.dev/skills/higoralves/orc/gates"><img src="https://agentmods.dev/badge/skills/higoralves/orc/gates/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 gates

Your own site · 80×15
<a href="https://agentmods.dev/skills/higoralves/orc/gates"><img src="https://agentmods.dev/badge/skills/higoralves/orc/gates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,107 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.00061 $0.01107
Opus 5.5 $0.00024 $0.00443
Sonnet 5.5 $0.00012 $0.00221
Haiku 4.5 $0.00006 $0.00111

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

Security

Grade A, and why

gates 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 25d 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.

codex/orc/content/skills/gates/SKILL.md · 61 lines

How it starts

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

Gates

Every orc gate is ONE the available user-question tool (or ask in chat) call shaped by these rules. The gate classes themselves (hard-outward / soft-inward / escalation-only) are defined in orc-using-orc; the 1–3 line context block before the call is the ⛔ Gate callout from orc-callouts. Options never go inside the callout — the question widget renders them.

1. Header chip = gate class

The header chip (≤12 chars) tells the user what kind of decision this is. Hard-outward and escalation gates use a closed vocabulary, so the class is readable at a glance — and the orc mod reads it to draw a gate badge above the dialog:

Class Chips Rule
Hard-outward Publish (evidence / artifact upload) · Post (PR review, replies, comments) · Tracker (issue / Jira writes) Always asks — no flag, policy, or settled decision skips it. Name the exact target (repo, PR #, ticket key) in the question.
Escalation-only Escalation Never asked proactively; stops the run at every policy level.
Soft-inward Free, short noun: Plan, Driver, PR size, Compose, Next step, … Never reuse an outward or escalation chip.

2. Options

  • 2–4 options. Never add an "Other" option — the widget always provides free text.
  • Recommended option first, label suffixed (Recommended). Exactly one, or none when there is no defensible default.
  • Each description states the consequence ("pushes to origin", "posts 6 comments to #123"), not a restatement of the label.
  • A destructive or outward option names its target in the label or description.

3. preview for preview-then-confirm

When the user approves a payload (PR body, review comments, upload manifest, slice table, stack split, Jira tree):

  • Put the payload in the option's preview field (markdown, monospace) — single-select only. Alternatives render side by side: give each variant its own option + preview (e.g. caveman vs full PR body).
  • The 📋 Preview callout stays as a one-line headline; do not also print the full payload in a fence — one rendering.
  • Payload over ~60 lines: write it to ${ORC_STATE_DIR}/<branch>/files/ and preview the head plus the path.
  • No the available user-question tool (or ask in chat) available (headless): print the callout + fenced payload, then stop for a plain-text answer. Hard-outward gates still never auto-proceed.

Read the full file on GitHub · 61 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. 25d ago Changed · +8 tokens per session a3b12488f5e9
  2. 1mo ago Changed · -15 lines 3e04c5c60340
  3. 1mo ago Changed 9f6eb012a276
  4. 1mo ago Changed · +15 lines 1228fc98b580
  5. 1mo ago Changed · +1 lines · -11 tokens per session 38b249032f1c
  6. 1mo ago First seen · 60 lines · 64 tokens per session scan A 44faa7925fc4

Subscribe to this mod's changes

gates is a skill published in the GitHub repository HigorAlves/orc (7 stars, last pushed 3d ago), licensed MIT. It adds 61 tokens to every session and 1,107 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-10-06.

Related

gates compared with skills from other repositories

gates next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gatesHigorAlves/orcSkill73d agoMITA61Claude Code
clean-code-coreCassetteTapeCrackle/claude-startersSkill128d agoMITA70Claude Code
agent-orchestrationCassetteTapeCrackle/claude-startersSkill128d agoMITA59Claude Code
clean-code-audioCassetteTapeCrackle/claude-startersSkill128d agoMITA52Claude Code
clean-code-cppCassetteTapeCrackle/claude-startersSkill128d agoMITA42Claude Code
clean-code-rustCassetteTapeCrackle/claude-startersSkill128d agoMITA44Claude Code
clean-code-cCassetteTapeCrackle/claude-startersSkill128d agoMITA34Claude Code