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 fredm00n/framerlabs --skill framer-code-components-overridesgit clone --depth 1 https://github.com/fredm00n/framerlabsWrote 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/fredm00n/framerlabs/framer-code-components-overrides)<a href="https://agentmods.dev/skills/fredm00n/framerlabs/framer-code-components-overrides"><img src="https://agentmods.dev/badge/skills/fredm00n/framerlabs/framer-code-components-overrides.svg" alt="Measured on agentmods" 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.00071 | $0.05494 |
| Opus 5 | $0.00036 | $0.02747 |
| Sonnet 5 | $0.00014 | $0.01099 |
| Haiku 4.5 | $0.00007 | $0.00549 |
Grade A, and why
framer-code-components-overrides 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 7d 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 — 565 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Framer Code Development
Section tags: [C] applies to code components, [O] to code overrides, [C/O] to both.
Pitfalls (quick lookup)
| Issue | Cause | Fix |
|---|---|---|
| Variable text not found in override | Reading only props.children |
Check props.text first — variable-bound text bypasses children |
| Font styles not applying | Accessing font props individually | Spread entire font object: ...props.font |
| Hydration mismatch | Browser API in render | Use isClient state pattern |
| Dimensions stuck at 0 / SSR'd size persists | Initial state read from window already equals real value, setState no-ops |
Init state to 0, flip in effect (see Hydration Safety) |
| Color value crashes when user binds a token | ControlType.Color returns {value: "#xxx"} for tokens, string for static |
Unwrap with tok(v) before use (see Color Tokens) |
| Override props undefined | Expecting property controls | Overrides don't support addPropertyControls |
| Override missing from Framer's picker dropdown | Export value is produced by calling a factory/HOC-generator — Framer's static scanner only recognizes literal override exports | Write each override as a literal export function withX(Component) or export const withX = (Component) => … (see Overrides Must Be Literal Exports) |
| Scroll animation broken | overflow: scroll on container |
Use IntersectionObserver on viewport (see Scroll Detection) |
| Scroll/animation silently stops working when target ID is set | useScroll target stored in useState captures null on first render |
Use useRef for live-read targets (see Live-Read Refs) |
Named CMS layer not found by findByFramerName |
Layer is a dynamic component instance — name not on data-framer-name |
Wrap dynamic component in a plain frame carrying the expected name |
| HLS video permanently pixelated | .m3u8 in Chrome without HLS.js |
Use HLS.js dynamic import pattern (see HLS Video Streaming) |
| Overlay stuck "half-pressed" / needs two clicks to close | Triggering Framer interactions with synthetic events (dispatchEvent) |
Call the React handler directly via fiber traversal (see references/fiber-handlers.md) |
| Overlay stuck under content | Stacking context from parent | Use React Portal to render at document.body level |
| Shader attach error | Null shader from compilation failure | Check createShader() return before attachShader() |
TypeScript Timeout errors |
Using NodeJS.Timeout type |
Use number instead — browser environment |
| Component display name | Need custom name in Framer UI | Component.displayName = "Name" |
| Easing feels same for all curves | Not tracking initial distance | Track initialDiff when target changes (see references/patterns.md) |
| URL-bound filters don't react to a programmatic URL write | replaceState/pushState don't fire popstate |
Dispatch it manually after writing (see Writing State into the URL) |
| Slider drag floods browser history / traps Back | pushState on every onChange |
Use replaceState for high-frequency writes |
| Range input shows blue native fill / unstyleable thumb | Native <input type="range"> chrome |
appearance:none + neutralise track + custom thumb per engine (see Styling Native Range Inputs) |
What ships with it
6 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.
- 7d ago First seen · 565 lines · 71 tokens per session scan A f511ae36d7a2
framer-code-components-overrides is a skill published in the GitHub repository fredm00n/framerlabs (134 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 5,494 once invoked, about $0.0004 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-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…
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).
stitch::react-components
Converts Stitch designs into modular Vite and React components, or syncs/updates existing React components to align with the latest Stitch designs, using system-level networking and AST-based validation.
seed-design
An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.
vercel-composition-patterns
React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.