cursor-doctor: Skill for Cursor

.cursor/skills/dependency-management/SKILL.md

dependency-management is a skill for Cursor from ajgreyling/cursor-doctor. It costs 16 tokens per session (243 once invoked), scanned A, original, MIT.

A set of instructions for managing the packages a Node.js project depends on. It covers runtime packages, development packages, package versions, and the package-lock.json file that records installed versions.

In plain words
What is it for?
Use it when changing dependencies, investigating package-related failures, running builds and smoke tests, or checking security and licensing considerations.
Why use it?
It reduces the risk of broken builds or runtime problems when packages are added or upgraded.

Skill for Cursor

Written for Cursor: installed under .cursor/.

This is ajgreyling/cursor-doctor's own configuration. It tells Cursor how to work on cursor-doctor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything cursor-doctor configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ajgreyling/cursor-doctor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ajgreyling/cursor-doctor/master/.cursor/skills/dependency-management/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/ajgreyling/cursor-doctor

Made for: Cursor.

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 dependency-management

README.md
[![agentmods](https://agentmods.dev/badge/skills/ajgreyling/cursor-doctor/dependency-management.svg)](https://agentmods.dev/skills/ajgreyling/cursor-doctor/dependency-management)
Your own site
<a href="https://agentmods.dev/skills/ajgreyling/cursor-doctor/dependency-management"><img src="https://agentmods.dev/badge/skills/ajgreyling/cursor-doctor/dependency-management.svg" alt="Measured on agentmods" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 243 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 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.00016 $0.00243
Opus 5 $0.00008 $0.00121
Sonnet 5 $0.00003 $0.00049
Haiku 4.5 $0.00002 $0.00024

Measured 7d ago against content hash 9407fe8521a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

dependency-management 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.

.cursor/skills/dependency-management/SKILL.md · 41 lines

What it actually says

Dependency Management

Current dependency context

  • Runtime deps: fast-glob, yaml
  • Dev deps: typescript, @types/node, husky
  • Runtime requirement: Node.js >=18

Source of truth: package.json and package-lock.json.

When to use

  • Adding a new dependency.
  • Upgrading existing dependency versions.
  • Investigating build or runtime issues caused by package changes.

Workflow

  1. Add/upgrade with npm commands (no manual lockfile editing).
  2. Run npm install.
  3. Run npm run build.
  4. Smoke-test commands (generate, audit, read).
  5. Update docs if command behavior or requirements changed.

Guardrails

  • Prefer stable latest compatible versions unless the user requests pinning.
  • Keep dependencies minimal; avoid adding packages for simple built-in functionality.
  • If adding a dependency with security/licensing implications, document rationale in the PR/notes.

Completeness checklist

  • current versions
  • where to check
  • how to add or upgrade
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 First seen · 41 lines · 16 tokens per session scan A 9407fe8521a5

Subscribe to this mod's changes

dependency-management is a skill published in the GitHub repository ajgreyling/cursor-doctor (0 stars, last pushed 1mo ago), licensed MIT. It adds 16 tokens to every session and 243 once invoked, about $0.0001 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-31.