Apache Struts is an open-source Java web framework that helps developers build applications using the Model-View-Controller pattern, separating data and business logic from page presentation and request handling. Java developers use it to create dynamic web applications with interactive forms and database-backed behavior. The catalogue's skills, instructions, and setting support work with Struts projects.
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 agentmods add skills/apache/struts/merging-dependabot-prsnpx skills add apache/struts --skill merging-dependabot-prsgit clone --depth 1 https://github.com/apache/strutsWrote 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/apache/struts/merging-dependabot-prs)<a href="https://agentmods.dev/skills/apache/struts/merging-dependabot-prs"><img src="https://agentmods.dev/badge/skills/apache/struts/merging-dependabot-prs.svg" alt="Measured on agentmods" 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.00052 | $0.02394 |
| Opus 5 | $0.00026 | $0.01197 |
| Sonnet 5 | $0.00010 | $0.00479 |
| Haiku 4.5 | $0.00005 | $0.00239 |
Grade A, and why
merging-dependabot-prs 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 yesterday.
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 — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Merging Dependabot PRs
Overview
Dependabot opens bumps against main and support/struts-6-x-x. Most land as-is.
A bump that ships to users needs a WW Jira ticket first, and the ticket ID must
reach the PR title, the PR body and the squash commit subject before it merges.
Core principle: the decision is driven by the dependency's real Maven scope, not by
what Dependabot calls it. Dependabot's build(deps-dev): prefix and its
dependency-type: trailer are guesses about its own ecosystem, not this project's
POM. Read the POM.
The decision
Read the semver class from the Dependabot commit trailer — never parse version strings:
gh pr view <N> --json commits --jq '.commits[].messageBody' \
| grep -E 'dependency-name:|update-type:'
# update-type: version-update:semver-{patch|minor|major}
Then find the real scope, and cross the two:
| What is being bumped | patch | minor | major |
|---|---|---|---|
GitHub Action (.github/workflows/*) |
merge bare | merge bare | merge bare |
Maven plugin or build tooling (<build><plugins>, *-maven-plugin, maven-wrapper) |
merge bare | merge bare | merge bare |
Maven dep, <scope>test</scope> |
merge bare | merge bare | merge bare |
Maven dep in apps/ (showcase, rest-showcase) |
merge bare | merge bare | merge bare |
Maven dep, compile / runtime / provided — including <optional>true</optional> |
merge bare | TICKET | TICKET |
"Merge bare" always still requires a green build (see below).
Finding the real scope
grep -rn '<artifactId>NAME</artifactId>' --include=pom.xml . | grep -v /target/
Read the <scope> on the surrounding <dependency> block in the module that declares it
(core/pom.xml, plugins/*/pom.xml), not the <dependencyManagement> copy in
parent/pom.xml — the managed block usually carries no scope.
- No
<scope>element means compile — it ships. <optional>true</optional>still ships: it is published in the module's POM and users who opt in inherit the version. Optional is not exempt.- For a version property (
jackson.version,byte-buddy.version), resolve the property to the artifacts it feeds and take the widest scope among them.
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.
- yesterday First seen · 205 lines · 52 tokens per session scan A 301f56008e78
merging-dependabot-prs is a skill published in the GitHub repository apache/struts (1,366 stars, last pushed yesterday), licensed Apache-2.0. It adds 52 tokens to every session and 2,394 once invoked, about $0.0003 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-09-03.
Other skills, from other repositories
tika-eval-compare
Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".
azure-security-keyvault-secrets-java
Azure Key Vault Secrets Java SDK for secret management. Use when storing, retrieving, or managing passwords, API keys, connection strings, or other sensitive configuration data.
azure-ai-anomalydetector-java
Build anomaly detection applications with Azure AI Anomaly Detector SDK for Java. Use when implementing univariate/multivariate anomaly detection, time-series analysis, or AI-powered monitoring.
azure-communication-chat-java
Build real-time chat applications with Azure Communication Services Chat Java SDK. Use when implementing chat threads, messaging, participants, read receipts, typing notifications, or real-time chat features.
union-type-wrappers
Add typed getters and setters over BinaryData properties that represent TypeSpec union types in generated Java models. Use when generated classes expose BinaryData for union-typed fields and you need ergonomic, type-safe accessors instead.
azure-ai-agents-persistent-java
Azure AI Agents Persistent SDK for Java. Low-level SDK for creating and managing AI agents with threads, messages, runs, and tools. Triggers: "PersistentAgentsClient", "persistent agents java", "agent threads java", "agent runs java", "streaming agents java".