flutter_getx_template: Skill for Claude Code

.agent/skills/theme/SKILL.md

theme is a skill for Claude Code, Codex from EmadBeltaje/flutter_getx_template. It costs 55 tokens per session (1,729 once invoked), scanned A, original, MIT.

A helper for explaining and changing an app's light and dark themes, colors, fonts, and shared theme settings. A theme is the app-wide set of visual choices used across its screens.

In plain words
What is it for?
Use it to change dark mode or light mode, default colors, font settings, ThemeExtensions, or shared style definitions.
Why use it?
It keeps visual changes focused on shared app styling instead of requiring each screen to be updated separately.

Skill for Claude CodeCodex

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

This is EmadBeltaje/flutter_getx_template's own configuration. It tells Claude Code and Codex how to work on flutter_getx_template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flutter_getx_template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to EmadBeltaje/flutter_getx_template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/EmadBeltaje/flutter_getx_template/master/.agent/skills/theme/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/EmadBeltaje/flutter_getx_template

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 theme

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/emadbeltaje/flutter_getx_template/theme"><img src="https://agentmods.dev/badge/skills/emadbeltaje/flutter_getx_template/theme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,729 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.00055 $0.01729
Opus 5.5 $0.00022 $0.00692
Sonnet 5.5 $0.00011 $0.00346
Haiku 4.5 $0.00006 $0.00173

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

Security

Grade A, and why

theme 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 2mo 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.

.agent/skills/theme/SKILL.md · 200 lines

How it starts

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

Theme

Light and dark palettes live in color classes. MyTheme.getThemeData builds ThemeData. The current mode is stored in shared preferences (default light). Fonts follow the current language family.

How it works

GetMaterialApp wraps the tree with Theme(data: MyTheme.getThemeData(isLight: MySharedPref.getThemeIsLight())).

Toggle (persists, then GetX updates the mode):

MyTheme.changeTheme();

Read current mode (true = light):

bool themeIsLight = MySharedPref.getThemeIsLight();

changeTheme implementation:

static changeTheme() {
  bool isLightTheme = MySharedPref.getThemeIsLight();
  MySharedPref.setThemeIsLight(!isLightTheme);
  Get.changeThemeMode(!isLightTheme ? ThemeMode.light : ThemeMode.dark);
}

Shared-pref default (this is the default theme):

static bool getThemeIsLight() =>
    _sharedPreferences.getBool(_lightThemeKey) ?? true; // true = light, false = dark

Palette files hold colors. MyStyles maps those colors onto AppBarTheme, TextTheme, buttons, chips, list tiles, and custom ThemeExtensions. MyFonts holds sizes (already .sp) and the active fontFamily.

Read colors from Theme.of(context) in widgets (primaryColor, colorScheme, textTheme, extension<...>()). Edit palettes, not widget files, when the user wants a new brand color.

Change theme (runtime)

Add a control that calls MyTheme.changeTheme(). No other files.

Change default theme

In the shared-pref theme getter, set the fallback:

  • light default: ?? true
  • dark default: ?? false

Done when that fallback matches what the user asked.

Colors

Edit both palettes so light and dark stay in sync. Typical slots: primaryColor, accentColor, scaffoldBackgroundColor, appBarColor / appbarColor, bodyTextColor, buttonColor, and any extension colors at the bottom of each palette class.

MyTheme.getThemeData already wires primaryColor, colorScheme, scaffoldBackgroundColor, cardColor, appBarTheme, textTheme, extensions, etc. After palette edits, existing widgets that read Theme.of(context) pick up the new colors.

Read the full file on GitHub · 200 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. 2mo ago First seen · 200 lines · 55 tokens per session scan A 1d3559069bdc

Subscribe to this mod's changes

theme is a skill published in the GitHub repository EmadBeltaje/flutter_getx_template (519 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 1,729 once invoked, about $0.0002 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-09-05.

Related

theme compared with skills from other repositories

theme next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
themeEmadBeltaje/flutter_getx_templateSkill5191mo agoMITA55Claude Code, Codex
inclusive-designevanca/flutter-ai-rulesSkill669yesterdayMITA50Claude Code
flutterpledgeandgrow/pledge-skillsSkill103mo agoMITA126Claude Code, Codex
scalar-design-systemscalar/scalarSkill16ktodayMITA68Claude Code, Codex
writetw93/WazaSkill7.5k4d agoMITA41Claude Code
shadcn-ui-flutternank1ro/flutter-shadcn-uiSkill2.8k3d agoMITA58Claude Code, Codex
state-machineWellApp-ai/WellSkill3522d agoMITA14Claude Code, Codex