Skip to content

Project mode: reinstalling a skill from a new source keeps the old source in .skillshare/config.yaml #858

Closed

Description

@ErykJakubik

Version: skillshare v0.30.4 (macOS, Homebrew)

What happens
In project mode, after uninstall and a new install of the same skill from a different source URL, the gitignored metadata gets the new source but the committed .skillshare/config.yaml keeps the old one. A teammate who clones the repo and runs skillshare install -p installs from the old source. If the old URL no longer exists (e.g. the team moved its Git host), the install fails with failed to clone repository.

Steps to reproduce
mkdir repro && cd repro && git init -q
skillshare init -p --targets claude
skillshare install <OLD_URL>/dev-testy -p # e.g. file:///path/to/skills.git/dev-testy
skillshare uninstall dev-testy -p --force
grep -c dev-testy .skillshare/config.yaml # 2: the entry stays after uninstall
skillshare install <NEW_URL> -s dev-testy -p # e.g. https://git.example.com/team/skills
grep source .skillshare/config.yaml # still <OLD_URL>/dev-testy
jq -r '.entries["dev-testy"].source' .skillshare/skills/.metadata.json # <NEW_URL>/dev-testy
Expected

One of these:

the new install updates the source of the existing config.yaml entry (as the metadata already shows), or
install warns that config.yaml already lists the skill with a different source and says how to replace it.
Actual

install reports success (✓ Source <NEW_URL>, ✓ dev-testy, ✓ Audit no findings) and config.yaml silently keeps <OLD_URL>. .metadata.json and config.yaml now disagree, and only config.yaml is committed, so every other machine reinstalls from the old source.

Related

#777 looks like the same class of problem for agents (update agents loses the agent's source) and was fixed in #778.

Workaround

Edit source: in .skillshare/config.yaml by hand and commit.

Activity

  1. self-assigned this
    on Nov 11, 2026
  2. added
    bug
    on Nov 11, 2026
  3. runkids commented on Nov 11, 2026

    @runkids
    Owner

    Thanks for the report, and for the exact steps, which made this quick to reproduce.

    Both halves are fixed in #860. uninstall -p now removes the skill's entry from .skillshare/config.yaml, and installing a skill again from a different source updates the existing entry and its pin in skills.lock.json, so a fresh clone installs from the new URL. This also covers reinstalling over the existing copy with --force.

    It is on main and will ship in the next release. Until then, editing source: by hand as you did is the right workaround. If anything still looks off after you upgrade, please reopen this.

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