0agent 1.0.11 → 1.0.13

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/0agent.js CHANGED
@@ -535,11 +535,16 @@ async function runSkillCommand(skillArgs) {
535
535
  await requireDaemon();
536
536
  const res = await fetch(`${BASE_URL}/api/skills`);
537
537
  const skills = await res.json();
538
- console.log('\n Available skills:\n');
538
+ console.log('\n Built-in skills:\n');
539
539
  for (const s of (Array.isArray(skills) ? skills : skills.skills ?? [])) {
540
- console.log(` /${s.name.padEnd(22)} ${s.category.padEnd(10)} ${s.description}`);
540
+ console.log(` /${s.name.padEnd(22)} ${s.category?.padEnd(10) ?? ''.padEnd(10)} ${s.description}`);
541
541
  }
542
- console.log();
542
+ console.log('\n Anthropic skills (fetched on demand):\n');
543
+ const anthropicSkills = ['pdf','docx','xlsx','pptx','web-artifacts-builder','webapp-testing','frontend-design','mcp-builder','algorithmic-art','brand-guidelines','doc-coauthoring','internal-comms','slack-gif-creator','theme-factory','canvas-design','skill-creator','claude-api'];
544
+ for (const s of anthropicSkills) {
545
+ console.log(` /${s.padEnd(30)} fetched from github.com/anthropics/skills`);
546
+ }
547
+ console.log('\n Usage: 0agent /<skill-name> or 0agent run "<task>" --skill <name>\n');
543
548
  break;
544
549
  }
545
550
  case 'show': {