redaction
Skill0 starsChanged 36 days agoMITView on GitHub
Strip secrets, tokens, raw person properties, private URLs, and internal admin links before saving any triage output to disk or copying into customer-facing text. Use this skill before Phase 3 of the triage workflow, before posting to any channel, and before sharing any saved report outside the immediate operator.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- RouanetClement/claude-skillstheir own version, first seen Oct 15, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- RouanetClement/claude-skills★ 0same 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.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- escalationSkill
- kb-articleSkill
- known-issue-searchSkill
- log-evidenceSkill
- reproduction-stepsSkill
- response-draftingSkill
- support-triageSkill
- ticket-intakeSkill
- triage-reportSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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 65
Run the patterns above against both files.
- Very specific: line 68
Write a one-line confirmation in the Evidence Pack: Redaction pass: <N> replacements made across <files>.
- Distinctive: line 77
If you are unsure, redact.
≈ “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.
Files
Redaction
Saved triage reports may sit on disk for months. Customer-facing drafts get pasted into Zendesk, GitHub, email, and Slack. Both are easy places to leak secrets, PII, and internal-only links. This skill is the last line of defense.
Categories
Always redact
| Category | Examples | Replacement |
| API keys / tokens | Bearer ..., phx_..., sk_..., ph_..., JWT, AWS keys | [redacted-token] |
| Personal API keys | Any personal_api_key, pat-... | [redacted-token] |
| Passwords / secrets | Any field labeled password, secret, client_secret | [redacted-secret] |
| Raw person properties | Email, IP, full name, phone, address | [redacted-pii] |
| Session replay URLs containing IDs | /replay/<session-id> | /replay/[redacted] |
| Admin / go links | go/admin..., internal /admin/... URLs | [admin link redacted] |
| Private webhook URLs | Customer-side https://<random>.ngrok.io/... | [redacted-private-url] |
| Stack traces with user data | Any frame containing PII or tokens | redact the line, keep the file:line |
Keep
These are safe and often necessary for investigation continuity:
- Public bug-tracker URLs (
https://github.com/OWNER/REPO/issues/N). - Public docs URLs.
- Distinct IDs and project IDs (when not customer PII).
- Org names from public issues (already public).
- Error fingerprints / hashes.
- SDK names and version numbers.
- Public dashboard URLs from your own product.
Customer-facing extra strip
Beyond the always-redact list, the Draft Customer Response must NOT contain:
- Internal tool names (your bug tracker, your data warehouse).
- Raw queries (SQL, GraphQL, or any product-specific query language).
- Internal admin URLs even if
[redacted]-suffixed — drop the link entirely. - Reporter names from private tickets — use "the customer" or the org name.
- Any "I checked X internally" framing that reveals tooling.
Pattern list (regex, copy-pasteable)
(?i)bearer\s+[A-Za-z0-9._\-]{20,}
(?i)\b(sk|pk|ph|phx|phc|rk)_(live|test)?_?[A-Za-z0-9]{16,}
(?i)\bpat-[A-Za-z0-9_\-]{20,}
\beyJ[A-Za-z0-9_\-]{10,}\.[A-Za-z0-9_\-]{10,}\.[A-Za-z0-9_\-]{10,}\b # JWT
\bAKIA[0-9A-Z]{16}\b # AWS access key
[a-z0-9._%+\-]+@[a-z0-9.\-]+\.[a-z]{2,} # email (case-insensitive)
\b(?:\d{1,3}\.){3}\d{1,3}\b # IPv4
go/admin[A-Za-z0-9_/\-]* # internal admin linksThese are starting points, not exhaustive. Add patterns for your own product's key shapes.
Process
- Generate the report and customer response in full first.
- Run the patterns above against both files.
- For each match: replace with the appropriate placeholder, or remove the line if the surrounding sentence is no longer informative.
- Re-read the customer-facing response with one question in mind: if this leaked to a public forum, would anything embarrass us or the customer? If yes, redact further.
- Write a one-line confirmation in the Evidence Pack:
Redaction pass: <N> replacements made across <files>.
When to break the rules
Almost never. Two narrow exceptions:
- Internal admin URLs MAY appear in the internal-only Evidence Pack inside the saved triage report, because the support engineer needs to click through. They must still be stripped from any customer-facing text and any chat post.
- A user identifier may stay in the report if both (a) the customer provided it themselves and (b) it appears in the customer response only as "the user with ID X you mentioned". Prefer "the affected user" wording when possible.
If you are unsure, redact. The cost of an over-redacted report is a follow-up question. The cost of a leaked secret is a security incident.
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.

