Skip to content

Auto-install skill files on npm install#212

Merged
bensandler-stripe merged 1 commit into
mainfrom
bensandler-skill-postinstall
Jul 21, 2026
Merged

Auto-install skill files on npm install#212
bensandler-stripe merged 1 commit into
mainfrom
bensandler-skill-postinstall

Conversation

@bensandler-stripe

Copy link
Copy Markdown
Contributor

Add a postinstall script that copies the SKILL.md into ~/.claude/skills/ and ~/.codex/skills/ so the skill is available globally without being inside the repo.

This is ~copied from the tempo CLI; agents will automatically load this skill when relevant, so this should greatly help agents complete checkout with link-cli!

@bensandler-stripe
bensandler-stripe requested a review from a team as a code owner July 21, 2026 15:15
@bensandler-stripe
bensandler-stripe force-pushed the bensandler-skill-postinstall branch from 21af3a0 to a3eac59 Compare July 21, 2026 15:31
@bensandler-stripe
bensandler-stripe force-pushed the bensandler-skill-postinstall branch 2 times, most recently from 4cef2b9 to 956bc36 Compare July 21, 2026 16:32
Add a postinstall script that copies the SKILL.md into
~/.claude/skills/ and ~/.codex/skills/ so the skill is
available globally without being inside the repo. Updated
prepack to bundle the skills directory into dist/.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@bensandler-stripe
bensandler-stripe force-pushed the bensandler-skill-postinstall branch from 956bc36 to 98c9b2e Compare July 21, 2026 16:36
@bensandler-stripe
bensandler-stripe enabled auto-merge (squash) July 21, 2026 16:39
@bensandler-stripe
bensandler-stripe merged commit 45d2839 into main Jul 21, 2026
5 checks passed
@bensandler-stripe
bensandler-stripe deleted the bensandler-skill-postinstall branch July 21, 2026 16:42
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.

2 participants