remove-ai-marks
Skill66 starsChanged 4 months agoMITView on GitHub
Scrub AI provenance marks from text and files using the markscrub CLI: invisible Unicode (Layer A), optional statistical rewrite (Layer B), and C2PA/EXIF/XMP/container metadata on PNG/JPEG/SVG/PDF/DOCX/HTML/MD. Use when the user asks to strip watermarks, remove Content Credentials, clean AI metadata, remove invisible Unicode, or run /remove-ai-marks.
- Reads credentials
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- badmuriss/my-llm-kittheir own version, first seen Sep 30, 2026
- sanyamk23/aphanistheir own version, first seen Sep 9, 2026
- guillaumemeyer/watermarks-removertheir own version, first seen Aug 14, 2026
- dandacompany/dante-skillstheir own version, first seen Jul 24, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- guillaumemeyer/watermarks-remover★ 23ksame name
- dandacompany/dante-skills★ 14same name
- badmuriss/my-llm-kit★ 3same name
- sanyamk23/aphanis★ 3same 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.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
6
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 15
Do not claim results are “human-written,” “undetectable,” or that they pass a vendor detector.
- Distinctive: line 21
Prefer the project-local CLI:
- Very specific: line 31
If markscrub is on PATH, use that instead.
- Distinctive: line 49
Always do this for matching inputs.
- Distinctive: line 55
After clean, always offer a statistical-mark reduction pass for natural-language text.
- Distinctive: line 70
Model hygiene: Prefer a rewrite model different from the suspected origin model.
- Distinctive: line 85
Use the JSON report fields:
“Common” is measured: kept by at least 6 in 10 of the 4 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 (markscrub)
Privacy / provenance hygiene for content the user owns.
Do not claim results are “human-written,” “undetectable,” or that they pass a vendor detector. Separate verifiable cleans from best-effort rewrites in every summary.
Setup
Prefer the project-local CLI:
# from the markscrub repo
npm install
npx tsx src/cli.ts help
# or after build:
npm run build && node dist/cli.js helpIf markscrub is on PATH, use that instead.
Workflow
1. Inspect first
markscrub inspect path/to/file --jsonSummarize Unicode hits and metadata/C2PA hints briefly.
2. Deterministic clean (Layer A + files)
markscrub clean INPUT -o OUTPUT --jsonAlways do this for matching inputs. Re-inspect OUTPUT when useful.
PDF cleaning needs exiftool on PATH; otherwise report that PDF was left unchanged.
3. Offer rewrite (Layer B) for prose
After clean, always offer a statistical-mark reduction pass for natural-language text. Do not skip silently.
# Default: print a strong paraphrase prompt (no API key required)
markscrub rewrite INPUT --backend print-prompt
# Local presets
markscrub rewrite INPUT -o OUT.md --backend ollama --model llama3.2
markscrub rewrite INPUT -o OUT.md --backend lmstudio
# OpenAI-compatible cloud
export MARKSCRUB_REWRITE_API_KEY=...
markscrub rewrite INPUT -o OUT.md --backend openai --strength paraphraseModel hygiene: Prefer a rewrite model different from the suspected origin model.
Also useful:
markscrub inspect DIR --recursive --fail-on-findings --sarif out.sarif
markscrub clean DIR -o OUTDIR --recursive --diff
printf 'text' | markscrub clean - -o cleaned.txt
./scripts/install-skill.sh cursorThen run Layer A again on the rewrite result (markscrub clean).
4. Report residual risk honestly
Use the JSON report fields:
findings[].verifiable— true for Unicode/metadata actionsresidualRisk— always mention sampling marks may remain
Ethics
Intended for the user’s own content (privacy, hygiene, research). If the user clearly wants academic fraud or illegal non-disclosure, warn and only perform technical cleaning on content they own.
References
references/mark-classes.md— Unicode / sampling / file provenancereferences/ethics.md— intended use
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.

