Borrowing it
Nothing to install: this file belongs to abap2UI5/samples. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/abap2UI5/samples/main/.claude/skills/view-chain-layout/SKILL.mdgit clone --depth 1 https://github.com/abap2UI5/samplesWrote 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/abap2ui5/samples/view-chain-layout)<a href="https://agentmods.dev/skills/abap2ui5/samples/view-chain-layout"><img src="https://agentmods.dev/badge/skills/abap2ui5/samples/view-chain-layout/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/abap2ui5/samples/view-chain-layout"><img src="https://agentmods.dev/badge/skills/abap2ui5/samples/view-chain-layout.svg" alt="Reviewed on agentmods" width="80" 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.00125 | $0.02610 |
| Opus 5.5 | $0.00050 | $0.01044 |
| Sonnet 5.5 | $0.00025 | $0.00522 |
| Haiku 4.5 | $0.00013 | $0.00261 |
Grade A, and why
view-chain-layout 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 15d 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.
This is a copy
100% identical to view-chain-layout — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The layout of a view-builder chain
A chain is read far more often than it is written, and its layout is the only thing that makes it legible as the XML tree it stands for. Treat the indent as load-bearing, not as taste: it is the one place a reader can see where in the tree a line sits, so it has to be true.
These rules are identical in all three repositories — abap2UI5,
abap2UI5/samples, abap2UI5/samples-controls. They were unified in one pass
after a survey found the two sample corpora following opposite conventions for
the same builder.
The seven rules
-
One call per line. Every
ele( ),tag( ),a( )andend( )opens its own line with)->. A control never shares its line with its own attributes, nor with the container it opens. -
Four spaces per level, everywhere. A child sits one level in from its container, a control's attributes one level in from the control. The same step in every file.
-
The closing paren rides with the arrow. Never a
)alone at a line end — carry it to the start of the next segment so it always reads)->. The whole view ends in a single)., not) ).. -
end( )stands alone in the column of theele( )it closes. That is what makes an ascent over several levels visible instead of hidden. -
One attribute per line,
v =/b =column aligned across a control's attribute block. -
stringify( )is a standalone final statement —client->view_display( view->stringify( ) )., never nested in the chain. -
A wrapped
t_arglist hangs under its FIRST element. When a_event( )/follow_up_action( )argument table runs over several lines, every continuation line starts in the column of the first( … )— not under the#ofVALUE #(, which is three columns to its left and the drift this rule exists to stop:)->a( n = `close` v = client->follow_up_action( val = client->cs_event-control_by_id t_arg = VALUE #( ( `notificationList` ) ( `removeItem` ) ( `$event.oSource.getId()` ) ) )
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.
- 15d ago Changed · +1 lines a1c03dcbde79
- 23d ago Changed · +1 lines b93fe7d0b64d
- 2mo ago First seen · 195 lines · 125 tokens per session scan A 677bc4741ea0
view-chain-layout is a skill published in the GitHub repository abap2UI5/samples (57 stars, last pushed 3d ago), licensed MIT. It adds 125 tokens to every session and 2,610 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to view-chain-layout, differing in 0 lines, and is treated as a copy.
view-chain-layout compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| view-chain-layoutabap2UI5/samples | Skill | 57 | 3d ago | MIT | A | 125 | Claude Code |
| fix-xml-globalsUI5/plugins-coding-agents | Skill | 45 | yesterday | Apache-2.0 | A | 231 | Claude Code, Codex |
| fix-cyclic-depsUI5/plugins-coding-agents | Skill | 45 | yesterday | Apache-2.0 | A | 165 | Claude Code, Codex |
| fix-js-globalsUI5/plugins-coding-agents | Skill | 45 | yesterday | Apache-2.0 | A | 243 | Claude Code, Codex |
| fix-linter-blind-spotsUI5/plugins-coding-agents | Skill | 45 | yesterday | Apache-2.0 | A | 234 | Claude Code, Codex |
| modernize-flp-sandboxUI5/plugins-coding-agents | Skill | 45 | yesterday | Apache-2.0 | A | 58 | Claude Code, Codex |
| fix-control-rendererUI5/plugins-coding-agents | Skill | 45 | yesterday | Apache-2.0 | A | 196 | Claude Code, Codex |