skill-gate: Instructions file for Claude Code

AGENTS.md

skill-gate AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from devs-30/skill-gate. It costs 518 tokens per session, scanned A, original, MIT.

A set of repository instructions for developers and coding agents working in the devs-30/skill-gate project. It documents the project layout, configuration files, linting, formatting, and available checks.

In plain words
What is it for?
Finding the right project commands, fixing lint and formatting issues, checking formatting without changing files, and understanding the repository configuration.
Why use it?
It gives contributors one reference for the commands and rules needed to keep code style consistent and catch problems before changes are delivered.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: PreToolUse hook event, but also the file is AGENTS.md. Also seen: mentions AGENTS.md.

This is devs-30/skill-gate's own configuration. It tells Claude Code, Codex and OpenCode how to work on skill-gate 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 skill-gate configures →

Reuse

Borrowing it

Nothing to install: this file belongs to devs-30/skill-gate. 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/devs-30/skill-gate/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/devs-30/skill-gate

Made for: Claude Code, Codex, OpenCode.

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 skill-gate AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/devs-30/skill-gate/agents-md/github.svg)](https://agentmods.dev/instructions/devs-30/skill-gate/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/devs-30/skill-gate/agents-md"><img src="https://agentmods.dev/badge/instructions/devs-30/skill-gate/agents-md/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 skill-gate AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/devs-30/skill-gate/agents-md"><img src="https://agentmods.dev/badge/instructions/devs-30/skill-gate/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 518 This file is loaded in full into every session.
When invoked 518 The same file — it is already loaded in full.
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.00518 $0.00518
Opus 5.5 $0.00207 $0.00207
Sonnet 5.5 $0.00104 $0.00104
Haiku 4.5 $0.00052 $0.00052

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

Security

Grade A, and why

skill-gate AGENTS.md 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 2mo 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.md · 51 lines

How it starts

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

AGENTS.md

Guidance for agents (and humans) working in this repo.

Linting & formatting

ESLint (code quality) and Prettier (formatting) are configured to work together without conflicts: eslint-config-prettier is applied last in the flat config, so ESLint never reports on anything Prettier owns.

After changing any code, run:

npm run fix:all

This auto-fixes lint issues (eslint . --fix) and then formats every file (prettier --write .). It is the single command to leave the tree clean.

All scripts

Command What it does
npm run fix:all Auto-fix lint issues, then format everything
npm run lint Report ESLint problems (no changes)
npm run lint:fix Auto-fix ESLint problems
npm run format Format all files with Prettier
npm run format:check Verify formatting without writing (CI-friendly)
npm run check lint + format:check — read-only gate, no writes

First-time setup: npm install.

Config files

  • eslint.config.js — ESLint 9 flat config, CommonJS, Node globals, ES2023.
  • .prettierrc.json — single quotes, semicolons, trailing commas, 80 cols.
  • .prettierignore / ignores in eslint.config.js — kept in sync; both skip node_modules/, .idea/, .remember/, .claude/, and skill-gate-debug.log.

Style baseline (matches the existing source): 2-space indent, single quotes, semicolons, trailing commas, CommonJS (require/module.exports).

Repo layout

  • hooks/ — the PreToolUse hook (skill-gate-hook.js) and its hooks.json.
  • scripts/ — helper scripts (e.g. list-skills.js).
  • skills/focus-guard/ — the skill that manages the gate blocklist.
  • .githooks/ — versioned git hooks; enable with make setup-hooks.

See README.md for what the plugin does and how to install it.

Read the full file on GitHub · 51 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. 2mo ago First seen · 51 lines · 518 tokens per session scan A 26a60dad103e

Subscribe to this mod's changes

skill-gate AGENTS.md is an instructions file published in the GitHub repository devs-30/skill-gate (2 stars, last pushed 4mo ago), licensed MIT. It adds 518 tokens to every session, about $0.0021 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-08-31.

Related

skill-gate AGENTS.md compared with instructions from other repositories

skill-gate AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
skill-gate AGENTS.mddevs-30/skill-gateInstructions file24mo agoMITA518Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode ai-customization.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA1,907GitHub Copilot