skills-atlas-cli 0.8.9 → 0.9.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/bin/skills.js CHANGED
@@ -15,6 +15,7 @@ const registry = require('../src/commands/registry');
15
15
  const suggest = require('../src/commands/suggest');
16
16
  const hook = require('../src/commands/hook');
17
17
  const gaps = require('../src/commands/gaps');
18
+ const gapAnalyze = require('../src/commands/gap-analyze');
18
19
  const prune = require('../src/commands/prune');
19
20
  const update = require('../src/commands/update');
20
21
  const mcp = require('../src/commands/mcp');
@@ -23,7 +24,7 @@ const { categories, list } = require('../src/commands/categories');
23
24
  const VERSION = require('../package.json').version;
24
25
  // `use` = install + activate inline (emit the SKILL.md so an agent follows it now).
25
26
  const use = argv => install([...argv, '--inline']);
26
- const commands = { search, info, install, use, kit, sync, installed, upgrade, remove, outdated, doctor, suggest, hook, gaps, prune, update, categories, list, registry, mcp };
27
+ const commands = { search, info, install, use, kit, sync, installed, upgrade, remove, outdated, doctor, suggest, hook, gaps, 'gap-analyze': gapAnalyze, prune, update, categories, list, registry, mcp };
27
28
 
28
29
  const HELP = `skills-atlas — search, install & manage AI agent skills
29
30
 
@@ -75,7 +76,9 @@ async function main() {
75
76
  }
76
77
  // Opportunistic, non-blocking background catalog refresh so new skills appear over
77
78
  // time without a manual `update`. Skipped for `update` itself; fully fail-silent.
78
- if (sub !== 'update') { try { require('../src/data').maybeBackgroundRefresh(); } catch { /* ignore */ } }
79
+ if (sub !== 'update' && sub !== 'gap-analyze' && !process.env.SKILLS_ATLAS_SUBCALL) {
80
+ try { require('../src/data').maybeBackgroundRefresh(); } catch { /* ignore */ }
81
+ }
79
82
  await cmd(rest);
80
83
  }
81
84