Borrowing it
Nothing to install: this file belongs to gleanwork/pluginpack. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/gleanwork/pluginpack/main/CLAUDE.mdgit clone --depth 1 https://github.com/gleanwork/pluginpackWrote 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.
[](https://agentmods.dev/instructions/gleanwork/pluginpack/claude-md)<a href="https://agentmods.dev/instructions/gleanwork/pluginpack/claude-md"><img src="https://agentmods.dev/badge/instructions/gleanwork/pluginpack/claude-md.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01676 | $0.01676 |
| Opus 5 | $0.00838 | $0.00838 |
| Sonnet 5 | $0.00335 | $0.00335 |
| Haiku 4.5 | $0.00168 | $0.00168 |
Grade A, and why
pluginpack 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 7d 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 — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pluginpack — agent guide
pluginpack compiles one source of portable agent plugins (skills, agents,
commands, rules, hooks, MCP servers, assets, metadata) into the native plugin
layouts each AI app expects. It is a build tool: it copies files, writes the
manifests each target needs, and validates the result. It is not a package
manager or publisher.
Commands
npm run dev -- <args>— run the CLI from source (tsx src/cli.ts).npm test— vitest. Apretesthook builds first, because the conformance tests run the real built binary (dist/cli.js) viabintastic.npm run check— the full gate (test:all):format:check→lint→typecheck→test→build→docs. Run this before considering work done.npm run audit—npm audit --omit=dev, also run in CI. Scoped to production dependencies on purpose: devDependencies (eslint, test fixtures, etc.) never ship in the published package, so a vulnerability there isn't a risk to consumers — don't add fixes/overrides for dev-only findings.npm run build— bundle with tsup.- After changing CLI commands/options, regenerate the README CLI reference with
node dist/cli.js docs(the gate'sdocs --checkfails if it is stale).
Node >= 22.12.0 (the engines floor in package.json, verified in CI against
that exact version), ESM, moduleResolution: nodenext, strict: true. Local
dev tooling (mise.toml) pins Node 24, but that's a dev-environment choice,
not the supported floor.
Architecture
Data flows: config → discover source → collect/render files → emit per target
→ artifact (in-memory file map) → write / prune / validate / diff. The
Artifact (a Map<path, contents> plus managedPaths) is the seam — dry-run,
diff, prune, and validate all derive from it.
src/cli.ts— commander CLI:init,build,validate,diff,prune,clean,docs.src/schema.ts— zod schemas are the source of truth for config types; the public types are derived withz.infer. Edit schemas here, nottypes.ts.src/types.ts— non-config types; re-exports the config types fromschema.ts.src/components.ts—componentDirs+staticFiles(shared by render/config).src/config.ts—loadConfig(jiti loadspluginpack.config.ts) and legacy 0.10 source-plugin discovery during the migration window.src/source.ts— reads canonical directshared/<plugin>sources, applies target overrides, packagesmcp/, and retains the legacy filesystem source provider.src/render.ts— legacycollectPluginFiles/resolveMcpServerscomposition.src/partials.ts—loadPartials/resolvePartials: project-level{{> name}}text-reuse, wired intocollectPluginFilesandwithRootFiles. Substitution is realmustacherendering (view is always{}— no config/env data is ever exposed; this is not a general templating hook), but only ever sees partial tags: every other{{is swapped for a sentinel first and restored after, so text that merely looks like a template survives byte-for-byte. An unresolvable tag is a build error, not an empty string. Also holds two checksmustachedoesn't provide — circular partial reference detection at load time, andfindUnsubstitutedPartialTags, the guard for tags in file types substitution skips (called frombuild()and, reading from disk, fromvalidate).src/targets/registry.ts—targets: Record<TargetName, PluginTargetDefinition>, one file per target (src/targets/<name>.ts). Everything that varies by target — default components, manifest/marketplace builders, output paths, validation, install snippet — lives on that target's ownPluginTargetDefinition(src/targets/types.ts).src/targets/engine.ts—emitFromDefinition/validateFromDefinition: the one emit/validate engine every target runs through, driven by itsPluginTargetDefinition. AlsowithRootFiles(injects per-target repo-root files into the artifact).src/targets/validation-shared.ts— validators shared across targets whose shape actually matches (bare-string marketplacesource, hooks.json shape, frontmatter conventions); a target with a genuinely different shape (e.g. Codex's structuredsource) writes its own instead of forcing a fit.src/adapters.ts—emitTarget/validateOutput/targetNames, thin wrappers around the registry + engine.src/build.ts—build(): emit all targets →assertNoCrossTargetCollisions→ write/prune/manifest. Holds the delete guard.src/managed.ts— the managed-file manifest (.pluginpack/<target>.json),prune/clean, the delete guard, and path-safety checks.src/diff.ts—diffTarget: build to a temp dir and compare against an existing target repo (the CI staleness gate).
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.
- 7d ago First seen · 116 lines · 1,676 tokens per session scan A ba60a53cd996
pluginpack CLAUDE.md is an instructions file published in the GitHub repository gleanwork/pluginpack (6 stars, last pushed 6d ago), licensed MIT. It adds 1,676 tokens to every session, about $0.0084 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.
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.
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).
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.
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.
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).
spec-kit AGENTS.md
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.