Community画像github.com

getedgehq/strip-image-ai-metadata

画像からC2PAおよびAI生成メタデータを除去し、LinkedIn、Instagram、Xなどのプラットフォームで表示される「Generated by AI」/「ChatGPT」/「DALL-E」ラベルを削除します。AI生成画像を投稿前にクリーンアップしたい場合、写真からAI属性を除去したい場合、C2PAマニフェストを削除したい場合、プロフェッショナルな用途のために画像メタデータをサニタイズしたい場合、または画像にC2PAデータが含まれているか確認したい場合に使用します。

strip-image-ai-metadata とは?

このスキルは、画像からC2PA(Coalition for Content Provenance and Authenticity)メタデータを削除し、AI画像生成ツール(ChatGPT、DALL-E、Midjourneyなど)によって埋め込まれた「Generated by AI」「ChatGPT」「DALL-E」といった帰属ラベルを取り除きます。LinkedIn、Instagram、X(旧Twitter)などのプラットフォームは、このC2PAメタデータを読み取って自動的に「AI生成」ラベルを表示するため、画像を投稿する前にクリーンアップしたい場合に役立ちます。対応形式はPNG、JPEG、WebPです。再エンコードを行わないため、画像品質は劣化しません。バンドルされたPythonスクリプトを実行するだけで、メタデータを除去したコピーを作成し、元のファイルはそのまま保持します。オプションで上書きや出力先の指定も可能です。また、除去後に残存するC2PAキーワードがないかを自動的に確認します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/getedgehq/skills/tree/main/strip-image-ai-metadata

Installed? Explore more 画像 skills: steipete/songsee, affaan-m/frontend-design, mattpocock/improve-codebase-architecture · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Strip Image AI Metadata

LinkedInなどのプラットフォームは、AI画像生成ツール(ChatGPT、DALL-E、Midjourneyなど)によって埋め込まれたC2PAメタデータを読み取り、帰属ラベルを表示します。このスキルは、再エンコードを行わずにそのメタデータを除去するため、画像品質が保持されます。

対応形式

  • PNG: caBXチャンクおよびAI関連のtEXt/iTXt/zTXtチャンクを削除
  • JPEG: APP11 C2PAセグメントおよびAI関連のAPP1(XMP/EXIF)セグメントを削除
  • WebP: C2PAチャンクおよびC2PA関連のペイロードを削除

クイック利用

バンドルされたスクリプトを1つ以上の画像に対して実行します:

python3 scripts/strip_c2pa.py image.png      # メタデータを削除 + IMG_YYYYMMDD_HHMMSS.pngにリネーム
python3 scripts/strip_c2pa.py image.jpg -o cleaned.jpg
python3 scripts/strip_c2pa.py *.png

デフォルトでは、スクリプトは同じディレクトリにニュートラルなカメラ風ファイル名(IMG_YYYYMMDD_HHMMSS.<ext>)でクリーンなコピーを書き出し、元のファイルはそのまま残します。-i/--in-placeで元のファイルを上書きするか、-oで明示的な出力パスを指定します。

ワークフロー

  1. 検査(オプション):画像にC2PAメタデータがあるか不明な場合は、以下を実行します:

    strings image.png | grep -i c2pa
    

    またはPythonでPNGチャンクを読み取り、caBXを探します。

  2. 除去:scripts/strip_c2pa.py <path>を実行します。スクリプトはデフォルトでニュートラルな名前のコピーを書き出し、削除された内容を報告します。

  3. 確認:スクリプトは自動的に出力ファイルに残存するC2PA/AIキーワードがないかスキャンし、見つかった場合は警告します。

これで行われないこと

  • ピクセルに焼き付けられた可視透かしは削除されません。
  • AI属性キーワードが含まれていない限り、標準のEXIFメタデータは削除されません。
  • 再エンコードは行われないため、ファイルサイズと画像品質は変更されません(削除されたメタデータを除く)。

再エンコードが必要な場合

メタデータ除去後もプラットフォームがAIラベルを表示する場合、属性がピクセルに焼き付けられているか、C2PA以外の形式で保存されている可能性があります。その場合は、ImageMagickを使用してデコードおよび再エンコードします:

convert input.png -strip output.png

これはPNGではロスレスですが、JPEGではわずかな品質低下が発生する可能性があります。

Individual skills in this repo

This repo contains 18 individual skills — each has its own dedicated page.

getedgehq/agent-evals

Build evals for an AI agent that already does real work. Use when someone asks "how do I know my agent is right", wants to test an agent before trusting it, compare models on cost versus quality, or turn production failures into tests. Walks from first tasks and yes/no verifiers, to isolated environments, to a trace-driven improvement loop.

getedgehq/cli-ux-review

Audit a command-line tool for user-friendliness — clear situation / next-step / options in every output, colour-highlighted runnable commands, no raw jargon, no silent hangs. Invoke for "CLI UX audit", "review my CLI", "is this CLI intuitive", or before any CLI release.

getedgehq/generate-image

Generate images with OpenAI GPT Image 2 via the Codex CLI, billed through the user's ChatGPT Plus subscription (no OpenAI API key, no per-image API cost). Use when the user asks to create, generate, or make an image, picture, illustration, icon, hero graphic, or concept art from a text prompt.

getedgehq/harness-first

Diagnose and fix an unreliable, expensive, or unsafe LLM agent by auditing its harness (golden set, judge, cost caps, data layer, action approvals, tracing) before blaming or swapping the model. Use when someone says an agent is "burning tokens", "hallucinating", "brittle", gives inconsistent answers, asks whether to switch to a cheaper/better model, or wants to ship an agent or prompt change to customers.

getedgehq/http-error-triage

Run before concluding anything from an HTTP error on a third-party API. Separates a real credential/entitlement problem from a CDN or WAF block, a wrong endpoint, or a client-signature ban. Use whenever an API returns 401/403/402/429 and you are about to say "the key is dead", "credits are exhausted", "the plan lacks access", or "we are rate limited".

getedgehq/linkedin-media-prep

Convert, crop, resize, and compress images and videos for optimal LinkedIn upload quality and file size. Use when the user wants to prepare a photo, image, or video for LinkedIn (profile picture, cover photo, post image, article featured image, post video, or video ad), optimize file size for LinkedIn, crop and resize for LinkedIn dimensions, convert HEIC/RAW/PNG/MOV to LinkedIn-ready JPEG or MP4, or mentions LinkedIn media requirements, specs, or limits.

getedgehq/monid

>-

getedgehq/opendraft

An 18-agent pipeline that turns one topic line into a drafted

getedgehq/people-search

Find and rank professional people for recruiting, partnerships, sales, or research from user-provided data, public web sources, an authenticated search session, or a connected provider. Use for people discovery, LinkedIn or Sales Navigator search design, profile-list ranking, or provider filter translation.

getedgehq/rocketlist

Turn a CV into a shortlist of live startup roles from Rocketlist's public job board, including adjacent job titles the person would never have searched for, each with its published salary, the evidence for the fit, and a direct apply link. Use for "find roles I would be a strong fit for", career pivots, remote or VC-backed job hunts, and salary-visible role discovery.

getedgehq/security-audit-checklist

Run a comprehensive security audit across application code, cloud infrastructure, containers, CI/CD pipelines, and infrastructure-as-code. Covers privacy compliance, OWASP basics, secret leakage, API security, IAM misconfigurations, storage exposure, Kubernetes hardening, and network security. Use when the user asks to audit, review, or harden app or cloud security, check for secrets, scan for XSS/SQLi, verify security headers, review Terraform/CloudFormation, audit AWS/GCP/Azure configs, or perform any security-focused review.

getedgehq/shadcn-first

>-

getedgehq/skills

Develop or review a branded long-form YouTube channel using Simon Kaiser's public creator-led approach: audience fit, recurring formats, natural brand integration, Time with Brand, and an organic, paid, and Shorts strategy. Use for channel strategy, format briefs, and pilots.

getedgehq/skills

Build a YouTube strategy, evidence-backed idea slate, and title plus thumbnail package using Paddy Galloway's public method. Use when planning a channel, choosing concepts, or preparing a video before filming.

getedgehq/skills

Build or review a buyer-centered strategic narrative using Andy Raskin's public method. Use for sales or investor deck stories, homepage positioning, keynotes, launch narratives, and why-now messaging.

getedgehq/skills

Turn a product URL, launch brief, or approved script into a production-ready launch video. Use for product reveals, feature announcements, SaaS launches, and narrated product films; not for generic explainers or editing existing footage.

getedgehq/top-down-comms

>-

getedgehq/workplan

Create, update, or close work plans for multi-step tasks. Use when starting refactors, bug lists, feature work, migrations, or any task with 2+ steps. Also use after auto-compaction to re-orient. Triggers: "workplan", "work plan", "create a plan", "what's the plan", "where was I", or when Claude detects

関連スキル