init

A setup process for starting a new Flutter app with its project structure, dependencies, environment, and main entry file. Flutter is Google’s toolkit for building apps for mobile and other platforms from one codebase.

In plain words
What is it for?
Use it when creating an app from scratch, including its name, package identity, backend choice, authentication options, colors, and theme.
Why use it?
It collects the app’s basic requirements and establishes the foundation needed before adding features.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/launch52-ai/flutter-template/init
Any agent
npx skills add launch52-ai/flutter-template --skill init
Clone the repo
git clone --depth 1 https://github.com/launch52-ai/flutter-template

Made for: Claude Code, Codex.

Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,404 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. Scan, not verified.
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 $0.00038 $0.01404
Opus 5 $0.00019 $0.00702
Sonnet 5 $0.00008 $0.00281
Haiku 4.5 $0.00004 $0.00140

Measured yesterday against content hash 8f0f0b0d3d5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

init scanned grade C with 1 finding 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 yesterday.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

cd ios && rm -rf Pods Podfile.lock && pod install --repo-update && cd ..
.claude/skills/init/SKILL.md · 216 lines

How it starts

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

Init - Project Initialization

Initialize a new Flutter project with proper architecture and dependencies.

When to Use This Skill

  • Starting a new Flutter project from scratch
  • Setting up project structure before adding features
  • Run this FIRST before any other skills

Workflow

Phase 1: Gather Requirements

Ask the user these questions using AskUserQuestion tool:

Required Information
  1. App Name (display name, e.g., "My App")
  2. Project Name (snake_case, e.g., "my_app")
  3. Bundle ID (e.g., "com.company.myapp")
  4. Organization (e.g., "com.company")
  5. Description (short app description)
Backend Options
  1. Use Supabase? (yes/no, default: yes)
  2. API Base URL (optional, for custom REST API)
Authentication Methods
  1. Which auth methods? (multi-select)
    • Social Login (Google + Apple)
    • Phone OTP
    • Email/Password
Design
  1. Primary Color (hex, default: #2D9D78)
  2. Theme Mode (light/dark/both, default: both)

Phase 2: Create Project

# Verify Flutter is ready
flutter doctor

# Create project in current directory
flutter create --org {organization} --project-name {project_name} .

Phase 3: Add Dependencies

Update pubspec.yaml with dependencies from templates/pubspec_additions.yaml.

Conditional dependencies:

  • supabase_flutter - Only if Supabase = yes
  • dio - Only if API Base URL provided
  • google_sign_in, sign_in_with_apple, crypto - Only if Social Login selected
flutter pub get

Phase 4: Configure Environment

  1. Create .env.example from templates/env_example.txt
  2. Create .env (copy of .env.example)
  3. Add to .gitignore from templates/gitignore_additions.txt

Phase 5: Setup Analysis Options

Replace analysis_options.yaml with templates/analysis_options.yaml.

Phase 6: Modify main.dart

Read the full file on GitHub · 216 lines

Files

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.

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. yesterday First seen · 216 lines · 38 tokens per session scan C 8f0f0b0d3d5e

Subscribe to this mod's changes

init is a skill published in the GitHub repository launch52-ai/flutter-template (2 stars, last pushed 6mo ago), licensed MIT. It adds 38 tokens to every session and 1,404 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories