dhpk-ios-icon-gen

dhpk-ios-icon-gen is a skill for Claude Code from hmj1026/dhpk. It costs 128 tokens per session (917 once invoked), scanned A, original, MIT.

A tool for generating iOS and macOS asset-catalog icon sets: PNG images at 1x, 2x, and 3x sizes plus the required Contents.json file. It can render Apple SF Symbols offline on macOS or fetch open-source icons through the Iconify API.

In plain words
What is it for?
Use it when adding icons to an Xcode asset catalog, replacing placeholder glyphs, or finding an icon that matches an app's style.
Why use it?
It removes the manual work of preparing correctly sized icon files and catalog metadata. It also offers either Apple-native symbols or a larger online icon collection.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the dhpk plugin — 65 skills, 31 commands, 37 agents, 3 hooks shipped together

Good fit Use it when adding icons to an Xcode asset catalog, replacing placeholder glyphs, or finding an icon that matches an app's style.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hmj1026/dhpk/dhpk-ios-icon-gen
View source ↗ hmj1026/dhpk
Install

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.

Any agent
npx skills add hmj1026/dhpk --skill dhpk-ios-icon-gen
Clone the repo
git clone --depth 1 https://github.com/hmj1026/dhpk

Made for: Claude Code.

Or install dhpk, the plugin that ships this one along with the rest of its 65 skills, 31 commands, 37 agents, 3 hooks.

Wrote 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.

agentmods badge for dhpk-ios-icon-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/hmj1026/dhpk/dhpk-ios-icon-gen/github.svg)](https://agentmods.dev/skills/hmj1026/dhpk/dhpk-ios-icon-gen)
Your own site
<a href="https://agentmods.dev/skills/hmj1026/dhpk/dhpk-ios-icon-gen"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/dhpk-ios-icon-gen/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.

agentmods 80×15 button for dhpk-ios-icon-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/hmj1026/dhpk/dhpk-ios-icon-gen"><img src="https://agentmods.dev/badge/skills/hmj1026/dhpk/dhpk-ios-icon-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00128 $0.00917
Opus 5 $0.00064 $0.00458
Sonnet 5 $0.00026 $0.00183
Haiku 4.5 $0.00013 $0.00092

Measured 6d ago against content hash ad4ce384ddaa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

dhpk-ios-icon-gen 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 6d 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.

generated/claude-profiles/compat-v1/package/skills/dhpk-ios-icon-gen/SKILL.md · 68 lines

How it starts

The opening of the file, as written. The whole thing — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.

iOS icon generation

Two sources, one output: an Xcode .imageset with @1x/@2x/@3x PNGs and a Contents.json. Generate straight into the catalog with --output ./Assets.xcassets/....

Source Icons Needs Best for
SF Symbols 5000+ Apple symbols macOS (SF Symbols rendering) system-matching, offline
Iconify API 275k+ from 200+ sets internet breadth, a specific open-source style

Scripts live next to this file in scripts/:

  • scripts/iconify_gen.sh — search / preview / generate from Iconify.
  • scripts/generate_icons.swift — render an SF Symbol to PNGs (macOS).

Workflow

  1. Decide what the icon represents, the target color, and the base size (default 68px → @2x 136 / @3x 204).
  2. Search before generating:
    • Iconify: bash scripts/iconify_gen.sh search "receipt"
    • SF Symbols: browse the SF Symbols app, or scripts/generate_icons.swift --list receipt
  3. Preview (Iconify): bash scripts/iconify_gen.sh preview mdi:receipt-text-outline
  4. Generate:
    • Iconify: bash scripts/iconify_gen.sh mdi:receipt-text-outline editTool_expenseReport --output ./babylon/Assets.xcassets/icons
    • SF Symbols: swift scripts/generate_icons.swift doc.text.below.ecg editTool_expenseReport --output ./babylon/Assets.xcassets/icons
  5. Verify by reading the generated @2x PNG before committing.

mdi (Material), ph (Phosphor), solar, tabler, lucide, ri (Remix), carbon, heroicons. Format is always <prefix>:<name>.

Rules

  • Search before generating — match the project's existing icon style (weight, color, dimensions) instead of guessing.
  • SF Symbols for system consistency, Iconify when you need a specific look.
  • Generate into the catalog with --output to skip a copy step.
  • Verify visually — always read the @2x PNG; never commit unseen icons.
  • App-icon (AppIcon) assets have their own size matrix — this skill targets in-app symbol/glyph imagesets, not the marketing app icon.

Read the full file on GitHub · 68 lines

Changes

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.

  1. 6d ago First seen · 68 lines · 128 tokens per session scan A ad4ce384ddaa

Subscribe to this mod's changes

dhpk-ios-icon-gen is a skill published in the GitHub repository hmj1026/dhpk (2 stars, last pushed today), licensed MIT. It adds 128 tokens to every session and 917 once invoked, about $0.0006 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-05.

Related

Other skills, from other repositories

design-system

Creates the Tamagui brand system for an Expo/React Native Power Apps mobile app, including design-system.md, tokens.ts, and an HTML gallery.

microsoft/power-platform-skills · 34 tokens

ios-hig-design

Design native iOS interfaces following Apple Human Interface Guidelines. Use when the user mentions "iPhone app", "iPad layout", "SwiftUI", "UIKit", "Dynamic Island", "safe areas", "HIG compliance", "SF Symbols", "haptic feedback", "iOS accessibility", "make my app feel native", or "follow Apple design guidelines".…

wondelai/skills · 145 tokens

ios-visual-review

Use when the user invokes /ios-visual-review to audit an iOS app's visuals on a real device. Not for remote, credential, publish, deploy, or irreversible changes.

OutlineDriven/odin-claude-plugin · 42 tokens

design-android

Use when designing an Android screen or flow — deliverable is a device-framed HTML mockup and developer handoff spec, never Compose code.

fusengine/agents · 33 tokens

design-ios

Use when designing an iOS or macOS screen or flow — deliverable is a device/window-framed HTML mockup and handoff spec, never SwiftUI code.

fusengine/agents · 37 tokens

android-design

Use when the user asks for an Android app, Compose UI, Material 3, Material You, Material 3 Expressive, Pixel-style app, foldable/adaptive layout, Play Store deliverable, React Native Android, Flutter Android, Compose Multiplatform, or any Android deliverable. Builds Android apps across system-like Compose, branded…

f0d010c/stark · 128 tokens