skillhub 0.2.6 → 0.2.7

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4601,7 +4601,7 @@ async function search(query, options2) {
4601
4601
  try {
4602
4602
  const limit = parseInt(options2.limit || "10");
4603
4603
  const page = parseInt(options2.page || "1");
4604
- const sort = options2.sort || "downloads";
4604
+ const sort = options2.sort || "recommended";
4605
4605
  const result = await searchSkills(query, {
4606
4606
  platform: options2.platform,
4607
4607
  limit,
@@ -4614,7 +4614,7 @@ async function search(query, options2) {
4614
4614
  console.log(chalk2.dim("Try a different search term or check the spelling."));
4615
4615
  return;
4616
4616
  }
4617
- const sortLabel = { downloads: "downloads", stars: "GitHub stars", rating: "rating", recent: "recently updated" }[sort] || sort;
4617
+ const sortLabel = { recommended: "recommended", downloads: "downloads", stars: "GitHub stars", rating: "rating", recent: "recently updated", aiScore: "AI score" }[sort] || sort;
4618
4618
  console.log(chalk2.bold(`Found ${result.pagination.total} skills (sorted by ${sortLabel}):
4619
4619
  `));
4620
4620
  console.log(
@@ -4654,8 +4654,8 @@ async function search(query, options2) {
4654
4654
  chalk2.dim(`Page ${page} of ${totalPages}. Use ${chalk2.white(`--page ${page + 1}`)} for next page.`)
4655
4655
  );
4656
4656
  }
4657
- if (sort === "downloads") {
4658
- console.log(chalk2.dim(`Sort options: ${chalk2.white("--sort stars|rating|recent")}`));
4657
+ if (sort === "recommended") {
4658
+ console.log(chalk2.dim(`Sort options: ${chalk2.white("--sort downloads|stars|rating|recent|aiScore")}`));
4659
4659
  }
4660
4660
  } catch (error) {
4661
4661
  spinner.fail("Search failed");
@@ -4889,7 +4889,7 @@ program.command("install <skill-id>").description("Install a skill from the regi
4889
4889
  // Commander converts --no-api to api: false
4890
4890
  });
4891
4891
  });
4892
- program.command("search <query>").description("Search for skills in the registry").option("-p, --platform <platform>", "Filter by platform").option("-s, --sort <sort>", "Sort by: downloads, stars, rating, recent", "downloads").option("-l, --limit <number>", "Number of results", "10").option("--page <number>", "Page number", "1").action(async (query, options2) => {
4892
+ program.command("search <query>").description("Search for skills in the registry").option("-p, --platform <platform>", "Filter by platform").option("-s, --sort <sort>", "Sort by: recommended, downloads, stars, rating, recent, aiScore", "recommended").option("-l, --limit <number>", "Number of results", "10").option("--page <number>", "Page number", "1").action(async (query, options2) => {
4893
4893
  await search(query, options2);
4894
4894
  });
4895
4895
  program.command("list").description("List installed skills").option("-p, --platform <platform>", "Filter by platform").option("--project", "List skills in the current project").option("--all", "List both global and project skills").action(async (options2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillhub",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "CLI tool for managing AI Agent skills - search, install, and update skills for Claude, Codex, Copilot, and more",
5
5
  "author": "SkillHub Contributors",
6
6
  "license": "MIT",