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.
npx agentmods add instructions/ihub-pub/plugins/claude-mdgit clone --depth 1 https://github.com/ihub-pub/pluginsWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.06974 | $0.06974 |
| Opus 5 | $0.03487 | $0.03487 |
| Sonnet 5 | $0.01395 | $0.01395 |
| Haiku 4.5 | $0.00697 | $0.00697 |
Grade A, and why
plugins CLAUDE.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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 479 lines — stays where its author put it; the contents beside it link to each section on GitHub.
PROJECT KNOWLEDGE BASE
Generated: 2026-04-27
Project: IHub Plugins (pub.ihub.plugin)
Repository: https://github.com/ihub-pub/plugins
OVERVIEW
IHub Plugins 是一个为 Gradle 项目提供基础设施的插件集合。该项目通过注解驱动的 DSL 大幅减少 Gradle 插件的样板代码,并以"开箱即用"的方式集成 Java/Groovy/Kotlin 编译、Spring Boot、依赖管理(BOM)、代码质量、发布等常见构建场景。
- 开发语言: Groovy 4.0.x(基于
@CompileStatic),构建脚本使用 Kotlin DSL - 构建系统: Gradle 9.4.1(通过 wrapper 锁定)
- 运行时要求: JDK 17 ~ 25
- 测试框架: Spock 2.4-groovy-4.0 + Gradle TestKit
- 静态分析: CodeNarc 3.7.0、PMD 7.23.0
- 覆盖率: JaCoCo 0.8.14(通过
pl.droidsonroids.jacoco.testkit适配 TestKit)
PROJECT STRUCTURE
plugins/
├── ihub-base/ # 注解驱动框架(@IHubPlugin/@IHubExtension/@IHubProperty/@IHubTask)
├── ihub-base-test/ # 测试基础设施(IHubSpecification + TestKit 工具)
├── ihub-plugins/ # 核心插件:pub.ihub.plugin / ihub-version / ihub-profiles
├── ihub-settings/ # Settings 插件:pub.ihub.plugin.ihub-settings
├── ihub-bom/ # BOM 依赖管理:pub.ihub.plugin.ihub-bom
├── ihub-java/ # Java 插件:ihub-java / ihub-java-base
├── ihub-groovy/ # Groovy 插件:ihub-groovy
├── ihub-kotlin/ # Kotlin 插件:ihub-kotlin
├── ihub-spring/ # Spring Boot 插件:ihub-boot / ihub-native
├── ihub-verification/ # 验证插件:ihub-test / ihub-verification
├── ihub-publish/ # 发布插件:ihub-publish
├── ihub-shadow/ # Shadow Fat JAR:ihub-shadow
├── ihub-javaagent/ # Javaagent 插件:ihub-javaagent
├── ihub-meta/ # AI 元数据 JSON 生成:ihub-meta
├── ihub-skills/ # AI 技能文件自动安装:ihub-skills
├── ihub-copyright/ # Spotless 版权头:ihub-copyright
├── ihub-githooks/ # Git Hooks 自动化:ihub-git-hooks
├── ihub-node/ # Node.js / cnpm 支持:ihub-node
├── samples/ # 验证用样例(sample-groovy / sample-multi / sample-extensions)
├── docs/ # VuePress 文档(docs/list/ 一插件一文档)
├── buildSrc/ # precompiled convention plugin(ihub.module-conventions),IP 兼容
├── gradle/libs.versions.toml # 版本目录(修改依赖前必须先改这里)
├── build.gradle.kts # 根构建脚本(仅保留 root-only 配置;公共配置已迁至 buildSrc)
└── settings.gradle.kts # 通过 ihub-settings 自动包含子模块
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.
- 2d ago First seen · 479 lines · 6,974 tokens per session scan A d74ac6ed53f1
plugins CLAUDE.md is an instructions file published in the GitHub repository ihub-pub/plugins (711 stars, last pushed 5d ago), licensed Apache-2.0. It adds 6,974 tokens to every session, about $0.0349 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-30.
Other instructions, from other repositories
atmosphere AGENTS.md
AGENTS.md instructions for Atmosphere/atmosphere, covering build system: maven, commands, module build, build only atmosphere-runtime (cpr) and build only spring-boot-starter.
matecloud AGENTS.md
Instructions for mateaix/matecloud, covering agents.md, project overview, development commands, backend (java / maven) and full build (42 modules).
imgui-java AGENTS.md
Instructions for SpaiR/imgui-java, covering agents.md, what this repo is, project layout, build & test and upgrading dear imgui or an extension.
camel-spring-boot AGENTS.md
Instructions for apache/camel-spring-boot, covering apache camel spring boot - ai agent guidelines, project info, ai agent rules of engagement, attribution and pr volume.
imgui-java CLAUDE.md
Instructions for SpaiR/imgui-java: This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
ZhiWei CLAUDE.md
Instructions for ntygod/ZhiWei, covering claude.md, project overview, build & development commands, backend and frontend.