Add installer to register tools as Claude Code slash commands#1
Open
bartTC wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a curl-able installer that registers the markdown tools in this repo as user-level Claude Code slash commands under
~/.claude/commands/. After install, each tool is invoked as/<name>from any Claude Code session.Three new files:
install.sh— downloads the repo tarball, lists what it will install (with descriptions extracted live from each tool's frontmatter or first prose line), prompts for confirmation, then copies into~/.claude/commands/. Re-running updates everything to the latest version.uninstall.sh— thin wrapper that runsinstall.shinUNINSTALL=1mode. Removes only files this installer placed; anything else under~/.claude/commands/is left alone.INSTALL.md— install/uninstall/options docs with sample output.Why
Until now, using these tools meant copy-pasting markdown prompts into a session or symlinking by hand. A first-class installer makes the toolkit feel like the product it is:
curl … | bash, re-run to refresh./menu, namespaced (/voice:voice-of-william-gibson,/tutor:tutor-pydantic-v2-modeling) so they don't crowd the top level.+ newor↻ overwrite (update)so it's clear what will change.Single source of truth: the file list lives in
install.sh;uninstall.shis a 3-line wrapper, so there's no drift risk.How to use
Install (or update):
curl -fsSL https://raw.githubusercontent.com/cppalliance/tools-public/master/install.sh | bashUninstall:
curl -fsSL https://raw.githubusercontent.com/cppalliance/tools-public/master/uninstall.sh | bashEnv knobs (set before the curl pipe):
INSTALL_YES=1[y/N]confirmationDEST=/path~/.claude/commandsLOCAL_SRC=/pathUNINSTALL=1Sample output
On re-run, the
+markers become↻for files already present.