agentleFS
anshaneja5anshaneja5/markscrub/skills/remove-ai-marks/SKILL.md

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

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. guillaumemeyer/watermarks-remover★ 23ksame name
    2. dandacompany/dante-skills★ 14same name
    3. badmuriss/my-llm-kit★ 3same name
    4. 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
  1. Distinctive:

    Do not claim results are “human-written,” “undetectable,” or that they pass a vendor detector.

    line 15
  2. Distinctive:

    Prefer the project-local CLI:

    line 21
  3. Very specific:

    If markscrub is on PATH, use that instead.

    line 31
  4. Distinctive:

    Always do this for matching inputs.

    line 49
  5. Distinctive:

    After clean, always offer a statistical-mark reduction pass for natural-language text.

    line 55
  6. Distinctive:

    Model hygiene: Prefer a rewrite model different from the suspected origin model.

    line 70
  7. Distinctive:

    Use the JSON report fields:

    line 85

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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 help

If markscrub is on PATH, use that instead.

Workflow

1. Inspect first

markscrub inspect path/to/file --json

Summarize Unicode hits and metadata/C2PA hints briefly.

2. Deterministic clean (Layer A + files)

markscrub clean INPUT -o OUTPUT --json

Always 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 paraphrase

Model 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 cursor

Then 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 actions
  • residualRisk — 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 provenance
  • references/ethics.md — intended use

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.