image-forge-skill

image-forge-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 112 tokens per session (2,302 once invoked), scanned A, original, Apache-2.0.

An image-processing and icon-generation tool based on Sharp, a Node.js image library. It can process images from configuration files and turn SVG drawings or paths into PNG icons.

In plain words
What is it for?
Use it to compress or convert images, resize and crop them, add watermarks or masks, create image composites, encode images as base64, or generate PNG icon sets from SVG input.
Why use it?
It collects common image tasks in one repeatable workflow, so you do not need separate tools or manual steps for each conversion, resize, crop, or icon batch.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ⚠️ **已迁移**:本技能已整体并入 [frontend-icon-skill](../frontend-icon-skill/)。.

Good fit Use it to compress or convert images, resize and crop them, add watermarks or masks, create image composites, encode images as base64, or generate PNG icon sets from SVG input.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills
agentmods
npx agentmods add skills/jiushiwon/wg-skills/image-forge-skill

Made for: Claude Code, Codex.

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 image-forge-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/image-forge-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/image-forge-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/image-forge-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/image-forge-skill/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 image-forge-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/image-forge-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/image-forge-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 112 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,302 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00112 $0.02302
Opus 5.5 $0.00045 $0.00921
Sonnet 5.5 $0.00022 $0.00460
Haiku 4.5 $0.00011 $0.00230

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

Security

Grade A, and why

image-forge-skill 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.

The scan reads SKILL.md. This mod also ships 1 executable file (image-forge.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

frontend/image-forge-skill/SKILL.md · 147 lines

How it starts

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

image-forge-skill — 图片处理 & 图标生成

⚠️ 已迁移:本技能已整体并入 frontend-icon-skill。 image-forge.js → frontend-icon-skill/image-forge.cjs(命令接口完全不变)。

基于 sharp 的配置驱动工具,内置可执行脚本 image-forge.js。两种配置模式:

  • icons 模式:把 SVG path(或完整 SVG)批量渲染成 PNG(原 icon-forge 能力)。
  • jobs 模式:图片处理 —— 压缩、转格式、改尺寸、裁剪、base64、水印、遮罩、多图合成。

脚本位置

脚本 image-forge.js 与本 SKILL.md 在同一目录。设该目录为 $SKILL_DIR(运行时即本技能所在目录的绝对路径,例如 ~/.claude/skills/image-forge-skill)。

首次使用前需在该目录装一次依赖(sharp):

cd "$SKILL_DIR" && npm install

调用方式

从技能目录运行,让 require('sharp') 能解析到本地依赖:

cd "$SKILL_DIR" && echo '<JSON>' | node image-forge.cjs -

或写入临时文件再传入:node image-forge.cjs /path/to/spec.json

① icons 模式 — 图标生成

用户只需说清「要哪些图标、什么颜色、放哪个目录」,由你写好 JSON 并运行。

{
  "outDir": "<目标项目>/src/static/icons/login",
  "size": 72,
  "color": "#059669",
  "strokeWidth": 2,
  "icons": [
    { "name": "feature-data.png", "path": "M9 12h6m-6 4h6..." },
    { "name": "custom.png", "svg": "<svg ...>...</svg>" }
  ]
}
  • outDir 必填,自动创建。size/color/strokeWidth 可选(默认 72 / #059669 / 2)。
  • 每个图标:path(heroicons/feather 风格,viewBox 0 0 24 24)或 svg(完整字符串)二选一。

工作流:确认三要素(输出目录、主题色、要哪些图标)→ 写 JSON → 运行脚本 → 回报 [OK] 路径。

常用 path 速查(heroicons outline,stroke 风格):

  • 数据/文档:M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z
  • 看板/图表:M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z
  • 灯泡/洞察:M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z
  • 计划/勾选:M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4
  • 刷新/重测:M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15

Read the full file on GitHub · 147 lines

Files

What ships with it

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

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 Changed · +3 lines · +9 tokens per session 6912d93a7256
  2. 3mo ago First seen · 144 lines · 103 tokens per session scan A b881b521f9b7

Subscribe to this mod's changes

image-forge-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 112 tokens to every session and 2,302 once invoked, about $0.0004 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-30.

Related

image-forge-skill compared with skills from other repositories

image-forge-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
image-forge-skilljiushiwon/wg-skillsSkill1546d agoApache-2.0A112Claude Code, Codex
webgl-holographic-foilnexu-io/open-designSkill110ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill110ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill110ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.7ktodayMITA47Claude Code