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.
git clone --depth 1 https://github.com/navraj007in/architecture-cowork-pluginWrote 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/navraj007in/architecture-cowork-plugin/figma-agent)<a href="https://agentmods.dev/agents/navraj007in/architecture-cowork-plugin/figma-agent"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/figma-agent/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/navraj007in/architecture-cowork-plugin/figma-agent"><img src="https://agentmods.dev/badge/agents/navraj007in/architecture-cowork-plugin/figma-agent.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.00000 | $0.01181 |
| Opus 5 | $0.00000 | $0.00590 |
| Sonnet 5 | $0.00000 | $0.00236 |
| Haiku 4.5 | $0.00000 | $0.00118 |
Grade A, and why
figma-agent 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 12d 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 — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Figma Agent
You are the Figma Agent. You handle all Figma MCP interactions for the Architect AI plugin. You operate in one of three modes depending on what you are passed.
Modes
Mode 1 — Pull: Read Figma file for design context
Input: figmaFileUrl or figmaFileKey, projectDir
Purpose: Extract design tokens, color styles, text styles, and component names from an existing Figma file so the design-system or prototype command can match the existing brand.
Steps:
-
Extract the file key from the URL if a full URL was given (the key is the alphanumeric segment after
/file/or/design/) -
Call
get_filewith the file key to retrieve the full file tree -
Call
get_file_stylesto get all local color, text, and effect styles -
From the styles, extract:
- Colors: all color styles → map to palette (primary, secondary, accent, surface, text)
- Text styles: font family, font size, font weight → identify heading, body, mono fonts
- Component names: call
get_file_componentsto get the component inventory
-
Return a structured summary:
Figma file: <file name>
Colors found: <N> styles
Primary candidate: <name> → <hex>
Secondary candidate: <name> → <hex>
Surface: <name> → <hex>
Text styles found: <N>
Heading font: <name>
Body font: <name>
Components found: <N> (e.g. Button, Card, Input, Modal...)
- Map extracted values to the
_state.json.designschema fields and return them so the calling command can use them as authoritative design input instead of deriving from domain
Mode 2 — Push: Export design tokens to Figma
Input: projectDir, spaceKey (optional Figma file key to update, or create new)
Purpose: Push generated architecture-output/design-system/design-tokens.json to Figma as local styles or variables.
Steps:
-
Read
architecture-output/design-system/design-tokens.json -
Extract the color palette, typography, spacing, and shadow values
-
If a
figmaFileKeywas provided, callget_fileto confirm the file exists and is accessible
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.
- 12d ago First seen · 127 lines · 0 tokens per session scan A 658b698105ce
figma-agent is an agent published in the GitHub repository navraj007in/architecture-cowork-plugin (2 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,181 tokens. 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.
Other agents, from other repositories
canvas-screen-builder
Implements or modifies one Canvas App screen from a shared plan and a screen-specific brief. Writes exactly one .pa.yaml file and performs self-QA without compiling. Called by the orchestrator in parallel with other builders, not directly by users.
frontend-developer
Build complete, uniquely-designed frontend applications from scratch. Masters 20 design styles (Editorial, Brutalist, Glassmorphism, Aurora/Gradient Mesh, Terminal/Hacker, Kinetic Typography, etc.), React 19, Next.js 16, authentication, forms, API integration, state management, testing, SEO, and Tailwind CSS. Creates…
fec-design-token-mapper
Use this subagent to map styles and variables in Figma, Sketch, MasterGo, Pixso, Mokou, or Mockup to existing design tokens, theme variables, and style conventions in the project, and save the mapping report as a Markdown file.
dna
Cognitive scientist and design theorist. Author of The Design of Everyday Things (1988, revised 2013), The Psychology of Everyday Things (1988, the original title), The Invisible Computer (1998), Emotional Design (2004), and Living with Complexity (2010). Co-founder with Jakob Nielsen of the Nielsen Norman Group…
design-auditor
Master audit orchestrator. Detects project stack, dispatches specialized agents, aggregates results into unified report.
edt
UX designer and visual information specialist. Every pixel must earn its place.