dx-figma-markup

dx-figma-markup is an agent for Claude Code from easingthemes/dx-aem-flow. It costs 40 tokens per session (1,135 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 — 50 skills, 7 agents, 4 hooks shipped together

Good fit Use it to inspect project rules, instruction files, component templates, semantic HTML, ARIA attributes, and keyboard-handling patterns.

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 50 skills, 7 agents, 4 hooks.

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/github.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/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.

agentmods 80×15 button for dx-figma-markup

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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,135 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.01135
Opus 5.5 $0.00016 $0.00454
Sonnet 5.5 $0.00008 $0.00227
Haiku 4.5 $0.00004 $0.00113

Measured 23d ago against content hash 3538bc71b56b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 23d 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 · 145 lines

How it starts

The opening of the file, as written. The whole thing — 145 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 · 145 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. 23d ago Changed · +1 lines 3538bc71b56b
  2. 3mo 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 (9 stars, last pushed 3d ago), licensed MIT. It adds 40 tokens to every session and 1,135 once invoked, about $0.0002 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-31.

Related

dx-figma-markup compared with agents from other repositories

dx-figma-markup next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dx-figma-markupeasingthemes/dx-aem-flowAgent93d agoMITA40Claude Code
ux-flow-auditorCharlesWiltgen/AxiomAgent1.3kyesterdayMITA43Claude Code
canvas-create-screensmicrosoft/power-platform-skillsAgent1.2ktodayMITA24Claude Code
nw-ux-designernWave-ai/nWaveAgent63814d agoMITA31Claude Code
designRune-kit/runeAgent96todayMITA35Claude Code
camille-ux-designermagic5644/Graph-It-LiveAgent64todayMITA50Claude Code
mobile-ux-optimizerxbim08/awesome-claude-code-pluginsAgent102mo agoApache-2.0A0Claude Code