All Claude Code modsnarrowstacks/claude-code-mods
pm-guard
Steers npm/npx/yarn to the package manager the repo's lockfile names (bun or pnpm), bun where there is none
pm-guard reaches L1 (reads) and passed claude plugin validate with warnings on Claude Code 2.1.302.
- Events hooked: 1
- API methods referenced: 3
- Access from classified calls: L1, reads: reads files, reads env vars
- Static scan, not a runtime test
Install hint
/plugin install pm-guard --marketplace narrowstacks/claude-code-modsFrom the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.
Access
L1 Reads filesreads files, reads env varsValidation
Passed with warnings on Claude Code 2.1.302View the source on GitHub Back to the list
What the scan recorded
- Observed events
- Bash calls
- Hooks
tool.call {tool=Bash}- API calls
$.env.get, $.fs.exists, $.session.cwd- Validation on 2.1.302
- Passed with warnings
- Scanned revision
4aa697cd385e- Marketplace warnings
- claude-code-mods
These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. How the scan works.
More from narrowstacks/claude-code-mods
- agent-jobs/jobs pane: running subagents and background shells with elapsed time and Stop; a toast when background work…
- agent-modelsPins the model each subagent type runs on, set in /config or with /agent-models
- context-watchContext fill, cost and rate limits in the status line; threshold toasts; compaction that keeps edited files;…
- handoff/carryover writes a state note from the conversation, clears, and carries the note into the fresh context
- house-styleEnforces the no-em-dash rule: a system prompt section, a reminder to the model after a write that adds one, a…
- live-spinnerSpinner says what is actually running: the Bash command, the file being read or edited, the search, the subag…
- pr-rulesBlocks gh pr create / gt submit when a repo with an [Unreleased] changelog has no entry on the branch, and (w…
- pr-watchTracks PRs the session touches, shows their checks above the prompt, toasts on green/red/merged, and stops fo…
- remote-guardAsks before a destructive command runs on another machine over ssh (restarts, deletes, kills, reboots)
- worktrees/worktrees pane: each git worktree with branch, uncommitted changes, ahead/behind and PR state; removes clean…
- xcode-statusIn Xcode projects only: one line with the last build and test result and the booted simulator; flags 0-test r…
- zsh-safeQuotes glob flags zsh would expand (--include=*.ts) and keeps a grep that finds nothing from failing the comm…
Badge for your README
Authors can show the latest scan result in their README. Each badge links to this page.
[](https://mods.aidojo.si/mods/narrowstacks--claude-code-mods--pm-guard/)
[](https://mods.aidojo.si/mods/narrowstacks--claude-code-mods--pm-guard/)