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.
git clone --depth 1 https://github.com/moasq/ios-dev-agentWrote 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/moasq/ios-dev-agent/pricing-display)<a href="https://agentmods.dev/rules/moasq/ios-dev-agent/pricing-display"><img src="https://agentmods.dev/badge/rules/moasq/ios-dev-agent/pricing-display/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/rules/moasq/ios-dev-agent/pricing-display"><img src="https://agentmods.dev/badge/rules/moasq/ios-dev-agent/pricing-display.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.00408 | $0.00408 |
| Opus 5 | $0.00204 | $0.00204 |
| Sonnet 5 | $0.00082 | $0.00082 |
| Haiku 4.5 | $0.00041 | $0.00041 |
Grade A, and why
pricing-display 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
Pricing Display Rules
Use these rules for an app's own subscriptions and in-app purchases.
Source Of Truth
Paywall, upgrade prompts, onboarding price mentions, and subscription metadata must use live StoreKit or RevenueCat data. Do not hardcode price, period, trial duration, or savings claims in Swift.
Banned Patterns
let yearlyPrice: Decimal = 29.99
Text("$29.99")
Text("$2.50 / month")
Text("Save 60%")
Text("7-day free trial")
Text("Was $59.99").strikethrough()
String(format: "$%.2f / mo", monthly)
Allowed Patterns
Text(package.storeProduct.localizedPriceString)
if let trial = package.storeProduct.freeTrialDescription {
Text(trial)
}
if let savings = annual.savingsPercent(comparedTo: weekly) {
Text("Save \(savings)%")
}
The helper methods may compute values from StoreKit/RevenueCat package data, but the view layer should not invent pricing strings.
Release Audit
Before submission, scan Swift source for:
- Numeric price literals.
- Hardcoded currency symbols in paywall copy.
- Hardcoded
/mo,/month,/yr,/year,/weeklabels attached to prices. - Hardcoded savings percentages.
- Hardcoded trial durations.
All matches must be derived from StoreKit/RevenueCat data or replaced with generic copy.
Metadata Copy
App Store metadata should avoid price literals unless the team is prepared to verify and update them before every release. Prefer generic copy such as "Choose annual for the best per-month value" over specific numbers.
Apple Review
Auto-renewing subscriptions must clearly disclose subscription length, price, and renewal terms. The safest implementation is to display the values returned by StoreKit or RevenueCat for the current storefront.
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 · 62 lines · 408 tokens per session scan A 596f78359c12
pricing-display is a cursor rule published in the GitHub repository moasq/ios-dev-agent (4 stars, last pushed 3mo ago), licensed MIT. It adds 408 tokens to every session, about $0.0020 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-09-03.
Other cursor rules, from other repositories
nativescript
NativeScript best practices and patterns for mobile applications.
webkit-browser
Cursor rule "webkit-browser" from duckduckgo/apple-browsers, covering webkit & browser development guidelines, webview configuration, basic webview setup, user scripts management and tab management.
gradle
Enforce modern Gradle build practices for Java and Android projects, focusing on Kotlin DSL, modularity, version catalogs, and performance optimizations.
faststore-faststore-storefront-ref-project-structure-routes-and-config
FastStore project structure, routes, CLI build pipeline, store configuration (discovery.config.js), and naming conventions. Use when understanding how a FastStore project is organized, how the @faststore/cli works, what files to create or modify, how routing works, or how to configure store settings like SEO, API…
swift-development
Swift development: SwiftUI, Combine, async/await, iOS patterns, and Apple platform conventions.
flutter_architecture_overview
High-level overview of the Flutter project architecture, directory structure, file naming conventions, and decision checklists. Use this to understand where code belongs.