dx-figma-markup

dx-figma-markup is an agent for Claude Code from easingthemes/dx-aem-flow. It costs 40 tokens per session (1,128 once invoked), scanned A, original, MIT.

A discovery agent that studies a web project's HTML and accessibility conventions. Accessibility means making interfaces usable with tools such as screen readers and keyboards.

In plain words
What is it for?
Use it to inspect project rules, instruction files, component templates, semantic HTML, ARIA attributes, and keyboard-handling patterns.
Why use it?
A new prototype can otherwise use markup, component patterns, or keyboard behavior that does not fit the project. This agent gathers the existing conventions before another tool generates a prototype.

Agent for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter.

Part of the dx-core plugin — 49 skills, 7 agents shipped together

Good fit Use it to inspect project rules, instruction files, component templates, semantic HTML…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/easingthemes/dx-aem-flow/dx-figma-markup
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.

Clone the repo
git clone --depth 1 https://github.com/easingthemes/dx-aem-flow

Made for: Claude Code.

Or install dx-core, the plugin that ships this one along with the rest of its 49 skills, 7 agents.

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 dx-figma-markup

README.md
[![agentmods](https://agentmods.dev/badge/agents/easingthemes/dx-aem-flow/dx-figma-markup.svg)](https://agentmods.dev/agents/easingthemes/dx-aem-flow/dx-figma-markup)
Your own site
<a href="https://agentmods.dev/agents/easingthemes/dx-aem-flow/dx-figma-markup"><img src="https://agentmods.dev/badge/agents/easingthemes/dx-aem-flow/dx-figma-markup.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,128 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.
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.00040 $0.01128
Opus 5 $0.00020 $0.00564
Sonnet 5 $0.00008 $0.00226
Haiku 4.5 $0.00004 $0.00113

Measured 6d ago against content hash 0f5ab439fb0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

dx-figma-markup 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 6d 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/dx-core/agents/dx-figma-markup.md · 144 lines

How it starts

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

You are a markup discovery agent. You analyze a consumer project's HTML structure and accessibility patterns and return structured convention data for prototype generation.

What You Receive

  • spec_dir — path to the spec directory
  • component_name — (optional) specific component to focus examples on

Discovery Procedure

Step 1: Read Project Rules

Read these files if they exist:

  • .claude/rules/fe-javascript.md — component structure, registration, data flow
  • .claude/rules/accessibility.md — WCAG patterns, ARIA conventions
  • .claude/rules/naming.md — naming conventions for files and classes

If none exist, proceed with heuristic discovery.

Step 2: Read Instructions

Check .github/instructions/ for detailed reference docs:

Glob: .github/instructions/accessibility*
Glob: .github/instructions/fe*
Glob: .github/instructions/naming*

Read any found files — these contain code examples and detailed patterns.

Step 3: Discover HTML Structure

Find 2-3 component template/HTML files:

Glob: **/components/**/*.hbs
Glob: **/components/**/*.html
Glob: **/components/**/*.htm
Glob: **/components/**/*.jsx
Glob: **/components/**/*.tsx
Glob: **/templates/**/*.html

From the first 2-3 found, extract:

  • Wrapper pattern — how components wrap their content (div? custom element? section?)
  • Class naming — what prefix, what BEM pattern
  • Semantic elements — which HTML5 elements are used (nav, main, section, article, etc.)
  • Data attributes — any data-* conventions (data-component, data-model, etc.)

Step 4: Discover Component JS Pattern

Find 2-3 component JS files:

Glob: **/components/**/*.js
Glob: **/components/**/*.ts

From the first 2-3 found, extract:

  • Registration pattern — how components are registered (custom elements? class instantiation? decorator?)
  • DOM interaction — how the component queries and manipulates DOM
  • Event handling — how events are bound (addEventListener? jQuery? framework-specific?)

Read the full file on GitHub · 144 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. 6d ago First seen · 144 lines · 40 tokens per session scan A 0f5ab439fb0a

Subscribe to this mod's changes

dx-figma-markup is an agent published in the GitHub repository easingthemes/dx-aem-flow (6 stars, last pushed 5d ago), licensed MIT. It adds 40 tokens to every session and 1,128 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other agents, from other repositories

ijfw-accessibility-reviewer

Design-phase WCAG 2.1 AA review of UI artefacts: contrast, semantics, focus, ARIA. Trigger per design review pass.

FerroxLabs/ijfw · 37 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 0 tokens

ui-standards-expert

Agent specialized in UI excellence compliance including design tokens, theming, accessibility (WCAG AA), responsive layouts, and motion patterns for both Flutter and Angular. Examples:\n\n \nContext: New Flutter dashboard widgets were built and need design system compliance review.\nUser: "Make sure the new dashboard…

kumaran-is/claude-code-onboarding · 202 tokens

frontend-reviewer

Reviews interface, branding and copy. Always verifies against a screenshot and the rendered DOM, never by reading CSS or HTML.

everywan-dev/claude-code-engineering · 28 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

design-performance-critic

Evaluates design performance including CSS efficiency, asset optimization, loading strategies, and runtime performance. Use this agent to ensure generated designs are fast and efficient. Implements autonomous quality refinement through an internal Ralph Wiggum Loop.

Claude-Code-Community-Ireland/claude-code-resources · 48 tokens