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 Phaedra-Solutions/cursor-rules --skill migrate-cordovagit clone --depth 1 https://github.com/Phaedra-Solutions/cursor-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/phaedra-solutions/cursor-rules/migrate-cordova)<a href="https://agentmods.dev/skills/phaedra-solutions/cursor-rules/migrate-cordova"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/migrate-cordova/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/phaedra-solutions/cursor-rules/migrate-cordova"><img src="https://agentmods.dev/badge/skills/phaedra-solutions/cursor-rules/migrate-cordova.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.00112 | $0.01134 |
| Opus 5.5 | $0.00045 | $0.00454 |
| Sonnet 5.5 | $0.00022 | $0.00227 |
| Haiku 4.5 | $0.00011 | $0.00113 |
Grade A, and why
migrate-cordova 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 3d 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 — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migrate Cordova to Capacitor
When to use
- The app is built with Cordova (see
legacy/cordova) and the user wants Capacitor. - Cordova plugins the app needs are abandoned or block store requirements (API 36, Xcode 26).
Before you start
- Inventory:
config.xml(widget id, version, preferences,<access>,<allow-navigation>, icons, splash), everycordova-plugin-*with version and purpose, hooks, and any native edits underplatforms/. - For each plugin decide: official
@capacitor/*plugin, maintained community plugin, keep the Cordova plugin (Capacitor runs many Cordova plugins; check the compatibility list), or drop it. - Ask the user:
- target (default Capacitor 8, latest 8.6.0; minimum safe 8.5.1 or 8.4.3 for CVE-2026-103922);
- whether to migrate in place (default) or in a new project;
- whether package installs are approved (
core/supply-chain).
- Tooling: Node 22+, Android Studio with API 36, Xcode 26 on macOS.
- Working tree clean; new branch; record the main flows on the current build.
Steps
-
Install Capacitor in the existing project and initialize with the same app name and bundle ID from
config.xml:npm install @capacitor/core @capacitor/cli npx cap init "<App Name>" <com.example.app> --web-dir www npm run build npm install @capacitor/android @capacitor/ios npx cap add android npx cap add ios -
Plugins: install Capacitor replacements one at a time (for example
@capacitor/camera,@capacitor/preferences,@capacitor/push-notifications,@capacitor/browserinstead of InAppBrowser), update the calling code, and remove the Cordova plugin. Keep a Cordova plugin only if it's on the compatibility list and maintained;npx cap syncinstalls it into the native projects. -
Configuration: move
config.xmlpreferences intocapacitor.config.ts(server.allowNavigationonly for your own hosts; noserver.urlin release builds) and native settings intoandroid/(manifest,variables.gradle, network security config) andios/(Info.plist, entitlements). Recreate icons and splash screens with@capacitor/assets. -
Security parity: keep the CSP in
index.html, HTTPS only, secure storage for tokens, external links in the system browser. -
Native projects are source: commit
android/andios/; removeplatforms/,plugins/andconfig.xmlonce nothing uses them. -
Versioning and signing: same
applicationId/ bundle ID, a higher version code and build number, the existing signing keys. -
Show the diff and results; wait for approval. Commit only when asked (
git-commitskill). Then applymobile/mobile-security.
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.
- 3d ago First seen · 67 lines · 112 tokens per session scan A 154d2d810885
migrate-cordova is a skill published in the GitHub repository Phaedra-Solutions/cursor-rules (4 stars, last pushed 2d ago), licensed MIT. It adds 112 tokens to every session and 1,134 once invoked, about $0.0004 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-11-01.
Other skills, from other repositories
compose-multiplatform-patterns
Compose Multiplatform and Jetpack Compose patterns for KMP projects — state management, navigation, theming, performance, and platform-specific UI.
kotlin-android
Use when building or fixing a native Android app in Kotlin and Jetpack Compose on the UDF layered architecture — ViewModel/StateFlow, Hilt, Room, Retrofit, coroutines, type-safe Navigation, and the Gradle/AGP surface. NOT shared Android and iOS UI from one Kotlin codebase (that is compose-multiplatform).
compose-multiplatform
Use when building one shared Compose UI in Kotlin across Android, iOS, and desktop — commonMain @Composables, expect/actual, source-set placement, native interop, multiplatform ViewModel/navigation/Koin. NOT a single-platform native build (that is kotlin-android / swift-ios), and NOT Dart/Flutter cross-platform UI…
ui-mobile
Mobile UI patterns - React Native, iOS/Android, touch targets.
grok-cli
Delegate bounded tasks to Grok Build from a supervising agent such as Codex. Use when the user asks Grok to investigate, review, implement, or provide another perspective, or when a distinct coding agent would materially help. Includes a background ACP client for progress, follow-up prompts, permissions, and…
init-project
Turn this boilerplate into a new app by renaming it, removing sample files, and linking it to EAS. Use when starting a new app from this template, or when asked to init, bootstrap, or rename the project.