@agentskill.sh/cli 1.0.7 → 1.0.8

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
@@ -17,7 +17,7 @@
17
17
  Copy-paste this into your AI agent (Claude Code, Cursor, Copilot, Codex, Windsurf, Gemini CLI, etc.):
18
18
 
19
19
  ```
20
- Run: npx @agentskill.sh/cli setup
20
+ Run: npx @agentskill.sh/cli@latest setup
21
21
  Then search for skills relevant to this project using /learn
22
22
  ```
23
23
 
@@ -26,37 +26,22 @@ That's it. Your agent will install `/learn`, analyze your project, and suggest r
26
26
  <details>
27
27
  <summary>Other install methods</summary>
28
28
 
29
- **Plugin marketplace (Claude Code)**
30
-
31
- ```bash
32
- /plugin marketplace add https://agentskill.sh/marketplace.json
33
- /plugin install learn@agentskill-sh
34
- ```
35
-
36
- **CLI (terminal)**
37
-
38
- ```bash
39
- npx ags search "react best practices"
40
- npx ags install seo-optimizer
41
- ```
42
-
43
- Or install globally:
29
+ **Install globally (then use `ags` directly)**
44
30
 
45
31
  ```bash
46
32
  npm install -g @agentskill.sh/cli
47
- ags search react
33
+ ags setup
48
34
  ```
49
35
 
50
- **Git clone**
36
+ **Plugin marketplace (Claude Code only)**
51
37
 
52
38
  ```bash
53
- # Claude Code
54
- git clone https://github.com/agentskill-sh/ags.git ~/.claude/skills/ags
55
-
56
- # Cursor
57
- git clone https://github.com/agentskill-sh/ags.git ~/.cursor/skills/ags
39
+ /plugin marketplace add https://agentskill.sh/marketplace.json
40
+ /plugin install learn@agentskill-sh
58
41
  ```
59
42
 
43
+ Note: the plugin marketplace only installs the `/learn` skill. Use `npx @agentskill.sh/cli setup` to get all skills.
44
+
60
45
  </details>
61
46
 
62
47
  ---
package/dist/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  const API_BASE = 'https://agentskill.sh/api';
2
- const VERSION = '1.0.7';
2
+ const VERSION = '1.0.8';
3
3
  export async function apiFetch(path, options) {
4
4
  const res = await fetch(`${API_BASE}${path}`, {
5
5
  ...options,
@@ -32,26 +32,24 @@ export async function searchCommand(args) {
32
32
  return;
33
33
  }
34
34
  console.log(`\nSkills matching "${query}" (${data.total} results)\n`);
35
- // Calculate column widths
35
+ const truncate = (s, max) => s.length > max ? s.slice(0, max - 1) + '\u2026' : s;
36
36
  const rows = data.results.map(s => ({
37
37
  name: s.name,
38
38
  owner: `@${s.owner}`,
39
- installs: s.installCount.toLocaleString(),
40
- quality: s.contentQualityScore != null ? `${s.contentQualityScore}/100` : '\u2014',
39
+ desc: truncate(s.description || '', 60),
41
40
  security: s.securityScore != null ? `${s.securityScore}/100` : '\u2014',
42
41
  }));
43
42
  const cols = {
44
43
  name: Math.max(4, ...rows.map(r => r.name.length)),
45
44
  owner: Math.max(6, ...rows.map(r => r.owner.length)),
46
- installs: Math.max(8, ...rows.map(r => r.installs.length)),
47
- quality: Math.max(7, ...rows.map(r => r.quality.length)),
45
+ desc: Math.max(11, ...rows.map(r => r.desc.length)),
48
46
  security: Math.max(8, ...rows.map(r => r.security.length)),
49
47
  };
50
48
  const pad = (s, w) => s + ' '.repeat(Math.max(0, w - s.length));
51
- console.log(` ${pad('Name', cols.name)} ${pad('Author', cols.owner)} ${pad('Installs', cols.installs)} ${pad('Quality', cols.quality)} ${pad('Security', cols.security)}`);
52
- console.log(` ${'-'.repeat(cols.name)} ${'-'.repeat(cols.owner)} ${'-'.repeat(cols.installs)} ${'-'.repeat(cols.quality)} ${'-'.repeat(cols.security)}`);
49
+ console.log(` ${pad('Name', cols.name)} ${pad('Author', cols.owner)} ${pad('Security', cols.security)} Description`);
50
+ console.log(` ${'-'.repeat(cols.name)} ${'-'.repeat(cols.owner)} ${'-'.repeat(cols.security)} ${'-'.repeat(11)}`);
53
51
  for (const r of rows) {
54
- console.log(` ${pad(r.name, cols.name)} ${pad(r.owner, cols.owner)} ${pad(r.installs, cols.installs)} ${pad(r.quality, cols.quality)} ${pad(r.security, cols.security)}`);
52
+ console.log(` ${pad(r.name, cols.name)} ${pad(r.owner, cols.owner)} ${pad(r.security, cols.security)} ${r.desc}`);
55
53
  }
56
- console.log(`\nInstall: ags install <slug>`);
54
+ console.log(`\nInstall: npx @agentskill.sh/cli install <slug>`);
57
55
  }
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ import { removeCommand } from './commands/remove.js';
6
6
  import { feedbackCommand } from './commands/feedback.js';
7
7
  import { updateCommand } from './commands/update.js';
8
8
  import { setupCommand } from './commands/setup.js';
9
- const VERSION = '1.0.7';
9
+ const VERSION = '1.0.8';
10
10
  const HELP = `ags v${VERSION} — search, install, and manage AI agent skills
11
11
 
12
12
  Usage:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentskill.sh/cli",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Agent Skill CLI. Search, install, review, and manage AI agent skills from agentskill.sh.",
5
5
  "type": "module",
6
6
  "bin": {