redact

Solid

Per-entry redaction primitive for memory/ + outputs/ files. Strips matching content, replaces with [REDACTED YYYY-MM-DD reason] marker, logs to logs/redact-log.jsonl. Use when a credential, PII, or other sensitive content slipped into a tracked file.

AI & Automation 3 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
20
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# /redact. Memory audit primitive Strip sensitive content from any tracked file with an audit trail. Pattern modeled on the managed-agent memory feature (filesystem audit + per-entry redaction), adapted to a solo-operator stack. ## When to use - A credential, API key, or token slipped into a memory file or output - A name, phone number, or address you didn't mean to log durably - A quote from a private conversation that shouldn't sit in a corpus that may go public (e.g. for a public review or backups) - Any case where you want a clean strip + audit trail (NOT silent deletion) ## When NOT to use - Removing entire memory files → use `git rm` + commit - Bulk cleanup → use the `dreaming` skill's pruning pass instead - Nothing got tracked yet → just don't write it ## Workflow ### Invocation ``` /redact <file-path> "<search-pattern>" "<reason>" ``` Examples: ``` /redact memory/Context/partner-event.md "sk-XXXX..." "leaked API key" /redact outputs/raw/agent/2026-04-25-self-audit.md "<counterparty name>" "PII. anonymize counterparty" /redact memory/Decisions.md "+1555..." "phone number leaked" ``` ### Steps the skill executes 1. **Read the target file.** Verify it exists and is in `memory/` or `outputs/` (refuse on `.env`, `.ssh/`, anything outside the workspace). 2. **Find matches.** Show every line containing the pattern (with line numbers). User confirms before any change. 3. **Replace each match in place** with `[REDACTED YYYY-MM-DD reason="<reason>"]` (pattern length ...

Details

Author
0xUrsanomics
Repository
0xUrsanomics/utopia-os
Created
5 days ago
Last Updated
today
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category