package-manager

by Tartiner Labs · ★ 0 · updated today

GuardsAutomationvalidates

0

Holds Claude to the project's package manager and wrapper, giving the exact command to run instead, and stops it weakening the supply-chain guards of pnpm, npm, yarn, bun and uv: release-age gates, install scripts and overrides, plus hand-edited lockfiles. Global installs ask you first, with an option to choose the manager for them.

install package-manager

Install

/plugin marketplace add tartinerlabs/claude-code-mods
/plugin install package-manager@tartinerlabs-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
tool.calltool.checktool.judge
API calls
$.fs.exists$.fs.list$.fs.read$.process.run$.session.cwd
Can see
Bash callsEdit callsWrite calls
Reach
level 2 of 3 runs processesreads files

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/tartinerlabs/claude-code-mods
Path in repo
plugins/package-manager
Source commit
452751a the exact code the scan read
Author
Tartiner Labs @tartinerlabs
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from tartinerlabs/claude-code-mods

auto-resume

tartinerlabs/claude-code-mods

Sends "continue" once a usage limit resets, so a turn cut off by the limit picks up where it stopped.

★ 0Status lineCommandsPrompt

auto-session-name

tartinerlabs/claude-code-mods

Names each session from its first prompt and re-checks the name every few prompts as the work moves on, so it is easy to find in /resume. Terminal only: the desktop app names its own sessions.

★ 0CommandsPromptAutomation

cache-clock

tartinerlabs/claude-code-mods

Counts down to the prompt cache going cold, with the last request's hit rate, above the prompt.

★ 0Bands

git-status

tartinerlabs/claude-code-mods

Shows the branch, working tree and the branch's pull request above the prompt, toasts when checks finish or a rebase stops on conflicts, and merges the PR, or its whole gh-stack stack, with /merge. In the desktop app it shows the working tree alone and leaves the pull request to the app.

★ 0BandsGuardsCommands

limit-watch

tartinerlabs/claude-code-mods

Draws the 5-hour and weekly usage limits above the prompt, coloured by use, with reset countdowns and toasts at 80% and 95%. Terminal only: in the desktop app it leaves the limits to the usage card.

★ 0Bands

release-notes

tartinerlabs/claude-code-mods

Drafts App Store release notes for Xcode projects when the version is bumped, into fastlane metadata or CHANGELOG.md, and shows the version above the prompt.

★ 0BandsCommands

resource-watch

tartinerlabs/claude-code-mods

Shows which Claude Code session is using each booted Apple simulator, Claude Design project and the Xcode app, above the prompt, and when another session already holds one this session picks up, toasts, messages that session and tells this session's agent.

★ 0BandsGuards

smart-compact

tartinerlabs/claude-code-mods

Asks Haiku after each turn whether the work just reached a clean break, such as a commit, PR or approved plan, and compacts there with a summary shaped for it. Asks again only once the context has grown 20 points since the last compaction; leaves full-context and idle compaction to Claude Code.

★ 0ToastsGuards

token-weather

tartinerlabs/claude-code-mods

A live forecast of the context window, drawn above the prompt. In the desktop app it shows the last turns alone and leaves the fill to the composer.

★ 0Bands

vercel-watch

tartinerlabs/claude-code-mods

Follows the Vercel deployments of a pushed commit, a pull request's preview included, or of the default branch after a merge, above the prompt, toasts when they finish and tells Claude when one fails.

★ 0BandsGuards

youtube

tartinerlabs/claude-code-mods

Reads the YouTube links in a prompt with yt-dlp and hands Claude each video's title, channel, description, chapters and transcript.

★ 0ToastsPrompt

Other mods in Guards, close to this one by stars.