AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
← Back to list

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, and openpackage.yml
  • SKILL.md frontmatter rules: 160-char description cap, role taxonomy, hub-and-spoke progressive loading
  • When to write a command vs a skill, and how $ARGUMENTS is substituted
  • Which agent frontmatter fields are actually read vs silently ignored (the allowed-tools trap)
  • Hook registration rules (keep plugin.json hooks empty, use hooks/hooks.json), marketplace registry, version lockstep, and release tooling like claude 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

  1. A new skill won't load — walk the checklist: is it in the plugin.json skills array, is the description under 160 chars, does it have an ## Exit Criteria section?
  2. 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.
  3. An agent is running with every tool enabled — the agents section pinpoints allowed-tools (a skill field) being used instead of tools.

· · · 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)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download 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.

  1. Open a terminal and move to your working directory.
  2. Clone the repo: git clone https://github.com/athola/claude-night-market.git
  3. Create the skills folder if needed: mkdir -p ~/.claude/skills
  4. Copy the skill in: cp -r claude-night-market/.claude/skills/claude-code-plugin-reference ~/.claude/skills/
  5. Restart Claude Code and ask something like "explain the plugin manifest contract" to trigger it.
  6. Confirm the referenced spoke files (e.g. modules/hooks.md) came along; if not, keep the cloned repo around for lookups.