lock-project-stack

lock-project-stack is a skill for Claude Code from n24q02m/claude-plugins. It costs 46 tokens per session (565 once invoked), scanned A, a copy of lock-project-stack, Apache-2.0.

A project setup skill that reads a dependency manifest—such as package.json or pyproject.toml—and locks the project to its declared library versions for documentation searches.

In plain words
What is it for?
Use it to detect supported project manifests, record the dependency versions, report documentation coverage, and request missing library documentation.
Why use it?
It prevents documentation searches from showing instructions for newer library versions that the project does not use.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the wet plugin — 6 skills shipped together

Good fit Use it to detect supported project manifests, record the dependency versions, report documentation coverage, and request missing library documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/n24q02m/claude-plugins/lock-project-stack
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 n24q02m/claude-plugins --skill lock-project-stack
Clone the repo
git clone --depth 1 https://github.com/n24q02m/claude-plugins

Made for: Claude Code.

Or install wet, the plugin that ships this one along with the rest of its 6 skills.

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 lock-project-stack

README.md
[![agentmods](https://agentmods.dev/badge/skills/n24q02m/claude-plugins/lock-project-stack/github.svg)](https://agentmods.dev/skills/n24q02m/claude-plugins/lock-project-stack)
Your own site
<a href="https://agentmods.dev/skills/n24q02m/claude-plugins/lock-project-stack"><img src="https://agentmods.dev/badge/skills/n24q02m/claude-plugins/lock-project-stack/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 lock-project-stack

Your own site · 80×15
<a href="https://agentmods.dev/skills/n24q02m/claude-plugins/lock-project-stack"><img src="https://agentmods.dev/badge/skills/n24q02m/claude-plugins/lock-project-stack.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 565 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.
Origin 100% copy Near-identical to another mod 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.00046 $0.00565
Opus 5.5 $0.00018 $0.00226
Sonnet 5.5 $0.00009 $0.00113
Haiku 4.5 $0.00005 $0.00056

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

Security

Grade A, and why

lock-project-stack 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 7d 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.

Origin

This is a copy

100% identical to lock-project-stack — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/wet-mcp/skills/lock-project-stack/SKILL.md · 55 lines

How it starts

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

lock-project-stack

Bind a project to its declared dependency versions so every search(action="docs_query") call from inside that project surfaces docs for the exact versions you pinned, instead of "latest". Mirrors the Cabinets workflow from spec section 4.3.

Steps

  1. Resolve the project root:

    • If the user gave an absolute path, use it.
    • Otherwise infer the root from the current workspace context (e.g. git rev-parse --show-toplevel output).
    • Confirm at least one supported manifest exists: pyproject.toml, package.json, go.mod, or Cargo.toml.
  2. Lock the project:

    • Call search(action="docs_lock_project", project_path=<abs_path>).
    • The response includes total detected libraries + indexed count (how many already have docs in Tier 1 or Tier 2). Surface both numbers to the user so they know how much coverage they have today.
  3. Trigger Tier 2 ingestion for missing libraries (optional):

    • Iterate the locked_libraries list; for entries with indexed == false, call search(action="docs_query", library=<name>, project_path=<abs_path>, query="<library> overview") once. The first call kicks off background Tier 2 ingestion; subsequent calls return real chunks.
  4. Verify lock reuse:

    • Re-call search(action="docs_query", library=<name>, project_path=<abs_path>, query=...) WITHOUT specifying version. The response should include a non-null lock_pin field matching the version from the manifest, confirming Cabinets is honoring the pin.
  5. Surface the pin to the user:

    • Summarize "Locked N libraries against versions X.Y.Z (M already indexed, K queued for Tier 2 ingestion)."

Best practices

  • Re-run after every dependency bump so the lock stays in sync with what is actually installed.
  • For monorepos, lock each workspace project separately — wet keys on absolute path so apps/web and apps/api get distinct locks.
  • The lock is a hint, not a hard constraint — callers can always override the version by passing it explicitly to docs_query.

Read the full file on GitHub · 55 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. 7d ago Changed · -2 tokens per session 31f5f8b89573
  2. 1mo ago First seen · 55 lines · 48 tokens per session scan A 9c3a552b0e7c

Subscribe to this mod's changes

lock-project-stack is a skill published in the GitHub repository n24q02m/claude-plugins (4 stars, last pushed today), licensed Apache-2.0. It adds 46 tokens to every session and 565 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to lock-project-stack, differing in 4 lines, and is treated as a copy.

Related

Other skills, from other repositories

project

A single starting point for setting up an AI-assisted project in Claude Cowork. It asks questions about the work, reviews available add-ons, and creates project instructions, custom agents, and connected workflows.

modu-ai/moai-cowork · 475 tokens

doc-html-slide

A renderer that turns presentation content into a single HTML slide deck that opens directly in a browser. It creates a 16:9 slide sequence with navigation, fullscreen viewing, printing to PDF, and speaker-note controls.

modu-ai/moai-cowork · 438 tokens

cs-channel-message

A channel-message writing tool for search ads, advertising, customer relationship messages, and app notifications. It uses the NCM sequence—Need, Channel, Moment, Message, and CTA—to adapt wording to where and when customers see it.

modu-ai/moai-cowork · 465 tokens

media-higgsfield-explainer

A Higgsfield workflow for making non-photorealistic narrated explainer videos. It pairs each narration line with a 10-second animated clip and joins the clips into one finished video.

modu-ai/moai-cowork · 244 tokens

media-gpt-image-prompt

An image-prompt writing tool that turns a natural-language idea into detailed prompts for GPT Image 2.5. It can also adapt the same idea for Gemini 3 Pro Image and Midjourney.

modu-ai/moai-cowork · 334 tokens

career-portfolio

A portfolio-building skill for Korean job seekers that organizes projects and explains their work for development, design, marketing, and planning roles.

modu-ai/moai-cowork · 124 tokens