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.
npx skills add HigorAlves/orc --skill gatesgit clone --depth 1 https://github.com/HigorAlves/orcWrote 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.
[](https://agentmods.dev/skills/higoralves/orc/gates)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
descriptionstates 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
previewfield (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
📋 Previewcallout 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.
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.
- 25d ago Changed · +8 tokens per session a3b12488f5e9
- 1mo ago Changed · -15 lines 3e04c5c60340
- 1mo ago Changed 9f6eb012a276
- 1mo ago Changed · +15 lines 1228fc98b580
- 1mo ago Changed · +1 lines · -11 tokens per session 38b249032f1c
- 1mo ago First seen · 60 lines · 64 tokens per session scan A 44faa7925fc4
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.
gates compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gatesHigorAlves/orc | Skill | 7 | 3d ago | MIT | A | 61 | Claude Code |
| clean-code-coreCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 70 | Claude Code |
| agent-orchestrationCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 59 | Claude Code |
| clean-code-audioCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 52 | Claude Code |
| clean-code-cppCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 42 | Claude Code |
| clean-code-rustCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 44 | Claude Code |
| clean-code-cCassetteTapeCrackle/claude-starters | Skill | 1 | 28d ago | MIT | A | 34 | Claude Code |