xcassets-color-manager

xcassets-color-manager is a skill for Claude Code from sunghyun-k/claude-swift-plugins. It costs 36 tokens per session (721 once invoked), scanned A, original, MIT.

A tool for managing named colors in Apple's .xcassets asset catalogs. It can list colors, show their details, and create or update light and dark color values.

In plain words
What is it for?
Use it to inspect all colors or one color, filter colors by folder, and set separate hexadecimal values for light and dark appearances.
Why use it?
It avoids manually searching through asset-catalog files when checking or changing the app's color definitions. Folder filtering helps narrow the work to one part of the catalog.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the xcassets-manager plugin — 2 skills shipped together

Good fit Use it to inspect all colors or one color, filter colors by folder, and set separate hexadecimal values for light and dark appearances.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add sunghyun-k/claude-swift-plugins
Claude Code
/plugin install xcassets-manager

Made for: Claude Code.

Or install xcassets-manager, the plugin that ships this one along with the rest of its 2 skills.

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 xcassets-color-manager

README.md
[![agentmods](https://agentmods.dev/badge/skills/sunghyun-k/claude-swift-plugins/color/github.svg)](https://agentmods.dev/skills/sunghyun-k/claude-swift-plugins/color)
Your own site
<a href="https://agentmods.dev/skills/sunghyun-k/claude-swift-plugins/color"><img src="https://agentmods.dev/badge/skills/sunghyun-k/claude-swift-plugins/color/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 xcassets-color-manager

Your own site · 80×15
<a href="https://agentmods.dev/skills/sunghyun-k/claude-swift-plugins/color"><img src="https://agentmods.dev/badge/skills/sunghyun-k/claude-swift-plugins/color.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 721 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.00036 $0.00721
Opus 5.5 $0.00014 $0.00288
Sonnet 5.5 $0.00007 $0.00144
Haiku 4.5 $0.00004 $0.00072

Measured 2mo ago against content hash 764092e4d263, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xcassets-color-manager 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 2mo 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.

plugins/xcassets-manager/skills/color/SKILL.md · 105 lines

What it actually says

xcassets 색상 관리 스킬

xcassets의 색상(Color Set)을 관리하는 스킬입니다.

사전 준비

스크립트 사용 전, 프로젝트에서 .xcassets 파일 위치를 먼저 확인해야 합니다.

조회

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/read_color.py <xcassets_path> [색상이름]

옵션:

  • --folder <폴더>: 특정 폴더의 색상만 조회
  • --json: JSON 형식으로 출력

예시:

# 모든 색상 목록
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/read_color.py ./Assets.xcassets

# 특정 색상 상세 정보
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/read_color.py ./Assets.xcassets primary

# 특정 폴더의 색상만 조회
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/read_color.py ./Assets.xcassets --folder colors

생성

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/create_color.py <xcassets_path> <색상이름> --light "#HEX" --dark "#HEX"

옵션:

  • --folder <폴더>: xcassets 내 폴더 경로

예시:

# 기본 생성
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/create_color.py ./Assets.xcassets primary --light "#FF0000" --dark "#00FF00"

# 특정 폴더에 생성
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/create_color.py ./Assets.xcassets primary --light "#FF0000" --dark "#00FF00" --folder colors

수정

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/update_color.py <xcassets_path> <색상이름> --light "#새HEX" --dark "#새HEX"

옵션:

  • --folder <폴더>: 검색할 폴더

삭제

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/delete_color.py <xcassets_path> <색상이름> --force

옵션:

  • --folder <폴더>: 검색할 폴더
  • --force, -f: 확인 없이 삭제

폴더 관리

python3 ${CLAUDE_PLUGIN_ROOT}/scripts/manage_folder.py <xcassets_path> <명령> [폴더이름]

예시:

# 폴더 목록 조회
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/manage_folder.py ./Assets.xcassets list

# 폴더 생성
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/manage_folder.py ./Assets.xcassets create <폴더이름>

# 폴더 삭제
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/manage_folder.py ./Assets.xcassets delete <폴더이름> --force

참고

HEX 색상 형식:

  • #RGB (3자리)
  • #RRGGBB (6자리)
  • #RRGGBBAA (8자리)
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. 2mo ago First seen · 105 lines · 36 tokens per session scan A 764092e4d263

Subscribe to this mod's changes

xcassets-color-manager is a skill published in the GitHub repository sunghyun-k/claude-swift-plugins (4 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 721 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.

Related

xcassets-color-manager compared with skills from other repositories

xcassets-color-manager next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xcassets-color-managersunghyun-k/claude-swift-pluginsSkill41mo agoMITA36Claude Code
display-glasses-with-jetpack-compose-glimmerandroid/skillsSkill10kyesterdayApache-2.0A112Claude Code
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
expo-design-systemexpo/skillsSkill4.1kyesterdayMITA197Claude Code, Codex
flutter-build-responsive-layoutflutter/agent-pluginsSkill3.2k2d agoBSD-3-ClauseA51Claude Code
omh-apple-designrlaope/oh-my-hermesSkill5.2kyesterdayMITA83Claude Code, Codex
axiom-audit-liquid-glassCharlesWiltgen/AxiomSkill1.3kyesterdayMITA32Codex