Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Run automatically on Claude Code events. Claude doesn't decide.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code hook that yells at AI assistants for using bare python instead of uv run python.
A pre-tool-use hook that intercepts every Bash command Claude tries to run and checks for the cardinal sin: calling python or python3 directly.
If Claude forgets, it gets this:
============================================================
YOU DUMB F**K! BARE PYTHON DETECTED!
READ YOUR DAMN CLAUDE.md: uv run python, NOT bare python!
Your command: python script.py
Fix: use 'uv run python' instead of python/python3.
============================================================
Because apparently "always use uv run python" in CLAUDE.md is not enough. Some AI assistants need a more... emphatic reminder.
# In your project's .claude/settings.json or hooks.json:
{
"hooks": {
"PreToolUse": [{
"matcher": "Bash",
"hooks": [{
"type": "command",
"command": "bash /path/to/enforce-uv-python.sh"
}]
}]
}
}
The hook exits with code 2 on violation, which blocks the tool call. Claude is then forced to reconsider its life choices and use uv run python like a civilized agent.
Do whatever you want. Just use uv run python.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
no-bare-python@my-claude-marketplace is listed by tonywu20/my-claude-marketplace — review the source before installing
npx claudepluginhub tonywu20/my-claude-marketplace --plugin no-bare-pythonPlugins from other owners that cover similar ground