plugins: Instructions file for Claude Code

CLAUDE.md

plugins CLAUDE.md is an instructions file for Claude Code from ihub-pub/plugins. It costs 6,974 tokens per session, scanned A, original, Apache-2.0.

A project reference for IHub Plugins, a collection of Gradle build plugins for Java, Groovy, Kotlin, and Spring projects. It documents the project layout, supported tools, and common build commands.

In plain words
What is it for?
Use it when developing, testing, linting, or publishing IHub Gradle plugins and their build infrastructure.
Why use it?
It gives an agent the project’s structure and compatibility requirements, making it easier to change plugins without breaking builds, tests, or supported runtimes.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions Claude Code; mentions OpenCode.

This is ihub-pub/plugins's own configuration. It tells Claude Code how to work on plugins 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 plugins configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ihub-pub/plugins. 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/ihub-pub/plugins/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ihub-pub/plugins

Made for: Claude Code.

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 plugins CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ihub-pub/plugins/claude-md"><img src="https://agentmods.dev/badge/instructions/ihub-pub/plugins/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 6,974 This file is loaded in full into every session.
When invoked 6,974 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.06974 $0.06974
Opus 5.5 $0.02790 $0.02790
Sonnet 5.5 $0.01395 $0.01395
Haiku 4.5 $0.00697 $0.00697

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

Security

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

CLAUDE.md · 479 lines

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 自动包含子模块

Read the full file on GitHub · 479 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 · 479 lines · 6,974 tokens per session scan A d74ac6ed53f1

Subscribe to this mod's changes

plugins CLAUDE.md is an instructions file published in the GitHub repository ihub-pub/plugins (706 stars, last pushed 9d ago), licensed Apache-2.0. It adds 6,974 tokens to every session, about $0.0279 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-30.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

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 · 9,715 tokens

next.js AGENTS.md

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,461 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, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

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,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,731 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 4,261 tokens