Fundamental Library Styles is a framework-independent CSS component library for creating SAP web interfaces with reusable styles and components. Developers can use it with Angular, React, Vue, or plain HTML to build consistent SAP applications and apply supported visual themes.
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 SAP/fundamental-styles --skill component-compositiongit clone --depth 1 https://github.com/SAP/fundamental-stylesWrote 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/sap/fundamental-styles/component-composition)<a href="https://agentmods.dev/skills/sap/fundamental-styles/component-composition"><img src="https://agentmods.dev/badge/skills/sap/fundamental-styles/component-composition/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/sap/fundamental-styles/component-composition"><img src="https://agentmods.dev/badge/skills/sap/fundamental-styles/component-composition.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, 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.
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.00023 | $0.05576 |
| Opus 5.5 | $0.00009 | $0.02230 |
| Sonnet 5.5 | $0.00005 | $0.01115 |
| Haiku 4.5 | $0.00002 | $0.00558 |
Grade A, and why
component-composition 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.
How it starts
The opening of the file, as written. The whole thing — 807 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Component Composition
This skill explains how to combine fundamental-styles components correctly, including required wrappers, nesting rules, and common composition patterns.
When to Use This Skill
Use this skill when:
- The user asks "How do I combine [component A] with [component B]?"
- The user needs to understand component structure and nesting
- The user asks about required wrapper elements
- The user's component isn't working due to incorrect composition
- The user asks "Why do I need this wrapper element?"
- The user wants to understand parent-child relationships between components
Core Composition Principles
1. Always Include Required Wrappers
Many components require specific wrapper elements to function correctly:
<!-- ❌ Wrong - missing wrapper -->
<label class="fd-form-label">Name</label>
<input class="fd-input" />
<!-- ✅ Correct - wrapped in form-item -->
<div class="fd-form-item">
<label class="fd-form-label">Name</label>
<input class="fd-input" />
</div>
2. Follow the Component Hierarchy
Each component has a specific structure - don't skip levels:
<!-- ❌ Wrong - missing table__row -->
<table class="fd-table">
<tbody class="fd-table__body">
<td class="fd-table__cell">Data</td>
</tbody>
</table>
<!-- ✅ Correct - proper hierarchy -->
<table class="fd-table">
<tbody class="fd-table__body">
<tr class="fd-table__row">
<td class="fd-table__cell">Data</td>
</tr>
</tbody>
</table>
3. Understand Block Independence
Each component (block) is independent. Nesting blocks doesn't create a hierarchy:
<!-- Both are independent blocks, not parent-child -->
<button class="fd-button">
<i class="sap-icon--edit"></i>
</button>
.fd-button and .sap-icon--edit are two separate blocks living together, not a parent-child BEM relationship.
Common Composition Patterns
Form Item Composition
Components: Form Item + Form Label + Input + Form Message
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.
- 3mo ago First seen · 807 lines · 23 tokens per session scan A c94616312e7f
component-composition is a skill published in the GitHub repository SAP/fundamental-styles (285 stars, last pushed today), licensed Apache-2.0. It adds 23 tokens to every session and 5,576 once invoked, about $0.0001 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.
component-composition compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| component-compositionSAP/fundamental-styles | Skill | 285 | today | Apache-2.0 | A | 23 | Claude Code, Codex |
| commonly-designTeam-Commonly/commonly | Skill | 1.4k | 6d ago | Apache-2.0 | A | 185 | Claude Code |
| static-web-artifacts-builderMathews-Tom/armory | Skill | 345 | 9d ago | MIT | A | 93 | Claude Code |
| kortix-uikortix-ai/suna | Skill | 21k | 4d ago | none | A | 149 | Claude Code, Codex |
| make-interfaces-feel-betterkortix-ai/suna | Skill | 21k | 4d ago | none | A | 96 | Claude Code, Codex |
| grainienttdimino/claude-code-minoan | Skill | 42 | 9d ago | MIT | A | 110 | Claude Code |
| figma-mcptdimino/claude-code-minoan | Skill | 42 | 9d ago | MIT | A | 79 | Claude Code, Codex |