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 hmj1026/dhpk --skill swiftgit clone --depth 1 https://github.com/hmj1026/dhpkWrote 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/hmj1026/dhpk/swift)<a href="https://agentmods.dev/skills/hmj1026/dhpk/swift"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/swift/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/hmj1026/dhpk/swift"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/swift.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.00071 | $0.00929 |
| Opus 5.5 | $0.00028 | $0.00372 |
| Sonnet 5.5 | $0.00014 | $0.00186 |
| Haiku 4.5 | $0.00007 | $0.00093 |
Grade A, and why
swift scanned grade A 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 1mo 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
(network + curl + a rasterizer) or `scripts/generate_icons.swift` for SF Symbols How it starts
The opening of the file, as written. The whole thing — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Swift
Use $swift <task>; optional test, build, and icon actions select the
same internal task paths. Complete the requested task with the smallest local
reference set; specialist references are procedures, not independent skills.
Resolve the target before loading
- Establish the target package, Xcode project/scheme, or asset catalog from the request and project evidence. Ask and wait when a monorepo has several plausible targets. An intentional explicit target/version override wins; report the override separately from the observed configuration.
- For version-sensitive work read the target's
SWIFT_VERSION,SWIFT_STRICT_CONCURRENCY, deployment target, and applicable Package.swift tools version. The installedswift --versionis execution-environment evidence, not target compatibility. Preserve the precision of the evidence. - Missing, conflicting, or broad incompatible constraints require a question and an answer before version-specific references or dependent actions. A migration needs an explicit destination version. For several destinations, group resources, changes, and verification by target.
Select only the task's resources
| Task | Local procedure | Load additional references when needed |
|---|---|---|
| Swift language/concurrency/errors | language | concurrency, value/reference, error handling; approachable-concurrency only for resolved Swift 6.2+ |
| SwiftUI state/navigation/interop | UI | observation-state, navigation, mvvm-coordinator, interop |
Test authoring and strategy (test) |
testing | swift-testing-api, xctest-bridging, xcuitest, snapshot-testing, test-taxonomy, protocol-di-host-testing |
| iOS SDK persistence/privacy/crypto/OCR | platform | matching SDK reference only |
Xcode/SPM/lint/CI (build) |
build | swiftlint-config, xcodebuild-spm, scheme-signing |
In-app symbol imageset (icon) |
icon | local icon scripts below |
What ships with it
37 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.
- agents/openai.yaml 226 B
- distribution.yaml 6.4 KB
- evals/evals.json 3.8 KB
- references/actor-persistence.md 6.0 KB
- references/approachable-concurrency.md 3.5 KB
- references/build.md 2.9 KB
- references/concurrency.md 3.7 KB
- references/coredata-encryption.md 3.1 KB
- references/cryptokit-keychain.md 3.4 KB
- references/error-handling.md 2.2 KB
- references/healthkit-read.md 1.5 KB
- references/icon.md 2.8 KB
- references/interop.md 2.1 KB
- references/language.md 4.0 KB
- references/local-authentication.md 2.2 KB
- references/mvvm-coordinator.md 2.3 KB
- references/navigation.md 1.8 KB
- references/notifications.md 2.3 KB
- references/observation-state.md 2.1 KB
- references/platform.md 3.2 KB
- references/privacy-compliance.md 2.8 KB
- references/protocol-di-host-testing.md 5.5 KB
- references/scheme-signing.md 1.7 KB
- references/snapshot-testing.md 1.7 KB
- references/swift-testing-api.md 2.3 KB
- references/swift5-compat-notes.md 2.0 KB
- references/swiftlint-config.md 1.9 KB
- references/test-taxonomy.md 2.3 KB
- references/testing.md 3.4 KB
- references/ui.md 3.5 KB
- references/value-vs-reference.md 2.0 KB
- references/vision-ocr.md 2.2 KB
- references/xcodebuild-spm.md 4.8 KB
- references/xctest-bridging.md 1.5 KB
- references/xcuitest.md 1.8 KB
- scripts/generate_icons.swift 3.9 KB
- scripts/iconify_gen.sh 3.9 KB runs 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.
- 1mo ago First seen · 73 lines · 71 tokens per session scan A 8eadc32e8b7d
swift is a skill published in the GitHub repository hmj1026/dhpk (2 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 929 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.
swift compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swifthmj1026/dhpk | Skill | 2 | today | MIT | A | 71 | Claude Code, Codex |
| build-android-binarymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 150 | Claude Code |
| new-mac-appdaveebbelaar/bama | Skill | 2.0k | 28d ago | MIT | A | 59 | Claude Code, Codex |
| build-ios-binarymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | C | 200 | Claude Code |
| swiftui-expertjohnkozaris/jko-claude-plugins | Skill | 11 | 28d ago | MIT | A | 133 | Claude Code |
| bootstrap-xcode-workspacegaelic-ghost/socket | Skill | 12 | 3mo ago | Apache-2.0 | A | 36 | Claude Code, Codex |
| build-kotlin-androidgaelic-ghost/socket | Skill | 12 | 3mo ago | Apache-2.0 | A | 66 | Claude Code |