← 返回 Skills 市场
anhao6170

Signature Extractor

作者 anhao6170 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
66
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install signature-extractor
功能描述
Extract clean, transparent-background signature ink from photos. Use when: user provides a photo of a handwritten signature and asks to remove the background...
使用说明 (SKILL.md)

Signature Extractor

Extract handwritten signature ink from photographs or scanned documents, producing a clean transparent-background PNG. Removes white/light backgrounds, red stamps/seals, and colored paper textures while preserving black ink strokes.

When to Run

  • User provides an image and asks to "remove background from signature", "make signature transparent", "extract signature", "remove stamp/印章"
  • User asks to "darken signature ink", "make ink bolder", "填满笔迹", "加深签名"
  • User asks to "upscale signature", "make signature clearer", "提高签名清晰度"
  • User says "去掉底色", "去除背景", "签名透明", "提取签名", "去除印章"

Workflow

  1. Identify the user's desired mode from their request:

    Request keywords Mode What it does
    "填满", "加深", "实心", "加粗", "solid", default solid 3x upscale + sharpen + pure black opaque ink
    "高清", "放大", "清晰", "upscale", "hd" hd 3x upscale + sharpen + smooth alpha gradient
    "去掉底色", "提取", "简单去掉", "quick", "extract" extract Original size extraction with alpha gradient
  2. Run the extraction script:

    python3 {baseDir}/scripts/extract_signature.py INPUT_IMAGE OUTPUT.png --mode MODE [--scale N]
    
    • Default scale is 3 (for solid and hd modes). Adjust --scale if user specifies a different multiple.
    • Output is always RGBA PNG format.
  3. After completion, report: output dimensions, ink pixel count, and share the result with the user.

How It Works

The script isolates black ink using a three-channel color filter:

  1. Brightness filter — pixels darker than a threshold are ink candidates
  2. Red channel filter — R minus G must be less than 40, which excludes red stamps/seals
  3. Saturation filter — low saturation ensures only true black/grey ink is captured, not colored marks

For solid and hd modes: LANCZOS upscaling → UnsharpMask sharpening → ink extraction → Alpha channel smoothing.

Prerequisites

pip install Pillow numpy
安全使用建议
Install only if you need these ClawHub/Convex maintainer workflows and trust the publisher with repo and service access. Be especially careful with moderation commands and the autoreview helper's full-access default; use confirmation prompts, verify targets, and consider --no-yolo for review runs.
能力评估
Purpose & Capability
The files describe repo-maintenance, moderation, PR review, UI proof, Convex setup, migration, and performance workflows that fit the stated ClawHub/Convex purposes.
Instruction Scope
High-impact actions such as banning users, changing roles, publishing proof comments, and running nested reviews are disclosed and generally gated by explicit targets, reasons, confirmation, or command flags.
Install Mechanism
No hidden install hook, obfuscated payload, or automatic startup behavior was identified in the inspected skill files; the included executable helper is a disclosed review helper.
Credentials
The skill expects access to GitHub, Convex, local repo commands, package tooling, and optional remote validation services, which is proportionate for maintainer workflows but broad for general users.
Persistence & Privilege
No stealth persistence was found; the notable privilege risk is the autoreview helper's disclosed default use of Codex full-access sandbox bypass, with an opt-out via --no-yolo or AUTOREVIEW_YOLO=0.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install signature-extractor
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /signature-extractor 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Signature Extractor skill. - Extracts handwriting signatures from photos or scans, removing white backgrounds, red stamps, and colored textures. - Produces transparent-background PNGs, optionally upscales resolution, and deepens ink per user request. - Identifies user intent (extract, solid/darker, upscale) based on keywords and applies the matching workflow. - Not intended for general photo background removal or OCR tasks.
元数据
Slug signature-extractor
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Signature Extractor 是什么?

Extract clean, transparent-background signature ink from photos. Use when: user provides a photo of a handwritten signature and asks to remove the background... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 66 次。

如何安装 Signature Extractor?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install signature-extractor」即可一键安装,无需额外配置。

Signature Extractor 是免费的吗?

是的,Signature Extractor 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Signature Extractor 支持哪些平台?

Signature Extractor 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Signature Extractor?

由 anhao6170(@anhao6170)开发并维护,当前版本 v1.0.0。

💬 留言讨论