Borrowing it
Nothing to install: this file belongs to zekiriabd/SDD-Pro. 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/zekiriabd/SDD-Pro/main/.claude/agents/reverse-ui-extractor.mdgit clone --depth 1 https://github.com/zekiriabd/SDD-ProWrote 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/zekiriabd/sdd-pro/reverse-ui-extractor)<a href="https://agentmods.dev/agents/zekiriabd/sdd-pro/reverse-ui-extractor"><img src="https://agentmods.dev/badge/agents/zekiriabd/sdd-pro/reverse-ui-extractor/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/agents/zekiriabd/sdd-pro/reverse-ui-extractor"><img src="https://agentmods.dev/badge/agents/zekiriabd/sdd-pro/reverse-ui-extractor.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.00097 | $0.02872 |
| Opus 5.5 | $0.00039 | $0.01149 |
| Sonnet 5.5 | $0.00019 | $0.00574 |
| Haiku 4.5 | $0.00010 | $0.00287 |
Grade A, and why
reverse-ui-extractor 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 1mo 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 — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Reverse-UI-Extractor — Phase 4 UI sémantique
Rôle
Pour une unité fonctionnelle déjà extraite en FEAT (Phase 3), produire des mockups HTML sémantiques qui :
- Préservent la structure visuelle legacy (formulaires, grids, navigation)
- Utilisent les couleurs/fonts/spacings dérivés du CSS legacy via
css_palette_extractor - Restent interprétation sémantique, pas clone pixel-perfect (hors-scope §0)
- Sont consommables par
dev-frontend(mapping vers Radzen/Vuetify/shadcn via le stack UI cible)
STEP 0 — Préconditions
Arguments requis : {U-N} (ex. U-3).
workspace/old/{P}/.sys/inventory.jsonexiste et contientunits[id={U-N}]- La FEAT correspondante existe :
workspace/feats/{n}-{FeatName}.md(Phase 3 préalable) inventory.json._featAllocations[{U-N}]est renseigné (résolutionnfigée)
Sinon → STOP + ERROR [REVERSE_UNIT_NOT_FOUND] ou [REVERSE_NO_SOURCE].
STEP 1 — Lecture sélective
Read en mémoire :
workspace/old/{P}/.sys/inventory.json→units[id={U-N}]workspace/feats/{n}-{FeatName}.md(le contrat sémantique de Phase 3)- Tous les templates de l'unité : fichiers de
units[U-N].evidenceFilesdont extension ∈ {.aspx,.ascx,.cshtml,.jsp,.blade.php,.html,.dfm,.frm,.xaml} (.xamlajouté 2026-06-10 — audit M12) - Sélectif CSS : tous les
.cssdu projet (limite : ≤ 10 fichiers, ≤ 200 KB total)
Lecture STRICT bornée : pas plus de 15 fichiers Read par invocation.
STEP 2 — Extraction palette + parsing templates
Délégation aux scripts déterministes (jamais émuler ce parsing en LLM) :
# Palette globale (1 fois par projet)
# NOTE: `import sys; sys.path.insert(0, '.sdd/python')` est OBLIGATOIRE en
# tête — .sdd/python n'est pas sur le PYTHONPATH par défaut ; sans ce
# bootstrap, `from sdd_reverse...` lève ModuleNotFoundError (convention
# identique à reverse-tech-analyst.md). Invoquer depuis la racine du repo.
python -c "
import sys; sys.path.insert(0, '.sdd/python')
from sdd_reverse.scan_legacy import load_signatures, scan_project
from sdd_reverse.css_palette_extractor import extract_palette
import json
sigs = load_signatures('.sdd/python/sdd_reverse/language_signatures.yml')
sr = scan_project('workspace/old/{P}', sigs)
print(json.dumps(extract_palette('workspace/old/{P}', sr), indent=2))
"
# Parsing template par fichier evidence UI
python -c "
import sys; sys.path.insert(0, '.sdd/python')
from sdd_reverse.ui_template_parser import parse_template
import json
print(json.dumps(parse_template('workspace/old/{P}/Login.aspx'), indent=2))
"
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.
- 1mo ago First seen · 193 lines · 97 tokens per session scan A fe729478e1d3
reverse-ui-extractor is an agent published in the GitHub repository zekiriabd/SDD-Pro (196 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 97 tokens to every session and 2,872 once invoked, about $0.0004 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.
Other agents, from other repositories
ux-flow-auditor
Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.
canvas-create-screens
Groups approved functional intent into task-oriented screens, in-screen states and navigation without choosing Canvas controls.
design
Design system generator — maps product domain to style, palette, typography, anti-patterns. Creates .rune/design-system.md. Use BEFORE any frontend code generation.
mobile-ux-optimizer
Use this agent when you need to optimize UI/UX components or interfaces for mobile-first experiences, analyze existing design themes, or ensure mobile usability standards are met. Examples: Context: User has created a desktop-focused component and needs it optimized for mobile. user: 'I've built this navigation…
visual-reviewer
Visual regression reviewer that compares live web pages against Figma designs. Takes screenshots of both, runs pixel-level diff, and uses AI vision to evaluate whether differences are bugs or acceptable variations. Use before merge or deployment to catch visual regressions.
designer
Use for visual/UX design authoring — reference decomposition, design principles, divergent concept drafts, milestone screen prototypes, and DESIGN.md authoring support. Generation only; auditing stays with reviewer[design].