flutter-svg-engineering

flutter-svg-engineering is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 128 tokens per session (4,778 once invoked), scanned A, original, MIT.

A coding guide for displaying and maintaining SVG images in Flutter. SVG is a text-based vector image format that can scale without becoming pixelated.

In plain words
What is it for?
Use it for SVG assets, remote or dynamic images, color changes, sizing, cropping, clipping, right-to-left mirroring, accessibility, caching, migration, and rendering tests.
Why use it?
It helps choose the right image format, keep rendering in the UI layer, and avoid layout, caching, security, and performance problems. It also covers differences between bundled artwork and remote or changing SVG data.

Skill for Claude CodeCodex

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

Good fit Use it for SVG assets, remote or dynamic images, color changes, sizing, cropping, clipping, right-to-left mirroring, accessibility, caching, migration, and rendering tests.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/flutter-svg-engineering
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 flutter-svg-engineering
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 flutter-svg-engineering

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-svg-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-svg-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,778 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.00128 $0.04778
Opus 5.5 $0.00051 $0.01911
Sonnet 5.5 $0.00026 $0.00956
Haiku 4.5 $0.00013 $0.00478

Measured 6d ago against content hash 005aa5c84d22, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-svg-engineering 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 6d 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/flutter-svg-engineering/SKILL.md · 471 lines

How it starts

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

Flutter SVG Engineering

Use this skill to make SVG decisions from source ownership, visual semantics, layout constraints, cache identity, runtime cost, and trust boundaries—not from the .svg extension alone.

Operating rules

  1. Inspect the repository before changing SVG code: Flutter SDK, flutter_svg, vector_graphics, compiler/runtime versions, platform targets, asset declarations, wrappers, tests, and existing network/cache layers.
  2. Decide whether SVG is the correct rendering format before adding SvgPicture.
  3. Prefer Icon for equivalent standard Flutter iconography.
  4. Prefer bundled assets for stable application artwork tied to the app release.
  5. Keep SVG rendering in the presentation layer; state/domain code should expose semantic state, asset identity, URL, or validated bytes—not Flutter widgets.
  6. Use current SvgPicture/loader APIs and remove deprecated picture-cache/color-era APIs during migrations.
  7. Give icons explicit dimensions and constrain asynchronous/dynamic vectors so loading cannot destabilize layout.
  8. Choose BoxFit, alignment, clipping, and RTL mirroring from visual semantics, not defaults copied from another asset.
  9. Use ColorFilter for intentional whole-picture tinting, ColorMapper for selective source-aware recoloring, and SvgTheme for SVG-authored theme-relative values such as currentColor.
  10. Preserve multicolor artwork unless the design explicitly calls for a monochrome treatment.
  11. Provide one accessible meaning for meaningful artwork; exclude decorative artwork from semantics.
  12. Treat source-byte/HTTP caching, compiled-vector caching, and live rendered-picture reuse as separate layers.
  13. Keep source, theme, loader, and mapper identity stable when cache reuse matters.
  14. Never claim SvgPicture.network provides a complete persistent HTTP/offline cache policy.
  15. Use an application network layer before SvgPicture.memory when remote SVG needs authentication, retries, cancellation, status/content validation, persistent caching, telemetry, or input limits.
  16. Treat remote/user SVG as untrusted input. flutter_svg is a renderer/compiler pipeline, not a sanitizer.
  17. Do not enable allowDrawingOutsideViewBox globally to compensate for malformed assets.
  18. Profile complex or repeated SVGs in profile/release-like conditions before selecting precompilation, raster rendering, or raster-image replacement.
  19. Precompile .vec only when runtime SVG parse/compile cost is measurable or strategically important.
  20. Keep .vec compiler/runtime versions compatible and retain SVG as the maintainable source of truth.
  21. Use RenderingStrategy.raster only after profiling shows vector painting is expensive and display scale is sufficiently stable; validate memory and pixel quality.
  22. Do not precache every vector. Warm only likely, latency-sensitive artwork with measured first-use cost.
  23. Use golden tests for visually sensitive upgrades, exporter changes, color-mapping changes, fit changes, RTL changes, and rendering-strategy changes.
  24. Preserve correctness, semantics, visual fidelity, and platform behavior before performance micro-optimizations.

Read the full file on GitHub · 471 lines

Files

What ships with it

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

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. 6d ago First seen · 471 lines · 128 tokens per session scan A 005aa5c84d22

Subscribe to this mod's changes

flutter-svg-engineering is a skill published in the GitHub repository ariaramin/flutter-skills (6 stars, last pushed 7d ago), licensed MIT. It adds 128 tokens to every session and 4,778 once invoked, about $0.0005 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.