grimoire-deps

grimoire-deps is a skill for Claude Code from ojCezarFerreira/Grimoire. It costs 48 tokens per session (2,438 once invoked), scanned B, original, MIT.

A dependency-auditing and update workflow for software projects. It checks security vulnerabilities, version-change risk, release maturity, and supply-chain reputation before applying updates.

In plain words
What is it for?
Use it to audit dependencies, rank upgrade risks, apply safe updates with separate commits, and verify the project after changes.
Why use it?
It helps developers decide which dependency updates are safe and separates potentially breaking changes from routine upgrades.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the grimoire plugin — 11 skills shipped together

Good fit Use it to audit dependencies, rank upgrade risks, apply safe updates with separate commits, and verify the project after changes.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add ojCezarFerreira/Grimoire
Claude Code
/plugin install grimoire

Made for: Claude Code.

Or install grimoire, the plugin that ships this one along with the rest of its 11 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 grimoire-deps

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ojcezarferreira/grimoire/grimoire-deps"><img src="https://agentmods.dev/badge/skills/ojcezarferreira/grimoire/grimoire-deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00048 $0.02438
Opus 5 $0.00024 $0.01219
Sonnet 5 $0.00010 $0.00488
Haiku 4.5 $0.00005 $0.00244

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

Security

Grade B, and why

grimoire-deps scanned grade B with 1 finding 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 12d 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.

Tells the agent never to refusemediumAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

2. If `.grimoire/PROJECT.md` exists in the project root, read it for project context (tech stack, conventions, verification gate). If it does not exist, proceed without it and, at the end of the run, suggest the user run

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/grimoire-deps/SKILL.md · 75 lines

How it starts

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

[Required Reading]

  1. Read ${CLAUDE_PLUGIN_ROOT}/GRIMOIRE-CONVENTIONS.md. The sections that apply to this skill are: § Sub-agent spawning (the audit and apply sub-agents), § Skill composition, § Commits (per-dependency atomic Conventional Commits in English), § Project context and § Historic (read-only consumption only), § IDE-aware review (the ranked report and the upgrade brief), § User-facing language, and § Pause-point pattern (the report selection pause). Exception: § TDD's filter-only rule is deliberately excepted for the post-bump verification gate in Phase 4 — a dependency bump has global blast radius, so the gate runs the project's broader test/build/lint, not a filtered test run (see Phase 4 for the full rationale). Not applicable: § .grimoire/ layout and the Spec → Plan → Execute page lifecycle do not apply — this skill is orthogonal (same family as grimoire-know / grimoire-note / grimoire-update) and writes no pages, no SPEC.md, and no HISTORIC.md entries.
  2. If .grimoire/PROJECT.md exists in the project root, read it for project context (tech stack, conventions, verification gate). If it does not exist, proceed without it and, at the end of the run, suggest the user run grimoire-init once to enrich future runs (non-blocking — never refuse to audit because PROJECT.md is missing).
  3. If .grimoire/HISTORIC.md exists, read it read-only for recent-page context. Missing → proceed without it.

[Objective] Audit the consuming project's dependencies along four axes (security, semver risk, maturity, reputation), present a ranked report, and interactively apply the safe updates the user selects. Breaking / high-risk upgrades are NOT executed here — they are handed off to the Spec → Plan → Execute pipeline via an upgrade brief.

$ARGUMENTS is an optional focus filter: a single package name or one ecosystem to scope the audit to. When empty, audit every ecosystem and dependency detected in the project.

[Hard constraints — orthogonal skill]

  • Never create a page folder under .grimoire/pages/.
  • Never write to .grimoire/HISTORIC.md.
  • Never write to .grimoire/PROJECT.md (the dual-writer contract grimoire-init / grimoire-note is unchanged).
  • Never make page-lifecycle commits (docs(grimoire): spec …, chore: register …, chore: mark … planned/finished). This skill never participates in the page lifecycle.
  • The only files this skill writes — beyond the actual dependency bumps — are: (a) the ephemeral upgrade-brief draft under .grimoire/bag/drafts/ (Phase 5), deleted in Phase 6; and (b) the dependency manifest/lockfile changes produced during the apply phase (Phase 4). The dependency bumps are committed; the draft is not.
  • Reputation and maturity signals are best-effort heuristics (native audit tooling + advisory feeds + web search), never guarantees. A "clean" verdict must NEVER be presented as a security guarantee. State this disclaimer in the report.

[Phase 1: Ecosystem detection]

  • Auto-detect the package ecosystems present by scanning for manifests and lockfiles at the project root (and obvious sub-projects):
    • npm / pnpm / yarnpackage.json + package-lock.json / pnpm-lock.yaml / yarn.lock.
    • pip / poetry / uvrequirements.txt / pyproject.toml / poetry.lock / uv.lock.
    • composercomposer.json / composer.lock.
    • cargoCargo.toml / Cargo.lock.
    • go modgo.mod / go.sum.
  • The five ecosystem families above are the core set and are first-class. Any other ecosystem present (e.g. Gemfile, gradle, pubspec, …) is handled best-effort: detect it, audit what the native tooling allows, and flag in the report where coverage is partial.
  • If $ARGUMENTS names a single package or one ecosystem, honor it as a focus filter — restrict detection and the rest of the run to that scope. Empty → audit everything detected.
  • If no recognizable ecosystem is found, tell the user (PT-BR) that nothing auditable was detected and end.

Read the full file on GitHub · 75 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. 12d ago First seen · 75 lines · 48 tokens per session scan B c572abf73913

Subscribe to this mod's changes

grimoire-deps is a skill published in the GitHub repository ojCezarFerreira/Grimoire (2 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 2,438 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens