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.
npx skills add redhat-developer/rhdh-skills --skill dependency-risk-ratinggit clone --depth 1 https://github.com/redhat-developer/rhdh-skillsWrote 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.
[](https://agentmods.dev/skills/redhat-developer/rhdh-skills/dependency-risk-rating)<a href="https://agentmods.dev/skills/redhat-developer/rhdh-skills/dependency-risk-rating"><img src="https://agentmods.dev/badge/skills/redhat-developer/rhdh-skills/dependency-risk-rating/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.
<a href="https://agentmods.dev/skills/redhat-developer/rhdh-skills/dependency-risk-rating"><img src="https://agentmods.dev/badge/skills/redhat-developer/rhdh-skills/dependency-risk-rating.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00200 | $0.02557 |
| Opus 5.5 | $0.00080 | $0.01023 |
| Sonnet 5.5 | $0.00040 | $0.00511 |
| Haiku 4.5 | $0.00020 | $0.00256 |
Grade A, and why
dependency-risk-rating 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 9d 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.
How it starts
The opening of the file, as written. The whole thing — 223 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dependency update risk rating
Rate npm dependency updates with a per-package risk table, an overall LOW / MEDIUM / HIGH band with a 0-100 score, and a merge recommendation. Deterministic scripts gather the facts and compute the score. Your judgment enters at exactly one point: a small judgments file holding the changelog reading.
Every script is TypeScript that Node 22.18+ runs directly — no compile step, no install. Paths below are relative to this skill directory. Write every intermediate JSON to a scratchpad directory and pass it file to file. Never paste a lockfile or a large JSON blob into the conversation; a yarn.lock diff alone can be several megabytes.
S="$(mktemp -d)"
Pick the mode
- Mode C — GitHub pull request (primary): the user names a PR URL or number.
- Mode B — named package: the user names a package with from and to versions.
- Mode A — local diff: otherwise, when the working tree or branch has manifest changes.
Shared pipeline
Every mode below produces changes.json with detect-changes.ts. When
something outside the skill already staged the base and head manifests as
local files, scripts/compare-manifests.ts produces the same changes.json
from four file paths, needing no git repo, no network, and no gh. Then:
node scripts/collect-metrics.ts --changes $S/changes.json --config <repo-root-or-config> > $S/metrics.json
node scripts/check-backstage.ts --changes $S/changes.json <backstage args> > $S/backstage.json # only if @backstage/* changed
node scripts/fetch-codecov.ts --config <repo-root-or-config> > $S/codecov.json # only if codecov/testConfidence configured
# ... write $S/judgments.json (see below) ...
node scripts/score.ts --metrics $S/metrics.json [--backstage $S/backstage.json] \
[--codecov $S/codecov.json] [--judgments $S/judgments.json] \
--config <repo-root-or-config> --format md
--config accepts a repo root, a config file path, or the literal none for
pure defaults. A config carrying backstage: {enabled: false} makes
score.ts ignore the backstage result on its own.
What ships with it
38 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 151 B
- assets/dependency-risk.example.yaml 2.2 KB
- references/changelog-analysis.md 5.5 KB
- references/config.md 4.9 KB
- references/report-template.md 1.8 KB
- references/scoring.md 7.3 KB
- scripts/check-backstage.ts 6.3 KB runs code
- scripts/collect-metrics.ts 16 KB runs code
- scripts/compare-manifests.ts 20 KB runs code
- scripts/data/support-levels.yaml 1.1 KB
- scripts/detect-changes.ts 11 KB runs code
- scripts/fetch-codecov.ts 4.9 KB runs code
- scripts/lib/cli.ts 1.0 KB runs code
- scripts/lib/github-raw.ts 4.1 KB runs code
- scripts/lib/http.ts 3.8 KB runs code
- scripts/lib/match.ts 637 B runs code
- scripts/lib/semver.ts 4.5 KB runs code
- scripts/lib/support.ts 2.4 KB runs code
- scripts/lib/yaml.ts 15 KB runs code
- scripts/score.ts 19 KB runs code
- tests/cli-golden.test.mjs 2.5 KB runs code
- tests/expected/package-json-only.json 750 B
- tests/expected/package-lock.json 1006 B
- tests/expected/score-basic.json 2.8 KB
- tests/expected/score-basic.md 1.1 KB
- tests/expected/yarn-berry.json 1.0 KB
- tests/expected/yarn-v1.json 2.1 KB
- tests/fixtures/judgments-basic.json 261 B
- tests/fixtures/metrics-basic.json 2.6 KB
- tests/fixtures/package-lock-new.json 417 B
- tests/fixtures/package-lock-old.json 492 B
- tests/fixtures/package-new.json 170 B
- tests/fixtures/package-old.json 173 B
- tests/fixtures/yarn-berry-new.lock 639 B
- tests/fixtures/yarn-berry-old.lock 548 B
- tests/fixtures/yarn-v1-new.lock 1.8 KB
- tests/fixtures/yarn-v1-old.lock 1.7 KB
- tests/unit.test.mjs 19 KB runs code
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.
- 9d ago First seen · 223 lines · 200 tokens per session scan A 7f302d21925d
dependency-risk-rating is a skill published in the GitHub repository redhat-developer/rhdh-skills (21 stars, last pushed today), licensed Apache-2.0. It adds 200 tokens to every session and 2,557 once invoked, about $0.0008 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-11-26.
dependency-risk-rating compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dependency-risk-ratingredhat-developer/rhdh-skills | Skill | 21 | today | Apache-2.0 | A | 200 | Claude Code, Codex |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 82k | today | MIT | A | 200 | Claude Code, Codex |
| imagegenopenai/codex | Skill | 137k | today | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 102k | today | Apache-2.0 | A | 19 | Claude Code |
| browser-automationopenclaw/openclaw | Skill | 396k | today | MIT | A | 36 | Claude Code |
| free-llm-apismnfst/awesome-free-llm-apis | Skill | 15k | today | CC0-1.0 | A | 113 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 333k | 7d ago | MIT | A | 21 | Claude Code |