agentleFS
cmdr-characmdr-chara/codex-toolkit/skills/content-provenance-hygiene/SKILL.md

content-provenance-hygiene

Skill2 starsChanged 12 days agoMITView on GitHub

Inspect and sanitize provenance or metadata in user-owned text, images, PDFs, and documents. Use for evidence-first removal of invisible Unicode, C2PA, EXIF/XMP, or document metadata. Not for disguising authorship or evading AI detectors.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill for authorized inspection or sanitation of invisible Unicode, C2PA/Content Credentials, EXIF/XMP, PDF/document properties, …

    line 12
  2. Distinctive:

    Do not trigger for detector evasion, authorship misrepresentation, unrelated rewriting/image editing, access-control bypass, or generic …

    line 14
  3. Distinctive:

    Never claim metadata removal proves human authorship or defeats detection.

    line 24
  4. Distinctive:

    Do not silently install tools, start services, or upload artifacts to a remote cleaner.

    line 25
  5. Distinctive:

    Treat unsupported container capabilities as unknown, not success.

    line 26
  6. Very specific:

    Resolve tooling: Read references/inspection-toolchain.md, probe which inspectors are available, and mark surfaces without one as not …

    line 31
  7. Distinctive:

    Inspect: Run the available inspectors read-only and classify each surface as confirmed, probable, informational, not detected, or not …

    line 38
  8. Very specific:

    Plan the smallest remediation: Use references/remediation-boundaries.md.

    line 39
  9. Distinctive:

    If no available tool can inspect a requested surface, report the unsupported capability and stop before destructive conversion.

    line 50
  10. Distinctive:

    Stop when the authorized metadata scope is inspected, approved cleanup is verified against the original, integrity is checked, and …

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “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

Content Provenance Hygiene

Inspect first, change only authorized provenance/metadata surfaces, and verify the result without making authorship claims.

Trigger boundary

Use this skill for authorized inspection or sanitation of invisible Unicode, C2PA/Content Credentials, EXIF/XMP, PDF/document properties, or similar provenance/metadata surfaces.

Do not trigger for detector evasion, authorship misrepresentation, unrelated rewriting/image editing, access-control bypass, or generic file transformation.

Required inputs

Resolve the exact artifact/scope, ownership or authorization basis, inspect-only versus clean intent, visible-content preservation invariants, approved metadata classes, output expectations, working-tree/file state, and which inspection tools are available locally.

Safety baseline

  • Preserve the original artifact by default.
  • Inspect before mutation.
  • Never claim metadata removal proves human authorship or defeats detection.
  • Do not silently install tools, start services, or upload artifacts to a remote cleaner; uploading discloses the content.
  • Treat unsupported container capabilities as unknown, not success.

Workflow

  1. Freeze scope and intent. Record artifact identity, preservation invariants, and allowed metadata classes.
  2. Resolve tooling. Read references/inspection-toolchain.md, probe which inspectors are available, and mark surfaces without one as not inspectable. For text, run the read-only scanner:

    python skills/content-provenance-hygiene/scripts/inspect_text_invisibles.py PATH... --format markdown

    It reports zero-width, bidi-control, tag, variation-selector, soft-hyphen, and other format characters with file:line:column, never modifies files, and exits 1 when it finds anything.

  3. Inspect. Run the available inspectors read-only and classify each surface as confirmed, probable, informational, not detected, or not inspectable.
  4. Plan the smallest remediation. Use references/remediation-boundaries.md; separate deterministic metadata cleanup from substantive content edits.
  5. Clean only approved scope. Preserve visible pixels/text/structure unless the user explicitly requested otherwise.
  6. Re-inspect. Compare target findings before/after and verify output integrity against the preservation invariants.
  7. Report. State what was found, what changed, what could not be inspected, and what the result does not prove.

Handoffs and interaction boundaries

Substantive writing/image/document edits belong to their owning workflow. Cleaning-tool failures with an unknown cause go to debugging-investigator. Product metadata behavior may involve documentation synchronization. Final release claims belong to verification-and-release.

Failure handling

If no available tool can inspect a requested surface, report the unsupported capability and stop before destructive conversion. If cleanup changes visible content unexpectedly, treat that as failure and preserve the original.

Stop conditions

Stop when the authorized metadata scope is inspected, approved cleanup is verified against the original, integrity is checked, and unsupported surfaces or limitations are explicit.

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.