Borrowing it
Nothing to install: this file belongs to let-sunny/canicode. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/let-sunny/canicode/main/.claude/skills/canicode-roundtrip/SKILL.mdgit clone --depth 1 https://github.com/let-sunny/canicodeWrote 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/skills/let-sunny/canicode/canicode-roundtrip)<a href="https://agentmods.dev/skills/let-sunny/canicode/canicode-roundtrip"><img src="https://agentmods.dev/badge/skills/let-sunny/canicode/canicode-roundtrip/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/skills/let-sunny/canicode/canicode-roundtrip"><img src="https://agentmods.dev/badge/skills/let-sunny/canicode/canicode-roundtrip.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.00268 | $0.14671 |
| Opus 5 | $0.00134 | $0.07336 |
| Sonnet 5 | $0.00054 | $0.02934 |
| Haiku 4.5 | $0.00027 | $0.01467 |
Grade A, and why
canicode-roundtrip 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 9d 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 — 712 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CanICode Roundtrip — True Design-to-Code Roundtrip
Channel contrast: canicode-gotchas stores answers in local .claude/skills/canicode-gotchas/SKILL.md only (memo — no Figma write). canicode-roundtrip (this skill) writes to the Figma canvas via Plugin API (use_figma). If you only need Q&A persistence, use gotchas; if you need annotations and fixes on the file, use roundtrip.
Output language (#546): Detect the user's conversation language from their messages in this session. When the user is conversing in a non-English language (e.g. Korean, Japanese, Spanish), every human-readable line you render — Step 1 design summary, Step 2 grade banner, Step 3 question / Hint: / Example: / batch shared-prompt wording, Step 4 apply summary, Step 5 wrap-up rubric, Step 6 handoff line, Step 7 prompts and wrap-up — must be rendered in that language. Identifiers stay English: ruleId, nodeId, severity label in brackets, marker glyphs (📝/✅/🌐/⏭️), the upsert-section markdown scaffolding. The full localization scope and exclusions are in Step 3's preamble below. Default to English only when the user's language is genuinely ambiguous (and ask once).
Orchestrate the full design-to-code roundtrip: analyze a Figma design for readiness, collect gotcha answers for problem areas, apply fixes directly to the Figma design via use_figma, re-analyze to verify gotchas were captured, then generate code. Success means gotchas answered and carried into annotations / writes — not a numeric grade bump (analyze still reports grade for continuity; roundtrip success is lint-first).
Prerequisites
- Figma MCP server installed (provides
get_design_context,get_screenshot,use_figma, and other Figma tools) — REQUIRED, there is no CLI fallback foruse_figma. Register it with your host (e.g. Claude Code:claude mcp add -s project -t http figma https://mcp.figma.com/mcp; Cursor: add the Figma MCP entry per host docs / project.mcp.json). - canicode MCP (preferred): Claude Code:
claude mcp add canicode -- npx --yes --package=canicode canicode-mcp— long-form flags only; short-y -pcollides withclaude mcp add's parser (#366); do not pass-e FIGMA_TOKEN=…here (#364). Cursor / other hosts: addcanicode-mcpto MCP config — see Customization guide. The server readsFIGMA_TOKENfrom~/.canicode/config.jsonor the environment. - Without canicode MCP (fallback): Steps 1 (analyze) and 3 (gotcha-survey) shell out to
npx canicode <command> --json— same JSON shape as the MCP tools. Step 4 (apply to Figma) still requires Figma MCPuse_figma. - FIGMA_TOKEN configured for live Figma URLs
- Figma Full seat + file edit permission (required for
use_figmato modify the design)
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 9d ago First seen · 712 lines · 268 tokens per session scan A 39e72cd6e9ad
canicode-roundtrip is a skill published in the GitHub repository let-sunny/canicode (10 stars, last pushed 2mo ago), licensed MIT. It adds 268 tokens to every session and 14,671 once invoked, about $0.0013 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.
Other skills, from other repositories
figma-codegen
Generate framework-aware code from a Figma design. Reads the project's stack profile and emits code matching the existing framework (React/Vue/Svelte/Next/etc.) and styling (Tailwind/CSS/CSS-in-JS), reusing existing components and design tokens instead of regenerating from scratch. Triggers whenever the user wants a…
refero-design
Primary/default skill for UI design, product design, web design, landing pages, dashboards, product screens, redesigns, visual polish, frontend/CSS styling, design systems, components, responsive design, typography, color, spacing, motion, icons, accessibility, copywriting, conversion, and anti-AI-slop work. Use this…
design-token-pipeline
Figma variable'larını iOS (Swift Color/Font/Spacing), Android (colors.xml, dimens.xml, Compose Theme), ve Web (CSS, Tailwind, Sass, TS) formatlarında otomatik token dosyalarına dönüştürür. Ters yönde kod token dosyalarından Figma variable'ları da oluşturabilir. "export tokens", "token pipeline", "token'ları export…
implement-design
Figma tasarımlarını iOS (SwiftUI/UIKit), Android (Compose/XML) ve Web (React/Vue/legacy) platformlarına production-ready koda dönüştürür. Figma node ID paylaşıldığında, "implement design", "tasarımı kodla", "build this component", "bu ekranı implement et", "bu tasarımı kodla", "Figma'dan kod üret" ifadeleriyle…
code-design-mapper
Figma tasarım bileşenlerini iOS, Android ve Web platformlarındaki kod bileşenlerine eşler. Bir Figma component'i birden fazla platform implementasyonuyla eşleşebilir. Enterprise plan gerektirmez, lokal çalışır. "code connect", "connect component", "map component", "bileşen eşle", "component mapping", "hangi kod bu…
design-system-rules
Bu skill, iOS, Android ve Web platformlarına özel design system kuralları oluşturur. Her platformun kendi framework'ü, naming convention'ı ve dosya yapısı olduğu için, kurallar platform-spesifik olarak üretilir.