/hormozi-skills:create-pluginfrom hormozi-skills
Scaffolds a GitHub repo that works as a plugin for both Claude Code and Codex, generating plugin.json, marketplace.json, and directory structure.
Ships in hormozi-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scaffold a GitHub repo that works as a plugin for both Claude Code and Codex simultaneously. Outputs ready-to-copy file contents and git commands for every required file.
Ask the user these questions (all at once):
my-skills)alexsmedile)skills/)agents/)hooks/hooks.json).mcp.json)MITDo not proceed until you have at least: repo name, GitHub username, description, and author name.
Show the full directory tree based on their selections, then output every file's content ready to copy.
.claude-plugin/plugin.json{
"name": "{{repo-name}}",
"version": "1.0.0",
"description": "{{description}}",
"author": {
"name": "{{author}}"
},
"homepage": "https://github.com/{{username}}/{{repo-name}}",
"repository": "https://github.com/{{username}}/{{repo-name}}",
"license": "{{license}}",
"keywords": []
}
Skills and agents in
skills/andagents/are auto-discovered — no paths needed inplugin.json.
.claude-plugin/marketplace.json{
"name": "{{repo-name}}",
"owner": {
"name": "{{author}}"
},
"metadata": {
"description": "{{description}}",
"version": "1.0.0"
},
"plugins": [
{
"name": "{{repo-name}}",
"source": "./",
"description": "{{description}}",
"version": "1.0.0",
"author": {
"name": "{{author}}"
},
"homepage": "https://github.com/{{username}}/{{repo-name}}",
"repository": "https://github.com/{{username}}/{{repo-name}}",
"license": "{{license}}",
"category": "productivity"
}
]
}
.codex-plugin/plugin.json{
"name": "{{repo-name}}",
"version": "1.0.0",
"description": "{{description}}",
"author": {
"name": "{{author}}"
},
"homepage": "https://github.com/{{username}}/{{repo-name}}",
"repository": "https://github.com/{{username}}/{{repo-name}}",
"license": "{{license}}",
"skills": "./skills/"
}
.codex-plugin/marketplace.json{
"name": "{{repo-name}}",
"interface": {
"displayName": "{{repo-name}}"
},
"plugins": [
{
"name": "{{repo-name}}",
"source": {
"source": "local",
"path": "./"
},
"category": "Productivity"
}
]
}
.gitignore.DS_Store
**/.DS_Store
output/*
!output/.gitkeep
output/.gitkeepEmpty file — keeps the output/ folder tracked by git.
skills/example-skill/SKILL.md---
name: example-skill
description: Replace this description with specific trigger phrases. Use when the user asks to "..."
---
# Skill: Example
Describe what this skill does and how to use it.
Rename
example-skill/to your actual skill name. Skill is invoked as/{{repo-name}}:example-skill.
agents/example-agent.md---
name: example-agent
description: Replace with what this agent does and when to invoke it.
tools: Read, Write, Bash
model: sonnet
---
# Agent: Example
Describe the agent's role, expertise, and behavior here.
Rename to your actual agent name.
hooks/hooks.json{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "echo 'File changed'"
}
]
}
]
}
}
.mcp.json{
"mcpServers": {
"example-server": {
"command": "${CLAUDE_PLUGIN_ROOT}/bin/server",
"args": []
}
}
}
State these clearly before the user creates any files:
| Rule | Detail |
|---|---|
skills/ and agents/ at repo root | Never inside .claude-plugin/ or .codex-plugin/ |
| Plugin name = skill namespace | Plugin foo → skills run as /foo:skill-name |
plugin.json is auto-discovery | No need to list skills or agents paths unless using custom locations |
Do NOT add skills/agents to marketplace.json | Causes schema validation error with default strict: true |
source: "./" in marketplace.json | Points at repo root — correct for single-plugin repos |
Output these exactly, substituting the user's values:
# Create repo (if not exists)
gh repo create {{username}}/{{repo-name}} --public
# Init and push
git init
git add .
git commit -m "feat: initial plugin scaffold"
git remote add origin https://github.com/{{username}}/{{repo-name}}.git
git push -u origin main
Install in Claude Code:
/plugin marketplace add {{username}}/{{repo-name}}
/plugin install {{repo-name}}@{{repo-name}}
Reload after changes:
/reload-plugins
Test locally without installing:
claude --plugin-dir ./
Skills are namespaced: /{{repo-name}}:skill-name
Agents appear in /agents
To update: push to GitHub, then /plugin marketplace update {{repo-name}}
Bump version in plugin.json and marketplace.json with each release — Claude Code uses version to detect updates.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
18 skills in this plugin
/audit-offerAudit an offer to find weak points and get specific fixes. Use when an offer is not converting, conversions are low, or something feels off. Analyzes dream outcome, perceived likelihood, time delay, effort, market fit, value stack, pricing, messaging, and objections using the Hormozi Value Equation framework./bonus-stackDesign a bonus stack that kills objections and increases perceived value. Use when the offer feels weak, price resistance is high, or conversions are low. Maps objections to bonus solutions, assigns delivery formats and perceived values, and outputs a structured bonus stack./business-modelDesign the right business model for monetizing skills and expertise. Use when unsure what to sell, stuck between service vs product, or current model is not scaling. Evaluates DFY/DWY/DIY, subscription, high-ticket, and hybrid models against user goals and constraints./dfy-dwy-diyChoose the best delivery mechanism for an offer — Done For You, Done With You, or Do It Yourself. Use when the offer exists but feels weak, delivery format is unclear, or scaling vs customization is a tradeoff. Scores each model on speed, ease, perceived value, and scalability./effort-reductionReduce friction and effort in an offer to increase its perceived value. Use when users feel overwhelmed, drop-off is high, or the offer feels too complex. Maps friction points, removes unnecessary steps, adds templates, and suggests automation and done-for-you elements./hormozi-hooksGenerate scroll-stopping hooks in Hormozi style for posts, ads, and emails. Use when content is not getting attention, hooks feel generic, or you need buyer-attracting hooks. Produces multiple variations across outcome, time, effort, callout, contrarian, pain, mechanism, and transformation hook types.npx claudepluginhub alexsmedile/hormozi-skills --plugin hormozi-skillsOther plugins' skills for the same job