plugin-creator

plugin-creator is a skill for Claude Code, Codex from HarKro753/claude-copy. It costs 204 tokens per session (2,775 once invoked), scanned A, original, MIT.

A guide for packaging Claude Code skills, agents, hooks, and other tools into installable plugins.

In plain words
What is it for?
Building, validating, distributing, and publishing Claude Code plugins, including their manifest and optional marketplace listing.
Why use it?
It helps ensure the plugin has the expected folder structure and manifest so it can be validated, loaded, and shared.

Skill for Claude CodeCodex

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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 skills/harkro753/claude-copy/plugin-creator
Any agent
npx skills add HarKro753/claude-copy --skill plugin-creator
Clone the repo
git clone --depth 1 https://github.com/HarKro753/claude-copy

Made for: Claude Code, Codex.

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 plugin-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/harkro753/claude-copy/plugin-creator.svg)](https://agentmods.dev/skills/harkro753/claude-copy/plugin-creator)
Your own site
<a href="https://agentmods.dev/skills/harkro753/claude-copy/plugin-creator"><img src="https://agentmods.dev/badge/skills/harkro753/claude-copy/plugin-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 204 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,775 The whole file, excluding the scripts and references it only reads on demand.
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.00204 $0.02775
Opus 5 $0.00102 $0.01388
Sonnet 5 $0.00041 $0.00555
Haiku 4.5 $0.00020 $0.00278

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

Security

Grade A, and why

plugin-creator 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/preflight.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/skills/plugin-creator/SKILL.md · 231 lines

How it starts

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

plugin-creator — build and ship a Claude Code plugin

In: skills/agents/hooks you already have, or an idea for some. Out: a directory that claude plugin validate passes, that loads under claude --plugin-dir, and that a stranger can install.

A plugin is just a directory with a known shape. Almost everything that goes wrong is the shape being slightly off, and the CLI will tell you — so the whole job is: build the shape, run the validator, load it for real, fix what it says.

First decide: does this need to be a plugin at all?

Standalone .claude/ Plugin
Invocation /hello /my-plugin:hello
For one project, personal, experiments sharing, versioning, reuse across projects

If the user is customizing one repo for themselves, .claude/skills/<name>/SKILL.md is the whole answer and a plugin is packaging they will never use — say so and stop. Convert to a plugin when someone else has to install it.

Reach for skill-creator instead when the work is authoring one skill's content (what it says, how it triggers, evaluating it). This skill is about the container. They compose: write the skills with skill-creator, ship them with this.

The loop

Everything here is verifiable, so never hand-reason about whether a layout is right — run the command.

claude plugin init <name> --with skills agents hooks   # scaffold (optional)
python3 scripts/preflight.py ./<path>                  # layout + sources
claude plugin validate ./<path> --strict               # manifest JSON
claude --plugin-dir ./<path>                           # load it for real
  1. Scaffold or lay out the directories. claude plugin init <name> writes a working skeleton to ~/.claude/skills/<name>/ — which auto-loads next session as <name>@skills-dir with no install step, so it is the fastest way to iterate. --with skills agents hooks mcp lsp output-style channel adds examples of each. For a plugin that lives in a repo instead, create the directories yourself (layout below) — init always targets the skills dir.
  2. Write the manifest, if you need one. It is optional: with no manifest, components are auto-discovered from default locations and the name comes from the directory. Add one when you want metadata (version, author, license) or non-default component paths.
  3. claude plugin validate. Wrong-typed fields are errors; unrecognized fields are warnings that still load. Use --strict before publishing so a typo'd key (skill for skills) fails instead of silently doing nothing.
  4. Load it: claude --plugin-dir ./<path>. Confirm skills appear under /help, agents under /context, and that hooks actually fire.

Read the full file on GitHub · 231 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 231 lines · 204 tokens per session scan A c01d13874788

Subscribe to this mod's changes

plugin-creator is a skill published in the GitHub repository HarKro753/claude-copy (17 stars, last pushed 1mo ago), licensed MIT. It adds 204 tokens to every session and 2,775 once invoked, about $0.0010 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.