craft-hub-plugin-creator

craft-hub-plugin-creator is a skill for Claude Code, Codex from YunYouJun/craft-hub. It costs 45 tokens per session (497 once invoked), scanned A, original, MIT.

A command-line workflow for creating and checking declarative Craft Hub Marketplace plugins. It also supports local linking and packaging, using the plugin manifest rules defined by Craft Hub.

In plain words
What is it for?
Use it to scaffold a plugin, write or update its manifest, validate a plugin directory, test it through a local link, or package it for distribution.
Why use it?
It removes the need to remember Craft Hub's required fields, validation steps, and safety checks when building a marketplace plugin.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Good fit Use it to scaffold a plugin, write or update its manifest, validate a plugin directory, test it through a local link, or package it for distribution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yunyoujun/craft-hub/craft-hub-plugin-creator
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.

Any agent
npx skills add YunYouJun/craft-hub --skill craft-hub-plugin-creator
Clone the repo
git clone --depth 1 https://github.com/YunYouJun/craft-hub

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yunyoujun/craft-hub/craft-hub-plugin-creator/github.svg)](https://agentmods.dev/skills/yunyoujun/craft-hub/craft-hub-plugin-creator)
Your own site
<a href="https://agentmods.dev/skills/yunyoujun/craft-hub/craft-hub-plugin-creator"><img src="https://agentmods.dev/badge/skills/yunyoujun/craft-hub/craft-hub-plugin-creator/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 craft-hub-plugin-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/yunyoujun/craft-hub/craft-hub-plugin-creator"><img src="https://agentmods.dev/badge/skills/yunyoujun/craft-hub/craft-hub-plugin-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 497 The whole file, excluding the scripts and references it only reads on demand.
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.00045 $0.00497
Opus 5.5 $0.00018 $0.00199
Sonnet 5.5 $0.00009 $0.00099
Haiku 4.5 $0.00005 $0.00050

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

Security

Grade A, and why

craft-hub-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 1mo 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.

.agents/skills/craft-hub-plugin-creator/SKILL.md · 22 lines

How it starts

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

Craft Hub Marketplace Plugin creator

Use Craft Hub's CLI as the implementation and the repository runtime Schema as the contract. Read docs/guide/plugin-authoring.md before creating a plugin. Read docs/guide/plugin-marketplace.md when the request uses advanced contribution, permission, dependency, or Catalog fields.

Route the request

  • Create: obtain an explicit scoped package name, display name, and license. Never infer identity, Publisher, or licensing from Git or npm state. Select any requested commands, skills, and projectTemplates, then call craft-hub plugin:init with --non-interactive and the corresponding --with-* options. The target must be absent or empty.
  • Validate or diagnose: call craft-hub plugin:validate <path>. Report every failing invariant. Modify the package only when the user asked to create, fix, or update it; validation requests remain read-only.
  • Test locally: validate first and resolve the plugin directory to an absolute path. Show that path and obtain explicit confirmation immediately before craft-hub plugin:link. State the matching plugin:unlink <package> recovery command. Refresh an existing confirmed link with plugin:refresh after edits.
  • Pack: require an explicit Publisher, then call craft-hub plugin:pack <path> --publisher <id>. Review the emitted tarball path, SHA-512 integrity, and Catalog Entry draft. Leave npm publication, Catalog modification, and Catalog signing to a separately authorized workflow.

Inside this repository, invoke the source CLI with pnpm --filter craft-hub exec tsx src/cli.ts <command>. For an installed package, invoke craft-hub <command>.

Completion

A created plugin is complete when plugin:validate succeeds and every requested contribution appears in its npm pack file list. A packed plugin is complete when both new artifacts exist in the selected output directory and the Catalog Entry integrity matches the actual tarball. Keep the generated placeholders visible to the user; they require domain-specific authoring before publication.

Read the full file on GitHub · 22 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. 1mo ago First seen · 22 lines · 45 tokens per session scan A da42ff6b0270

Subscribe to this mod's changes

craft-hub-plugin-creator is a skill published in the GitHub repository YunYouJun/craft-hub (1 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 497 once invoked, about $0.0002 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-09-07.