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 agentmods add instructions/zz6zz666/android-diy-sandbox/agents-mdgit clone --depth 1 https://github.com/zz6zz666/Android-DIY-SandboxWrote 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/instructions/zz6zz666/android-diy-sandbox/agents-md)<a href="https://agentmods.dev/instructions/zz6zz666/android-diy-sandbox/agents-md"><img src="https://agentmods.dev/badge/instructions/zz6zz666/android-diy-sandbox/agents-md.svg" alt="Measured on agentmods" 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.00874 | $0.00874 |
| Opus 5 | $0.00437 | $0.00437 |
| Sonnet 5 | $0.00175 | $0.00175 |
| Haiku 4.5 | $0.00087 | $0.00087 |
Grade A, and why
Android-DIY-Sandbox 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 6d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
构建
normal (系统 WebView):
flutter build apk --debug --flavor normal --target-platform android-arm64 --no-tree-shake-icons
flutter build apk --release --flavor normal --target-platform android-arm64 --no-tree-shake-icons && cp build/app/outputs/apk/normal/release/Android-DIY-Sandbox-*.apk build/app/outputs/flutter-apk/ && APK=$(ls build/app/outputs/flutter-apk/Android-DIY-Sandbox-*.apk | head -1) && sha1sum "$APK" | cut -d' ' -f1 > "${APK}.sha1"
chromium (内置 Chromium 内核):
flutter build apk --debug --flavor chromium --target-platform android-arm64 --no-tree-shake-icons
flutter build apk --release --flavor chromium --target-platform android-arm64 --no-tree-shake-icons && cp build/app/outputs/apk/chromium/release/Android-DIY-Sandbox-*.apk build/app/outputs/flutter-apk/ && APK=$(ls build/app/outputs/flutter-apk/Android-DIY-Sandbox-*.apk | head -1) && sha1sum "$APK" | cut -d' ' -f1 > "${APK}.sha1"
Gradle 已配置 outputFileName,产物在 android/app/outputs/apk/ 下自动命名为
Android-DIY-Sandbox-v{versionName}-{flavor}-{buildType}.apk (normal 和 chromium 均带显式 flavor 标记)。
Flutter 工具会额外复制一份到 build/app/outputs/flutter-apk/ (默认名 app-{flavor}-{buildType}.apk)。
上方的构建命令会将 Gradle 目录下的重命名产物连同 SHA 校验文件同步到 flutter-apk/。
必须带 --no-tree-shake-icons:Lua 层 UI 允许用任意图标名/codepoint 在运行时动态构造 IconData
(见 lib/ui/lua/lua_view.dart 的 luaIconFor 与 lib/ui/lua/material_icons_map.g.dart)。
不加该 flag 时 Flutter 会摇树裁掉未静态引用的图标,导致 Lua 指定的图标显示为方框。
真机:XT2507-5,包名 com.diysandbox.android.debug。
Lua UI 图标映射
lib/ui/lua/material_icons_map.g.dart 是生成文件,来自 Flutter SDK 的
packages/flutter/lib/src/material/icons.dart。升级 Flutter 后如需刷新,重跑生成脚本
(解析 static const IconData NAME = IconData(0xXXXX ...) → 名称/codepoint/RTL 映射)。
皮肤打包
默认皮肤 (assets/scripts/ 全量无嵌套 zip):
( cd assets/scripts && zip -r ../../build/Sandbox_Default_Demo_Skin-v$(grep '^version: ' ../../pubspec.yaml | sed 's/.*: //' | cut -d+ -f1).zip . )
空皮肤 (仅保留 agent/ sandbox/ agent.lua AGENTS.md):
( cd assets/scripts && zip -r ../../build/Sandbox_Empty_Skin-v$(grep '^version: ' ../../pubspec.yaml | sed 's/.*: //' | cut -d+ -f1).zip agent/ sandbox/ agent.lua AGENTS.md )
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.
- 6d ago First seen · 61 lines · 874 tokens per session scan A 17c6df0ae676
Android-DIY-Sandbox AGENTS.md is an instructions file published in the GitHub repository zz6zz666/Android-DIY-Sandbox (24 stars, last pushed 1mo ago), licensed BSD-3-Clause. It adds 874 tokens to every session, about $0.0044 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.
Other instructions, from other repositories
MobiAI-Core CLAUDE.md
Claude Code instructions for ArisGuimera/MobiAI-Core, covering mobiai — mobile development ai ecosystem, bootstrap and principles.
freetube CLAUDE.md
Instructions for leshkodev/freetube, covering claude.md, 1. what this project is, 2. non-negotiable constraints, 3. tech stack (locked) and 4. project structure.
ConsultMe CLAUDE.md
Claude Code instructions for Tarek-Bohdima/ConsultMe, covering claude.md, project context, common commands, module graph and conventions enforced by tooling.
phone-mcp CLAUDE.md
Claude Code instructions for premex-ab/phone-mcp, covering claude.md, project overview, build commands, architecture and module layout.
dev-challenge CLAUDE.md
Claude Code instructions for micheltlutz/dev-challenge, covering claude.md, the one rule to internalise, slash commands, subagents and skills.
android-media-pack CLAUDE.md
Instructions for sunnat629/android-media-pack, covering claude.md, what this repository is, commands, markdown lint (config in .markdownlint-cli2.jsonc) and shell script lint.