agent-skills-cli 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +226 -0
- package/dist/cli/index.d.ts +7 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +1181 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/core/executor.d.ts +22 -0
- package/dist/core/executor.d.ts.map +1 -0
- package/dist/core/executor.js +147 -0
- package/dist/core/executor.js.map +1 -0
- package/dist/core/index.d.ts +12 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +17 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/injector.d.ts +24 -0
- package/dist/core/injector.d.ts.map +1 -0
- package/dist/core/injector.js +99 -0
- package/dist/core/injector.js.map +1 -0
- package/dist/core/loader.d.ts +39 -0
- package/dist/core/loader.d.ts.map +1 -0
- package/dist/core/loader.js +161 -0
- package/dist/core/loader.js.map +1 -0
- package/dist/core/marketplace.d.ts +55 -0
- package/dist/core/marketplace.d.ts.map +1 -0
- package/dist/core/marketplace.js +399 -0
- package/dist/core/marketplace.js.map +1 -0
- package/dist/core/skillsmp.d.ts +38 -0
- package/dist/core/skillsmp.d.ts.map +1 -0
- package/dist/core/skillsmp.js +142 -0
- package/dist/core/skillsmp.js.map +1 -0
- package/dist/core/validator.d.ts +18 -0
- package/dist/core/validator.d.ts.map +1 -0
- package/dist/core/validator.js +177 -0
- package/dist/core/validator.js.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -0
- package/dist/types/index.d.ts +108 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +6 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/marketplace.d.ts +81 -0
- package/dist/types/marketplace.d.ts.map +1 -0
- package/dist/types/marketplace.js +20 -0
- package/dist/types/marketplace.js.map +1 -0
- package/package.json +59 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Karanjot786
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
# Agent Skills CLI ๐
|
|
2
|
+
|
|
3
|
+
> **One CLI. 40,000+ skills. All AI agents.**
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/agent-skills-cli)
|
|
6
|
+
[](LICENSE)
|
|
7
|
+
|
|
8
|
+
Install skills from the world's largest Agent Skills marketplace and sync them to **Cursor**, **Claude Code**, **GitHub Copilot**, **OpenAI Codex**, and **Antigravity** โ all with a single command.
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -g agent-skills-cli
|
|
12
|
+
skills
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
## โจ Features
|
|
18
|
+
|
|
19
|
+
| Feature | Description |
|
|
20
|
+
|---------|-------------|
|
|
21
|
+
| **40,779+ Skills** | Access the largest collection of AI agent skills via [SkillsMP](https://skillsmp.com) |
|
|
22
|
+
| **5 AI Agents** | Works with Cursor, Claude Code, GitHub Copilot, OpenAI Codex, Antigravity |
|
|
23
|
+
| **No API Key** | SkillsMP is completely free and public โ no authentication required |
|
|
24
|
+
| **Interactive CLI** | Arrow-key navigation, checkbox selection, progress spinners |
|
|
25
|
+
| **Instant Loading** | Skills fetched via API in <1 second (no individual file fetching) |
|
|
26
|
+
| **Auto-Export** | Install once, skills are automatically formatted for each agent |
|
|
27
|
+
| **Star Sorting** | Browse skills by GitHub stars (PyTorch 95kโญ, OpenAI 54kโญ, etc.) |
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
31
|
+
## ๐ฆ Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm install -g agent-skills-cli
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
**Requirements:** Node.js 18+
|
|
38
|
+
|
|
39
|
+
---
|
|
40
|
+
|
|
41
|
+
## ๐ Quick Start
|
|
42
|
+
|
|
43
|
+
Run the interactive wizard:
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
skills
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**What happens:**
|
|
50
|
+
1. Select which AI agents you use (Cursor, Claude, Copilot, etc.)
|
|
51
|
+
2. Browse 40,000+ skills sorted by GitHub stars
|
|
52
|
+
3. Select skills with Space, confirm with Enter
|
|
53
|
+
4. Skills are installed and exported to your agents automatically
|
|
54
|
+
|
|
55
|
+
---
|
|
56
|
+
|
|
57
|
+
## ๐ ๏ธ Commands
|
|
58
|
+
|
|
59
|
+
### Interactive Mode
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
skills # Main interactive wizard
|
|
63
|
+
skills install # Direct to skill selection
|
|
64
|
+
skills export # Export all installed skills to agents
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Skill Management
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
skills list # List installed skills
|
|
71
|
+
skills show <name> # Show skill details
|
|
72
|
+
skills validate <path> # Validate a SKILL.md file
|
|
73
|
+
skills init <name> # Create a new skill from template
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Marketplace (Legacy GitHub)
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
skills market-list # List skills from configured sources
|
|
80
|
+
skills market-search <query> # Search skills
|
|
81
|
+
skills market-install <name> # Install by name
|
|
82
|
+
skills market-uninstall <name> # Uninstall a skill
|
|
83
|
+
skills market-installed # Show installed skills
|
|
84
|
+
skills market-sources # List marketplace sources
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Agent Export
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
skills export --target all # Export to all agents
|
|
91
|
+
skills export --target cursor # Export to Cursor only
|
|
92
|
+
skills export --target claude # Export to Claude Code only
|
|
93
|
+
skills export --target copilot # Export to GitHub Copilot only
|
|
94
|
+
skills export --target codex # Export to OpenAI Codex only
|
|
95
|
+
skills sync # Sync to Antigravity workflows
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## ๐ค Supported AI Agents
|
|
101
|
+
|
|
102
|
+
| Agent | Skill Location | Format |
|
|
103
|
+
|-------|----------------|--------|
|
|
104
|
+
| **Cursor** | `.cursor/skills/<name>/SKILL.md` | Agent Skills Standard |
|
|
105
|
+
| **Claude Code** | `.claude/skills/<name>/SKILL.md` | Agent Skills Standard |
|
|
106
|
+
| **GitHub Copilot** | `.github/skills/<name>/SKILL.md` | Agent Skills Standard |
|
|
107
|
+
| **OpenAI Codex** | `.codex/skills/<name>/SKILL.md` | Agent Skills Standard |
|
|
108
|
+
| **Antigravity** | `.agent/workflows/<name>.md` | Workflow Format |
|
|
109
|
+
|
|
110
|
+
> **Note:** All major AI coding agents now support the same `SKILL.md` standard, making skills truly portable!
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## ๐ SkillsMP Integration
|
|
115
|
+
|
|
116
|
+
This CLI is powered by [SkillsMP](https://skillsmp.com), the largest Agent Skills marketplace:
|
|
117
|
+
|
|
118
|
+
- **40,779 skills** indexed from GitHub
|
|
119
|
+
- **Public API** โ no authentication needed
|
|
120
|
+
- **Real-time updates** โ skills indexed daily
|
|
121
|
+
- **Star-based ranking** โ best skills surface first
|
|
122
|
+
|
|
123
|
+
### Top Skills by Stars
|
|
124
|
+
|
|
125
|
+
| Skill | Author | Stars |
|
|
126
|
+
|-------|--------|-------|
|
|
127
|
+
| at-dispatch-v2 | PyTorch | 95,362 โญ |
|
|
128
|
+
| skill-creator | OpenAI | 54,704 โญ |
|
|
129
|
+
| frontend-design | Anthropic | 47,860 โญ |
|
|
130
|
+
| typescript-review | Metabase | 44,733 โญ |
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## ๐ Creating Your Own Skills
|
|
135
|
+
|
|
136
|
+
Create a `SKILL.md` file in your project:
|
|
137
|
+
|
|
138
|
+
```markdown
|
|
139
|
+
---
|
|
140
|
+
name: my-custom-skill
|
|
141
|
+
description: What this skill does and when to trigger it
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
# Instructions
|
|
145
|
+
|
|
146
|
+
Detailed instructions for the AI agent...
|
|
147
|
+
|
|
148
|
+
## Examples
|
|
149
|
+
|
|
150
|
+
Show examples of how to use this skill...
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
Then export to your agents:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
skills export
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
### Skill Structure
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
my-skill/
|
|
163
|
+
โโโ SKILL.md # Main skill file (required)
|
|
164
|
+
โโโ references/ # Reference documentation (optional)
|
|
165
|
+
โ โโโ guide.md
|
|
166
|
+
โโโ assets/ # Templates, images (optional)
|
|
167
|
+
โโโ template.txt
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## โ๏ธ Configuration
|
|
173
|
+
|
|
174
|
+
Skills are stored in:
|
|
175
|
+
- **Installed skills:** `~/.antigravity/skills/`
|
|
176
|
+
- **Marketplace config:** `~/.antigravity/marketplace.json`
|
|
177
|
+
|
|
178
|
+
### Adding Custom Marketplace Sources
|
|
179
|
+
|
|
180
|
+
```bash
|
|
181
|
+
skills market-add-source
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
## ๐ Related Projects
|
|
187
|
+
|
|
188
|
+
- **[SkillsMP](https://skillsmp.com)** โ Agent Skills Marketplace (40k+ skills)
|
|
189
|
+
- **[anthropics/skills](https://github.com/anthropics/skills)** โ Official Anthropic skills
|
|
190
|
+
- **[agentskills.io](https://agentskills.io)** โ Agent Skills open specification
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## ๐๏ธ Architecture
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
agent-skills-cli/
|
|
198
|
+
โโโ src/
|
|
199
|
+
โ โโโ cli/index.ts # Interactive CLI (Commander + Inquirer)
|
|
200
|
+
โ โโโ core/
|
|
201
|
+
โ โ โโโ skillsmp.ts # SkillsMP API client
|
|
202
|
+
โ โ โโโ marketplace.ts # GitHub marketplace
|
|
203
|
+
โ โ โโโ loader.ts # Skill discovery
|
|
204
|
+
โ โ โโโ validator.ts # SKILL.md validation
|
|
205
|
+
โ โ โโโ injector.ts # Prompt generation
|
|
206
|
+
โ โ โโโ executor.ts # Script execution
|
|
207
|
+
โ โโโ types/ # TypeScript definitions
|
|
208
|
+
โโโ dist/ # Compiled output
|
|
209
|
+
โโโ package.json
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## ๐ License
|
|
215
|
+
|
|
216
|
+
MIT ยฉ [Karanjot786](https://github.com/Karanjot786)
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
<div align="center">
|
|
221
|
+
|
|
222
|
+
**Built for developers who use multiple AI coding assistants.**
|
|
223
|
+
|
|
224
|
+
[SkillsMP](https://skillsmp.com) ยท [Report Bug](https://github.com/Karanjot786/agent-skills-cli/issues) ยท [Request Feature](https://github.com/Karanjot786/agent-skills-cli/issues)
|
|
225
|
+
|
|
226
|
+
</div>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":";AACA;;;GAGG"}
|