rive-flutter

rive-flutter is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 79 tokens per session (9,174 once invoked), scanned A, original, MIT.

A guide for using Rive, a tool for interactive vector graphics and animations, in Flutter apps. It covers adding Rive assets, connecting animation controls, managing resources, and supporting multiple platforms.

In plain words
What is it for?
Use it to add or migrate .riv animations, connect state machines and data bindings, manage their lifecycle, and improve performance in lists, screens, and design systems.
Why use it?
Animation code can leak memory, render poorly, or behave differently across phones, browsers, and desktop systems. This guide helps avoid those problems while integrating Rive.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add or migrate .riv animations, connect state machines and data bindings, manage their lifecycle, and improve performance in lists, screens, and design systems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/rive-flutter
Install

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.

Any agent
npx skills add ariaramin/flutter-skills --skill rive-flutter
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for rive-flutter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariaramin/flutter-skills/rive-flutter/github.svg)](https://agentmods.dev/skills/ariaramin/flutter-skills/rive-flutter)
Your own site
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/rive-flutter"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/rive-flutter/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.

agentmods 80×15 button for rive-flutter

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/rive-flutter"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/rive-flutter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 9,174 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.09174
Opus 5.5 $0.00032 $0.03670
Sonnet 5.5 $0.00016 $0.01835
Haiku 4.5 $0.00008 $0.00917

Measured 1mo ago against content hash 3720890386f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rive-flutter 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 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.

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.

skills/rive-flutter/SKILL.md · 1,000 lines

How it starts

The opening of the file, as written. The whole thing — 1,000 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Rive Flutter

Purpose

This skill provides exhaustive, source-grounded operating instructions for an autonomous AI coding agent implementing, refactoring, optimizing, and reviewing Rive graphics within Flutter applications. It codifies the current official C++ runtime architecture (rive: ^0.14.11 / 0.15.x-dev), establishes strict resource ownership models, enforces multi-platform rendering safety, and prevents performance, memory, and lifecycle regressions.


When to Use This Skill

Trigger this skill whenever a task involves:

  • Integrating .riv vector animation assets into a Flutter codebase.
  • Selecting between rendering pipelines (Factory.rive vs Factory.flutter).
  • Interfacing with Rive State Machines, inputs (TriggerInput, BooleanInput, NumberInput), or transitions.
  • Establishing modern Data Binding with Rive View Models (ViewModelInstance, lists, images, artboards).
  • Managing Rive lifecycle, initialization (RiveNative.init()), and deterministic resource disposal.
  • Optimizing Rive performance in lists, grids, carousels, navigation routes, or large-scale design systems.
  • Mitigating platform-specific bottlenecks (e.g., WebGL context limits on Web, Impeller triage on iOS/Android, 16KB pages on Android).
  • Auditing existing Flutter code for deprecated Rive APIs (RiveAnimation.asset, StateMachineController, SMIBool, RiveEvent, etc.).

Core Principles

  1. Zero Work in build(): NEVER load files, instantiate controllers, parse bytes, or allocate native render textures within Flutter build() methods.
  2. Deterministic Ownership: Every native C++ handle allocated via FFI (File, RiveWidgetController, SharedRenderTexture, ViewModelInstance) MUST have a single, unambiguously defined owner responsible for invoking .dispose().
  3. Texture Minimization: NEVER allocate unbounded independent textures on screen. Multiple Rive widgets drawn concurrently MUST be batched onto a shared surface (RivePanel or SharedRenderTexture) or rendered via Factory.flutter.
  4. Data Binding Over Manual Inputs: PREFER Rive Data Binding over direct mutation of state machine inputs or legacy text runs for all new development.
  5. Fail-Safe UI States: Asynchronous Rive initialization MUST always provide explicit handling for loading, loaded, and error fallback states via sealed pattern matching (RiveLoading, RiveLoaded, RiveFailed).
  6. Graceful Settling: State machines automatically pause frame advancing when animations settle. MUST NOT unsettle or invalidate state machines when graphics are offscreen or quiescent.

Read the full file on GitHub · 1,000 lines

Changes

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.

  1. 1mo ago First seen · 1,000 lines · 79 tokens per session scan A 3720890386f4

Subscribe to this mod's changes

rive-flutter is a skill published in the GitHub repository ariaramin/flutter-skills (11 stars, last pushed 23d ago), licensed MIT. It adds 79 tokens to every session and 9,174 once invoked, about $0.0003 per session on Opus 5.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-10-11.

Related

rive-flutter compared with skills from other repositories

rive-flutter next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
rive-flutterariaramin/flutter-skillsSkill1123d agoMITA79Claude Code, Codex
omh-apple-designrlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code
platform-conventionsOwl-Listener/designer-skillsSkill3.5k11d agoMITA55Claude Code, Codex
redteam-mobile-detail-packNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA57Claude Code, Codex
android-pentestNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA32Claude Code, Codex
offline-syncWrongStack/WrongStackSkill444todayMITA85Claude Code, Codex
flutter-mobileWrongStack/WrongStackSkill444todayMITA86Claude Code