Skip to content

Install the skill through flux install claude in install.sh - #20

Merged
JoeriDijkstra merged 1 commit into
masterfrom
chore/install-sh-flux-install
Oct 12, 2026
Merged

JoeriDijkstra merged 1 commit into
masterfrom
chore/install-sh-flux-install

Conversation

@JoeriDijkstra

Copy link
Copy Markdown
Contributor

Goal

Install the Flux skill with flux install claude, omp or codex

v0.5.0 (#19) embeds the skill in the binary. install.sh now installs the skill through that command instead of copying it from the release archive, so the skill matches the installed binary on every install path. This is step 2 of docs/specs/install-command.md. It could only merge after v0.5.0 was released, because install.sh is served from master but downloads the latest release.

Changes

  • install.sh runs "$INSTALL_DIR/flux" install claude after installing the binary, from both a release and a source build. If that fails (for example, a symlinked skill folder is refused), it prints a warning and keeps the binary.
  • SKILL_DIR is gone; CLAUDE_CONFIG_DIR replaces it, as for flux install claude.
  • Release archives hold only the binary (files: [none*]). Without a files list, GoReleaser would add README.md.
  • scripts/test-install.sh no longer requires skill/SKILL.md in the archives. It still checks a fresh install, that an unchanged reinstall makes no backup, and that an edited skill is backed up, now through flux install claude. It unsets CLAUDE_CONFIG_DIR instead of SKILL_DIR.
  • The spec's status is now "implemented", with dated findings.

Compatibility

Anyone who exported SKILL_DIR for install.sh now gets ~/.claude/skills/flux; set CLAUDE_CONFIG_DIR to change it. Releases from now on no longer ship skill/SKILL.md in the archives. flux update only extracts flux, so it is unaffected.

Verification

  • goreleaser release --snapshot --clean (v2.18.3), then scripts/test-install.sh dist: all four archives contain only flux; the install, no-backup and backup checks pass.
  • The new install.sh against the published v0.5.0 release, under a temporary HOME: it downloaded v0.5.0 and installed the binary and a skill identical to skill/SKILL.md.
  • With a symlinked ~/.claude/skills/flux, install.sh printed the warning, left the link target untouched, kept the binary and exited 0.

v0.5.0 embeds the skill, so install.sh calls flux install claude instead
of copying skill/SKILL.md, and release archives hold only the binary.
SKILL_DIR is replaced by CLAUDE_CONFIG_DIR.
@JoeriDijkstra
JoeriDijkstra merged commit aa7e271 into master Oct 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant