plugin-authoring

plugin-authoring is a skill for Claude Code from laurigates/claude-plugins. It costs 59 tokens per session (2,312 once invoked), scanned A, original, MIT.

A guide for creating, changing, or removing coding-agent skills and plugins in this repository. It covers the required metadata files, repository rules, and publishing steps.

In plain words
What is it for?
Use it to create a skill or plugin, update its files, remove it cleanly, or check which repository files must change.
Why use it?
It prevents incomplete plugin changes, missing metadata, and stale marketplace entries when maintaining add-ons.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Read, Edit, Write, Grep, Glob, Bash(mkdir *), Bash(jq *), Bash(git log *), Bash(bash scripts/check-docs-index.sh *), Bash(bash scripts/plugin-compliance-check.s.

Good fit Use it to create a skill or plugin, update its files, remove it cleanly, or check which repository files must change.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/laurigates/claude-plugins
agentmods
npx agentmods add skills/laurigates/claude-plugins/plugin-authoring

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/laurigates/claude-plugins/plugin-authoring"><img src="https://agentmods.dev/badge/skills/laurigates/claude-plugins/plugin-authoring.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,312 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 151
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Rogue Agent · line 100
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00059 $0.02312
Opus 5.5 $0.00024 $0.00925
Sonnet 5.5 $0.00012 $0.00462
Haiku 4.5 $0.00006 $0.00231

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

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.claude/skills/plugin-authoring/SKILL.md · 209 lines

How it starts

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

/plugin-authoring

The authoring procedures for this marketplace: how to create a skill, how to create a plugin, what to update when either changes, and how to delete one without leaving dangling metadata.

Promoted out of CLAUDE.md (issue #2140) because all four are procedures with a clear trigger — they do not need to be resident when the user is debugging a hook. CLAUDE.md keeps only the repo blurb, the rules index, and the gotchas.

Detailed patterns live in the rules this skill names; it is the sequence, not a second copy of them.

Creating New Skills

See .claude/rules/skill-development.md for detailed patterns.

Note (Claude Code 2.1.157): plugins placed in .claude/skills are now auto-loaded without a marketplace entry — handy for local or quick one-off plugins. This repo's published plugins still use the full marketplace + release-please lifecycle described in Plugin Lifecycle below.

Quick Start

  1. Create skill directory: mkdir -p <plugin>/skills/<skill-name>
  2. Create skill.md with YAML frontmatter:
    ---
    name: <Skill Name>
    description: <1-2 sentence description>
    allowed-tools: Bash, Read, Grep, Glob, TodoWrite
    created: YYYY-MM-DD
    modified: YYYY-MM-DD
    reviewed: YYYY-MM-DD
    ---
    
  3. Follow content structure: Core Expertise → Commands → Patterns → Quick Reference
  4. Include agentic optimizations table
  5. Update all metadata files (see Plugin Lifecycle section)

Skill Granularity Decision

Choose... When...
Single skill Operations are related and share context
Multiple skills Distinct workflows, different user intents

Example: bun-package-manager (deps) vs bun-development (run/test/build)

Creating User-Invocable Skills

Skills are invocable via /plugin:skill-name syntax. See .claude/rules/skill-naming.md for naming conventions.

  1. Create skill directory: mkdir -p <plugin>/skills/<skill-name>
  2. Create SKILL.md with YAML frontmatter:
    ---
    name: <skill-name>
    description: What it does. Use when...
    args: <arg-spec>
    allowed-tools: Bash, Read
    argument-hint: human hint
    created: YYYY-MM-DD
    modified: YYYY-MM-DD
    reviewed: YYYY-MM-DD
    ---
    
  3. Include: Context → Execution → Post-actions

Read the full file on GitHub · 209 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 Changed · +1 lines 5aecfea072ef
  2. 1mo ago Changed · +4 lines 177ef2aef214
  3. 2mo ago Changed · +18 lines 61153bf8f4b0
  4. 3mo ago First seen · 186 lines · 59 tokens per session scan A 5e2800c91861

Subscribe to this mod's changes

plugin-authoring is a skill published in the GitHub repository laurigates/claude-plugins (60 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 2,312 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-08-30.

Related

plugin-authoring compared with skills from other repositories

plugin-authoring next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plugin-authoringlaurigates/claude-pluginsSkill60todayMITA59Claude Code
dev-environment-bootstrappingshopwareLabs/ai-coding-toolsSkill48yesterdayMITA144Claude Code
phpunit-integration-to-unit-migratingshopwareLabs/ai-coding-toolsSkill48yesterdayMITA152Claude Code
generate-tree-structurejimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA30Claude Code
verify-with-inline-testsjimmc414/claude-code-plugin-marketplaceSkill4yesterdayMITA27Claude Code
performancekrzysztofsurdy/code-virtuosoSkill261mo agoMITA35Claude Code
divide-worktomoking2004/claude-pluginsSkill3yesterdayMITA219Claude Code