flutter_getx_template: Skill for Claude Code

.agent/skills/create-controller/SKILL.md

create-controller is a skill for Claude Code, Codex from EmadBeltaje/flutter_getx_template. It costs 68 tokens per session (1,067 once invoked), scanned A, original, MIT.

A code-generation workflow for creating a GetX controller in a Flutter module. GetX is a Flutter library for managing screen state and dependencies.

In plain words
What is it for?
Use it when adding a new GetX controller to a screen or module, including a named module such as a dialog or home screen.
Why use it?
It removes the repetitive setup of creating the controller and registering it with the module's binding.

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/create-controller/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 create-controller

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/emadbeltaje/flutter_getx_template/create-controller"><img src="https://agentmods.dev/badge/skills/emadbeltaje/flutter_getx_template/create-controller.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,067 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.00068 $0.01067
Opus 5.5 $0.00027 $0.00427
Sonnet 5.5 $0.00014 $0.00213
Haiku 4.5 $0.00007 $0.00107

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

Security

Grade A, and why

create-controller 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/create-controller/SKILL.md · 147 lines

How it starts

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

Create controller

Add a GetxController the same way get create controller:name on folder does. Write the file from the templates in this skill. Do not copy an existing controller — those files often contain feature-specific API and UI logic.

Name and options

From the user (dialog, dialogcontroller, get create controller:dialog on home):

Piece Meaning
name Controller identity
on {folder} Module/folder to place it in. Search lib for a directory whose path contains /{folder}/ as a segment. Prefer lib/app/modules/{folder} when it exists. If no folder matches, stop and say so.
with {file-or-url} Optional custom template. Local dart file or a URL that returns dart.
  1. Trim a trailing controller (any case) so dialogcontroller and dialog both become dialog.
  2. snake = snake_case. pascal = PascalCase.
  3. Class is always {pascal}Controller.
  4. File is always {snake}_controller.dart.

Destination

If on is set, write:

{found-folder}/controllers/{snake}_controller.dart

Create controllers/ if it is missing.

If on is omitted, write:

lib/app/controllers/{snake}_controller.dart

If that file already exists, ask before overwriting.

Default file

When with is not given, write:

import 'package:get/get.dart';

class {pascal}Controller extends GetxController {
  //TODO: Implement {pascal}Controller

  final count = 0.obs;

  @override
  void onInit() {
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }

  void increment() => count.value++;
}

Custom template (with)

Read the file or URL body, then replace:

Token Replacement
@controller {pascal}Controller
@view {pascal}View
@screen {pascal}Screen
@binding {pascal}Binding
@package package name from pubspec.yaml
@import import 'package:get/get.dart';

Read the full file on GitHub · 147 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 · 147 lines · 68 tokens per session scan A fbc16f0c0549

Subscribe to this mod's changes

create-controller is a skill published in the GitHub repository EmadBeltaje/flutter_getx_template (519 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 1,067 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-09-05.

Related

create-controller compared with skills from other repositories

create-controller next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-controllerEmadBeltaje/flutter_getx_templateSkill5191mo agoMITA68Claude Code, Codex
android-resourcesHoangNguyen0403/agent-skills-standardSkill583todayMITA59Claude Code, Codex
flutter-internationalizationMADTeacher/mad-agents-skillsSkill1126mo agoMITA98Claude Code, Codex
networkingsonature-lab/timsquadSkill122mo agoMITA47Claude Code
flutterpledgeandgrow/pledge-skillsSkill103mo agoMITA126Claude Code, Codex
wsl-setupT3Dhuli/wsl-bridgeSkill27mo agoMITA0Claude Code
adb-bridgeT3Dhuli/wsl-bridgeSkill27mo agoMITA0Claude Code