A skill is a folder of instructions your coding agent loads on demand. It tells the agent how to do one thing well — convert a mockup, audit a schema, ship a release — including which scripts to run and which pitfalls to avoid.
Skills are plain files. No runtime, no lock-in: a skill is Markdown plus whatever helper scripts it needs.
Install a skill
npx niaskills add nia/html-to-figma
The CLI works out which agent the project uses and drops the skill in the right
place — .claude/skills/ for Claude Code, the shared .agents/skills/ for
Cursor, Codex, Antigravity and most others. Add -g to install into your home
directory so every project gets it.
Restart your agent afterwards so it picks up the new skill, then just describe what you want — the agent matches your request against each skill's description and loads the one that fits.
Where skills go
| Agent | --agent |
Project | Global |
|---|---|---|---|
| Claude Code | claude-code |
.claude/skills/ |
~/.claude/skills/ |
| Cursor | cursor |
.agents/skills/ |
~/.cursor/skills/ |
| Codex | codex |
.agents/skills/ |
~/.codex/skills/ |
| Antigravity | antigravity |
.agents/skills/ |
~/.gemini/antigravity/skills/ |
| GitHub Copilot | github-copilot |
.agents/skills/ |
~/.copilot/skills/ |
| Gemini CLI | gemini-cli |
.agents/skills/ |
~/.gemini/skills/ |
| Windsurf | windsurf |
.windsurf/skills/ |
~/.codeium/windsurf/skills/ |
| Cline | cline |
.agents/skills/ |
~/.agents/skills/ |
| Amp | amp |
.agents/skills/ |
~/.config/agents/skills/ |
| OpenCode | opencode |
.agents/skills/ |
~/.config/opencode/skills/ |
| Zed | zed |
.agents/skills/ |
~/.agents/skills/ |
| Kiro | kiro |
.kiro/skills/ |
~/.kiro/skills/ |
| Trae | trae |
.trae/skills/ |
~/.trae/skills/ |
.agents/skills/ is the cross-agent convention, so one install there covers
Cursor, Codex, Antigravity, Copilot, Gemini CLI, Cline, Amp, OpenCode and Zed at
once. Claude Code, Windsurf, Kiro and Trae read their own directory instead.
The CLI detects which agent a project uses and picks the right directory. Pass
--agent to override it.
Without the CLI
Every skill is a folder in a public git repo, so copying works fine:
git clone --depth 1 https://github.com/naslabs-ai/niaskills
cp -R niaskills/html-to-figma ~/.claude/skills/
Next
- CLI reference — every command and flag.
- Public API — query the registry from your own tools.