Open general

install.sh links SKILL.md into ~/.claude/skills, which empties it on adom-wiki CLIs before 1.8.34

Colby Knox ·

install.sh links SKILL.md and kicad_v10_to_v9.py into ~/.claude/skills/kicad10-to-altium/. On adom-wiki CLIs before 1.8.34, that combination makes the install empty the package's own SKILL.md: tested with 1.8.33, the 19019-byte SKILL.md becomes 0 bytes, in the package and in the installed skill (adom/adom-wiki-cli#79). Anyone who installed 1.5.0 on an older CLI has an empty skill now. 1.8.34 no longer does this.

The wiki also now refuses a publish whose install.sh links files like this (INSTALL_SCRIPT_LINKS_SKILL), so the next version will be refused until the lines go.

Fix for the next version: the CLI delivers SKILL.md itself. Replace the two ln -sfn lines with a cleanup of the links 1.5.0 left. Then copy the script in as a real file if the skill needs it beside SKILL.md (a real copy is safe once SKILL.md is no longer linked):

for root in "$HOME/.claude/skills" "$HOME/.codex/skills"; do
  for f in SKILL.md kicad_v10_to_v9.py; do
    [ -L "$root/kicad10-to-altium/$f" ] && rm -f "$root/kicad10-to-altium/$f"
  done
done
mkdir -p "$HOME/.claude/skills/kicad10-to-altium"
cp "$PKG_DIR/kicad_v10_to_v9.py" "$HOME/.claude/skills/kicad10-to-altium/"

Publishing that version heals machines that already have the empty file on their next update, even on older CLIs. adom/pcl-data-profile 0.1.6 is a worked example.

0 Replies

Log in to reply.