cli-ai-skills 1.10.0 → 1.10.2
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/lib/antigravity.js +1 -1
- package/lib/opencode.js +1 -1
- package/lib/utils/path-resolver.js +3 -3
- package/package.json +2 -2
- package/skills/cursor/agent-skill-discovery/README.md +288 -0
- package/skills/cursor/agent-skill-discovery/SKILL.md +910 -0
- package/skills/cursor/agent-skill-orchestrator/README.md +385 -0
- package/skills/cursor/agent-skill-orchestrator/SKILL.md +1398 -0
- package/skills/cursor/audio-transcriber/CHANGELOG.md +164 -0
- package/skills/cursor/audio-transcriber/README.md +340 -0
- package/skills/cursor/audio-transcriber/SKILL.md +558 -0
- package/skills/cursor/audio-transcriber/examples/basic-transcription.sh +250 -0
- package/skills/cursor/audio-transcriber/references/tools-comparison.md +352 -0
- package/skills/cursor/audio-transcriber/scripts/install-requirements.sh +190 -0
- package/skills/cursor/audio-transcriber/scripts/transcribe.py +486 -0
- package/skills/cursor/prompt-engineer/README.md +659 -0
- package/skills/cursor/prompt-engineer/SKILL.md +252 -0
- package/skills/cursor/skill-creator/README.md +270 -0
- package/skills/cursor/skill-creator/SKILL.md +473 -0
- package/skills/cursor/youtube-summarizer/CHANGELOG.md +61 -0
- package/skills/cursor/youtube-summarizer/README.md +365 -0
- package/skills/cursor/youtube-summarizer/SKILL.md +411 -0
- package/skills/cursor/youtube-summarizer/scripts/extract-transcript.py +65 -0
- package/skills/cursor/youtube-summarizer/scripts/install-dependencies.sh +28 -0
- /package/skills/{antigravity → adal}/agent-skill-discovery/README.md +0 -0
- /package/skills/{antigravity → adal}/agent-skill-discovery/SKILL.md +0 -0
- /package/skills/{antigravity → adal}/agent-skill-orchestrator/README.md +0 -0
- /package/skills/{antigravity → adal}/agent-skill-orchestrator/SKILL.md +0 -0
- /package/skills/{antigravity → adal}/audio-transcriber/CHANGELOG.md +0 -0
- /package/skills/{antigravity → adal}/audio-transcriber/README.md +0 -0
- /package/skills/{antigravity → adal}/audio-transcriber/SKILL.md +0 -0
- /package/skills/{antigravity → adal}/audio-transcriber/examples/basic-transcription.sh +0 -0
- /package/skills/{antigravity → adal}/audio-transcriber/references/tools-comparison.md +0 -0
- /package/skills/{antigravity → adal}/audio-transcriber/scripts/install-requirements.sh +0 -0
- /package/skills/{antigravity → adal}/audio-transcriber/scripts/transcribe.py +0 -0
- /package/skills/{antigravity → adal}/prompt-engineer/README.md +0 -0
- /package/skills/{antigravity → adal}/prompt-engineer/SKILL.md +0 -0
- /package/skills/{antigravity → adal}/skill-creator/README.md +0 -0
- /package/skills/{antigravity → adal}/skill-creator/SKILL.md +0 -0
- /package/skills/{antigravity → adal}/youtube-summarizer/CHANGELOG.md +0 -0
- /package/skills/{antigravity → adal}/youtube-summarizer/README.md +0 -0
- /package/skills/{antigravity → adal}/youtube-summarizer/SKILL.md +0 -0
- /package/skills/{antigravity → adal}/youtube-summarizer/scripts/extract-transcript.py +0 -0
- /package/skills/{antigravity → adal}/youtube-summarizer/scripts/install-dependencies.sh +0 -0
- /package/skills/{opencode → agent}/agent-skill-discovery/README.md +0 -0
- /package/skills/{opencode → agent}/agent-skill-discovery/SKILL.md +0 -0
- /package/skills/{opencode → agent}/agent-skill-orchestrator/README.md +0 -0
- /package/skills/{opencode → agent}/agent-skill-orchestrator/SKILL.md +0 -0
- /package/skills/{opencode → agent}/audio-transcriber/CHANGELOG.md +0 -0
- /package/skills/{opencode → agent}/audio-transcriber/README.md +0 -0
- /package/skills/{opencode → agent}/audio-transcriber/SKILL.md +0 -0
- /package/skills/{opencode → agent}/audio-transcriber/examples/basic-transcription.sh +0 -0
- /package/skills/{opencode → agent}/audio-transcriber/references/tools-comparison.md +0 -0
- /package/skills/{opencode → agent}/audio-transcriber/scripts/install-requirements.sh +0 -0
- /package/skills/{opencode → agent}/audio-transcriber/scripts/transcribe.py +0 -0
- /package/skills/{opencode → agent}/prompt-engineer/README.md +0 -0
- /package/skills/{opencode → agent}/prompt-engineer/SKILL.md +0 -0
- /package/skills/{opencode → agent}/skill-creator/README.md +0 -0
- /package/skills/{opencode → agent}/skill-creator/SKILL.md +0 -0
- /package/skills/{opencode → agent}/youtube-summarizer/CHANGELOG.md +0 -0
- /package/skills/{opencode → agent}/youtube-summarizer/README.md +0 -0
- /package/skills/{opencode → agent}/youtube-summarizer/SKILL.md +0 -0
- /package/skills/{opencode → agent}/youtube-summarizer/scripts/extract-transcript.py +0 -0
- /package/skills/{opencode → agent}/youtube-summarizer/scripts/install-dependencies.sh +0 -0
package/lib/antigravity.js
CHANGED
|
@@ -22,7 +22,7 @@ function install(repoPath, skills = null, quiet = false) {
|
|
|
22
22
|
|
|
23
23
|
if (!fs.existsSync(sourceDir)) {
|
|
24
24
|
if (!quiet) {
|
|
25
|
-
console.log(chalk.red('❌ Diretório .
|
|
25
|
+
console.log(chalk.red('❌ Diretório .agent/skills não encontrado no repositório'));
|
|
26
26
|
}
|
|
27
27
|
return { installed: 0, failed: 0 };
|
|
28
28
|
}
|
package/lib/opencode.js
CHANGED
|
@@ -20,7 +20,7 @@ function install(repoPath, skills = null, quiet = false) {
|
|
|
20
20
|
|
|
21
21
|
if (!fs.existsSync(sourceDir)) {
|
|
22
22
|
if (!quiet) {
|
|
23
|
-
console.log(chalk.red('❌ Diretório .
|
|
23
|
+
console.log(chalk.red('❌ Diretório .agent/skills não encontrado no repositório'));
|
|
24
24
|
}
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
@@ -39,9 +39,9 @@ function getSkillsSourcePath(basePath, platform) {
|
|
|
39
39
|
'copilot': '.github',
|
|
40
40
|
'claude': '.claude',
|
|
41
41
|
'codex': '.codex',
|
|
42
|
-
'opencode': '.
|
|
42
|
+
'opencode': '.agent',
|
|
43
43
|
'gemini': '.gemini',
|
|
44
|
-
'antigravity': '.
|
|
44
|
+
'antigravity': '.agent',
|
|
45
45
|
'cursor': '.cursor',
|
|
46
46
|
'adal': '.adal'
|
|
47
47
|
};
|
|
@@ -95,7 +95,7 @@ function getUserSkillsPath(platform) {
|
|
|
95
95
|
const platformDirs = {
|
|
96
96
|
'copilot': path.join(home, '.github', 'skills'),
|
|
97
97
|
'claude': path.join(home, '.claude', 'skills'),
|
|
98
|
-
'opencode': path.join(home, '.
|
|
98
|
+
'opencode': path.join(home, '.agent', 'skills'),
|
|
99
99
|
'gemini': path.join(home, '.gemini', 'skills'),
|
|
100
100
|
'antigravity': path.join(home, '.agent', 'skills'),
|
|
101
101
|
'cursor': path.join(home, '.cursor', 'skills'),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cli-ai-skills",
|
|
3
|
-
"version": "1.10.
|
|
4
|
-
"description": "Install AI skills for GitHub Copilot CLI, Claude Code, OpenAI Codex, OpenCode, and
|
|
3
|
+
"version": "1.10.2",
|
|
4
|
+
"description": "Install AI skills for GitHub Copilot CLI, Claude Code, OpenAI Codex, OpenCode, Gemini CLI, Antigravity, Cursor IDE, and AdaL CLI",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"cli-ai-skills": "bin/cli.js"
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
# agent-skill-discovery
|
|
2
|
+
|
|
3
|
+
Scans installed resources and the current repository for plugins, agents, skills, and MCP servers.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
`agent-skill-discovery` is a platform-agnostic skill that provides a comprehensive inventory across two scopes: resources installed in the AI CLI environment and resources found in the current repository. It automatically detects whether you're using Claude Code, GitHub Copilot CLI, Gemini CLI, OpenCode, or OpenAI Codex, and generates a structured catalog for both scopes.
|
|
8
|
+
|
|
9
|
+
## Features
|
|
10
|
+
|
|
11
|
+
- **🌐 Platform-Agnostic** - Works identically on all 5 AI CLI platforms
|
|
12
|
+
- **🔍 Comprehensive Discovery** - Finds plugins, agents, skills, and MCP servers
|
|
13
|
+
- **📁 Repository-Aware Scan** - Checks the current repository for local agents, skills, and MCP configs
|
|
14
|
+
- **📊 Structured Output** - Clean markdown catalog with resource counts
|
|
15
|
+
- **🔧 Zero-Config** - No setup required, discovers paths dynamically
|
|
16
|
+
- **🎯 Optional Filtering** - Filter by type, category, or keyword
|
|
17
|
+
- **⚡ Fresh Scans** - Always up-to-date, no stale cache
|
|
18
|
+
|
|
19
|
+
## When to Use
|
|
20
|
+
|
|
21
|
+
Use this skill when you want to:
|
|
22
|
+
- See what resources are installed on your system
|
|
23
|
+
- Discover new plugins or skills after installation
|
|
24
|
+
- Verify that a skill or plugin installed correctly
|
|
25
|
+
- Find MCP servers and their available tools
|
|
26
|
+
- Audit available capabilities before planning tasks
|
|
27
|
+
- Debug missing resources or tools
|
|
28
|
+
- Verify whether the current repository has local agents, skills, or MCP servers
|
|
29
|
+
|
|
30
|
+
## Installation
|
|
31
|
+
|
|
32
|
+
### Via NPM (Recommended)
|
|
33
|
+
|
|
34
|
+
```bash
|
|
35
|
+
npm install -g cli-ai-skills
|
|
36
|
+
cli-ai-skills install agent-skill-discovery
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Manual Installation
|
|
40
|
+
|
|
41
|
+
```bash
|
|
42
|
+
# Clone the repository
|
|
43
|
+
git clone https://github.com/yourusername/cli-ai-skills.git
|
|
44
|
+
cd cli-ai-skills
|
|
45
|
+
|
|
46
|
+
# Run build script to sync to all platforms
|
|
47
|
+
./scripts/build-skills.sh
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Usage
|
|
51
|
+
|
|
52
|
+
Simply ask your AI CLI to list your resources:
|
|
53
|
+
|
|
54
|
+
### Claude Code
|
|
55
|
+
```bash
|
|
56
|
+
claude
|
|
57
|
+
> "What do I have installed?"
|
|
58
|
+
> "List my MCP servers"
|
|
59
|
+
> "Show skills related to development"
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
### GitHub Copilot CLI
|
|
63
|
+
```bash
|
|
64
|
+
gh copilot
|
|
65
|
+
> "What do I have installed?"
|
|
66
|
+
> "Show available resources"
|
|
67
|
+
> "List only plugins"
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Gemini CLI / OpenCode / Codex
|
|
71
|
+
```bash
|
|
72
|
+
gemini # or: opencode, codex
|
|
73
|
+
> "What do I have installed?"
|
|
74
|
+
> "Discover plugins"
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
## Example Output
|
|
78
|
+
|
|
79
|
+
```markdown
|
|
80
|
+
# 📦 Resource Discovery Report
|
|
81
|
+
|
|
82
|
+
**Platform:** Claude Code
|
|
83
|
+
**Scan Date:** 2026-02-07 14:32:15
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 📦 Installed Resources
|
|
88
|
+
|
|
89
|
+
## 🔌 Plugins (3)
|
|
90
|
+
- feature-dev (3 agents)
|
|
91
|
+
- commit-commands (3 agents)
|
|
92
|
+
- plugin-dev (5 agents)
|
|
93
|
+
|
|
94
|
+
## 🛠️ Skills (8)
|
|
95
|
+
- agent-skill-discovery
|
|
96
|
+
- skill-creator
|
|
97
|
+
- prompt-engineer
|
|
98
|
+
- audio-transcriber
|
|
99
|
+
- youtube-summarizer
|
|
100
|
+
(... 3 more)
|
|
101
|
+
|
|
102
|
+
## 🌐 MCP Servers (2)
|
|
103
|
+
- claude_ai_Notion (5 tools)
|
|
104
|
+
- plugin_playwright (15 tools)
|
|
105
|
+
|
|
106
|
+
## 📁 Current Repository Resources
|
|
107
|
+
- Local Agents: 1
|
|
108
|
+
- Local Skills: 2
|
|
109
|
+
- Local MCP Servers: 1
|
|
110
|
+
|
|
111
|
+
## 📊 Summary
|
|
112
|
+
- Installed Plugins: 3
|
|
113
|
+
- Installed Agents: 11
|
|
114
|
+
- Installed Skills: 8
|
|
115
|
+
- Installed MCP Servers: 2
|
|
116
|
+
- Installed MCP Tools: 20
|
|
117
|
+
- Local Agents: 1
|
|
118
|
+
- Local Skills: 2
|
|
119
|
+
- Local MCP Servers: 1
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Filtering
|
|
123
|
+
|
|
124
|
+
### By Resource Type
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
> "List only plugins"
|
|
128
|
+
> "Show MCP servers"
|
|
129
|
+
> "Display my skills"
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### By Category
|
|
133
|
+
|
|
134
|
+
```bash
|
|
135
|
+
> "Show development skills"
|
|
136
|
+
> "List content tools"
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
### By Keyword
|
|
140
|
+
|
|
141
|
+
```bash
|
|
142
|
+
> "Find resources related to Notion"
|
|
143
|
+
> "Show tools for audio processing"
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
## Platform Support
|
|
147
|
+
|
|
148
|
+
| Platform | Status | Tested |
|
|
149
|
+
|----------|--------|--------|
|
|
150
|
+
| Claude Code | ✅ Supported | Yes |
|
|
151
|
+
| GitHub Copilot CLI | ✅ Supported | Yes |
|
|
152
|
+
| Gemini CLI | ✅ Supported | Yes |
|
|
153
|
+
| OpenCode | ✅ Supported | Yes |
|
|
154
|
+
| OpenAI Codex | ✅ Supported | Yes |
|
|
155
|
+
|
|
156
|
+
## How It Works
|
|
157
|
+
|
|
158
|
+
1. **Platform Detection** - Automatically identifies which AI CLI is running
|
|
159
|
+
2. **Installed Scan** - Finds installed plugin.json, SKILL.md, and MCP configs
|
|
160
|
+
3. **Repository Scan** - Scans current repository for local agents, skills, and MCP configs
|
|
161
|
+
4. **Data Parsing** - Extracts metadata from JSON/YAML frontmatter
|
|
162
|
+
5. **Catalog Generation** - Presents installed and repository scopes in structured markdown
|
|
163
|
+
|
|
164
|
+
## What Gets Discovered
|
|
165
|
+
|
|
166
|
+
### Plugins
|
|
167
|
+
- Plugin name and version
|
|
168
|
+
- Plugin description
|
|
169
|
+
- All agents within the plugin
|
|
170
|
+
- Tools available to each agent
|
|
171
|
+
|
|
172
|
+
### Skills
|
|
173
|
+
- Skill name and version
|
|
174
|
+
- Skill description
|
|
175
|
+
- Trigger phrases
|
|
176
|
+
- Category and tags
|
|
177
|
+
|
|
178
|
+
### MCP Servers
|
|
179
|
+
- Server name and type (stdio, SSE, HTTP)
|
|
180
|
+
- Connection status
|
|
181
|
+
- Available tools with descriptions
|
|
182
|
+
- Command and arguments
|
|
183
|
+
|
|
184
|
+
### Current Repository
|
|
185
|
+
- Local agents declared in plugin manifests or agent folders
|
|
186
|
+
- Local skills defined by `skills/*/SKILL.md` conventions
|
|
187
|
+
- Local MCP servers declared in repository MCP config files
|
|
188
|
+
|
|
189
|
+
## Troubleshooting
|
|
190
|
+
|
|
191
|
+
### "No resources found"
|
|
192
|
+
|
|
193
|
+
**Possible causes:**
|
|
194
|
+
- Skills/plugins not installed yet
|
|
195
|
+
- Running in wrong directory
|
|
196
|
+
- Platform directories don't exist
|
|
197
|
+
|
|
198
|
+
**Solutions:**
|
|
199
|
+
```bash
|
|
200
|
+
# Install some skills first
|
|
201
|
+
cli-ai-skills install --all
|
|
202
|
+
|
|
203
|
+
# Verify platform directory exists
|
|
204
|
+
ls -la ~/.claude # or ~/.github, ~/.gemini, etc.
|
|
205
|
+
|
|
206
|
+
# Run skill again
|
|
207
|
+
> "What do I have installed?"
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
### "MCP servers not discovered"
|
|
211
|
+
|
|
212
|
+
**Possible causes:**
|
|
213
|
+
- No .mcp.json file configured
|
|
214
|
+
- MCP servers not running
|
|
215
|
+
- Invalid JSON in .mcp.json
|
|
216
|
+
|
|
217
|
+
**Solutions:**
|
|
218
|
+
```bash
|
|
219
|
+
# Check if MCP config exists
|
|
220
|
+
cat ~/.claude/.mcp.json
|
|
221
|
+
|
|
222
|
+
# Validate JSON syntax
|
|
223
|
+
jq . ~/.claude/.mcp.json
|
|
224
|
+
|
|
225
|
+
# Restart MCP servers if needed
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
### "Platform detection failed"
|
|
229
|
+
|
|
230
|
+
**Possible causes:**
|
|
231
|
+
- Skill not installed in platform directory
|
|
232
|
+
- Multiple platforms installed
|
|
233
|
+
|
|
234
|
+
**Solution:**
|
|
235
|
+
```bash
|
|
236
|
+
# Reinstall skill
|
|
237
|
+
cli-ai-skills install agent-skill-discovery --force
|
|
238
|
+
|
|
239
|
+
# Check installation
|
|
240
|
+
ls ~/.claude/skills/agent-skill-discovery
|
|
241
|
+
ls ~/.github/skills/agent-skill-discovery
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
## Related Skills
|
|
245
|
+
|
|
246
|
+
- **agent-skill-orchestrator** - Creates execution plans using discovered resources
|
|
247
|
+
- **skill-creator** - Creates new skills that appear in discovery results
|
|
248
|
+
- **plugin-dev:create-plugin** - Creates plugins that appear in discovery results
|
|
249
|
+
|
|
250
|
+
## Technical Details
|
|
251
|
+
|
|
252
|
+
- **Language:** Platform-agnostic (works in any shell)
|
|
253
|
+
- **Dependencies:** None (uses built-in Glob, Read, ToolSearch)
|
|
254
|
+
- **Performance:** ~1-3 seconds for typical installations
|
|
255
|
+
- **Memory:** Minimal (streams results, no large buffers)
|
|
256
|
+
|
|
257
|
+
## Contributing
|
|
258
|
+
|
|
259
|
+
Found a bug or want to improve discovery?
|
|
260
|
+
|
|
261
|
+
1. Open an issue: [GitHub Issues](https://github.com/yourusername/cli-ai-skills/issues)
|
|
262
|
+
2. Submit a PR: [Contributing Guide](../../docs/CONTRIBUTING.md)
|
|
263
|
+
3. Check validation: `./scripts/validate-skill-yaml.sh skills/agent-skill-discovery`
|
|
264
|
+
|
|
265
|
+
## License
|
|
266
|
+
|
|
267
|
+
MIT License - See [LICENSE](../../LICENSE) for details.
|
|
268
|
+
|
|
269
|
+
## Version History
|
|
270
|
+
|
|
271
|
+
### v1.1.0 (2026-02-07)
|
|
272
|
+
- Added current repository scan for local agents, skills, and MCP servers
|
|
273
|
+
- Added dual-scope output sections: Installed and Current Repository
|
|
274
|
+
- Added deduplication guidance across scopes
|
|
275
|
+
|
|
276
|
+
### v1.0.0 (2026-02-07)
|
|
277
|
+
- Initial release
|
|
278
|
+
- Platform detection for 5 AI CLIs
|
|
279
|
+
- Plugin, skill, and MCP discovery
|
|
280
|
+
- Optional filtering by type/category/keyword
|
|
281
|
+
- Zero-config dynamic path discovery
|
|
282
|
+
|
|
283
|
+
## Support
|
|
284
|
+
|
|
285
|
+
- **Documentation:** [Full skill specification](SKILL.md)
|
|
286
|
+
- **Examples:** [references/examples.md](references/examples.md)
|
|
287
|
+
- **Issues:** [GitHub Issues](https://github.com/yourusername/cli-ai-skills/issues)
|
|
288
|
+
- **Discussions:** [GitHub Discussions](https://github.com/yourusername/cli-ai-skills/discussions)
|