Claude-Code-Plugins AGENTS.md

Repository instructions for coding agents working on Claude Code and Codex plugins. They explain the project’s purpose, design sources, conventions, review documents, and required plugin files.

In plain words
What is it for?
Use them when authoring or reviewing plugins, checking architecture and conventions, or updating plugin metadata and documentation.
Why use it?
They give agents the rules needed to make changes that fit the repository and its plugin marketplace.

Instructions file for CodexOpenCode

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 instructions/l3digitalnet/claude-code-plugins/agents-md
Clone the repo
git clone --depth 1 https://github.com/L3DigitalNet/Claude-Code-Plugins

Made for: Codex, OpenCode.

Per session 1,255 This file is loaded in full into every session.
When invoked 1,255 The same file — it is already loaded in full.
Security scan C 1 finding. 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.01255 $0.01255
Opus 5 $0.00628 $0.00628
Sonnet 5 $0.00251 $0.00251
Haiku 4.5 $0.00126 $0.00126

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

Security

Grade C, and why

Claude-Code-Plugins AGENTS.md scanned grade C with 1 finding 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 2d 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.

Hidden instructionshighPrompt injection

Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.

<!-- prettier-ignore-start -->
AGENTS.md · 103 lines

How it starts

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

Codex Instructions for Claude-Code-Plugins

Session state: Agent Handoff SessionStart injects docs/handoff/state.md; do not reread it when injected. Then use this file and docs/handoff/conventions.md.

Full conventions reference: docs/handoff/conventions.md - LLM-targeted pattern library. Every convention follows the six-field schema (Applies-when / Rule / Code / Why / Sources / Related) with a Quick Reference table at the top for O(1) lookup. Do not introduce new patterns without checking conventions first.

Detailed review workflows: AGENTS.reviews.md - read this only for review-related tasks (review planning, review sweeps, code/security/test/etc. reviews). The verbose per-review routing, defaults, and orchestrator notes live there.

Repo Purpose

Plugin authoring and release workspace for Claude Code / Codex plugins.

Key Rules

  • Treat the design specs indexed in docs/handoff/specs-plans.md (stored under docs/plans/, docs/research/, and docs/superpowers/{specs,plans}/) as the architectural source of truth for plugin behavior; the marketplace schema lives in docs/handoff/architecture.md.
  • Keep .claude-plugin/plugin.json, plugin folders, command wiring, and marketplace metadata in sync.
  • Validate substantive plugin changes with the plugin test harness before wrapping up.
  • Preserve documented enforcement layers, hooks, and release expectations when refactoring.
  • Branch workflow: direct commit to main. No testing branch — that convention was retired 2026-05-07. Plugin releases are manual: bump plugin.json and the matching .claude-plugin/marketplace.json entry, commit, tag <name>/vX.Y.Z, push, and gh release create. See BRANCH_PROTECTION.md.

Markdown & Structured-Text Tooling

This repository follows the Markdown Tooling Standard (project-standards v3.0.0). Prettier formats the structured-text it supports (md/json/jsonc/yaml/code-workspace); markdownlint lints Markdown structure only. JS/TS source is excluded from Prettier via .prettierignore. MD060 is enabled at {style: "leading_and_trailing", aligned_delimiter: false} (Prettier-compatible; the standard's {style: "any"} conflicts with Prettier's empty-cell rendering). Both deviations recorded in docs/decisions/adr-0001-prettier-jsts-scope.md. Do not introduce a competing formatter or linter.

Read the full file on GitHub · 103 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. 2d ago First seen · 103 lines · 1,255 tokens per session scan C f3b2d21627ae

Subscribe to this mod's changes

Claude-Code-Plugins AGENTS.md is an instructions file published in the GitHub repository L3DigitalNet/Claude-Code-Plugins (6 stars, last pushed 2d ago), licensed MIT. It adds 1,255 tokens to every session, about $0.0063 per session on Opus 5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,182 tokens

buildNext

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

next.js AGENTS.md

Instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

spec-kit AGENTS.md

Instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,040 tokens

langchain AGENTS.md

Instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,345 tokens