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.
npx skills add Poorgramer-Zack/dart-expert-skills --skill freezedgit clone --depth 1 https://github.com/Poorgramer-Zack/dart-expert-skillsWrote 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.
[](https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/freezed)<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/freezed"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/freezed/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.
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/freezed"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/freezed.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00113 | $0.01473 |
| Opus 5.5 | $0.00045 | $0.00589 |
| Sonnet 5.5 | $0.00023 | $0.00295 |
| Haiku 4.5 | $0.00011 | $0.00147 |
Grade A, and why
generating-freezed-models 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 19d 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.
How it starts
The opening of the file, as written. The whole thing — 170 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Freezed Guide (v3.2.x)
Goal
Generate immutable data classes, union types, and deep copyWith using Freezed v3.2.x. Complements Dart 3 sealed classes by adding copyWith, ==/hashCode, and JSON serialization via json_serializable.
Instructions
1. Dependencies and Environment Setup
Because Freezed relies heavily on code generation, ensure your pubspec.yaml is fully configured:
dependencies:
freezed_annotation: ^3.1.0
json_annotation: ^4.12.0 # If mutual conversion with JSON is required
dev_dependencies:
build_runner: ^2.17.1
freezed: ^4.0.3 # 4.x needs Dart 3.13+ and analyzer 14: conflicts with custom_lint/riverpod_lint and auto_route_generator
json_serializable: ^6.15.2 # If mutual conversion with JSON is required
2. Defining an Immutable Data Class
import 'package:freezed_annotation/freezed_annotation.dart';
// You MUST declare part files; the name must exactly match the current file
part 'user_model.freezed.dart';
part 'user_model.g.dart'; // If utilizing JSON serialization
// Freezed 3.x: prefer `sealed` modifier for exhaustive pattern matching
@freezed
sealed class UserModel with _$UserModel {
const factory UserModel({
required String id,
required String name,
@Default(18) int age,
@JsonKey(name: 'is_active') @Default(true) bool isActive,
}) = _UserModel;
// Required for JSON serialization
factory UserModel.fromJson(Map<String, Object?> json) =>
_$UserModelFromJson(json);
}
After every model change, run
dart run build_runner build.
3. Custom Getters and Methods
To add computed properties or methods, add a private parameterless constructor.
@freezed
abstract class Product with _$Product {
// private constructor required to add custom methods
const Product._();
const factory Product({
required double price,
required double discountRate,
}) = _Product;
// Custom Getter
double get discountedPrice => price * (1 - discountRate);
// Custom Method
bool isFree() => discountedPrice == 0;
}
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.
- 19d ago Changed · -1 lines 69e82aee20da
- 3mo ago First seen · 171 lines · 113 tokens per session scan A d2c8aa4afa3d
generating-freezed-models is a skill published in the GitHub repository Poorgramer-Zack/dart-expert-skills (7 stars, last pushed 20d ago), licensed MIT. It adds 113 tokens to every session and 1,473 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-08-31.
generating-freezed-models compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| generating-freezed-modelsPoorgramer-Zack/dart-expert-skills | Skill | 7 | 20d ago | MIT | A | 113 | Claude Code, Codex |
| firebase-aievanca/flutter-ai-rules | Skill | 676 | 18d ago | MIT | A | 30 | Claude Code |
| at_client_skills-sdkatsign-foundation/at_client_sdk | Skill | 1.4k | today | BSD-3-Clause | A | 220 | Claude Code |
| at-telemetry-app-eventsatsign-foundation/at_client_sdk | Skill | 1.4k | today | BSD-3-Clause | A | 121 | Claude Code, Codex |
| flutterericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 91 | Claude Code, Codex |
| flutter-mcp-toolkit-controlArenukvern/mcp_flutter | Skill | 401 | 4d ago | MIT | A | 38 | Claude Code |
| flutter-mcp-toolkit-debugArenukvern/mcp_flutter | Skill | 401 | 4d ago | MIT | A | 32 | Claude Code |