Stamp Edge

把任意图片处理成邮票风格——直接在原图四周边缘打半圆锯齿孔洞 + 柔和投影,默认无白边、输出真透明背景 PNG(锯齿孔洞和四周 alpha=0),可直接叠加到任何背景;可选加白色纸边;还能把多张邮票拼成等宽列瀑布流合集图(stamp sheet)。当用户提到"邮票边"、"邮票风格"、"邮票质感"、"锯齿边"、"打孔边"、"perforated edge"、"stamp style"、"postage stamp"、"邮票合集"、"邮票排版"、"stamp sheet",或要求把截图/帖子/图片做成邮票效果时使用。

153 stars 10 forksOther

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add xianxie6/stamp-edge-skill --skill stamp-edge
Manual install
git clone --depth 1 https://github.com/xianxie6/stamp-edge-skill.git /tmp/stamp-edge-skill
mkdir -p ~/.claude/skills
cp -r /tmp/stamp-edge-skill/. ~/.claude/skills/stamp-edge

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# 邮票风格边框 Skill

把图片处理成邮票样式:**默认直接在原图四周边缘打半圆锯齿孔洞(无白边)**,底部柔和投影,**输出真透明背景 PNG**(孔洞与四周 alpha=0),可直接当贴纸/素材叠加使用。需要白色纸边时加 `margin` 选项。

## 使用方式

直接运行本目录下的脚本(依赖 Pillow):

```bash
python3 ~/.agents/skills/stamp-edge/stamp_effect.py <输入图> <输出图.png>          # 无白边 + 透明背景(默认)
python3 ~/.agents/skills/stamp-edge/stamp_effect.py <输入图> <输出图.png> margin   # 加白边
python3 ~/.agents/skills/stamp-edge/stamp_effect.py <输入图> <输出图.png> bg       # 浅灰白背景
```

选项可组合,如 `margin bg`。

- 输入:任意常见格式截图/图片(PNG/JPG 等)
- 输出:PNG;默认 RGBA 真透明,加 `bg` 参数则为浅灰白底成品图
- 输出文件默认建议存到 `~/Desktop/`,文件名用内容语义命名(如 `analytics_stamp.png`)

## 拼合集图(stamp_sheet.py)

多张邮票生成后,用本目录下的 `stamp_sheet.py` 拼成一张合集:**等宽列瀑布流,每张邮票撑满列宽、无留白,列高自动贪心均衡**:

```bash
python3 ~/.agents/skills/stamp-edge/stamp_sheet.py ~/Desktop/stamp_grid.png *_stamp.png                 # 默认 4 列深色底
python3 ~/.agents/skills/stamp-edge/stamp_sheet.py ~/Desktop/sheet.png --cols 3 --bg "#f5f2ea" -- *_stamp.png     # 自定义列数/底色
```

- `--cols`:列数(默认 4);`--bg`:背景色 hex(默认 `#0e0e0e` 近黑,配投影效果好;米白纸面风用 `#f5f2ea`);`--colw`:列宽 px(默认 780)
- 邮票默认真透明背景,直接叠任意底色;排完后用 ReadMediaFile 读回确认效果
- 注意:贪心均衡会打乱传入顺序以平衡列高,这是预期行为

## 工作流

1. 从用户消息中定位输入图片路径(用户粘贴的图片通常在 `~/.kimi-code/files/` 下取最新文件)
2. 运行脚本生成邮票图(默认:无白边、透明背景;用户明确要白边时加 `margin`)
3. 用 ReadMediaFile 读回成品确认效果(透明背景可先在脚本外套棋盘格预览验证)
4. 告知用户输出路径

## 可调参数(脚本顶部)

| 参数 | 默认值 | 说明 |
|------|--------|------|
| `margin` | 0(传 `margin` 选项时 46) | 内容到锯齿边的白边宽度 |
| `hole_r` | 14 | 打孔半圆半径 |
| `pitch` | 46 | 打孔间距(= hole_r*2+18) |
Read the full skill on GitHub

Details

Skill name
stamp-edge
License
MIT
Repo updated
16 September 2026

FAQ

What does the Stamp Edge skill do?

把任意图片处理成邮票风格——直接在原图四周边缘打半圆锯齿孔洞 + 柔和投影,默认无白边、输出真透明背景 PNG(锯齿孔洞和四周 alpha=0),可直接叠加到任何背景;可选加白色纸边;还能把多张邮票拼成等宽列瀑布流合集图(stamp sheet)。当用户提到"邮票边"、"邮票风格"、"邮票质感"、"锯齿边"、"打孔边"、"perforated edge"、"stamp style"、"postage stamp"、"邮票合集"、"邮票排版"、"stamp sheet",或要求把截图/帖子/图片做成邮票效果时使用。

How do I install the Stamp Edge skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add xianxie6/stamp-edge-skill --skill stamp-edge. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Stamp Edge popular?

It lives in xianxie6/stamp-edge-skill, which has 153 GitHub stars and 10 forks.

Related skills

Walk Kcal

206

adexbn/walk-kcal

走得越远,这一顿的卡路里额度越高 —— 用步行距离换额度的吃饭决策。当用户说「现在吃什么」「走过去能多吃多少」「这顿还能吃多少卡」「附近有什么低热量/快餐/西餐/小吃」「换一批」「还有别的吗」时使用。① 按步行距离折算额度;② 麦当劳官方营养值 + 周边餐厅统一推荐,每道菜标「吃得下 / 超了」;③ 按业态与半径细化;④ 出竖屏长图 + 可点的下一步选项。

Other

Bug Bounty Triage

145

Sequester-AG/bug-bounty-triage

Bug bounty report triage, validation, and severity escalation. Use when the user provides a bug bounty report to validate, wants to check if a finding is submittable, needs to escalate severity for maximum payout, or says 'triage this', 'validate this report', 'escalate this', 'is this submittable', 'check this bounty report', 'max bounty', or 'will this get accepted'.

Other22

Roadtrip Navigator

116

Waybox-AI/roadtrip-skill

Generate North American road-trip itineraries as a map-first, offline-friendly single-file HTML page. Plans around daily driving segments, overnight stops, fuel/EV-charging, national-park reservations (Recreation.gov / NPS), seasonal road closures, and timezone/border crossings — for executable, decision-ready trips. Two entry modes: give a start + region/destination + days and it plans the whole route, or hand it an existing route and it verifies, fills gaps, and produces the page.

Other11

Odai

119

orziz/odai

以“成事而不妄为”为准则处理通用任务。用户点名 odai,或任务模糊、复杂、高风险、前提可疑、易漏项时使用;简单任务直做。

OtherIn 1 list18

Marco Polo

135

megumi-ben/marco-polo.skill

马可波罗:单城市旅行规划。用于需求与交通比较、住宿和景点筛选、预约准备、高德空间路线与预算,以及独立美食攻略、城市名片和交互旅行手册,也用于继续或修改已有行程。

Other

Like Perspective

139

jangviktor-web/likeskill

李可老中医(1930-2013)思维操作系统。基于13个来源(11本著作+2篇访谈)蒸馏, 含423个医案、120+首方剂、92种症状路由、24种假证识别。 核心能力:急危重症救治(心衰/中风/休克)、经方剂量体系、六经辨证、假证识别。 触发词:「李可」「用李可的视角」「李可会怎么看」「心衰怎么急救」「附子用量」「经方剂量」「假阳证」「破格救心汤」「六经辨证」。 注意:大剂量用药需在有经验的中医师指导下使用,本skill仅供学习参考。

Other48

Browse the most popular Claude skills, all other skills, or write your own with the skills generator.