web-widgets: Skill for Claude Code

.agents/skills/bump-transitive/SKILL.md

bump-transitive is a skill for Claude Code, Codex from mendix/web-widgets. It costs 37 tokens per session (855 once invoked), scanned A, original, Apache-2.0.

A procedure for fixing a vulnerable indirect package in a pnpm monorepo. It finds every version in use, applies safe patch versions through pnpm overrides, and removes the temporary overrides afterward.

In plain words
What is it for?
Use it to trace a vulnerable transitive dependency, select safe versions for each major release, and update the lockfile consistently.
Why use it?
It addresses security advisories affecting dependencies your project uses indirectly, without unnecessarily upgrading unrelated packages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is mendix/web-widgets's own configuration. It tells Claude Code and Codex how to work on web-widgets 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 web-widgets configures →

Reuse

Borrowing it

Nothing to install: this file belongs to mendix/web-widgets. 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/mendix/web-widgets/main/.agents/skills/bump-transitive/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/mendix/web-widgets

Made for: Claude Code, Codex.

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 bump-transitive

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mendix/web-widgets/bump-transitive"><img src="https://agentmods.dev/badge/skills/mendix/web-widgets/bump-transitive.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 855 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 pass 7 Sept 2026
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.00037 $0.00855
Opus 5.5 $0.00015 $0.00342
Sonnet 5.5 $0.00007 $0.00171
Haiku 4.5 $0.00004 $0.00085

Measured 1mo ago against content hash 9779a5b172a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bump-transitive 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 1mo 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/bump-transitive/SKILL.md · 104 lines

How it starts

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

Fix Vulnerable Transitive Dependency

Use when a security advisory identifies a vulnerable transitive package (one not directly in any package.json) and you need to force it to a safe version across the monorepo without bumping unrelated packages.

The user will provide the package name and the fixed versions from the advisory.

Process

1. Discover all versions in use

Run pnpm why -r to see every resolved version and the full dependency chain explaining why each exists:

pnpm why -r <package>

Each top-level line (<package>@x.y.z) is a distinct version in the graph. The tree below it shows which packages pull it in — useful for understanding whether a version can be collapsed or must stay separate.

To extract just the version list:

pnpm why -r <package> | grep '^<package>@'

2. Find latest safe version per major

For each major currently in the lockfile, find the latest available version on npm:

npm view <package> versions --json | node -e "
const v = JSON.parse(require('fs').readFileSync('/dev/stdin','utf8'));
const majors = {};
v.forEach(ver => {
  const m = parseInt(ver.split('.')[0]);
  if (!majors[m]) majors[m] = [];
  majors[m].push(ver);
});
Object.entries(majors).forEach(([m, vers]) => {
  console.log('Major', m, '— latest:', vers[vers.length-1]);
});
"

Cross-reference with the advisory's "Fixed in" versions — use whichever is higher.

3. Add overrides to root package.json

In the pnpm.overrides section of the root package.json, add one entry per major using the @major selector syntax:

"pnpm": {
  "overrides": {
    "<package>@1": "1.x.y",
    "<package>@2": "2.x.y",
    "<package>@5": "5.x.y"
  }
}

Only add majors that are actually present in the lockfile.

4. First pnpm install — update the lockfile

pnpm install

This writes the pinned versions into pnpm-lock.yaml.

5. Remove the overrides from package.json

Delete the entries added in step 3. The lockfile now has the correct versions recorded and will enforce them on its own.

Read the full file on GitHub · 104 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. 1mo ago First seen · 104 lines · 37 tokens per session scan A 9779a5b172a3

Subscribe to this mod's changes

bump-transitive is a skill published in the GitHub repository mendix/web-widgets (40 stars, last pushed today), licensed Apache-2.0. It adds 37 tokens to every session and 855 once invoked, about $0.0001 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-09-01.

Related

Other skills, from other repositories

astron-workflow-dsl

A workflow-file guide for turning plain-language business requirements into YAML files that Astron Agent can import. YAML is a text format for structured configuration, and these files describe steps, conditions, connections, variables, and resource bindings.

iflytek/astron-agent · 91 tokens

write-lint-rules

Write custom Starlark lint rules in .claude/lint-rules/ that run beside the built-ins under mxcli lint. Use when a project convention should be enforced automatically.

mendixlabs/mxcli · 44 tokens

alter-page

Modify an existing page or snippet's widget tree in place with ALTER PAGE / ALTER SNIPPET — SET, INSERT, DROP, REPLACE and SET Layout. Use when changing a caption, style or property, adding or removing a widget, or reordering a form, instead of rewriting the whole page with CREATE OR REPLACE. The only safe way to…

mendixlabs/mxcli · 84 tokens

create-page

CREATE PAGE syntax reference — parameters, variables, layouts, and the full widget vocabulary. Use before writing any CREATE PAGE statement, or when a widget's property spelling needs checking.

mendixlabs/mxcli · 38 tokens

manage-navigation

Inspect and change navigation profiles in MDL — home pages, menus, login and not-found pages, and role-based routing. Use when asked to change where the app opens, restructure the menu, or route roles to different home pages.

mendixlabs/mxcli · 50 tokens

manage-security

Configure Mendix security in MDL — module and user roles, access to microflows, pages and entities, project security level, demo users, and guest access. Use when setting up or changing who can see or do what in an app.

mendixlabs/mxcli · 52 tokens