agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-privacy-redactor/SKILL.md

llm-wiki-privacy-redactor

Skill3 starsChanged 5 months agoMITView on GitHub

Preview and plan redaction of private or sensitive content before publishing, exporting, or sending LLM-Wiki context to external models. Use for emails, tokens, internal URLs, phone numbers, private tags, and sensitive page metadata.

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:

    Before exporting wiki pages, folders, or bundles to an external destination.

    line 20
  2. Distinctive:

    Before sending LLM-Wiki context across a model boundary to a third-party LLM.

    line 21
  3. Very specific:

    When a page or raw source is tagged privacy: sensitive or marked internal.

    line 22
  4. Distinctive:

    When preparing a publishable report that may contain unreviewed generated claims.

    line 23
  5. Distinctive:

    When a redaction policy file exists and must be applied before publication.

    line 24
  6. Very specific:

    Read references/docs/security/redaction-policy.md and references/templates/redaction-policy.yml when available, and re-verify the policy …

    line 37
  7. Distinctive:

    Do not print sensitive findings verbatim in final reports.

    line 95
  8. Distinctive:

    Do not mutate source wiki files by default.

    line 96
  9. Distinctive:

    Do not send sensitive content to external models without explicit approval.

    line 97
  10. Distinctive:

    Do not treat redaction as proof that publication is safe.

    line 98

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

LLM-Wiki Privacy Redactor

Goal

Prevent private content from leaking through public exports, model-boundary payloads or shared reports.

When to use

  • Before exporting wiki pages, folders, or bundles to an external destination.
  • Before sending LLM-Wiki context across a model boundary to a third-party LLM.
  • When a page or raw source is tagged privacy: sensitive or marked internal.
  • When preparing a publishable report that may contain unreviewed generated claims.
  • When a redaction policy file exists and must be applied before publication.

Inputs

  • Target pages, folders or export bundle.
  • Redaction policy file if present.
  • Desired mode: preview-only or approved patch.
  • Publication or model-boundary target.

Procedure

1. Load policy

Read references/docs/security/redaction-policy.md and references/templates/redaction-policy.yml when available, and re-verify the policy file is the current version before applying it, since redaction rules can change between publications.

2. Classify content

Flag:

  • email addresses;
  • phone numbers;
  • internal URLs;
  • secret-like strings;
  • private tags;
  • pages with privacy: sensitive;
  • raw sources marked internal/sensitive;
  • unreviewed generated claims in publishable output.

3. Preview redactions

Run or recommend:

node scripts/redact-preview.mjs <path>

Show redaction candidates without modifying files.

4. Propose replacements

Use stable placeholders:

[REDACTED_EMAIL]
[REDACTED_INTERNAL_URL]
[REDACTED_SECRET]
[REDACTED_PHONE]

5. Apply only after approval

Apply changes only to an export copy unless the user explicitly asks to patch the source wiki.

Output

## Redaction summary

## Files inspected

## Findings by category

## Proposed redactions

## Export safety decision

## Review required

Safety gates

  • Do not print sensitive findings verbatim in final reports.
  • Do not mutate source wiki files by default.
  • Do not send sensitive content to external models without explicit approval.
  • Do not treat redaction as proof that publication is safe.

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.