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.
npx skills add bitovi/superconnect --skill generating-code-connectgit clone --depth 1 https://github.com/bitovi/superconnectWrote 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/bitovi/superconnect/generating-code-connect)<a href="https://agentmods.dev/skills/bitovi/superconnect/generating-code-connect"><img src="https://agentmods.dev/badge/skills/bitovi/superconnect/generating-code-connect/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/bitovi/superconnect/generating-code-connect"><img src="https://agentmods.dev/badge/skills/bitovi/superconnect/generating-code-connect.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.00067 | $0.02326 |
| Opus 5.5 | $0.00027 | $0.00930 |
| Sonnet 5.5 | $0.00013 | $0.00465 |
| Haiku 4.5 | $0.00007 | $0.00233 |
Grade A, and why
generating-code-connect scanned grade A with 1 finding 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
- `curl -s -o /dev/null -w "%{http_code}\n" -H "X-Figma-Token: $FIGMA_ACCESS_TOKEN" https://api.figma.com/v1/files/<fileKey>` How it starts
The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Generating Code Connect
Scope
Create Code Connect files, write figma.config.json, validate mappings, and optionally publish
Command line first
- Prefer
rg,jq, andast-grepover manual inspection - Use CLI tools or tiny scripts to validate and inspect outputs before editing by hand
- When extracting or transforming JSON, use
jqinstead of ad-hoc parsing
Inputs to collect
- Repo path, default current working directory
- Figma file URL
- Framework, auto-detect or ask React vs Angular
- Component scope, comma-separated list or Enter for all
- Output directory, default codeConnect
- Permission to install @figma/code-connect locally if missing
Default behaviors
- Generate all components when the user hits Enter on scope
- Prefer local @figma/code-connect over global installs
- Do not overwrite existing Code Connect files unless the user agrees
Workflow
- Pre-flight checks
- Parse the file key from the Figma URL
- Validate the token against the target file without printing it:
curl -s -o /dev/null -w "%{http_code}\n" -H "X-Figma-Token: $FIGMA_ACCESS_TOKEN" https://api.figma.com/v1/files/<fileKey>
- Check for @figma/code-connect with
scripts/check_figma_cli.sh - If the token check returns 403 but the user says it is valid:
- Locate the token source without printing it:
rg -l -g '.env*' -g 'superconnect.toml' "FIGMA_ACCESS_TOKEN|figma_access_token" - Ask the user to set the token in the current shell and re-run the check
- Confirm the token is non-empty without printing it:
echo ${#FIGMA_ACCESS_TOKEN} - Do not echo or paste the token value in any command or response
- Locate the token source without printing it:
- Detect framework
- Read package.json and look for react or @angular/core
- If ambiguous, ask the user to choose
- Extract Figma data with figma-scan.js
- Use the bundled script for reliable extraction:
node scripts/figma-scan.js <figmaFileUrl> \ --token $FIGMA_ACCESS_TOKEN \ --output codeConnect/.figma-evidence \ --index codeConnect/.figma-evidence/figma-components-index.json - The script handles all Figma API complexity including:
- Fetching componentPropertyDefinitions via /v1/files/:key/nodes endpoint
- Parsing variant properties from component names
- Extracting text layers for figma.textContent()
- Extracting slot layers for figma.children()
- Normalizing property names to camelCase
- Do NOT use raw curl + jq for extraction - the API has edge cases the script handles
- See references/figma-extraction-spec.md for output format details
What ships with it
13 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.
- references/code-connect-format.md 4.1 KB
- references/figma-code-connect-common-issues.md 977 B
- references/figma-code-connect-config-file.md 1.9 KB
- references/figma-code-connect-html.md 1.1 KB
- references/figma-code-connect-overview.md 826 B
- references/figma-code-connect-react.md 1.4 KB
- references/figma-code-connect-understand-files.md 1.7 KB
- references/figma-extraction-spec.md 5.1 KB
- references/mapping-spec.md 4.8 KB
- scripts/check_figma_cli.sh 522 B runs code
- scripts/colors.js 595 B runs code
- scripts/figma-scan.js 23 KB runs code
- scripts/validate_code_connect.js 15 KB runs code
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.
- 1mo ago First seen · 238 lines · 67 tokens per session scan A ca21101529a7
generating-code-connect is a skill published in the GitHub repository bitovi/superconnect (24 stars, last pushed 9mo ago), licensed MIT. It adds 67 tokens to every session and 2,326 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
chakra-ui-builder
Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…
tamagui-v6-config
Tamagui v6 theme system: the light/dark/accent/brand/inverse/level/active theme family, the background-active one-off key, and recipe-tree authoring with createV6Config. Use when choosing a theme for a surface, building a selected/emphasis state, or authoring a custom v6 colors pack.
tamagui-theme-generator
Generate custom Tamagui themes, color palettes, and preview URLs. Use when creating or refining a color scheme, authoring light/dark palettes with brand accents, or previewing generated themes in the browser.
frontend-ui-dark-ts
Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.
cobejs
Use when adding a lightweight interactive globe with cobe (canvas setup, markers, interaction, performance, integration with React/Next.js).
web-artifacts-builder
Suite of tools for creating elaborate, multi-component Prismer HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.