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 rules/abhinav503/flutter-agentic/change-app-idgit clone --depth 1 https://github.com/abhinav503/flutter-agenticWrote 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/rules/abhinav503/flutter-agentic/change-app-id)<a href="https://agentmods.dev/rules/abhinav503/flutter-agentic/change-app-id"><img src="https://agentmods.dev/badge/rules/abhinav503/flutter-agentic/change-app-id.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.00026 | $0.00608 |
| Opus 5 | $0.00013 | $0.00304 |
| Sonnet 5 | $0.00005 | $0.00122 |
| Haiku 4.5 | $0.00003 | $0.00061 |
Grade A, and why
change-app-id 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.
How it starts
The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
If the new application ID was not provided, ask:
"What is the new application ID? Use reverse-domain notation, e.g. com.company.appname"
Monorepo note: application IDs are per app. All paths below are relative to the target app folder
apps/{app}/(e.g.apps/doc_scanner/android/app/build.gradle.kts). Run verification commands from inside that app folder.
Derive the old application ID from the applicationId field in apps/{app}/android/app/build.gradle.kts.
Android
1. android/app/build.gradle.kts
Update both occurrences:
namespace = "{NEW_ID}"
applicationId = "{NEW_ID}"
2. MainActivity.kt — package declaration and directory
The file lives at android/app/src/main/kotlin/{OLD_ID_AS_PATH}/MainActivity.kt
({OLD_ID_AS_PATH} = old ID with . replaced by /).
Steps:
- Create
android/app/src/main/kotlin/{NEW_ID_AS_PATH}/ - Write
MainActivity.ktwithpackage {NEW_ID}as the first line. - Delete the old directory tree.
3. Verify no remaining references
grep -r "{OLD_ID}" android/ --include="*.kt" --include="*.java" --include="*.xml" --include="*.gradle" --include="*.kts"
Any hits must also be updated.
iOS
Update every PRODUCT_BUNDLE_IDENTIFIER line in ios/Runner.xcodeproj/project.pbxproj:
| Target | Value |
|---|---|
| Runner (3 entries: Debug, Release, Profile) | {NEW_ID} |
| RunnerTests (3 entries) | {NEW_ID}.RunnerTests |
Do a find-and-replace across the whole file — 6 lines total.
Verify:
grep "PRODUCT_BUNDLE_IDENTIFIER" ios/Runner.xcodeproj/project.pbxproj
If the user prefers Xcode
- Open
ios/Runner.xcworkspacein Xcode. - Select the Runner project → Runner target → General tab.
- Update Bundle Identifier to
{NEW_ID}. - Repeat for RunnerTests target (
{NEW_ID}.RunnerTests).
Note: If Push Notifications, Sign in with Apple, or other capabilities are registered against the old bundle ID in the Apple Developer portal, create a new App ID there and re-download provisioning profiles. Xcode handles this automatically with automatic signing enabled.
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.
- 4d ago First seen · 80 lines · 26 tokens per session scan A 40b28aaea457
change-app-id is a cursor rule published in the GitHub repository abhinav503/flutter-agentic (10 stars, last pushed 11d ago), licensed MIT. It adds 26 tokens to every session and 608 once invoked, about $0.0001 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-31.
Other cursor rules, from other repositories
landing-page-optimizer
Landing page audit and optimization for conversion. Covers above-the-fold design, value propositions, CTAs, social proof placement, form design, page speed, and mobile optimization. Use when the user asks about landing page optimization, conversion rate improvement, page audits, or CTA optimization.
flutter
Flutter and coding-agent rules for flutter-agentic-starter.
intentflow
IntentFlow architecture rules for iOS features.
flutter-app
Convenções do app Flutter (lib/).
android-networking-retrofit-okhttp
Build Android networking stacks with Retrofit, OkHttp, interceptors, API contracts, and resilient error handling.
swift-development
Swift development: SwiftUI, Combine, async/await, iOS patterns, and Apple platform conventions.