Create production-grade skills for Claude Code, Grok, Cursor, and other AI coding agents — in seconds.
One command. Proper structure. Real patterns from people who ship lots of these.
npx @edwardjgriggs/skill-forge create my-new-detection --template detection- Copy this folder outside the ai-workspace.
rm -rf node_modules dist tmp-* out- Edit
package.json(repository, name if desired). npm install && npm run build && npm testgit init && git add . && git commit -m "init"- Push to GitHub.
npm publish --access public(required first time for scoped packages like @edwardjgriggs/skill-forge)
Users will then be able to npx @edwardjgriggs/skill-forge (or install globally) and also npx skills add https://github.com/you/my-awesome-skill for skills you generate with it.
The built-in interactive creators are fine for a quick start.
Real, shareable, high-leverage skills (see engineering-skills collections, playwright-pro, detection-engineering, OpenMontage, compliance tools, etc.) have a consistent rich shape:
- Crystal-clear
descriptionfrontmatter that makes auto-triggering reliable - Operating rules + explicit workflow
references/for deep reusable knowledge- Scripts + examples + tests/golden outputs
- Safety notes and audience-aware output guidance
skill-forge bakes those patterns in so your skills look and behave like the ones people actually depend on.
# Create a new skill
npx @edwardjgriggs/skill-forge create tenant-audit --template ops
cd tenant-audit
# Validate it
npx @edwardjgriggs/skill-forge validate .
# Install (Grok example)
cp -r . ~/.grok/skills/tenant-auditInside your agent:
/tenant-audit help me audit our Entra sign-in risk policy
base— clean general purposeops— M365, PowerShell, tenant automation, runbookseng— code review, architecture, implementation, QAdetection— KQL / Sigma / ATT&CK mapping, validation plans
More templates coming (creative pipelines, agent workflow meta, compliance, etc.).
my-skill/
├── SKILL.md # Frontmatter + precise instructions
├── README.md # How to install + use the skill
├── references/
│ └── patterns.md # Your deep knowledge
└── scripts/
└── example.py # Helper automation (expand freely)
npm install -g @edwardjgriggs/skill-forgeWorks great under PowerShell and Windows Terminal. Paths are handled with node:path.
Recommended install for daily use:
npm install -g @edwardjgriggs/skill-forgeOr just keep using npx — zero friction.
- Description frontmatter is sacred (this is what makes the skill appear automatically).
- Favor copy-paste examples over vague prose.
- Make the safe path the easy path.
- Generated skills should be immediately useful and easy to improve.
PRs that add high-quality templates (with real references and example scripts) are extremely welcome.
See the skills in this author's workspace for inspiration:
.agents/skills/detection-engineering.agents/skills/m365-tenant-ops.claude/skills/engineering-skills/*- OpenMontage skills collection
- AIS-OS skills
See the "Extract this to its own GitHub repo & publish" section above.
MIT
Built by someone who has written and maintained dozens of these skills. If it feels like it was extracted from real usage instead of generated in a vacuum — that's because it was.