Skip to content

Hint to run cio skills install on first use#53

Merged
lbebber merged 1 commit into
mainfrom
skills-install-hint
Jun 18, 2026
Merged

Hint to run cio skills install on first use#53
lbebber merged 1 commit into
mainfrom
skills-install-hint

Conversation

@lbebber

@lbebber lbebber commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • When the bootstrap skill (~/.claude/skills/cli/SKILL.md) hasn't been installed, prints a one-liner hint to stderr on interactive terminals
  • Skips the hint for cio skills *, cio prime, cio help, and cio completion commands
  • Lightweight check — just a single os.Stat call, no network or file reads

This is a fallback for cases where the npm postinstall script didn't run or failed silently (e.g. --ignore-scripts, manual binary install).

Test plan

  • go build and go test ./cmd/ pass
  • Remove ~/.claude/skills/cli/ and run any cio command — should see the hint
  • Run cio skills install — should NOT see the hint
  • Run any command after installing skills — should NOT see the hint
  • Pipe cio output — should NOT see the hint (non-TTY stderr)

Print a one-liner to stderr when the bootstrap skill hasn't been
installed yet. Only fires on interactive terminals and skips commands
where the hint would be noise (skills, prime, help, completion).
@lbebber lbebber merged commit eaea3eb into main Jun 18, 2026
17 checks passed
@lbebber lbebber deleted the skills-install-hint branch June 18, 2026 01:01
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