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 ivan-magda/claude-superpowers --skill swift-package-demogit clone --depth 1 https://github.com/ivan-magda/claude-superpowersWrote 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/ivan-magda/claude-superpowers/swift-package-demo)<a href="https://agentmods.dev/skills/ivan-magda/claude-superpowers/swift-package-demo"><img src="https://agentmods.dev/badge/skills/ivan-magda/claude-superpowers/swift-package-demo/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/ivan-magda/claude-superpowers/swift-package-demo"><img src="https://agentmods.dev/badge/skills/ivan-magda/claude-superpowers/swift-package-demo.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.00032 | $0.01341 |
| Opus 5.5 | $0.00013 | $0.00536 |
| Sonnet 5.5 | $0.00006 | $0.00268 |
| Haiku 4.5 | $0.00003 | $0.00134 |
Grade A, and why
swift-package-demo 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 3mo 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 — 146 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Swift Package Demo Recording
Overview
Record and optimize demo GIFs for Swift package READMEs. Swift packages need a separate demo app since SwiftUI previews only run in Xcode Canvas, not the iOS Simulator.
When to Use
- Adding demo GIFs to a Swift package README
- Recording iOS Simulator for documentation
- User asks to "record a demo" or "add GIFs to README"
Critical Understanding
digraph demo_flow {
"SwiftUI Preview" [shape=box];
"iOS Simulator" [shape=box];
"Xcode Canvas only" [shape=box, style=filled, fillcolor=lightyellow];
"Recordable with xcrun" [shape=box, style=filled, fillcolor=lightgreen];
"SwiftUI Preview" -> "Xcode Canvas only" [label="runs in"];
"Demo App" -> "iOS Simulator" [label="runs in"];
"iOS Simulator" -> "Recordable with xcrun";
}
SwiftUI #Preview macros CANNOT be recorded. You must create a demo app.
Quick Reference
| Step | Command/Action |
|---|---|
| Create demo dir | mkdir -p demo |
| Boot simulator | xcrun simctl boot "iPhone SE (3rd generation)" |
| Open simulator | open -a Simulator |
| Record video | xcrun simctl io booted recordVideo --codec=h264 demo/raw.mov |
| Stop recording | Ctrl+C |
| Convert to GIF | See FFmpeg command below |
| Optimize GIF | gifsicle -O3 --lossy=80 demo/out.gif -o demo/out.gif |
Demo App Setup
Create demo/DemoApp/ with Xcode project that imports your package locally:
- In Xcode: File → New → Project → iOS App
- Save in
demo/DemoApp/ - File → Add Package Dependencies → Add Local → select package root
- Import and use your library in the app
Critical: Use local package reference, not remote URL, to test current development code.
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.
- 3mo ago First seen · 146 lines · 32 tokens per session scan A 41ddb68a4644
swift-package-demo is a skill published in the GitHub repository ivan-magda/claude-superpowers (7 stars, last pushed 5mo ago), licensed MIT. It adds 32 tokens to every session and 1,341 once invoked, about $0.0001 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.
swift-package-demo compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swift-package-demoivan-magda/claude-superpowers | Skill | 7 | 5mo ago | MIT | A | 32 | Claude Code |
| agent-mobile-release-managertravisjneuman/.claude | Skill | 115 | today | MIT | A | 83 | Claude Code |
| kotlin-multiplatformtravisjneuman/.claude | Skill | 115 | today | MIT | A | 54 | Claude Code |
| mobile-cicdtravisjneuman/.claude | Skill | 115 | today | MIT | A | 57 | Claude Code |
| flutter-developmenttravisjneuman/.claude | Skill | 115 | today | MIT | A | 41 | Claude Code |
| ios-developmenttravisjneuman/.claude | Skill | 115 | today | MIT | A | 43 | Claude Code |
| agent-mobile-architecttravisjneuman/.claude | Skill | 115 | today | MIT | A | 25 | Claude Code |