Stop hardcoding pip commands in USAGE.md - #37
Merged
Conversation
The claude.ai setup step justified network egress solely as "so that Claude can install idc-index", and two other places handed out bare `pip install idc-index` / `pip install --user idc-index`. Those target whichever interpreter pip resolves to and ignore the pinned version — the failure scripts/ check_version.py exists to prevent, and which SKILL.md no longer does either. Point the troubleshooting entry at check_version.py and drop the install commands from the Command Execution list, which does not need to name one. Deliberately not documenting which access path the skill picks per task: that is the assistant's decision from SKILL.md, and a human configuring the skill cannot act on it. The one exception is the allowed-domains list, where it does change what they configure. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
Follow-up to #36, which removed hardcoded
pip installcommands fromSKILL.mdbut left three inUSAGE.md.Why
scripts/check_version.pyexists to emit an install command that targets the interpreter actually running and pins the vetted version. A barepip install idc-indexdefeats both: it may resolve to a different environment than the one importing the package, and it ignores the pin.USAGE.mdstill handed outpip install idc-indexandpip install --user idc-indexdirectly, and justified network egress solely as "so that Claude can installidc-index".Changes
check_version.pyand explains why, keeping the PEP 668 note that the old--userbullet carriedidc-index", since the API path needs no packageScope
Deliberately not documenting which access path the skill picks per task. That is the assistant's decision from
SKILL.md, and a human configuring the skill cannot act on it — so it would be noise in a setup doc. The one exception is the allowed-domains list, where it genuinely changes what they configure; that was already covered in #36.README.mdis unchanged for the same reason.Verified: 52 passed across
test_structure,test_rest_api,test_mcp_server.🤖 Generated with Claude Code