Hook Development for Claude Code Plugins
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
YAML frontmatter schemas for Claude Code agents and commands.
$ npx skills add MadAppGang/claude-code --skill schemas -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MadAppGang/claude-code schemas --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/agentdev/skills/schemas .claude/skills/schemas && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "schemas" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/agentdev/skills/schemas into .claude/skills/schemas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schemas", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MadAppGang/claude-code/tree/main/plugins/agentdev/skills/schemasType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MadAppGang/claude-code --skill schemas -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MadAppGang/claude-code schemas --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .agents/skills && cp -r skills-src/plugins/agentdev/skills/schemas .agents/skills/schemas && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "schemas" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/agentdev/skills/schemas into .agents/skills/schemas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schemas", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MadAppGang/claude-code --skill schemas -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MadAppGang/claude-code schemas --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/plugins/agentdev/skills/schemas .cursor/skills/schemas && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "schemas" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/agentdev/skills/schemas into .cursor/skills/schemas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schemas", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MadAppGang/claude-code.git --path plugins/agentdev/skills/schemas--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MadAppGang/claude-code --skill schemas -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MadAppGang/claude-code schemas --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/plugins/agentdev/skills/schemas .gemini/skills/schemas && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "schemas" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/agentdev/skills/schemas into .gemini/skills/schemas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schemas", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MadAppGang/claude-code schemasInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MadAppGang/claude-code --skill schemas -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .github/skills && cp -r skills-src/plugins/agentdev/skills/schemas .github/skills/schemas && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "schemas" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/agentdev/skills/schemas into .github/skills/schemas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schemas", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MadAppGang/claude-code --skill schemas -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MadAppGang/claude-code schemas --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MadAppGang/claude-code.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/plugins/agentdev/skills/schemas .opencode/skills/schemas && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "schemas" agent skill from https://github.com/MadAppGang/claude-code/tree/main/plugins/agentdev/skills/schemas into .opencode/skills/schemas/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "schemas", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
schemasYAML frontmatter schemas for Claude Code agents and commands.
Schemas is an agent skill from MadAppGang/claude-code. YAML frontmatter schemas for Claude Code agents and commands. Use when creating or validating agent/command files.
Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Bash. The repository describes itself as: claude code plugins marketplace. The licence is MIT.
Read from SKILL.md and the folder at commit 6097ad4. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Schemas loads about 1.1k tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 240 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from MadAppGang/claude-code at commit 6097ad4, republished under its MIT licence (© MadAppGang). 240 words, ~1,055 tokens.
.claude/skills/schemas/SKILL.md (or your agent's skills folder).plugin: agentdev updated: 2026-01-20
---
name: agent-name # Required: lowercase-with-hyphens
description: | # Required: detailed with examples
Use this agent when [scenario]. Examples:
(1) "Task description" - launches agent for X
(2) "Task description" - launches agent for Y
(3) "Task description" - launches agent for Z
model: sonnet # Required: sonnet | opus | haiku
color: purple # Optional: purple | cyan | green | orange | blue | red
tools: TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write # Required: comma-separated, space after comma
skills: skill1, skill2 # Optional: referenced skills
---| Field | Required | Values | Description |
|---|---|---|---|
name | Yes | lowercase-with-hyphens | Agent identifier |
description | Yes | Multi-line string | 3-5 usage examples |
model | Yes | sonnet, opus, haiku | AI model to use |
color | No | See colors below | Terminal color |
tools | Yes | Tool list | Available tools |
skills | No | Skill list | Referenced skills |
| Color | Agent Type | Examples |
|---|---|---|
purple | Planning | architect, api-architect |
green | Implementation | developer, ui-developer |
cyan | Review | reviewer, designer |
orange | Testing | test-architect, tester |
blue | Utility | cleaner, api-analyst |
red | Critical/Security | (rarely used) |
Orchestrators (Commands):
Task, TaskCreate, TaskUpdate, TaskList, TaskGet, Read, BashAskUserQuestion, Glob, GrepWrite, EditPlanners:
TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write (for docs)Glob, Grep, BashImplementers:
TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write, EditBash, Glob, GrepReviewers:
TaskCreate, TaskUpdate, TaskList, TaskGet, ReadGlob, Grep, BashWrite, Edit---
description: | # Required: workflow description
Full description of what this command does.
Workflow: PHASE 1 → PHASE 2 → PHASE 3
allowed-tools: Task, Bash # Required: comma-separated
skills: skill1, skill2 # Optional: referenced skills
---| Field | Required | Values | Description |
|---|---|---|---|
description | Yes | Multi-line | Command purpose and workflow |
allowed-tools | Yes | Tool list | Tools command can use |
skills | No | Skill list | Referenced skills |
--- presentname is lowercase-with-hyphensdescription includes 3+ examplesmodel is valid (sonnet/opus/haiku)tools is comma-separated with spaces--- present--- presentdescription explains workflowallowed-tools includes Task, TaskCreate, TaskUpdate, TaskList, TaskGet for orchestrators--- present# WRONG - missing colon
name agent-name
# CORRECT
name: agent-name# WRONG - no spaces after commas
tools: TaskCreate, TaskUpdate, TaskList, TaskGet,Read,Write
# CORRECT
tools: TaskCreate, TaskUpdate, TaskList, TaskGet, Read, Write# WRONG - too generic
description: Use this agent for development tasks.
# CORRECT
description: |
Use this agent when implementing TypeScript features. Examples:
(1) "Create a user service" - implements service with full CRUD
(2) "Add validation" - adds Zod schemas to endpoints
(3) "Fix type errors" - resolves TypeScript compilation issues© MadAppGang, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in plugins/agentdev/skills/schemas of MadAppGang/claude-code.
Open the folder on GitHubat commit 6097ad4
Schemas next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Schemas this skillMadAppGang/claude-code | 285 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Hook Development for Claude Code Pluginsanthropics/claude-plugins-official | 38k | 10 repos | ~4.1k | Automated safety check: Notes | Apache-2.0 | |
| Plugin Settings Patternanthropics/claude-plugins-official | 38k | 7 repos | ~3k | Automated safety check: Pass | Apache-2.0 | |
| E2Ecallstack/react-native-pager-view | 3.4k | 3 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Mole Bug Patternstw93/Mole | 70k | — | ~2k | Automated safety check: Pass | GPL-3.0 | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT |
anthropics/claude-plugins-official
Explains how to write Claude Code plugin hooks, both prompt-based checks and bash commands, for events such as PreToolUse, Stop and SessionStart.
anthropics/claude-plugins-official
Shows how Claude Code plugins keep per-project settings and state in .claude/plugin-name.local.md files with YAML frontmatter and a markdown body.
callstack/react-native-pager-view
Agentic end-to-end tests with e2e, the e2e runner. An agent skill from callstack/react-native-pager-view.
tw93/Mole
A catalog of recurring bug shapes in the Mole Mac cleaner, used to review safety-sensitive diffs for deletion safety, unbounded commands, shell traps and weak tests.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
automazeio/ccpm
Runs a spec-driven workflow from PRD to epic to GitHub issues to parallel agents, with status, standup and blocked-work reports from bundled scripts.
MadAppGang/claude-code
Content brief template and creation methodology for SEO-optimized content.
MadAppGang/claude-code
A skill your agent uses when detecting project technology stack from files/configs/directory structure, auto-loading framework-specific skills, or analyzing multi-stack fullstack projects (e.g…
MadAppGang/claude-code
On-page SEO optimization techniques including keyword density, meta tags, heading structure, and readability.
MadAppGang/claude-code
Techniques for expanding seed keywords and clustering by topic and intent.
MadAppGang/claude-code
SERP analysis techniques for intent classification, feature identification, and competitive intelligence.
MadAppGang/claude-code
A skill your agent uses when deciding whether to launch an agent, selecting which agent to use, or coordinating multiple agents.
Works with
YAML frontmatter schemas for Claude Code agents and commands. Schemas is an agent skill from MadAppGang/claude-code. YAML frontmatter schemas for Claude Code agents and commands.
Schemas fits situations like: validating agent/command files.
Run `npx skills add MadAppGang/claude-code --skill schemas -a claude-code`. Or copy the skill folder (plugins/agentdev/skills/schemas in MadAppGang/claude-code) into .claude/skills/schemas in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MadAppGang/claude-code --skill schemas -a codex`. Or copy the skill folder (plugins/agentdev/skills/schemas in MadAppGang/claude-code) into .agents/skills/schemas in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MadAppGang/claude-code --skill schemas -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/schemas, .gemini/skills/schemas, .github/skills/schemas and .opencode/skills/schemas in your project.
SKILL.md names no scripts, command-line tools or credentials: Schemas is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Schemas is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.1k tokens (SKILL.md is roughly 4.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Schemas: Hook Development for Claude Code Plugins (anthropics/claude-plugins-official, 38k stars), Plugin Settings Pattern (anthropics/claude-plugins-official, 38k stars), E2E (callstack/react-native-pager-view, 3.4k stars) and Mole Bug Patterns (tw93/Mole, 70k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MadAppGang (a GitHub organization) maintains it in MadAppGang/claude-code, which has 285 GitHub stars. The repository holds 69 skills in this directory. The repository was last updated on March 15, 2026.
Source: MadAppGang/claude-code on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.