Fundamental Library for Angular is an SAP-maintained Angular component library implementing SAP's design system and wrapping UI5 Web Components. Angular developers use its typed UI components and higher-level composites to build SAP-style web interfaces. Catalogue entries provide skills, agents, instructions, and a rule for working with the library.
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 agents/sap/fundamental-ngx/webc-generatorgit clone --depth 1 https://github.com/SAP/fundamental-ngxWrote 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/agents/sap/fundamental-ngx/webc-generator)<a href="https://agentmods.dev/agents/sap/fundamental-ngx/webc-generator"><img src="https://agentmods.dev/badge/agents/sap/fundamental-ngx/webc-generator.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 | $0.00000 | $0.02886 |
| Opus 5 | $0.00000 | $0.01443 |
| Sonnet 5 | $0.00000 | $0.00577 |
| Haiku 4.5 | $0.00000 | $0.00289 |
Grade A, and why
webc-generator 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 5d 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 — 287 lines — stays where its author put it; the contents beside it link to each section on GitHub.
webc-generator: Technical Summary
The webc-generator is an NX executor that automatically converts UI5 Web Components into Angular-native wrapper components. It eliminates manual maintenance of 100+ component wrappers by reading a Custom Elements Manifest (CEM) and generating the full library from it.
Do not hand-edit files under libs/ui5-webcomponents*/ — run the generator instead.
Directory Structure
libs/webc-generator/
├── src/
│ ├── executors/generate/
│ │ ├── executor.ts # Main orchestration logic
│ │ ├── schema.json / schema.d.ts # NX executor options schema
│ │ ├── component-template.ts # Angular component code generator
│ │ └── utils/
│ │ ├── cva.ts # GenericControlValueAccessor directive
│ │ ├── ng-package.json # Template for secondary entry points
│ │ └── theming-service-template.tpl
│ └── index.ts
├── executors.json # Registers the "generate" executor
└── package.json
Pipeline Overview
CEM JSON file (from @ui5/webcomponents package)
│
▼
loadCemData() — resolve & parse JSON
│
▼
extractCemData() — filter custom element declarations, collect enums
│
├─▶ generateTypesFiles() — types/ secondary entry point (enum re-exports)
├─▶ generateThemingFiles() — theming/ secondary entry point (ThemingService)
├─▶ generateCvaFile() — utils/cva.ts (Control Value Accessor)
├─▶ generateUtilsFiles() — utils/ secondary entry point
└─▶ generateComponentFiles() — one directory per component (parallel)
│
▼
componentTemplate() — produces the Angular wrapper class
│
▼
Root index.ts — aggregates all component + secondary entry point exports
Inputs
The executor is configured per-library in the library's project.json:
{
"executor": "@fundamental-ngx/webc-generator:generate",
"options": {
"cemFile": "@ui5/webcomponents/dist/custom-elements-internal.json",
"targetDir": ".",
"packageName": "@ui5/webcomponents",
"outputPath": "libs/ui5-webcomponents",
"tsConfig": "libs/ui5-webcomponents/tsconfig.lib.json"
}
}
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.
- 5d ago First seen · 287 lines · 0 tokens per session scan A c8dab8df66c3
webc-generator is an agent published in the GitHub repository SAP/fundamental-ngx (294 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,886 tokens. 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.
Other agents, from other repositories
primitive-reviewer
Reviews an Angular headless primitive against WAI-ARIA spec, Base UI parity, Angular signals best practices, and Radix NG project conventions. Returns a prioritized list of issues.
primitive-builder
Implements a new Angular headless primitive following all Radix NG conventions. Use when asked to create a new primitive from scratch or add missing parts to an existing one.
watch-radial-instruments
Watch-based instruments (radial core + linear strip counterparts), radial gauges, shared arrow/readout modules.
external-scale
External scale renderer and bar/gauge wrappers.
jsdoc
JSDoc template, slot/event tags, lifecycle tags, and the three documentation patterns.
line-area-charts
Line/area charts and composite gauge-trend component.