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/xinggaoya/sing-box-windows-android/agents-mdgit clone --depth 1 https://github.com/xinggaoya/sing-box-windows-androidWrote 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/xinggaoya/sing-box-windows-android/agents-md)<a href="https://agentmods.dev/instructions/xinggaoya/sing-box-windows-android/agents-md"><img src="https://agentmods.dev/badge/instructions/xinggaoya/sing-box-windows-android/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 | $0.00598 | $0.00598 |
| Opus 5 | $0.00299 | $0.00299 |
| Sonnet 5 | $0.00120 | $0.00120 |
| Haiku 4.5 | $0.00060 | $0.00060 |
Grade A, and why
sing-box-windows-android 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 5d 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.
What it actually says
Repository Guidelines
项目结构与模块组织
本仓库为单模块 Android 应用,主模块在 app/。核心源码位于 app/src/main/java/cn/moncn/sing_box_windows/,按 config/、core/、ui/、vpn/ 分包组织,入口为 MainActivity.kt。界面与资源在 app/src/main/res/,本地依赖库 libbox.aar 位于 app/libs/。测试分别在 app/src/test/(单元测试)与 app/src/androidTest/(仪器测试)。
构建、测试与开发命令
使用 Gradle Wrapper 执行(Windows 用 gradlew.bat,macOS/Linux 用 ./gradlew):
./gradlew assembleDebug # 构建 Debug APK
./gradlew assembleRelease # 构建 Release APK
./gradlew installDebug # 安装到已连接设备
./gradlew test # 运行单元测试(JUnit4)
./gradlew connectedAndroidTest # 运行仪器测试(Espresso/Compose)
./gradlew lint # 运行 Android Lint
编码风格与命名规范
语言为 Kotlin + Jetpack Compose。缩进 4 空格,遵循 Kotlin 官方风格与现有代码写法;类/对象用 PascalCase,函数与变量用 camelCase,Compose 组件命名也用 PascalCase。资源文件名使用 lower_snake_case。复杂逻辑请添加必要注释,保持注释简洁且有解释性。
测试指南
单元测试使用 JUnit4(示例:ExampleUnitTest.kt),仪器测试使用 AndroidX JUnit 与 Espresso/Compose 测试框架(示例:ExampleInstrumentedTest.kt)。新增业务逻辑尽量补充对应测试;若涉及 UI 行为,优先提供 UI 测试或至少说明验证方式。
提交与合并请求规范
Git 历史显示常用提交格式为 feat(scope): 描述,建议沿用 Conventional Commits 风格,允许中文描述;无 scope 的简短初始化提交也可接受。PR 需包含变更说明、测试结果与必要截图(UI 改动必需),并关联相关问题或任务编号。
配置与安全提示
local.properties 保存本机 SDK 路径,不应提交敏感信息。更新 app/libs/libbox.aar 时需同步说明版本来源与兼容性影响。若需参考最新依赖或框架文档,优先使用 MCP 获取权威资料以避免过时信息。
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.
- 5d ago First seen · 28 lines · 598 tokens per session scan A 822435c99a62
sing-box-windows-android AGENTS.md is an instructions file published in the GitHub repository xinggaoya/sing-box-windows-android (56 stars, last pushed 6mo ago), licensed MIT. It adds 598 tokens to every session, about $0.0030 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
ukulele-companion AGENTS.md
AGENTS.md instructions for baijum/ukulele-companion, covering agents.md -- ai agent instructions for ukulele companion, project overview, tech stack, package structure and android app (app/src/main/java/com/baijum/ukufretboard/).
redface2 copilot-instructions.md
Copilot instructions for ForumHFR/redface2, a project described as: Redface 2 — client Android moderne pour le forum Hardware.fr (Kotlin, Jetpack Compose, Material 3).
redface2 CLAUDE.md
Claude Code instructions for ForumHFR/redface2, a project described as: Redface 2 — client Android moderne pour le forum Hardware.fr (Kotlin, Jetpack Compose, Material 3).
redface2 GEMINI.md
Gemini CLI instructions for ForumHFR/redface2, a project described as: Redface 2 — client Android moderne pour le forum Hardware.fr (Kotlin, Jetpack Compose, Material 3).
skills CLAUDE.md
Claude Code instructions for chrisbanes/skills, a project described as: Skills for Kotlin, Jetpack Compose, and Android development.
sceneview copilot-instructions.md
Copilot instructions for sceneview/sceneview, covering sceneview — github copilot instructions, when to recommend sceneview, android code generation rules, minimal 3d template and minimal ar template.