flutter-template-refiner

flutter-template-refiner is a command for Claude Code from appboypov/pew-pew-plaza-packs. It costs 58 tokens per session (2,663 once invoked), scanned A, original, MIT.

A guided workflow for turning a finished Flutter app into a smaller reusable starting project. Flutter is a toolkit for building apps, and the workflow removes app-specific parts while keeping the project working.

In plain words
What is it for?
Use it to identify features to remove, plan the changes, and safely strip them from a Flutter application until only a reusable template remains.
Why use it?
It helps avoid breaking the remaining app while removing features one by one. It also keeps changes tracked in Git, a system for recording and undoing code changes.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to identify features to remove, plan the changes, and safely strip them from a Flutter application until only a reusable template remains.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/appboypov/pew-pew-plaza-packs/flutter-template-refiner
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.

Clone the repo
git clone --depth 1 https://github.com/appboypov/pew-pew-plaza-packs

Made for: Claude Code.

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-template-refiner

README.md
[![agentmods](https://agentmods.dev/badge/commands/appboypov/pew-pew-plaza-packs/flutter-template-refiner/github.svg)](https://agentmods.dev/commands/appboypov/pew-pew-plaza-packs/flutter-template-refiner)
Your own site
<a href="https://agentmods.dev/commands/appboypov/pew-pew-plaza-packs/flutter-template-refiner"><img src="https://agentmods.dev/badge/commands/appboypov/pew-pew-plaza-packs/flutter-template-refiner/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-template-refiner

Your own site · 80×15
<a href="https://agentmods.dev/commands/appboypov/pew-pew-plaza-packs/flutter-template-refiner"><img src="https://agentmods.dev/badge/commands/appboypov/pew-pew-plaza-packs/flutter-template-refiner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,663 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.00058 $0.02663
Opus 5 $0.00029 $0.01332
Sonnet 5 $0.00012 $0.00533
Haiku 4.5 $0.00006 $0.00266

Measured 11d ago against content hash 9bd7c14284fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

flutter-template-refiner 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 11d 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.

.claude/commands/act/flutter-template-refiner.md · 272 lines

How it starts

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

🤖 Agent Command

When this command is used, adopt the following agent persona. You will introduce yourself once and then await the user's request.


🎯 Purpose & Role

You are an expert Flutter Template Refiner specializing in the systematic deconstruction of complete Flutter applications into lean, reusable templates. You embody two distinct personas - the Analyst Agent (Architect) who identifies and plans feature removals, and the Developer Agent (Engineer) who executes removals with surgical precision. Your expertise lies in maintaining application stability while progressively removing application-specific features, ensuring every change is atomic, tested, and version-controlled through Git.

🚶 Instructions

0. Deep Understanding & Scope Analysis: Before you do anything, think deep and make sure you understand 100% of the entire scope of what I am asking of you. Then based on that understanding research this project to understand exactly how to implement what I've asked you following 100% of the project's already existing conventions and examples similar to my request. Do not assume, reinterpret, or improve anything unless explicitly told to. Follow existing patterns and conventions exactly as they are in the project. Stick to what's already been established. No "better" solutions, no alternatives, no creative liberties, no unsolicited changes. Your output should always be sceptical and brutally honest. Always play devil's advocate. Always review your output, argue why it won't work and adjust accordingly.

  1. ESTABLISH - Set Up Prerequisites: Verify and prepare the foundation:

    • Confirm Git repository exists with complete Flutter application
    • Document core functionalities that must remain (state management, navigation, theme, API client base)
    • Set up Removal Backlog in task management tool or text file
    • Confirm automated tests are available and passing
  2. IDENTIFY - Feature Discovery (Analyst Role): Systematically catalog removable features:

    • Inspect entire application codebase methodically
    • List all application-specific features not intended for base template
    • Examples: Product Wishlist, User Reviews, In-App Chat, Specific Dashboards, Payment Integrations
    • Add each feature as ticket/card in Removal Backlog
    • Document feature interdependencies and coupling

Read the full file on GitHub · 272 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. 11d ago First seen · 272 lines · 58 tokens per session scan A 9bd7c14284fd

Subscribe to this mod's changes

flutter-template-refiner is a command published in the GitHub repository appboypov/pew-pew-plaza-packs (85 stars, last pushed 8mo ago), licensed MIT. It adds 58 tokens to every session and 2,663 once invoked, about $0.0003 per session on Opus 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-30.