remove-ai-marks
Skill1 starsChanged 7 months agoMITView on GitHub
Strip multi-vendor AI provenance marks from files and text — invisible Unicode (Layer A), statistical text watermarks via rewrite (Layer B), and C2PA/EXIF/XMP/container metadata from PNG/JPEG/WebP/SVG/PDF/DOCX/ODT/HTML/MD. Requires the watermarks-remover local service (Docker). Use when the user asks to strip watermarks, remove C2PA/Content Credentials, clean AI metadata, remove invisible Unicode, or runs /remove-ai-marks.
9 other projects use a version of this.
Adopted by
Most recently taken up by
- alpit-patel/seo-aeo-geo-kittheir own version, first seen Nov 8, 2026
- mahr00/ClaudeCodetheir own version, first seen Nov 1, 2026
- hendibrahim-ai/claude-skillstheir own version, first seen Nov 1, 2026
- taljeon/plzdotheir own version, first seen Nov 1, 2026
- badmuriss/my-llm-kittheir own version, first seen Sep 30, 2026
- sanyamk23/aphanistheir own version, first seen Sep 9, 2026
Used with
Projects with it also use clean-user-facing-text.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
guillaumemeyerSkillclean-user-facing-text
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting prose while preserving facts, meaning, and the writer's voice. Use when the user asks to clean, humanize, polish, or finalize articles, manuscripts, reports, documentation, emails, product copy, UI text, Markdown, or HTML prose, or when a project rule or instruction file explicitly requires this workflow. Don't use for code-only tasks or undisclosed authorship evasion; leave code, commands, identifiers, paths, APIs, formulas, citations, required disclosures, and verbatim quotations unchanged.
Also in 3 projects that use this
Other versions9 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 9
- guillaumemeyer/watermarks-remover★ 27ksame name
- dandacompany/dante-skills★ 14same name
- taljeon/plzdo★ 9same name
- badmuriss/my-llm-kit★ 3same name
- sanyamk23/aphanis★ 3same name
- alpit-patel/seo-aeo-geo-kit★ 2same name
- hendibrahim-ai/claude-skills★ 1same name
- blotless/skills★ 0same name
- mahr00/ClaudeCode★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository206 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- project-healthSkill
- skill-validatorSkill
- accessibilitySkill
- agent-debugSkill
- agent-evaluateSkill
- ai-governanceSkill
- ai-system-reviewSkill
- api-docs-generateSkill
- api-examplesSkill
- api-mockSkill
- api-test-generateSkill
- api-validateSkill
- architecture-diagramSkill
- ask-mattSkill
- assumption-mapSkill
- boilerplateSkill
- brainstormSkill
- branch-finishSkill
- briefingSkill
- browser-testing-with-devtoolsSkill
- bundle-analyzeSkill
- cache-strategySkill
- canarySkill
- carefulSkill
- cavemanSkill
- changelog-autoSkill
- chaos-testSkill
- ci-setupSkill
- ci-sweepSkill
- cleanprojectSkill
- click-path-auditSkill
- codebase-designSkill
- code-review-checklistSkill
- code-tourSkill
- commitSkill
- completion-verifySkill
- complexity-reduceSkill
- component-librarySkill
- config-cleanupSkill
- config-generateSkill
- conflict-resolveSkill
- container-optimizeSkill
- context-budgetSkill
- context-engineeringSkill
- context-restoreSkill
- context-saveSkill
- continuous-learningSkill
- contributingSkill
- cost-trackSkill
- councilSkill
- create-todosSkill
- cross-modal-reviewSkill
- database-connectSkill
- db-diagramSkill
- ddd-modelSkill
- debug-root-causeSkill
- debug-sessionSkill
- debug-systematicSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 9 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Early exit: If the service is unreachable, stop immediately with setup instructions — no further work.
- Distinctive: line 61
If the service is down, stop here and show the setup instructions above.
- Distinctive: line 117
Wait for user confirmation before making changes.
- Very specific: line 139
Only for text/markdown targets when the user chose b.
- Distinctive: line 164
If the service reports that exiftool, qpdf, or c2patool are missing, note which metadata actions were skipped and how to add them (rebuild …
- Distinctive: line 176
Always include in the report:
“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Remove AI Marks
Strip AI provenance marks from text and files. Covers three layers:
| Layer | Target | Mechanism |
| A | Invisible Unicode, exotic spaces, bidi controls, tag chars | Deterministic service-side clean |
| B | Statistical token-sampling watermarks (SynthID-class, Kirchenbauer) | Agent-driven multi-pass prose rewrite |
| File | C2PA / EXIF / XMP / document properties | PNG, JPEG, WebP, SVG, PDF, DOCX, ODT, HTML, MD |
Note: This skill differs from /remove-ai-tells, which strips prose writing patterns (filler openers, AI vocabulary, hedging). Use both for thorough cleaning.
Token Optimization
Expected range: 200–400 tokens (inspect only), 400–900 tokens (full clean with Layer B rewrite)
Early exit: If the service is unreachable, stop immediately with setup instructions — no further work.
Patterns used: Early exit, progressive disclosure (inspect → confirm → clean)
Prerequisites
Requires the watermarks-remover service running locally (default: http://127.0.0.1:8765).
# Quick start via Docker
docker run -p 8765:8765 ghcr.io/guillaumemeyer/watermarks-remover:latest
# Or with Docker Compose (from the watermarks-remover repo)
docker compose up -dOverride the service URL via env var: WATERMARKS_SERVICE_URL=http://...
Step 1 — Check Service
SERVICE_URL="${WATERMARKS_SERVICE_URL:-http://127.0.0.1:8765}"
if ! curl -sf "$SERVICE_URL/health" > /dev/null 2>&1; then
echo "watermarks-remover service not reachable at $SERVICE_URL"
echo ""
echo "Start it with:"
echo " docker run -p 8765:8765 ghcr.io/guillaumemeyer/watermarks-remover:latest"
echo ""
echo "Or set WATERMARKS_SERVICE_URL to point to a running instance."
exit 1
fi
# Check what optional backends are available
curl -sf "$SERVICE_URL/capabilities"If the service is down, stop here and show the setup instructions above.
Step 2 — Identify Target
Resolution order — use the first that yields a valid target:
- Explicit argument —
/remove-ai-marks path/to/file.pdf - Pasted text — if the user pasted text without a file path, treat it as inline text
- IDE active file —
<ide_opened_file>if it has a supported extension - Staged files — any staged files with a supported extension (
.md,.html,.pdf,.docx,.odt,.svg,.png,.jpg,.jpeg,.webp) - Ask — prompt the user
Supported formats: plain text (inline), .md, .html, .svg, .docx, .odt, .pdf, .png, .jpg, .jpeg, .webp
Step 3 — Inspect
For file targets, encode as base64 and POST to /inspect:
encoded=$(base64 -w0 "$TARGET_FILE")
filename=$(basename "$TARGET_FILE")
curl -sf "$SERVICE_URL/inspect" \
-H "Content-Type: application/json" \
-d "{\"content\": \"$encoded\", \"filename\": \"$filename\"}" \
| python3 -m json.toolFor inline text:
encoded=$(printf '%s' "$TEXT" | base64 -w0)
curl -sf "$SERVICE_URL/inspect" \
-H "Content-Type: application/json" \
-d "{\"content\": \"$encoded\", \"filename\": \"input.txt\"}"Report the inspection result:
Inspection — path/to/file.pdf
Suspicious codepoints: 3 (U+200B ×2, U+FEFF ×1)
C2PA metadata: present (Claude provenance, 2026-08-12)
Format: PDF (auto-detected)
Layer B: not applicable (not prose text)Step 4 — Confirm and Clean
Show the inspection report and ask:
Proceed with cleaning?
y — run deterministic clean (Layer A + file metadata)
b — run Layer B prose rewrite after Layer A (text/markdown targets only)
n — exit without changesWait for user confirmation before making changes.
For y or b, POST to /clean:
curl -sf "$SERVICE_URL/clean" \
-H "Content-Type: application/json" \
-d "{\"content\": \"$encoded\", \"filename\": \"$filename\"}" \
| python3 -c "
import sys, json, base64
r = json.load(sys.stdin)
if r.get('ok'):
sys.stdout.buffer.write(base64.b64decode(r['cleaned']))
else:
print('Clean failed:', r.get('report'))
sys.exit(1)
" > "$TARGET_FILE.clean"
mv "$TARGET_FILE.clean" "$TARGET_FILE"Step 5 — Layer B Prose Rewrite (optional)
Only for text/markdown targets when the user chose b. Apply one rewrite pass to neutralize statistical sampling watermarks. Choose the strategy based on the content type:
paraphrase— word-choice and syntax variation (default for most prose)humanize— rewrite for natural human voicebacktranslate— pivot-language round-trip (strong signal disruption)structural— extract outline, regenerate prose (for heavily structured docs)code— rewording comments, docstrings, string literals; rename local identifiers only with explicit user approval
Apply the chosen strategy as a single rewrite pass. Preserve all facts, numbers, names, citations, and code logic.
Step 6 — Report
remove-ai-marks complete — path/to/file.pdf
Layer A (deterministic):
Removed: U+200B ×2, U+FEFF ×1
C2PA metadata: stripped
EXIF/XMP: stripped
Layer B: skipped (not requested)
File written: path/to/file.pdfIf the service reports that exiftool, qpdf, or c2patool are missing, note which metadata actions were skipped and how to add them (rebuild the Docker image with the full variant).
Edge Cases
- Binary files without supported extensions: report "format not supported" and exit
- C2PA soft binding: survives metadata strip — note this in the report
- Pixel/audio/video watermarks: out of scope (optional CtrlRegen/MarkDiffusion backends require separate Docker images — report as out of scope unless
/capabilitiesshows them available) - PDF without qpdf: metadata strip is best-effort; note if qpdf is missing
- Large files over 50 MB: warn before encoding; the service may timeout
Honest Limitations
Always include in the report:
- Layer A removes deterministic markers only; it cannot remove token-sampling watermarks
- Layer B is best-effort; no claim of undetectability without vendor detector access
- C2PA soft binding survives this tool
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

