change-package-manager

change-package-manager is a skill for Claude Code from dannysmith/tauri-template. It costs 43 tokens per session (1,317 once invoked), scanned A, original, MIT.

A project update procedure for switching between npm, Bun, and pnpm, which are tools for installing JavaScript packages and running project commands.

In plain words
What is it for?
Use it to change install, run, dependency, audit, and binary commands, update lock-file references, and revise related configuration and workflow files.
Why use it?
It prevents the project, documentation, continuous-integration jobs, and AI instructions from using conflicting package-manager commands or lock files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions AGENTS.md.

Good fit Use it to change install, run, dependency, audit, and binary commands, update lock-file references, and revise related configuration and workflow files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dannysmith/tauri-template/change-package-manager
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add dannysmith/tauri-template --skill change-package-manager
Clone the repo
git clone --depth 1 https://github.com/dannysmith/tauri-template

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for change-package-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/dannysmith/tauri-template/change-package-manager/github.svg)](https://agentmods.dev/skills/dannysmith/tauri-template/change-package-manager)
Your own site
<a href="https://agentmods.dev/skills/dannysmith/tauri-template/change-package-manager"><img src="https://agentmods.dev/badge/skills/dannysmith/tauri-template/change-package-manager/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for change-package-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/dannysmith/tauri-template/change-package-manager"><img src="https://agentmods.dev/badge/skills/dannysmith/tauri-template/change-package-manager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,317 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 76
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 77
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01317
Opus 5.5 $0.00017 $0.00527
Sonnet 5.5 $0.00009 $0.00263
Haiku 4.5 $0.00004 $0.00132

Measured 16d ago against content hash bfbfd24e07f5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

change-package-manager scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 16d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/change-package-manager/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Switch this project's package manager to $ARGUMENTS.

If $ARGUMENTS is not exactly bun, pnpm, or npm, ask the user which package manager they want.

Command Mapping Reference

Detect the current package manager from AGENTS.md or package.json scripts. Use this table for all replacements:

Context npm bun pnpm
Install deps npm install bun install pnpm install
Run script npm run X bun run X pnpm run X
CI frozen install npm ci bun install --frozen-lockfile pnpm install --frozen-lockfile
Add dep npm install pkg bun add pkg pnpm add pkg
Add dev dep npm install -D pkg bun add -D pkg pnpm add -D pkg
Remove dep npm uninstall pkg bun remove pkg pnpm remove pkg
Audit npm audit bun audit pnpm audit
Global install npm install -g pkg bun install -g pkg pnpm add -g pkg
Execute binary npx bunx pnpm dlx
Lock file package-lock.json bun.lock pnpm-lock.yaml

Step 1: Functional Config

package.json scripts

Read package.json. Replace the current PM's run command with the target PM's in all script values. For example, npm run typecheck becomes bun run typecheck.

tauri.conf.json

Read src-tauri/tauri.conf.json. Update beforeDevCommand and beforeBuildCommand.

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 16d ago Changed · +4 lines bfbfd24e07f5
  2. 2mo ago First seen · 111 lines · 43 tokens per session scan A e3dbdee7bac7

Subscribe to this mod's changes

change-package-manager is a skill published in the GitHub repository dannysmith/tauri-template (314 stars, last pushed 16d ago), licensed MIT. It adds 43 tokens to every session and 1,317 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

change-package-manager compared with skills from other repositories

change-package-manager next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
change-package-managerdannysmith/tauri-templateSkill31416d agoMITA43Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code