skills-atlas-cli 0.15.0 → 0.16.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
@@ -90,7 +90,10 @@ async function main() {
90
90
  if (sub !== 'update' && sub !== 'gap-analyze' && sub !== 'setup' && !process.env.SKILLS_ATLAS_SUBCALL) {
91
91
  try { require('../src/data').maybeBackgroundRefresh(); } catch { /* ignore */ }
92
92
  }
93
- if (sub !== 'telemetry' && !process.env.SKILLS_ATLAS_SUBCALL) telemetry.emit('cli_cmd', { target: sub });
93
+ if (sub !== 'telemetry' && !process.env.SKILLS_ATLAS_SUBCALL) {
94
+ telemetry.emit('cli_cmd', { target: sub });
95
+ try { require('../src/localskills').reportCreated(); } catch { /* ignore */ }
96
+ }
94
97
  try {
95
98
  await cmd(rest);
96
99
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skills-atlas-cli",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Search, install and learn AI agent skills from the terminal — powered by the Skills Atlas catalog.",
5
5
  "bin": {
6
6
  "skills-atlas": "bin/skills.js",
@@ -183,7 +183,9 @@ module.exports = async function suggest() {
183
183
  try {
184
184
  const names = candidates.map(c => c.skill);
185
185
  require('../apstate').recordSuggested(names);
186
- require('../telemetry').emit('ap_suggest', { target: names[0] || '', detail: String(names.length) });
186
+ // Derived signals only NEVER the prompt text: how many matched + a coarse length bucket.
187
+ const plen = Math.min(2000, Math.round(prompt.length / 50) * 50);
188
+ require('../telemetry').emit('ap_suggest', { target: names[0] || '', detail: 'matched=' + names.length + ' plen=' + plen });
187
189
  } catch { /* never break the hook */ }
188
190
  writeState(file, state);
189
191
  } catch {
Binary file