Skip to content

Something wrong: install skill from a repo, which have skills both in its root and children directory #124

Closed

Description

@leeeezx

When i use skillshare install https://github.com/iOfficeAI/OfficeCLI to install skills from repo , the next screen as fig.2 show, then i chooseInstall entire pack (OfficeCLI + 8 children), the install result as fig.1 show(in C:\Users\25977\AppData\Roaming\skillshare\skills). Is this result correct?
Seems like a completely git clone , rather than install skills

Then i tried to choose select individual skills, But cant find the skill, which in the root directory of repo. As fig.3 show.

Then i tried to use skillshare install https://github.com/iOfficeAI/OfficeCLI/blob/main/SKILL.md to install skill in the root dir, but the folder name of this skill is skill.md(in C:\Users\25977\AppData\Roaming\skillshare\skills)

finally, i use skillshare install xxx --name xxx to install skill in the root dir
fig.1
Image

fig.2
Image

fig.3
Image

Activity

  1. self-assigned this
    on Apr 8, 2026
  2. added
    bug
    on Apr 8, 2026
  3. runkids commented on Apr 10, 2026

    @runkids
    Owner

    Thanks for the detailed report! I've tagged this for v0.19 and will get it fixed in that release.

  4. runkids commented on Apr 13, 2026

    @runkids
    Owner

    Hey @leeeezx, this should be fixed in v0.19 — could you give it a try and let me know if everything works as expected?
    I've been a bit busy lately so I may not be able to respond to every issue promptly, but I do read them all. If you run into any further issues, feel free to open a new issue and I'll get to it when I can. Thanks for reporting! 🙏

  5. leeeezx commented on Apr 13, 2026

    @leeeezx
    Author

    Hey @leeeezx, this should be fixed in v0.19 — could you give it a try and let me know if everything works as expected? I've been a bit busy lately so I may not be able to respond to every issue promptly, but I do read them all. If you run into any further issues, feel free to open a new issue and I'll get to it when I can. Thanks for reporting! 🙏

    Thanks for your work!

    I try to reproduce, and here are process and result:

    ❓Option 1

    1. Run skillshare install https://github.com/iOfficeAI/OfficeCLI
    2. Select the option 1 install entire pack
    3. As fig.1 show, it seems clone whole repository, which in C:\Users\25977\AppData\Roaming\skillshare\skills\Officecli. Packed into a folder. But unlike clone, this operation extracts all the skills from the original skills directory into the root directory. Is this correct?❓

    ✅❓Option 2

    1. Run skillshare install https://github.com/iOfficeAI/OfficeCLI
    2. Select the option 2 select individual skills
    3. Everything is fine, success detect all skills in root and children directory
      4.1 If i select all skill, the result is same as option 1 step 3.❓
      4.2 If i just select a few of them, the repo not be clone, the selected skills is successfully installed, not be packed into a folder✅

    fig.1
    Image

  6. runkids commented on Apr 13, 2026

    @runkids
    Owner

    Thanks for the detailed follow-up testing!

    What changed in v0.19.1

    The root issue: when a SKILL.md sits at the repo root alongside project infrastructure (source code, assets, CI, etc.), there's no directory boundary — skillshare was copying the entire repo root as the "root skill".

    Fix: root orchestrator skills now install only their SKILL.md. Children install as independent flat directories:

    # Before (v0.19.0)
    skills/OfficeCLI/          ← entire repo root (src/, assets/, .github/, ...)
      └── morph-ppt/            ← nested under root
    
    # After (v0.19.1)
    skills/OfficeCLI/SKILL.md  ← root skill (SKILL.md only)
    skills/morph-ppt/...        ← independent
    skills/officecli-docx/...   ← independent
    

    This applies to both "Install entire pack" and "Select all" — your scenarios Option 1 and 4.1 should now produce clean results.

    The OfficeCLI author also provides a direct SKILL.md URL (curl -fsSL https://officecli.ai/SKILL.md), so if you only need the root skill you can install it directly:

    skillshare install https://github.com/iOfficeAI/OfficeCLI/blob/main/SKILL.md
  7. leeeezx commented on May 1, 2026

    @leeeezx
    Author

    Follow-up note after testing again on v0.19.5:

    v0.19.1 fixed the clean-install behavior, but if the old full-repo installation shape already exists, skillshare update OfficeCLI does not always migrate it into the new "SKILL.md only" root-skill layout.

    In my case, the existing skills/OfficeCLI directory was still a full repository checkout instead of only containing SKILL.md. After running skillshare update OfficeCLI, the local repo was already at the latest GitHub HEAD, but skillshare doctor --json reported an integrity issue like OfficeCLI: 762 added, and skillshare check --json still marked OfficeCLI as update_available.

    After uninstalling the OfficeCLI-related skills and reinstalling them, the layout became clean again: skills/OfficeCLI only contains SKILL.md, the child skills are installed as separate flat directories, doctor reports skill integrity as verified, and check --json reports them as up_to_date.

  8. runkids commented on May 5, 2026

    @runkids
    Owner

    Hi @leeeezx, this has been fixed in v0.19.6. The root orchestrator update logic now correctly detects the repo layout and re-applies subdirectory extraction.

    That said, I'd recommend reaching out to the repo author and suggesting they follow the Agent Skill Specification — a skill should be a directory containing at least a SKILL.md file, rather than placing SKILL.md directly at the repo root mixed with source code. This makes the repo structure cleaner and avoids edge cases like the one you ran into.

    Thanks for the report!

  9. leeeezx commented on May 6, 2026

    @leeeezx
    Author

    Hi @leeeezx, this has been fixed in v0.19.6. The root orchestrator update logic now correctly detects the repo layout and re-applies subdirectory extraction.

    That said, I'd recommend reaching out to the repo author and suggesting they follow the Agent Skill Specification — a skill should be a directory containing at least a SKILL.md file, rather than placing SKILL.md directly at the repo root mixed with source code. This makes the repo structure cleaner and avoids edge cases like the one you ran into.

    Thanks for the report!

    Thanks for you great work!👏👏👏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions