agenthub AGENTS.md

Repository instructions for AgentHub, a catalogue of Claude Code plugins. The catalogue stores references to plugin code kept in contributors’ repositories or packages, rather than containing the plugin code itself.

In plain words
What is it for?
Use them when adding, updating, or removing plugin entries, following the repository structure, and rebuilding or validating the marketplace catalogue.
Why use it?
They explain which files are authoritative and prevent contributors from manually changing generated marketplace data.

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/nullorder/agenthub/agents-md
Clone the repo
git clone --depth 1 https://github.com/nullorder/agenthub

Made for: Codex, OpenCode.

Per session 1,233 This file is loaded in full into every session.
When invoked 1,233 The same file — it is already loaded in full.
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.01233 $0.01233
Opus 5 $0.00616 $0.00616
Sonnet 5 $0.00247 $0.00247
Haiku 4.5 $0.00123 $0.00123

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

Security

Grade A, and why

agenthub 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 yesterday.

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 · 137 lines

How it starts

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

AgentHub — Agent Guidelines

This file is for AI agents (Claude Code, Copilot, etc.) working on this repository. It describes the project, its conventions, and how to perform common tasks correctly.

What is this project?

AgentHub is a community-driven plugin marketplace for Claude Code. It is a catalog only — plugin code lives in contributors' own repositories (or npm packages). This repo maintains a registry of plugin references in .claude-plugin/marketplace.json.

Project structure

agenthub/
├── plugins/                  # One JSON file per plugin (the source of truth)
├── scripts/
│   └── build-marketplace.sh  # Aggregates plugins/*.json into .claude-plugin/marketplace.json
├── .github/
│   ├── workflows/
│   │   ├── build-marketplace.yml   # Rebuilds .claude-plugin/marketplace.json on push to main
│   │   └── validate-plugin.yml     # Validates plugin JSON on PRs
│   └── PULL_REQUEST_TEMPLATE/
│       ├── add-plugin.md
│       ├── update-plugin.md
│       └── remove-plugin.md
├── .claude-plugin/marketplace.json          # AUTO-GENERATED — never edit directly
├── CONTRIBUTING.md           # Contribution guidelines for humans
├── README.md                 # User-facing install & usage docs
└── LICENSE                   # MIT

Critical rules

  1. Never edit .claude-plugin/marketplace.json directly. It is auto-generated by scripts/build-marketplace.sh from the files in plugins/. If you need to change the marketplace output, modify the plugin files or the build script.

  2. One plugin = one file. Each plugin is a standalone JSON file in plugins/ named <plugin-name>.json. The filename must match the name field inside the JSON.

  3. Plugin naming conventions:

    • Kebab-case only: my-cool-plugin, not MyCoolPlugin
    • Be descriptive: react-test-generator, not rtg
    • Never use "claude", "anthropic", or "official" in plugin names
  4. Valid categories: development, testing, devops, security, documentation, productivity, data, design, other

Read the full file on GitHub · 137 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. yesterday First seen · 137 lines · 1,233 tokens per session scan A e3434727d1bf

Subscribe to this mod's changes

agenthub AGENTS.md is an instructions file published in the GitHub repository nullorder/agenthub (3 stars, last pushed 2d ago), licensed MIT. It adds 1,233 tokens to every session, about $0.0062 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.