skillhub 0.1.5 → 0.1.6

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 +3 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -255,7 +255,7 @@ async function install(skillId, options) {
255
255
  process.exit(1);
256
256
  }
257
257
  const [owner, repo, ...rest] = parts;
258
- const skillPath = rest.join("/");
258
+ let skillPath = rest.join("/");
259
259
  let skillInfo;
260
260
  try {
261
261
  skillInfo = await getSkill(skillId);
@@ -267,6 +267,8 @@ async function install(skillId, options) {
267
267
  let branch = "main";
268
268
  if (skillInfo) {
269
269
  skillName = skillInfo.name;
270
+ skillPath = skillInfo.skillPath;
271
+ branch = skillInfo.branch || "main";
270
272
  spinner.text = `Found skill: ${chalk.cyan(skillName)}`;
271
273
  } else {
272
274
  spinner.text = "Skill not in registry, fetching from GitHub...";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillhub",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
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",