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 skills add anoopsg/agent_rules --skill remove-web-platformgit clone --depth 1 https://github.com/anoopsg/agent_rulesWrote 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/skills/anoopsg/agent_rules/remove-web-platform)<a href="https://agentmods.dev/skills/anoopsg/agent_rules/remove-web-platform"><img src="https://agentmods.dev/badge/skills/anoopsg/agent_rules/remove-web-platform/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/skills/anoopsg/agent_rules/remove-web-platform"><img src="https://agentmods.dev/badge/skills/anoopsg/agent_rules/remove-web-platform.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.00053 | $0.00897 |
| Opus 5.5 | $0.00021 | $0.00359 |
| Sonnet 5.5 | $0.00011 | $0.00179 |
| Haiku 4.5 | $0.00005 | $0.00090 |
Grade A, and why
remove-web-platform 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 22d 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Remove Platform Skill
This skill defines the process for completely removing all files, configurations, and dead code associated with the web platform when the app is restricted to mobile (Android/iOS) only.
1. Generate the Checklist
The project itself is the inventory. scripts/find_web.sh
ships with this skill (not the project's scripts/) and lists everything web-only
that is left, grouped into the numbered sections of §3:
bash <this skill>/scripts/find_web.sh <project_dir>
It exits 1 while anything is left and 0 when clean (docs are listed for review only). Work through its output section by section and re-run it until it exits 0.
Stop and ask before starting if the user wants to keep maintenance mode on mobile: today it only runs on web, so this skill removes it.
2. Rules for Every Finding
- Branches: keep the mobile side and delete the condition:
kIsWeb ? a : b→b;if (!kIsWeb) x;→x;;if (kIsWeb) return;→ delete. Then removeshow kIsWebimports that are no longer used. - Shared code: delete a symbol only when nothing non-web uses it; otherwise drop just its web branch or parameter. If a file mixes web and non-web parts (e.g. one DTO in a shared area file), remove only the web part.
- Conditional imports: keep
dart.library.ioones (they select native code). Replace adart.library.js_interopone with its plain native import. - Tests: delete tests of removed code, and the web cases inside shared tests.
3. Work Through the Checklist
- Web and deploy files: delete them (the
web/folder, Docker/nginx files, the Firebase service-worker script). Projects generated without web won't have them. - Web-only Dart files and folders: delete each
*_web.dartfile and web folder (views, the web bootstrap,app_ui's web library and widgets). Then fix whatever imported them, which shows up in section 3. - Web branches and imports: apply §2 to every hit (router, guards, app
state, pages,
app_uilayouts, Firebase setup and options, tests). For a web dependency (e.g.flutter_web_plugins) remove it frompubspec.yamland runflutter pub get. For the web push key (VAPID), remove the argument, theEnvironmentconstant and the key in everyenv/*.json. - Maintenance feature: remove it end to end. That means the feature folder
and its exports, its
AppStatefields and listener, its gate guard and route, itsmaintenancei18n section (thenmelos run translate), and its tests. Remove its backend call from every API layer as well (spec operation and schema,ApiClientmethod, adapter, service, DTO, mock route and fixture; see the add-api-endpoint skill for where each lives). - Web build config: remove the web build step from CI, the
web:block of the launcher-icons config and theweb/**line in.gitattributes. - Docs to review: drop the web naming line (
*_view_web.dart) fromAGENTS.mdand web-only sections fromdocs/(if present). Keep everything that isn't web-specific.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 22d ago Changed · -56 lines · +2 tokens per session 581e97542493
- 3mo ago First seen · 129 lines · 51 tokens per session scan A 88746a07d5b6
remove-web-platform is a skill published in the GitHub repository anoopsg/agent_rules (2 stars, last pushed 23d ago), licensed MIT. It adds 53 tokens to every session and 897 once invoked, about $0.0002 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-31.
remove-web-platform compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| remove-web-platformanoopsg/agent_rules | Skill | 2 | 23d ago | MIT | A | 53 | Claude Code, Codex |
| orca-emulator-androidstablyai/orca | Skill | 145k | today | MIT | A | 102 | Claude Code, Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 56 | Claude Code |
| android-tombstone-symbolicationdotnet/skills | Skill | 6.4k | today | MIT | A | 176 | Claude Code |
| dogfoodcallstack/agent-device | Skill | 5.6k | today | MIT | A | 55 | Claude Code |
| winapp-mauimicrosoft/winappCli | Skill | 1.4k | today | MIT | A | 68 | Claude Code |
| flutter-devMiniMax-AI/skills | Skill | 14k | 20d ago | MIT | A | 83 | Claude Code |