gate-code

gate-code is a skill for Claude Code, Codex from Oreo-Mcflurry/claude-gate. It costs 20 tokens per session (1,326 once invoked), scanned A, original, MIT.

A code quality gate that reviews an implementation before release. It checks security, maintainability, tests, and whether the code follows the design.

In plain words
What is it for?
Use it to review code for issues such as exposed secrets, injection attacks, missing input checks, error-handling gaps, resource leaks, and race conditions.
Why use it?
It catches serious vulnerabilities, reliability problems, weak tests, and design mismatches before they reach users.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/oreo-mcflurry/claude-gate/gate-code
Any agent
npx skills add Oreo-Mcflurry/claude-gate --skill gate-code
Clone the repo
git clone --depth 1 https://github.com/Oreo-Mcflurry/claude-gate

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 gate-code

README.md
[![agentmods](https://agentmods.dev/badge/skills/oreo-mcflurry/claude-gate/gate-code.svg)](https://agentmods.dev/skills/oreo-mcflurry/claude-gate/gate-code)
Your own site
<a href="https://agentmods.dev/skills/oreo-mcflurry/claude-gate/gate-code"><img src="https://agentmods.dev/badge/skills/oreo-mcflurry/claude-gate/gate-code.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,326 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.01326
Opus 5 $0.00010 $0.00663
Sonnet 5 $0.00004 $0.00265
Haiku 4.5 $0.00002 $0.00133

Measured 3d ago against content hash 3e1f304b590f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

gate-code 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 3d 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/skills/gate-code/SKILL.md · 181 lines

How it starts

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

Code Gate Review Instructions

You are a Code Reviewer conducting a quality gate review for code implementation. Your role is to ensure code is secure, maintainable, well-tested, and matches the design before release.

Review Criteria

1. Critical Security Issues (Must Fix)

These are blocking issues that must be fixed before approval:

  • Secrets in code: Hardcoded passwords, API keys, tokens, credentials
  • SQL Injection: Unsanitized user input in SQL queries
  • XSS (Cross-Site Scripting): Unescaped user content in HTML
  • Authentication bypass: Missing auth checks, broken access control
  • Command injection: Unsanitized input passed to shell commands
  • Path traversal: User-controlled file paths without validation

Action: Flag immediately and block approval until fixed.

2. High Priority Issues (Should Fix)

These significantly impact reliability and should be addressed:

  • Error handling: Missing try-catch, unhandled promise rejections
  • Input validation: Missing validation for user inputs, API parameters
  • Resource leaks: Unclosed connections, file handles, memory leaks
  • Race conditions: Unprotected concurrent access to shared state
  • Null/undefined checks: Missing guards for nullable values
  • Logging sensitive data: PII, passwords, tokens in logs

Action: Require fixes for most cases, allow conditional approval with TODO tracking.

3. Medium Priority Issues (Good to Fix)

Code quality issues that impact maintainability:

  • Large functions: Functions >50 lines, complex cyclomatic complexity
  • Code duplication: Repeated logic that should be extracted
  • Missing tests: Critical paths without unit/integration tests
  • Poor naming: Unclear variable/function names (x, temp, data)
  • Magic numbers: Hardcoded values without constants
  • Commented-out code: Dead code that should be removed
  • Console.log: Debug statements left in production code

Action: Point out issues, allow approval with recommendations.

Read the full file on GitHub · 181 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. 3d ago First seen · 181 lines · 20 tokens per session scan A 3e1f304b590f

Subscribe to this mod's changes

gate-code is a skill published in the GitHub repository Oreo-Mcflurry/claude-gate (3 stars, last pushed 3mo ago), licensed MIT. It adds 20 tokens to every session and 1,326 once invoked, about $0.0001 per session on Opus 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-08-31.

Related

Other skills, from other repositories

fast-resume

Search local coding-agent session history and identify safe resume commands. Use when the user asks to find, inspect, continue, or recover previous work from Claude Code, Codex, Pi, or another agent indexed by fast-resume.

angristan/fast-resume · 50 tokens

skill-creator

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Codex's capabilities with specialized knowledge, workflows, or tool integrations.

extracurricular-ai/codex-rewind · 46 tokens

lossless-openclaw-orchestrator

Use LCO from an OpenClaw agent to search, describe, expand, and dry-run local Codex session work without reading raw transcripts.

100yenadmin/Lossless-Codex-Orchestrator-LCO · 38 tokens

find

Search local LCO session recall from Claude Code using public-safe lco find output.

100yenadmin/Lossless-Codex-Orchestrator-LCO · 19 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

extracurricular-ai/codex-rewind · 113 tokens

plugin-creator

Create and scaffold plugin directories for Codex with a required .codex-plugin/plugin.json, optional plugin folders/files, valid manifest defaults, and personal-marketplace entries by default. Use when Codex needs to create a new personal plugin, add optional plugin structure, generate or update marketplace entries…

extracurricular-ai/codex-rewind · 86 tokens