<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b" -->

---
title: Figma agent vs. one button: shipping design tokens to npm
description: A designer-developer at GitButler recounts automating a design tokens release pipeline with two AI agents (Claude Code and the Figma agent), only to find that...
canonical: https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Figma agent vs. one button: shipping design tokens to npm | daily.dev
og:description: A designer-developer at GitButler recounts automating a design tokens release pipeline with two AI agents (Claude Code and the Figma agent), only to find that...
og:url: https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b
og:image: https://api.daily.dev/og/posts/frzObee0b.png
og:image:alt: Figma agent vs. one button: shipping design tokens to npm
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Figma agent vs. one button: shipping design tokens to npm

**[GitButler Blog](https://daily.dev/sources/gitbutler)** · 11 min read · 11 upvotes · 3 comments

## Summary

A designer-developer at GitButler recounts automating a design tokens release pipeline with two AI agents (Claude Code and the Figma agent), only to find that a plain UI button he'd built years earlier finishes the job in seconds versus six minutes for the agent-driven flow. The agent path was slowed by Figma's platform constraints: the Figma agent can't run plugins, can't touch the paid Enterprise REST API for variables, and has no direct git access, so it has to funnel file bytes through chat context instead of pushing files directly. The workaround (a snapshot-based CLI mode) removed the Enterprise paywall requirement for everyone, and Claude wrote the GitHub Actions workflows that automate versioning, changelog generation, and npm publishing via trusted OIDC publishing (no rotating tokens). The final winning setup combines the old plugin button for triggering the export with CI automation for the rest, concluding that LLMs are best used for one-off reasoning tasks, not repetitive deterministic pipeline execution.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://blog.gitbutler.com/design-tokens-ai-agent-vs-button>

## Questions this post answers

### Why is the Figma agent so slow at pushing large files to GitHub compared to a plugin or Claude Code?

The Figma agent's GitHub connector only accepts file contents as a text argument, and its sandbox has no git and no direct network access, so it must re-type every byte of a file into the API call, which caps out and can even fail for larger files. A plugin living inside the Figma file, by contrast, has its own network access and can push bytes directly, and Claude Code sitting in a repo can just run git push without ever putting file contents through chat.

_Anyone wiring AI agents into a file-heavy release pipeline can compare these tool-access tradeoffs on daily.dev before hitting the same bottleneck._

### Can I read Figma variables through the Plugin API without an Enterprise plan to avoid the paid REST API?

Yes, a snapshot mode was added to the Tokens Brücke CLI so it accepts a raw variables snapshot dumped via the Plugin API instead of calling Figma's REST API, which is normally gated behind an Enterprise plan. The CLI still outputs the same DTCG (Design Tokens Community Group) JSON format as the plugin, removing the need for an access token or paid tier.

_Teams avoiding Figma's Enterprise paywall for token exports can track workarounds like this one on daily.dev._

### What is npm trusted publishing and how does it remove the need for npm access tokens in CI?

npm trusted publishing lets a GitHub repository connect to an npm package once, after which GitHub Actions can publish releases via OIDC authentication instead of a stored access token. This eliminates the recurring task of rotating npm tokens, since the publishing workflow authenticates through the repo-to-package connection rather than a long-lived secret.

_Developers setting up automated npm releases can follow token-free publishing patterns like this via daily.dev._

## Community discussion

Top comments from developers on daily.dev.

**@brennangoewert** · 0 upvotes

> Good example of the limitations of AI, and that it's not necessary to integrate it with everything under the sun.

**@pdfopsdev** · 0 upvotes

> hit the same output cap building an internal tool, anything over ~50kb through a chat based file transfer starts truncating instead of erroring which is way worse than the agent just being slow. OIDC trusted publishing for the npm step is the right call regardless of what triggers the export, one less rotating secret to leak.

**@agustinbarrientos** · 0 upvotes

> I'd pass a file reference instead of sending the same 77 KB through the model. Let the agent work from the diff.

## Similar posts on daily.dev

- [Workflow lab: Staying in the flow with Figma’s agent](https://daily.dev/posts/workflow-lab-staying-in-the-flow-with-figma-s-agent-5z8zyezkg) · Figma · 1 upvotes · 0 comments
- [Blog: From Figma to Production Code: How The Figma MCP Changes the Role of Frontend Engineering](https://daily.dev/posts/blog-from-figma-to-production-code-how-the-figma-mcp-changes-the-role-of-frontend-engineering-ggfzgf2ew) · Wawandco · 2 upvotes · 0 comments
- [Design systems in an AI era; what changes when everyone can build?](https://daily.dev/posts/design-systems-in-an-ai-era-what-changes-when-everyone-can-build--cklaj65th) · thoughbot · 0 upvotes · 0 comments
- [Anthropic overhauled Claude Design to fix the handoff. A designer and an engineer disagree on whether it worked.](https://daily.dev/posts/anthropic-overhauled-claude-design-to-fix-the-handoff-a-designer-and-an-engineer-disagree-on-whethe-kir4bhnc3) · The New Stack · 2 upvotes · 0 comments

---

Tags: [#ai-agents](https://daily.dev/tags/ai-agents), [#ui-design](https://daily.dev/tags/ui-design), [#github-actions](https://daily.dev/tags/github-actions), [#npm](https://daily.dev/tags/npm), [#figma](https://daily.dev/tags/figma)

[View this post on daily.dev](https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Figma agent vs. one button: shipping design tokens to npm","url":"https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b"},"datePublished":"2026-09-07T15:46:16.700Z","dateModified":"2026-09-14T06:09:11.277Z","description":"A designer-developer at GitButler recounts automating a design tokens release pipeline with two AI agents (Claude Code and the Figma agent), only to find that...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ae934aa83c5c934264faec187122a51a?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/ae934aa83c5c934264faec187122a51a?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"GitButler Blog","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"GitButler Blog","logo":"https://media.daily.dev/image/upload/s--LrHsyt2T--/f_auto/v1692632054/squad_placeholder_sfwkmj","url":"https://daily.dev/sources/gitbutler"},"commentCount":3,"discussionUrl":"https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":11},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":3}],"keywords":"ai-agents,ui-design,github-actions,npm,figma","timeRequired":"PT11M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"GitButler Blog","item":"https://daily.dev/sources/gitbutler"},{"@type":"ListItem","position":3,"name":"Figma agent vs. one button: shipping design tokens to npm"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b","comment":[{"@type":"Comment","text":"Good example of the limitations of AI, and that it’s not necessary to integrate it with everything under the sun.","datePublished":"2026-09-08T17:17:29.515Z","url":"https://daily.dev/posts/frzObee0b#c-KAwmBrHp8","author":{"@type":"Person","name":"Brennan Goewert","url":"https://daily.dev/brennangoewert","image":"https://avatars.githubusercontent.com/u/15313658?v=4"}},{"@type":"Comment","text":"hit the same output cap building an internal tool, anything over ~50kb through a chat based file transfer starts truncating instead of erroring which is way worse than the agent just being slow. OIDC trusted publishing for the npm step is the right call regardless of what triggers the export, one less rotating secret to leak.","datePublished":"2026-09-08T18:05:40.716Z","url":"https://daily.dev/posts/frzObee0b#c-UZRp3gbBU","author":{"@type":"Person","name":"PDFops","url":"https://daily.dev/pdfopsdev","image":"https://media.daily.dev/image/upload/s---8isRBKc--/f_auto/v1782922291/avatars/avatar_orjMeK8QKaaVZwGq7ScPz?_a=BAMAMicg0"}},{"@type":"Comment","text":"I’d pass a file reference instead of sending the same 77 KB through the model. Let the agent work from the diff.","datePublished":"2026-09-09T07:28:41.360Z","url":"https://daily.dev/posts/frzObee0b#c-svOzXAAau","author":{"@type":"Person","name":"Agustin Barrientos","url":"https://daily.dev/agustinbarrientos","image":"https://media.daily.dev/image/upload/s--5ayxQnqn--/f_auto/v1788281802/avatars/avatar_wQYYVe5Tbj0NJ7C7qPoa8?_a=BAMAMicg0"}}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/figma-agent-vs-one-button-shipping-design-tokens-to-npm-frzobee0b#faq","mainEntity":[{"@type":"Question","name":"Why is the Figma agent so slow at pushing large files to GitHub compared to a plugin or Claude Code?","acceptedAnswer":{"@type":"Answer","text":"The Figma agent's GitHub connector only accepts file contents as a text argument, and its sandbox has no git and no direct network access, so it must re-type every byte of a file into the API call, which caps out and can even fail for larger files. A plugin living inside the Figma file, by contrast, has its own network access and can push bytes directly, and Claude Code sitting in a repo can just run git push without ever putting file contents through chat. Anyone wiring AI agents into a file-heavy release pipeline can compare these tool-access tradeoffs on daily.dev before hitting the same bottleneck."}},{"@type":"Question","name":"Can I read Figma variables through the Plugin API without an Enterprise plan to avoid the paid REST API?","acceptedAnswer":{"@type":"Answer","text":"Yes, a snapshot mode was added to the Tokens Brücke CLI so it accepts a raw variables snapshot dumped via the Plugin API instead of calling Figma's REST API, which is normally gated behind an Enterprise plan. The CLI still outputs the same DTCG (Design Tokens Community Group) JSON format as the plugin, removing the need for an access token or paid tier. Teams avoiding Figma's Enterprise paywall for token exports can track workarounds like this one on daily.dev."}},{"@type":"Question","name":"What is npm trusted publishing and how does it remove the need for npm access tokens in CI?","acceptedAnswer":{"@type":"Answer","text":"npm trusted publishing lets a GitHub repository connect to an npm package once, after which GitHub Actions can publish releases via OIDC authentication instead of a stored access token. This eliminates the recurring task of rotating npm tokens, since the publishing workflow authenticates through the repo-to-package connection rather than a long-lived secret. Developers setting up automated npm releases can follow token-free publishing patterns like this via daily.dev."}}]}
```

