FlutterKit: Instructions file for Codex

AGENTS.md

FlutterKit AGENTS.md is an instructions file for Codex, OpenCode from Joker-x-dev/FlutterKit. It costs 2,531 tokens per session, scanned A, original, MIT.

Project instructions for FlutterKit, a cross-platform Flutter application template for Android, iOS, desktop, and web.

In plain words
What is it for?
Use them when building or modifying Flutter pages, layouts, themes, network features, storage, navigation, tests, or reusable modules.
Why use it?
They explain the project’s architecture, design system, data and networking patterns, documentation priorities, and rules for checking APIs before making changes.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Joker-x-dev/FlutterKit's own configuration. It tells Codex and OpenCode how to work on FlutterKit 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 FlutterKit configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Joker-x-dev/FlutterKit. 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/Joker-x-dev/FlutterKit/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Joker-x-dev/FlutterKit

Made for: Codex, OpenCode.

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 FlutterKit AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/joker-x-dev/flutterkit/agents-md/github.svg)](https://agentmods.dev/instructions/joker-x-dev/flutterkit/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/joker-x-dev/flutterkit/agents-md"><img src="https://agentmods.dev/badge/instructions/joker-x-dev/flutterkit/agents-md/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 FlutterKit AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/joker-x-dev/flutterkit/agents-md"><img src="https://agentmods.dev/badge/instructions/joker-x-dev/flutterkit/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,531 This file is loaded in full into every session.
When invoked 2,531 The same file — it is already loaded in full.
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.02531 $0.02531
Opus 5.5 $0.01012 $0.01012
Sonnet 5.5 $0.00506 $0.00506
Haiku 4.5 $0.00253 $0.00253

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

Security

Grade A, and why

FlutterKit AGENTS.md 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 4d 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.

AGENTS.md · 106 lines

How it starts

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

Repository Guidelines

项目概览与技术栈

FlutterKit 是面向 Android、iOS、macOS、Linux、Windows 和 Web 的 Flutter 跨平台项目脚手架,采用模块化目录与 GetX 页面分层,内置常用基础能力和可运行 Demo。

领域 技术与用途
语言与框架 Dart、Flutter
架构与状态 GetX,采用 View、Logic、State、Binding 分层及全局 Service
UI 与设计系统 TDesign Flutter、AppTheme、语义化尺寸/形状、Widget 与动画链式扩展
网络与模型 Dio、Retrofit、json_serializable、RequestHelper
数据持久化 Repository + DataSource、sqflite、shared_preferences
适配与交互 flutter_screenutil、easy_refresh、animations、bot_toast
开发与质量 build_runner、FlutterGen、Widget Preview、flutter_lints、flutter_test

执行原则与资料优先级

修改前必须先阅读任务对应文档,再核对源码、调用方和测试,禁止根据类型名、其他平台实现或记忆猜测 Flutter/TDesign API。

资料优先级如下:

  1. 用户当前任务与本文件的项目级强约束。
  2. FlutterKit 框架文档 与 TDesign Flutter 文档。
  3. 当前源码、同类实现、调用关系和测试用例。
  4. 依赖包当前版本的源码与官方文档。

文档与代码不一致时,以可运行实现和测试结果为依据,并同步更新项目文档。不得复制过时示例或创造项目不存在的 API。

按任务读取文档

任务 必读文档
项目架构、模块拆分 项目架构与职责、模块化设计
Feature 目录与页面分层 Feature 概览、目录与命名、页面模板
View、Logic、State、Binding View、Logic、State、Binding
基础页面、网络、列表、刷新、Tab、Dialog 基础父类 及对应 base-*.md 专题
UI、布局、主题、深色、扩展 完整布局规范与扩展、扩展统一导出文件、Widget 扩展、设计系统、主题系统、深色模式
TDesign 组件参数 TDesign 组件索引 与具体组件页面
数据、模型、网络、结果处理 数据层、数据模型、网络请求、结果处理
数据库、本地存储、全局状态 数据库、本地存储、状态管理
路由、参数、结果、守卫 导航文档 及对应专题
适配、预览、图标与启动页 扩展文档 及对应专题

Read the full file on GitHub · 106 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. 4d ago Changed f3ec039ccf16
  2. 2mo ago First seen · 106 lines · 2,531 tokens per session scan A d280e5fa4a39

Subscribe to this mod's changes

FlutterKit AGENTS.md is an instructions file published in the GitHub repository Joker-x-dev/FlutterKit (140 stars, last pushed 5d ago), licensed MIT. It adds 2,531 tokens to every session, about $0.0101 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-30.

Related

FlutterKit AGENTS.md compared with instructions from other repositories

FlutterKit AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
FlutterKit AGENTS.mdJoker-x-dev/FlutterKitInstructions file1405d agoMITA2,531Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode