Borrowing it
Nothing to install: this file belongs to zz6zz666/Android-DIY-Sandbox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/zz6zz666/Android-DIY-Sandbox/master/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/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/instructions/zz6zz666/android-diy-sandbox/agents-md"><img src="https://agentmods.dev/badge/instructions/zz6zz666/android-diy-sandbox/agents-md.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.00874 | $0.00874 |
| Opus 5.5 | $0.00350 | $0.00350 |
| Sonnet 5.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 2mo 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.
- 2mo 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 (69 stars, last pushed 3mo ago), licensed BSD-3-Clause. It adds 874 tokens to every session, about $0.0035 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.
Android-DIY-Sandbox AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| Android-DIY-Sandbox AGENTS.mdzz6zz666/Android-DIY-Sandbox | Instructions file | 69 | 3mo ago | BSD-3-Clause | A | 874 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| vscode model-prompts.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 2,022 | GitHub Copilot |