fix-xml-native-html

fix-xml-native-html is a skill for Claude Code, Codex from UI5/plugins-coding-agents. It costs 131 tokens per session (2,994 once invoked), scanned A, original, Apache-2.0.

A repair guide for replacing native HTML and SVG in UI5 XML views or fragments with UI5 controls or icons. UI5 is SAP’s web application framework, and XML views describe its screens.

In plain words
What is it for?
Use it when the UI5 linter reports deprecated native HTML or SVG, and the replacement requires choosing suitable UI5 components.
Why use it?
It addresses linter warnings caused by older HTML or SVG usage that automatic fixes cannot safely interpret.

Skill for Claude CodeCodex

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

Good fit Use it when the UI5 linter reports deprecated native HTML or SVG, and the replacement requires choosing suitable UI5 components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ui5/plugins-coding-agents/fix-xml-native-html
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-xml-native-html
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-xml-native-html

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ui5/plugins-coding-agents/fix-xml-native-html"><img src="https://agentmods.dev/badge/skills/ui5/plugins-coding-agents/fix-xml-native-html.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,994 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: 2 findings, up to high

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 →

  • high Prompt Injection · line 47
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • medium MCP Rug Pull · line 30
    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.00131 $0.02994
Opus 5.5 $0.00052 $0.01198
Sonnet 5.5 $0.00026 $0.00599
Haiku 4.5 $0.00013 $0.00299

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

Security

Grade A, and why

fix-xml-native-html 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-xml-native-html/SKILL.md · 343 lines

How it starts

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

Fix Native HTML and SVG in XML Views/Fragments

This skill fixes native HTML and SVG usage in XML views/fragments that the UI5 linter detects but cannot auto-fix because they require understanding the appropriate UI5 control replacements.

Linter Rules Handled

Rule ID Message Pattern This Skill's Action
no-deprecated-api Usage of native HTML in XML Views/Fragments is deprecated Replace with UI5 controls
no-deprecated-api Deprecated use of SVG in XML View or Fragment Replace with UI5 icons or custom controls

When to Use

Apply this skill when you see linter output like:

MyView.view.xml:15:5 error Usage of native HTML in XML Views/Fragments is deprecated  no-deprecated-api
MyView.view.xml:25:5 error Deprecated use of SVG in XML View or Fragment  no-deprecated-api

Run npx @ui5/linter --details to get links to documentation about native HTML deprecation.

Background: Why Native HTML/SVG is Deprecated

Native HTML in XML views was supported via the sap.ui.core.HTML control and the html namespace. However, this approach:

  • Bypasses UI5's control lifecycle and rendering
  • Doesn't integrate with UI5 theming
  • Can cause accessibility issues
  • Is not compatible with modern UI5 strict mode

Fix Strategy

1. Native HTML Elements → UI5 Controls

Problem: Using HTML elements via the html: namespace.

<!-- Before - native HTML usage -->
<mvc:View
    xmlns:mvc="sap.ui.core.mvc"
    xmlns="sap.m"
    xmlns:html="http://www.w3.org/1999/xhtml">
    <html:div class="myContainer">
        <html:span>Some text</html:span>
        <html:a href="https://example.com">Link</html:a>
        <html:img src="image.png" alt="My Image" />
    </html:div>
</mvc:View>

Fix Strategy: Replace with equivalent UI5 controls.

<!-- After - UI5 controls -->
<mvc:View
    xmlns:mvc="sap.ui.core.mvc"
    xmlns="sap.m">
    <VBox class="myContainer">
        <Text text="Some text" />
        <Link text="Link" href="https://example.com" />
        <Image src="image.png" alt="My Image" />
    </VBox>
</mvc:View>

Read the full file on GitHub · 343 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. 3mo ago First seen · 343 lines · 131 tokens per session scan A edaa2d742613

Subscribe to this mod's changes

fix-xml-native-html is a skill published in the GitHub repository UI5/plugins-coding-agents (48 stars, last pushed 3d ago), licensed Apache-2.0. It adds 131 tokens to every session and 2,994 once invoked, about $0.0005 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-xml-native-html compared with skills from other repositories

fix-xml-native-html next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-xml-native-htmlUI5/plugins-coding-agentsSkill483d agoApache-2.0A131Claude Code, Codex
plugin-initzhinjs/zhinSkill136yesterdayMITA56Claude Code, Codex
plugin-publishzhinjs/zhinSkill136yesterdayMITA58Claude Code, Codex
plugin-developzhinjs/zhinSkill136yesterdayMITA70Claude Code, Codex
wordpress-plugin-fundamentalsbobmatnyc/claude-mpm-skillsSkill794mo agoMITA32Claude Code
plugin-authoringMaxQian888/cognia-nextSkill87d agoAGPL-3.0A21Claude Code
mcp-buildermartineserios/thebranaSkill39d agoMITA19Claude Code