/anthropies:purge-anthropies runs instead · from anthropies
Removes Claude watermarks, Co-Authored-By trailers, and C2PA metadata from owned files using the anthropies CLI. Useful for cleaning generated content before redistribution.
This skill never runs in Claude Code
It ships in anthropies at skills/, but /anthropies:purge-anthropies (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
Restore clean title in Outputs the user already owns. The Claude text mark is a SynthID-class keyed sampler. It is the wording. Hidden-character strip does not touch it.
humanize is title restoration: a best-effort wording rewrite on a non-origin model. Residual statistical risk remains. print-prompt does not destamp. This is not an official-kill.
Resolve the target: path, selection, or commit message the user named.
Prefer the local HTTP service for inspect/clean.
ANTHROPIES_SERVICE_URL defaults to http://127.0.0.1:8765. The process that owns FileSystem is anthropies serve (loopback 127.0.0.1:8765 unless the operator passed --host / --port):
npx anthropies serve
From this repo after pnpm build: node dist/cli.js serve.
Health-check first:
: "${ANTHROPIES_SERVICE_URL:=http://127.0.0.1:8765}"
curl -sS -f "$ANTHROPIES_SERVICE_URL/health"
Expected: {"ok":true,"version":"0.3.0"}. If health fails, say so. Do not invent a successful HTTP result. If the operator required the service, stop and report the failure. Otherwise use the local CLI fallback:
npx anthropies clean --in-place <path>
If the package is not installed, run it from the repo after pnpm build: node dist/cli.js clean --in-place <path>.
When health succeeds, POST base64. If ANTHROPIES_SERVER_API_KEY is set, add -H "Authorization: Bearer $ANTHROPIES_SERVER_API_KEY":
file_b64=$(base64 < <path> | tr -d '\n')
name=$(basename <path>)
# inspect → { ok, kind, report }
curl -sS -X POST "$ANTHROPIES_SERVICE_URL/inspect" \
-H "Content-Type: application/json" \
-d "{\"file\":\"$file_b64\",\"name\":\"$name\"}"
# clean → { ok, kind, report, cleaned } (cleaned is base64; Layer A / hard-bound metadata only)
curl -sS -X POST "$ANTHROPIES_SERVICE_URL/clean" \
-H "Content-Type: application/json" \
-d "{\"file\":\"$file_b64\",\"name\":\"$name\"}"
There is no HTTP /humanize. Official stays unavailable unless ANTHROPIC_DETECT_URL is set. This run does not prove the official Claude text detector will fail.
Classify the file.
Humanize without the origin model. Humanize is CLI-only.
If the current host is Claude or Gemini, do not rewrite in this session. Run:
ANTHROPIES_REWRITE_BACKEND=print-prompt npx anthropies humanize <path>
print-prompt prints a rewrite prompt. It does not destamp. Then execute that prompt on a local unmarked model (Ollama / local Llama / Qwen / Mistral / DeepSeek with watermarking off). Optional:
ANTHROPIES_REWRITE_BACKEND=ollama ANTHROPIES_REWRITE_MODEL=llama3.2 npx anthropies humanize --in-place <path>
If the current host is already unmarked (Grok, local open-weight, etc.), rewrite in-session:
ANTHROPIES_SERVICE_URL) or the local CLI fallback| Move | Why |
|---|---|
| Ask Claude to "make this unmarked" | Re-stamps the same keyed sampler |
| Light copy-edit / prettier-only | H-gram islands survive |
Touch lockfiles, go.sum, protobufs | No free tokens; high breakage |
| Patch Claude Code request apostrophes | Different problem (outbound client steg) |
| Claim official-detector failure | Official stays unavailable unless a URL is set |
references/mark.md — how the mark worksnpx anthropies serve (default http://127.0.0.1:8765)GET $ANTHROPIES_SERVICE_URL/openapi.jsonnpx anthropies --help or node dist/cli.js --helpWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
watermark-removal, metadata-cleaning, c2pa, anthropies, content-cleanup
Generated from the plugin's indexed repository (charleshoskinson/anthropies) — no native marketplace selected
npx claudepluginhub p/charleshoskinson-anthropiesOther plugins' skills for the same job