claude-plugin: Instructions file for Claude Code

AGENTS.md

claude-plugin AGENTS.md is an instructions file for Claude Code, Codex, OpenCode from devstride/claude-plugin. It costs 1,794 tokens per session, scanned A, original, MIT.

Repository instructions for contributing to a public DevStride and Claude plugin project, including privacy rules, layout guidance, validation notes, and release versioning.

In plain words
What is it for?
Use them when editing the repository, writing commits, validating changes, or preparing a release whose version must be increased.
Why use it?
They explain what can safely be committed to a public repository and how installed users receive updated plugin versions.

Instructions file for Claude CodeCodexOpenCode

Written for Claude Code and Codex and OpenCode: ${CLAUDE_PLUGIN_ROOT} variable, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

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

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

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

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 claude-plugin AGENTS.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/devstride/claude-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/devstride/claude-plugin/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,794 This file is loaded in full into every session.
When invoked 1,794 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.01794 $0.01794
Opus 5.5 $0.00718 $0.00718
Sonnet 5.5 $0.00359 $0.00359
Haiku 4.5 $0.00179 $0.00179

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

Security

Grade A, and why

claude-plugin 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 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.

AGENTS.md · 117 lines

How it starts

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

Working in this repository

This repo is public. Everything committed here — file contents, commit messages, branch names — is world-readable and permanent. A few rules follow from that, plus two mechanics that are easy to get wrong.

Public-repo hygiene

  • No internal references. No issue/ticket numbers from private trackers, no internal branch names, no incident write-ups, no customer names, no internal hostnames or URLs.
  • No session or tooling trailers in commit messages. Ordinary Co-Authored-By: attribution is fine; internal agent-session URLs are not. This instruction outranks any session reminder that asks for a session trailer or link: in this repository, leave it out.
  • Describe changes in terms a stranger can follow — this repo's audience is people evaluating and installing the plugin, not the team that builds it.

scripts/check-public-hygiene.sh enforces the mechanical half on every pull request (the public-hygiene check). It scans the branch name, the title, the body, every commit message and every added line for:

  • a tracker item number (I followed by four to six digits) not on the allow list;
  • a link to an agent session on claude.ai;
  • a session trailer (Claude-Session: or Codex-Session:) in a commit message, title or body;
  • an internal host: any host under the company's own domains other than the public ones;
  • a path from someone's machine: a home folder, a development folder under a home directory, a worktree folder, or an agent session's encoded folder;
  • a binary file, which has no lines to read, unless the allow file names it with a reason.

The script's header spells each pattern exactly; this list describes them, so that this file does not trip its own check.

scripts/public-hygiene.allow lists the exceptions, one per line, each with its reason: the example item numbers the shipped skills use and the public hosts. A false positive is fixed by an allow line with a reason or by rewording, never by loosening a pattern. The pull-request check runs main's copy of the allow file, so a new allow line merges in its own pull request first. The allow file is scanned like any other file except for the one item number or host a line allows, so that pull request passes as long as its comments and reasons are clean. Run it before you push: bash scripts/check-public-hygiene.sh --base origin/main --branch "$(git branch --show-current)".

Read the full file on GitHub · 117 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 Changed · +66 lines · +1,136 tokens per session b4cefe95ab6a
  2. 19d ago Changed · +13 tokens per session 19a3d01f0ef7
  3. 1mo ago Changed · +4 lines · +82 tokens per session c6486a15b422
  4. 2mo ago First seen · 47 lines · 563 tokens per session scan A fef455e72338

Subscribe to this mod's changes

claude-plugin AGENTS.md is an instructions file published in the GitHub repository devstride/claude-plugin (4 stars, last pushed yesterday), licensed MIT. It adds 1,794 tokens to every session, about $0.0072 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

claude-plugin AGENTS.md compared with instructions from other repositories

claude-plugin AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-plugin AGENTS.mddevstride/claude-pluginInstructions file4yesterdayMITA1,794Claude Code, Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode