Claude Code Plugin Reference (night-market edition)
A developer reference for how Claude Code plugin manifests, skills, commands, agents, and hooks actually behave.
Dev & CodingAdvanced★ 356⑂ 43AI score 8/10Last updated: Nov 24, 2026
What it does
A domain knowledge pack that collects every contract you need when authoring or debugging Claude Code plugins.
- Field-by-field contracts for
plugin.json,metadata.json, andopenpackage.yml SKILL.mdfrontmatter rules: 160-char description cap,roletaxonomy, hub-and-spoke progressive loading- When to write a command vs a skill, and how
$ARGUMENTSis substituted - Which agent frontmatter fields are actually read vs silently ignored (the
allowed-toolstrap) - Hook registration rules (keep
plugin.jsonhooksempty, usehooks/hooks.json), marketplace registry, version lockstep, and release tooling likeclaude plugin validate - A "when NOT to use" routing table plus shell commands to re-verify every volatile claim
Who it's for
- Developers authoring or maintaining Claude Code plugins and skills
- Anyone debugging a hook that never fires or a dangling
Skill(plugin:name)reference - Contributors to the claude-night-market repo (the conventions are tuned to it)
Examples
- A new skill won't load — walk the checklist: is it in the
plugin.jsonskillsarray, is the description under 160 chars, does it have an## Exit Criteriasection? - Writing a new hook — follow the stdin-JSON payload contract, exit-code semantics, and the rule that internal timeouts must be strictly below the registered
timeout. - An agent is running with every tool enabled — the agents section pinpoints
allowed-tools(a skill field) being used instead oftools.
· · · Install guide · · ·
Try it now, no install
Paste this into Claude to use the skill without installing anything.
Read the instructions in this file and follow them to help me: https://raw.githubusercontent.com/athola/claude-night-market/HEAD/.claude/skills/claude-code-plugin-reference/SKILL.md What I want: (describe your task here)
If Claude can't open the link, open it yourself and paste the contents instead.
↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.
Install in the Claude app (no terminal)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
Install in Claude Code
Let Claude do it — paste this into Claude Code
Install the skill I found on AI Skill Mart. Copy the .claude/skills/claude-code-plugin-reference folder from the GitHub repo athola/claude-night-market into my ~/.claude/skills/claude-code-plugin-reference/. When it's done, tell me in one line what this skill can do.
Install with a command instead
git clone https://github.com/athola/claude-night-market.git && mkdir -p ~/.claude/skills && cp -r claude-night-market/.claude/skills/claude-code-plugin-reference ~/.claude/skills/⚠ This is a third-party skill. Check the source repository before installing.
- Open a terminal and move to your working directory.
- Clone the repo:
git clone https://github.com/athola/claude-night-market.git - Create the skills folder if needed:
mkdir -p ~/.claude/skills - Copy the skill in:
cp -r claude-night-market/.claude/skills/claude-code-plugin-reference ~/.claude/skills/ - Restart Claude Code and ask something like "explain the plugin manifest contract" to trigger it.
- Confirm the referenced spoke files (e.g.
modules/hooks.md) came along; if not, keep the cloned repo around for lookups.
View source on GitHub ↗License: MIT