pnpm

pnpm is a skill for Claude Code from louisbrulenaudet/monorepo-template. It costs 96 tokens per session (2,269 once invoked), scanned A, original, Apache-2.0.

Guidance for using pnpm, a package manager that installs JavaScript dependencies, in a pnpm and Turborepo monorepo. It explains which work belongs to pnpm and which belongs to Turborepo, the tool that runs tasks across projects.

In plain words
What is it for?
Use it when adding or updating dependencies, editing workspace packages, installing dependencies, or running builds, tests, linting, and affected-project checks.
Why use it?
It prevents dependency, lockfile, workspace, and build responsibilities from being mixed up. It also provides consistent installation rules for local development and automated builds.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it when adding or updating dependencies, editing workspace packages, installing dependencies, or running builds, tests, linting, and affected-project checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/louisbrulenaudet/monorepo-template/pnpm
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 louisbrulenaudet/monorepo-template --skill pnpm
Clone the repo
git clone --depth 1 https://github.com/louisbrulenaudet/monorepo-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 pnpm

README.md
[![agentmods](https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/pnpm/github.svg)](https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/pnpm)
Your own site
<a href="https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/pnpm"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/pnpm/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 pnpm

Your own site · 80×15
<a href="https://agentmods.dev/skills/louisbrulenaudet/monorepo-template/pnpm"><img src="https://agentmods.dev/badge/skills/louisbrulenaudet/monorepo-template/pnpm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,269 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: 4 findings, up to high

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 →

  • high Privilege Escalation · line 35
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 173
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 197
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Rogue Agent · line 199
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00096 $0.02269
Opus 5 $0.00048 $0.01135
Sonnet 5 $0.00019 $0.00454
Haiku 4.5 $0.00010 $0.00227

Measured 11d ago against content hash 3a5781470c71, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

pnpm 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 11d 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.

.agents/skills/pnpm/SKILL.md · 211 lines

How it starts

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

pnpm Skill

Fast, disk-efficient package manager for this pnpm + Turborepo monorepo. pnpm owns the dependency graph, lockfile, and supply-chain policy; Turborepo owns task orchestration (build, lint, dev, --affected).

Division of Labor

Concern Tool Agent action
Add/remove/update deps pnpm pnpm add, pnpm remove, pnpm up
Shared version pins pnpm catalog Edit pnpm-workspace.yaml catalog:
Internal packages pnpm workspace "@repo/foo": "workspace:*"
Build/lint/dev/deploy Turborepo pnpm turbo run <task> or pnpm <task>
Affected CI Turborepo pnpm turbo run <task> --affected

Do not put task logic in root package.json when it belongs in packages - see the turborepo skill.

This Repo

Setting Value
pnpm version 11.20.0 (pinned via packageManager in root package.json)
Workspace globs apps/*, packages/* in pnpm-workspace.yaml
Install (local) pnpm install
Install (CI) pnpm install --frozen-lockfile
Update all deps pnpm updatepnpm update --recursive --latest (bumps catalog entries in pnpm-workspace.yaml)
Lockfile Single pnpm-lock.yaml (pnpm workspace default)
Policy location pnpm-workspace.yaml only — project .npmrc is auth-only under pnpm 11

After adding a new app under apps/, run pnpm install before turbo commands.

Workspace Protocol

Always link internal packages with the workspace protocol:

{
  "dependencies": {
    "@repo/dtos-common": "workspace:*",
    "@repo/enums-common": "workspace:*"
  }
}
  • workspace:* - always use the local workspace version (preferred).
  • On publish, pnpm rewrites workspace: to semver ranges automatically.

Never duplicate a shared package version as a registry range in an app - use workspace:*.

Catalogs (Shared Tool Versions)

Shared versions live in the default catalog in pnpm-workspace.yaml with catalogMode: prefer (prefer catalog on pnpm add when listed; one-off deps still allowed):

Read the full file on GitHub · 211 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. 11d ago First seen · 211 lines · 96 tokens per session scan A 3a5781470c71

Subscribe to this mod's changes

pnpm is a skill published in the GitHub repository louisbrulenaudet/monorepo-template (19 stars, last pushed 10d ago), licensed Apache-2.0. It adds 96 tokens to every session and 2,269 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens

gsap-core

Official GSAP skill for the core API — gsap.to(), from(), fromTo(), easing, duration, stagger, defaults, gsap.matchMedia() (responsive, prefers-reduced-motion). Use when the user asks for a JavaScript animation library, animation in React/Vue/vanilla, GSAP tweens, easing, basic animation, responsive or reduced-motion…

calesthio/OpenMontage · 128 tokens

threejs-geometry

Three.js geometry creation - built-in shapes, BufferGeometry, custom geometry, instancing. Use when creating 3D shapes, working with vertices, building custom meshes, or optimizing with instanced rendering.

calesthio/OpenMontage · 46 tokens

threejs-interaction

Three.js interaction - raycasting, controls, mouse/touch input, object selection. Use when handling user input, implementing click detection, adding camera controls, or creating interactive 3D experiences.

calesthio/OpenMontage · 44 tokens

playwright-recording

Record browser interactions as video using Playwright. Use for capturing demo videos, app walkthroughs, and UI flows for Remotion videos. Triggers include recording a demo, capturing browser video, screen recording a website, or creating walkthrough footage.

calesthio/OpenMontage · 53 tokens

seedance-2-5

Generate 4-30 second cinematic video with ByteDance Seedance 2.5 through fal.ai, Volcengine Ark, Runway, or ComfyUI Partner Nodes. Use for long single generations, synchronized audio, and large multimodal reference sets (up to 30 images, 10 videos, and 10 audio clips). Also covers the 2.5 prompt contract: section…

calesthio/OpenMontage · 117 tokens