fix-deprecated-controls

fix-deprecated-controls is a skill for Claude Code, Codex from UI5/plugins-coding-agents. It costs 175 tokens per session (4,279 once invoked), scanned A, original, Apache-2.0.

A repair guide for outdated SAP UI5 controls, classes, interfaces, types, and properties. SAP UI5 is a JavaScript framework for building enterprise web applications.

In plain words
What is it for?
Use it to replace deprecated UI5 classes, interfaces, types, or properties with their supported alternatives.
Why use it?
It helps address UI5 linter warnings where an old API must be replaced or removed rather than changed automatically.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to replace deprecated UI5 classes, interfaces, types, or properties with their supported alternatives.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ui5/plugins-coding-agents/fix-deprecated-controls
Install

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.

Any agent
npx skills add UI5/plugins-coding-agents --skill fix-deprecated-controls
Clone the repo
git clone --depth 1 https://github.com/UI5/plugins-coding-agents

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 fix-deprecated-controls

README.md
[![agentmods](https://agentmods.dev/badge/skills/ui5/plugins-coding-agents/fix-deprecated-controls/github.svg)](https://agentmods.dev/skills/ui5/plugins-coding-agents/fix-deprecated-controls)
Your own site
<a href="https://agentmods.dev/skills/ui5/plugins-coding-agents/fix-deprecated-controls"><img src="https://agentmods.dev/badge/skills/ui5/plugins-coding-agents/fix-deprecated-controls/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 fix-deprecated-controls

Your own site · 80×15
<a href="https://agentmods.dev/skills/ui5/plugins-coding-agents/fix-deprecated-controls"><img src="https://agentmods.dev/badge/skills/ui5/plugins-coding-agents/fix-deprecated-controls.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 175 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,279 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 warn 7 Sept 2026
SkillSpector: 5 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 41
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 354
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 373
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 389
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium MCP Rug Pull · line 456
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
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.00175 $0.04279
Opus 5.5 $0.00070 $0.01712
Sonnet 5.5 $0.00035 $0.00856
Haiku 4.5 $0.00017 $0.00428

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

Security

Grade A, and why

fix-deprecated-controls 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 3mo 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.

plugins/ui5-modernization/skills/fix-deprecated-controls/SKILL.md · 464 lines

How it starts

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

Fix Deprecated Controls, Classes, Interfaces, and Types

This skill fixes deprecated control/class/interface/type issues that the UI5 linter detects but cannot auto-fix because they require understanding the specific replacement APIs.

Linter Rules Handled

Rule ID Message Pattern This Skill's Action
no-deprecated-api Use of deprecated class '...' Replace with new class
no-deprecated-api Use of deprecated interface '...' Replace with new interface
no-deprecated-api Use of deprecated type '...' Replace with new type
no-deprecated-api Use of deprecated property '...' Remove or replace property
no-deprecated-api Use of deprecated property '...' of class '...' Replace with new property/API

When to Use

Apply this skill when you see linter output like:

MyController.js:15:5 error Use of deprecated class 'sap.ui.commons.Button'  no-deprecated-api
MyController.js:20:5 error Use of deprecated property 'blocked' of class 'sap.m.Button'  no-deprecated-api
MyView.view.xml:10:5 error Use of deprecated class 'sap.m.DateTimeInput'  no-deprecated-api
Component.js:25:5 error Use of deprecated interface 'sap.ui.core.IFormContent'  no-deprecated-api

Getting Replacement Information

Run the linter with --details flag to get links to API documentation with replacement guidance:

npx @ui5/linter --details

Use the UI5 MCP Server's get_api_reference tool to check deprecation status and find replacements:

  • Query: sap.ui.commons.Button or sap.m.Button#blocked

Fix Strategy

1. Deprecated Class in new Expression

Problem: Using a deprecated control class.

// Before - triggers no-deprecated-api
sap.ui.define([
    "sap/ui/core/mvc/Controller",
    "sap/ui/commons/Button"  // Deprecated library!
], function(Controller, Button) {
    "use strict";

    return Controller.extend("my.app.controller.Main", {
        onInit: function() {
            var oButton = new Button({
                text: "Click me"
            });
        }
    });
});

Read the full file on GitHub · 464 lines

Files

What ships with it

1 file 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.

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. 3mo ago First seen · 464 lines · 175 tokens per session scan A 0c74b7205949

Subscribe to this mod's changes

fix-deprecated-controls is a skill published in the GitHub repository UI5/plugins-coding-agents (48 stars, last pushed 3d ago), licensed Apache-2.0. It adds 175 tokens to every session and 4,279 once invoked, about $0.0007 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-08-30.

Related

fix-deprecated-controls compared with skills from other repositories

fix-deprecated-controls next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-deprecated-controlsUI5/plugins-coding-agentsSkill483d agoApache-2.0A175Claude Code, Codex
agenttrace-session-auditsickn33/agentic-awesome-skillsSkill51kyesterdayMITA34Claude Code
octocode-researchbgauryy/octocodeSkill969todayMITA148Codex
root-cause-investigatorumputun/cc-thingzSkill50111d agoMITA53Claude Code
code-review-webrampstackco/claude-skillsSkill1.1k14d agoMITA121Claude Code
code-agentinitializ/forgeSkill2239d agoApache-2.0A21Claude Code, Codex
github-issue-managerexplyt/spring-pluginSkill1705d agoApache-2.0A100Claude Code, Codex