Chuyển đến nội dung
Skillpedia
Khác26k · #9988

remove-ai-marks

Skill này làm gì

Skill này kiểm tra văn bản và tệp để tìm dấu vết nguồn gốc AI ẩn, rồi xóa chúng qua một dịch vụ làm sạch riêng. Skill dành cho người làm việc với nội dung mà họ sở hữu hoặc được phép xử lý.

Khi nào nên dùng

  • ✓Khi bạn yêu cầu agent xóa ký tự ẩn khỏi văn bản do bạn viết hoặc được phép chỉnh sửa.
  • ✓Khi bạn muốn kiểm tra và làm sạch siêu dữ liệu nhúng trong hình ảnh, PDF hoặc tài liệu.
  • ✓Khi bạn cần biết tệp hoặc văn bản có thể chứa những loại dấu vết AI nào.

Liên kết skill

https://github.com/guillaumemeyer/watermarks-remover/blob/main/skills/remove-ai-marks/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/guillaumemeyer/watermarks-remover/blob/main/skills/remove-ai-marks/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể kiểm tra tệp PDF này xem có siêu dữ liệu AI nhúng không và làm sạch nó giúp tôi không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

agent gửi văn bản hoặc tệp đến một dịch vụ làm sạch được chạy riêng. Dịch vụ áp dụng cách làm sạch có tính xác định và báo lại những gì đã tìm thấy.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

Remove AI marks

Multi-vendor anti-detection hygiene for text (Unicode + statistical rewrite) and files (C2PA / AI metadata across common containers).

Read if needed:

  • references/mark-classes.md — Unicode / sampling / C2PA / containers
  • references/vendor-notes.md — Claude, Gemini/SynthID, OpenAI, open-LLM
  • references/removal-matrix.md — which layer when
  • references/ethics.md — intended use
  • references/how-claude-marks.md — Anthropic-specific detail
  • references/markdiffusion.md — optional MarkDiffusion image harness (schemes, honesty caveats)

This skill is a thin client. All deterministic cleaning machinery runs in a separate HTTP service (this repo's service/), so the agent host needs no Python, venvs, or cleaning tools. Call the service with curl; never run cleaning scripts directly.

Service access

Base URL comes from WATERMARKS_SERVICE_URL, default http://127.0.0.1:8765:

WM="${WATERMARKS_SERVICE_URL:-http://127.0.0.1:8765}"

The service is started either by the operator (docker compose up -d, or a published GHCR image) or locally (make serve). Always check it first, and stop with a clear message if it is unreachable — never fall back to local cleaning:

AUTH_HEADER=()
if [ -n "$WATERMARKS_SERVER_API_KEY" ]; then
  AUTH_HEADER=(-H "Authorization: Bearer $WATERMARKS_SERVER_API_KEY")
fi
curl -sf "${AUTH_HEADER[@]}" "$WM/health"
# {"ok": true, "version": "..."}

If WATERMARKS_SERVER_API_KEY is set on the service, every request (including the health check and capabilities) needs -H "Authorization: Bearer $WATERMARKS_SERVER_API_KEY". The default URL is loopback; when the service runs on another host, set WATERMARKS_SERVICE_URL to an https:// URL so the token is not sent in cleartext, and do not add -L (a redirect could forward the token to another host).

Capabilities

curl -s "${AUTH_HEADER[@]}" "$WM/capabilities"

Reports which optional tools are available server-side (c2patool, exiftool, qpdf, ghostscript), scorers present (scorers.stylometry, scorers.synthid, scorers.synthid_http), text-watermark detectors (text_detectors.markllm, text_detectors.claude-text), and which heavy backends are configured (pixel_backends.ctrlregen, pixel_backends.diffusion, harnesses.markllm). Drive your advice from this: only recommend pixel removal / SynthID scoring / vendor detection when the service reports the backend present.

HTTP API (curl)

Payloads are JSON with the file as base64. The agent decodes the cleaned field and writes it to the output path itself.

Method Path Body Returns
GET /health — {"ok": true, "version": ...}
GET /capabilities — optional tools / backends present
GET /openapi.json — dynamically generated OpenAPI 3.0.3 spec
POST /inspect {"file": "<base64>", "name": "notes.md"} {"ok", "kind", "suspicious", "report"}
POST /detect {"file": "<base64>", "name": "notes.txt"} {"ok", "kind", "detections": [...]}
POST /clean {"file": "<base64>", "name": "notes.md", "options": {...}} {"ok", "kind", "cleaned": "<base64>", "report"}

/clean and /inspect route by the uploaded name extension plus the bytes; unrecognized formats answer kind: "unknown" (/inspect) or 400 (/clean). When writing a temp file for pasted text, keep a known extension (.txt / .md) in the name you send.

The machine-readable contract lives at $WM/openapi.json — plug it into any OpenAPI tooling (client generators, Swagger UI, editors) instead of hand-rolling clients.

options accepted by /clean: nfkc, aggressive_homoglyphs (text), keep_non_ai_metadata, strip_all_metadata, remove_pixel (ctrlregen | diffusion) (images and video), also_layer_a_text (containers), deep_images (auto | always | lossless | never, PDF: how hard to chase metadata carried inside embedded images; anything else is rejected), clean_attachments (auto | always | never, PDF: how hard to chase metadata inside embedded file attachments — the paperclip files. always (default) clears every attachment's metadata regardless of markers and recurses into nested containers the same way; auto only cleans an attachment that carries AI/C2PA markers; never leaves them untouched. Needs qpdf. Anything else is rejected), detect_before / detect_after (text and images: run waterm

Câu hỏi thường gặp

Skill này có cần dịch vụ làm sạch đang chạy không?

Có. Skill gọi một dịch vụ riêng và yêu cầu bạn dừng lại nếu không kết nối được, thay vì làm sạch tại chỗ.

Skill bao gồm những loại tệp nào?

Skill bao gồm các định dạng ảnh, PDF, Office, web và văn bản thông dụng, gồm PNG, JPEG, WebP, SVG, PDF, DOCX, HTML và Markdown.

Skill có đảm bảo xóa hết các dấu vết không?

Không. Skill ghi chú rằng việc giảm watermark văn bản theo thống kê chỉ mang tính nỗ lực tốt nhất và không thể đảm bảo.

Chi tiết

Mô tả gốc của tác giả

Remove multi-vendor AI provenance marks: invisible Unicode (Layer A), statistical text watermarks via rewrite (Layer B, always offer), and C2PA/EXIF/XMP/container metadata on PNG/JPEG/WebP/SVG/PDF/DOCX/ODT/HTML/MD/TEX. Covers Claude, Gemini/SynthID-class, OpenAI provenance, and open-LLM sampling marks. Use when the user asks to strip watermarks, remove C2PA/Content Credentials, clean AI metadata, remove invisible Unicode, anti-detect clean AI output, or runs /remove-ai-marks (aliases: /remove-claude-marks).

repo: guillaumemeyer/watermarks-remover

Độ phổ biến

Sao GitHub
26k
Vị trí xếp hạng
#9988
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự