---
title: "How Coinbase used Code Connect to guide agents and shrink token costs"
description: "Coinbase's design system team mapped every Coinbase Design System component to its code counterpart with Figma Code Connect."
url: "https://swe.quest/articles/how-coinbase-used-code-connect-to-guide-agents-and-shrink-token-costs-b8a9afa8129ad3ba"
canonical: "https://www.figma.com/blog/how-coinbase-used-code-connect-to-shrink-token-costs/"
source: "Figma"
published: "2026-09-02"
difficulty: "easy"
kind: "Case study"
reading_minutes: 6
tags: ["design-systems","ai-coding","ai-agents","evals"]
---

# How Coinbase used Code Connect to guide agents and shrink token costs

A post on [Figma](https://swe.quest/sources/figma.md), published 2026-09-02, 6 min read, Case study. Original: [https://www.figma.com/blog/how-coinbase-used-code-connect-to-shrink-token-costs/](https://www.figma.com/blog/how-coinbase-used-code-connect-to-shrink-token-costs/)

## Summary

Coinbase's design system team mapped every Coinbase Design System component to its code counterpart with Figma Code Connect. Using Claude Code and a figma-code-connect skill, they went from partial to full coverage in about four hours. They then benchmarked design-to-code agent runs with and without Code Connect: the same form design, a deliberately vague prompt, Sonnet 4.6, and resets between runs. Across three runs, Code Connect cut tokens by 11.5%, implementation time by 22.3% and cost by 22.5%, and agents picked components like Stepper and ListCell correctly instead of rebuilding them from primitives or hallucinating icon names. The team's conclusion is that agent skills shape how code gets written, while Code Connect supplies the component context agents need when starting from designs.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Design systems](https://swe.quest/tags/design-systems.md) (Web & mobile)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)

## Prerequisites

- design systems ([easy posts on Design systems](https://swe.quest/tags/design-systems.md?difficulty=easy))
- coding agents ([easy posts on AI agents](https://swe.quest/tags/ai-agents.md?difficulty=easy))
- Figma

## Keywords

Code Connect, Figma MCP, Coinbase Design System, Claude Code, Sonnet 4.6

## Related posts

- [Figma agent vs. one button: shipping design tokens to npm](https://swe.quest/articles/figma-agent-vs-one-button-shipping-design-tokens-to-npm-f2d5e60d7604e2ca.md): GitButler · 2026-09-07 · Medium · 10 min read · Design systems, AI agents, CI/CD, AI for coding, Deployment
  Automating a design-token release pipeline (Figma variables → DTCG JSON → Terrazzo CSS → npm) with the Figma agent worked but took six minutes per run.
- [Testing AI coding agents (2025): Cursor vs. Claude, OpenAI, and Gemini](https://swe.quest/articles/testing-ai-coding-agents-2025-cursor-vs-claude-openai-and-gemini-4ba683d74eb76f3f.md): Render · 2025-08-12 · Medium · 16 min read · AI for coding, AI agents, Developer tools, Evaluation
  Four AI coding agents (Cursor with Claude Sonnet 4, Claude Code, Gemini CLI and OpenAI Codex) were compared on a one-prompt Next.js URL-shortener build with Postgres, Docker and Render MCP deployment, plus real tasks in a large Go API monorepo (Kubernetes pod leader election with go-quartz, NATS retry logic) and an Astro/Keystatic website.
- [How we make AI coding more cost efficient without sacrificing task quality](https://swe.quest/articles/how-we-make-ai-coding-more-cost-efficient-without-sacrificing-task-quality-07be31d835dcfb01.md): GitHub Engineering · 2026-09-02 · Medium · 10 min read · AI agents, AI for coding, LLMs, Evaluation, Cost optimization
  GitHub Copilot cut agent costs by optimizing for whole-task outcomes rather than per-tool-call token counts, after finding that aggressive shell-output compression (RTK) made agents reread or rerun commands and raised end-to-end cost.
- [Agentic coding at ClickHouse](https://swe.quest/articles/agentic-coding-at-clickhouse-8afb95a1baae3481.md): ClickHouse · 2026-04-01 · Medium · 32 min read · AI for coding, AI agents, Code review, Developer productivity, C & C++
  ClickHouse uses coding agents, mainly Claude Code with Opus 4.6 and Codex CLI as a fallback, for daily work on its large C++ codebase, which the author says became practical with Claude Opus 4.5 in November 2025.
- [Does it matter how you feed an agent its context?](https://swe.quest/articles/does-it-matter-how-you-feed-an-agent-its-context-9b5070d3af38ec07.md): OLX Tech · 2026-08-21 · Medium · 7 min read · AI for coding, AI agents, Cost optimization, Evaluation
  How context is packaged for a coding agent (one big prompt, handoff notes pointing to files, staged ICM pipeline) barely changed cost, speed or quality on a realistic 18–20 file change across three mature codebases.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
