Agent skill
plugin-packager
Package claudefiles components into a valid Claude Code plugin
Install this agent skill to your Project
npx add-skill https://github.com/JamesPrial/claudefiles/tree/main/skills/plugin-packager
SKILL.md
Plugin Packager
Quick Package (Default)
Create .claude-plugin/plugin.json:
{
"name": "claudefiles",
"version": "1.0.0",
"description": "Claude Code components: agents, commands, hooks, skills",
"license": "MIT",
"commands": ["./commands/golang/", "./commands/typescript/", "./commands/docs/"],
"agents": ["./agents/golang/", "./agents/typescript/", "./agents/python/", "./agents/docs/", "./agents/general/"],
"skills": "./skills/",
"hooks": ["./hooks/golang/hooks.json", "./hooks/security/hooks.json"]
}
Validate
chmod +x hooks/golang/scripts/*.sh hooks/security/scripts/*.py
claude plugin install . --scope local
Checklist
-
.claude-plugin/directory exists - plugin.json has
name+version - Scripts have +x permission
- All paths start with
./
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
plugin-packager-validation
Plugin validation errors and fixes
plugin-packager-subset
Package language-specific subsets of claudefiles
plugin-packager-hooks
Handle hook scripts and paths for plugin packaging
go-concurrency
Go concurrency patterns. Routes to specific patterns.
go-sync-primitives
sync.WaitGroup and sync.Mutex patterns
go-context-cancellation
Context cancellation patterns for graceful shutdown
Didn't find tool you were looking for?