add-skill 1.0.10 → 1.0.11

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Install agent skills onto your coding agents from any git repository.
4
4
 
5
- Supports [OpenCode](https://opencode.ai), [Claude Code](https://claude.ai/code), [Codex](https://developers.openai.com/codex), [Cursor](https://cursor.com), and [Antigravity](https://antigravity.google).
5
+ Supports [OpenCode](https://opencode.ai), [Claude Code](https://claude.ai/code), [Codex](https://developers.openai.com/codex), [Cursor](https://cursor.com), [Antigravity](https://antigravity.google), and [Roo Code](https://roocode.com).
6
6
 
7
7
  ## Quick Start
8
8
 
@@ -88,6 +88,7 @@ Installed in your current working directory. Commit these to share with your tea
88
88
  | Codex | `.codex/skills/<name>/` |
89
89
  | Cursor | `.cursor/skills/<name>/` |
90
90
  | Antigravity | `.agent/skills/<name>/` |
91
+ | Roo Code | `.roo/skills/<name>/` |
91
92
 
92
93
  ### Global (`--global`)
93
94
 
@@ -100,6 +101,7 @@ Installed in your home directory. Available across all projects.
100
101
  | Codex | `~/.codex/skills/<name>/` |
101
102
  | Cursor | `~/.cursor/skills/<name>/` |
102
103
  | Antigravity | `~/.gemini/antigravity/skills/<name>/` |
104
+ | Roo Code | `~/.roo/skills/<name>/` |
103
105
 
104
106
  ## Agent Detection
105
107
 
@@ -155,12 +157,12 @@ If no skills are found in standard locations, a recursive search is performed.
155
157
 
156
158
  Skills are generally compatible across agents since they follow a shared [Agent Skills specification](https://agentskills.io). However, some features may be agent-specific:
157
159
 
158
- | Feature | OpenCode | Claude Code | Codex | Cursor | Antigravity |
159
- |---------|----------|-------------|-------|--------|-------------|
160
- | Basic skills | Yes | Yes | Yes | Yes | Yes |
161
- | `allowed-tools` | Yes | Yes | Yes | Yes | Yes |
162
- | `context: fork` | No | Yes | No | No | No |
163
- | Hooks | No | Yes | No | No | No |
160
+ | Feature | OpenCode | Claude Code | Codex | Cursor | Antigravity | Roo Code |
161
+ |---------|----------|-------------|-------|--------|-------------|----------|
162
+ | Basic skills | Yes | Yes | Yes | Yes | Yes | Yes |
163
+ | `allowed-tools` | Yes | Yes | Yes | Yes | Yes | Yes |
164
+ | `context: fork` | No | Yes | No | No | No | No |
165
+ | Hooks | No | Yes | No | No | No | No |
164
166
 
165
167
  ## Troubleshooting
166
168
 
@@ -187,6 +189,7 @@ Ensure you have write access to the target directory.
187
189
  - [Codex Skills Documentation](https://developers.openai.com/codex/skills)
188
190
  - [Cursor Skills Documentation](https://cursor.com/docs/context/skills)
189
191
  - [Antigravity Skills Documentation](https://antigravity.google/docs/skills)
192
+ - [Roo Code Skills Documentation](https://docs.roocode.com/features/skills)
190
193
 
191
194
  ## License
192
195
 
package/dist/index.js CHANGED
@@ -383,7 +383,7 @@ function track(data) {
383
383
  // package.json
384
384
  var package_default = {
385
385
  name: "add-skill",
386
- version: "1.0.10",
386
+ version: "1.0.11",
387
387
  description: "Install agent skills onto coding agents (OpenCode, Claude Code, Codex, Cursor)",
388
388
  type: "module",
389
389
  bin: {
@@ -406,6 +406,7 @@ var package_default = {
406
406
  "codex",
407
407
  "cursor",
408
408
  "antigravity",
409
+ "roo-code",
409
410
  "ai-agents"
410
411
  ],
411
412
  repository: {
@@ -439,7 +440,7 @@ var package_default = {
439
440
  // src/index.ts
440
441
  var version = package_default.version;
441
442
  setVersion(version);
442
- program.name("add-skill").description("Install skills onto coding agents (OpenCode, Claude Code, Codex, Cursor, Antigravity)").version(version).argument("<source>", "Git repo URL, GitHub shorthand (owner/repo), or direct path to skill").option("-g, --global", "Install skill globally (user-level) instead of project-level").option("-a, --agent <agents...>", "Specify agents to install to (opencode, claude-code, codex, cursor)").option("-s, --skill <skills...>", "Specify skill names to install (skip selection prompt)").option("-l, --list", "List available skills in the repository without installing").option("-y, --yes", "Skip confirmation prompts").action(async (source, options) => {
443
+ program.name("add-skill").description("Install skills onto coding agents (OpenCode, Claude Code, Codex, Cursor, Antigravity, Roo Code)").version(version).argument("<source>", "Git repo URL, GitHub shorthand (owner/repo), or direct path to skill").option("-g, --global", "Install skill globally (user-level) instead of project-level").option("-a, --agent <agents...>", "Specify agents to install to (opencode, claude-code, codex, cursor, antigravity, roo)").option("-s, --skill <skills...>", "Specify skill names to install (skip selection prompt)").option("-l, --list", "List available skills in the repository without installing").option("-y, --yes", "Skip confirmation prompts").action(async (source, options) => {
443
444
  await main(source, options);
444
445
  });
445
446
  program.parse();
@@ -521,7 +522,7 @@ async function main(source, options) {
521
522
  }
522
523
  let targetAgents;
523
524
  if (options.agent && options.agent.length > 0) {
524
- const validAgents = ["opencode", "claude-code", "codex", "cursor", "antigravity"];
525
+ const validAgents = ["opencode", "claude-code", "codex", "cursor", "antigravity", "roo"];
525
526
  const invalidAgents = options.agent.filter((a) => !validAgents.includes(a));
526
527
  if (invalidAgents.length > 0) {
527
528
  p.log.error(`Invalid agents: ${invalidAgents.join(", ")}`);
@@ -536,7 +537,7 @@ async function main(source, options) {
536
537
  spinner2.stop(`Detected ${installedAgents.length} agent${installedAgents.length !== 1 ? "s" : ""}`);
537
538
  if (installedAgents.length === 0) {
538
539
  if (options.yes) {
539
- targetAgents = ["opencode", "claude-code", "codex", "cursor", "antigravity"];
540
+ targetAgents = ["opencode", "claude-code", "codex", "cursor", "antigravity", "roo"];
540
541
  p.log.info("Installing to all agents (none detected)");
541
542
  } else {
542
543
  p.log.warn("No coding agents detected. You can still install skills.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "add-skill",
3
- "version": "1.0.10",
3
+ "version": "1.0.11",
4
4
  "description": "Install agent skills onto coding agents (OpenCode, Claude Code, Codex, Cursor)",
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,6 +23,7 @@
23
23
  "codex",
24
24
  "cursor",
25
25
  "antigravity",
26
+ "roo-code",
26
27
  "ai-agents"
27
28
  ],
28
29
  "repository": {