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 Cap-go/capgo-skills --skill cocoapods-to-spmgit clone --depth 1 https://github.com/Cap-go/capgo-skillsWrote 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/cap-go/capgo-skills/cocoapods-to-spm)<a href="https://agentmods.dev/skills/cap-go/capgo-skills/cocoapods-to-spm"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/cocoapods-to-spm/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/cap-go/capgo-skills/cocoapods-to-spm"><img src="https://agentmods.dev/badge/skills/cap-go/capgo-skills/cocoapods-to-spm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.00203 | $0.03019 |
| Opus 5.5 | $0.00081 | $0.01208 |
| Sonnet 5.5 | $0.00041 | $0.00604 |
| Haiku 4.5 | $0.00020 | $0.00302 |
Grade C, and why
cocoapods-to-spm scanned grade C with 1 finding 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 19d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf ios How it starts
The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CocoaPods to Swift Package Manager Migration
Move a Capacitor iOS app from CocoaPods to SPM without losing native project customizations.
When to Use
TRIGGER when:
ios/App/Podfile,Pods/,Podfile.lock, orApp.xcworkspaceexists and the user wants SPM.- User asks about
npx cap spm-migration-assistant,CapApp-SPM,debug.xcconfig, or--packagemanager SPM. - User worries about CocoaPods Trunk becoming read-only (expected December 2, 2026), or about pods that can no longer be published/updated.
npx cap syncwarnsSome installed Capacitor plugins are not compatible with SPMor<plugin id> does not have a Package.swift.- Upgrading to Capacitor 9 and wanting to drop CocoaPods at the same time.
Do not use:
- Adding
Package.swift/CAPBridgedPluginto a plugin you maintain ->capacitor-plugin-spm-support. - SceneDelegate / UIScene adoption (Capacitor 8.5+, required by Xcode 27) ->
capacitor-uiscene-migration. - The Capacitor major upgrade itself ->
capacitor-app-upgrades,capacitor-app-upgrade-v8-to-v9. - Build or runtime failures unrelated to dependency management ->
debugging-capacitor.
Why Now
- CocoaPods Trunk is expected to become read-only on December 2, 2026. Existing pods keep resolving, but no new pod versions get published, so plugin fixes will increasingly ship SPM-only.
- Capacitor 8+ scaffolds new iOS projects with SPM by default. Upgrading Capacitor does not convert an existing CocoaPods app.
- Capacitor 9 (currently
next/ alpha) only adds theCordovaproduct /CapacitorCordovapod when a Cordova plugin is installed. Native code that importsCordovawithout a Cordova plugin breaks in either setup.
How the CLI Decides
- The CLI treats the project as SPM if and only if
ios/App/CapApp-SPM/exists. Deleting or renaming it silently flipsnpx cap syncback to CocoaPods behavior. ios/App/CapApp-SPM/Package.swiftis regenerated on everynpx cap sync ios(// DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands). Put customizations incapacitor.config.*, never in that file.- A plugin is included only if its npm package root has a
Package.swift. Others are skipped with a warning; their native code is silently missing at runtime ("X" plugin is not implemented on ios). - During sync, if a plugin's
Package.swiftpinscapacitor-swift-pmto a different major, the CLI rewrites that file insidenode_modulesand warns<id> is built for Capacitor <N>, it might cause issues. Treat this as "upgrade the plugin", not as success. - Cordova plugins get a generated package under
ios/capacitor-cordova-ios-plugins/sources/<Name>. Plain.frameworkfiles are not supported as SPM binary targets (warning:custom .framework files are not supported as binaryTarget in SPM); they need an.xcframework.
What ships with it
2 files 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.
- 19d ago Changed · +6 lines 798fad7a4836
- 1mo ago Changed · -95 lines · +110 tokens per session b2907fbdd13c
- 3mo ago First seen · 253 lines · 93 tokens per session scan C e7878eb21469
cocoapods-to-spm is a skill published in the GitHub repository Cap-go/capgo-skills (79 stars, last pushed 19d ago), licensed MIT. It adds 203 tokens to every session and 3,019 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
cocoapods-to-spm compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cocoapods-to-spmCap-go/capgo-skills | Skill | 79 | 19d ago | MIT | C | 203 | Claude Code |
| capacitor-plugin-spm-supportcapawesome-team/skills | Skill | 56 | 12d ago | MIT | C | 96 | Claude Code, Codex |
| wear-compose-m3android/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 108 | Claude Code |
| ink-custom-brush-builderandroid/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 159 | Claude Code |
| ios-to-androidandroid/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 203 | Claude Code |
| kotlin-tooling-agp9-migrationKotlin/kotlin-agent-skills | Skill | 1.1k | yesterday | Apache-2.0 | A | 105 | Claude Code, Codex |
| authoring-java-sdk-tasksastronomer/agents | Skill | 465 | today | Apache-2.0 | A | 152 | Claude Code |