redact-pii
Detect and remove personal data before content crosses a trust boundary, returning usable scrubbed content only when a deterministic residual scan passes.
Skill by runxhq
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/runxhq-redact-pii
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/redact-pii
What's inside
- Skill name
redact-pii- Description
- Detect and remove personal data before content crosses a trust boundary, returning usable scrubbed content only when a deterministic residual scan passes. Use for exports, prompts, logs, support material, or outbound handoffs that need a pass, review, or block verdict; it does not move content or handle credentials.
- License
- Apache-2.0
- Instructions
- 55 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (15)
- SKILL.md
- ambiguous-name-needs-review.yaml · fixtures/
- composes-in-graph.yaml · fixtures/
- direct-leakage-stops.yaml · fixtures/
- obfuscated-email-stops.yaml · fixtures/
- redact-pii-blocked.yaml · fixtures/
- redact-pii-needs-content.yaml · fixtures/
- redact-pii-ready.yaml · fixtures/
- composed.graph · fixtures/support/
- tokenize-stable-placeholders.yaml · fixtures/
- mark.svg
- redact-pii.mjs
- catalog.md · references/
- mark-license.md · references/
- run.yaml
SKILL.md (first lines)
# Redact PII
Treat the verdict as a boundary gate. Only `ready` returns content that may cross the boundary. `needs_review` and `blocked` return no residual content.
## Procedure
1. Resolve `mode`: `redact`, `tokenize`, or `block`. Resolve target classes from `classes`; omitted classes use the broad default policy.
2. Inspect the supplied content and return PII detections as class, UTF-16 code-unit span, and confidence. Never copy a matched value into the report or reasoning.
3. Use semantic judgment for names, addresses, quasi-identifiers, and whether removal destroys meaning. Choose `needs_review` when confidence is insufficient.
4. The deterministic finalizer validates spans and policy, performs the replacements itself, scans the residual for direct and obfuscated high-confidence identifiers, computes source and residual digests, and strips residual content unless the final decision is `ready`.
5. A `block` policy always returns `blocked`. This skill never sends, exports, logs, or stores content.
The finalizer, not the agent, owns replacement text and digests. `redact` emits `[REDACTED:CLASS]`; `tokenize` emits stable per-document `[TOKEN:CLASS:N]` placeholders. Invalid or overlapping spans fail closed.
## Output
```yaml
redaction_report:
decision: ready | needs_review | blocked
detected:
- class: string
span: [integer, integer]
confidence: number
source_digest: sha256:...
redacted_digest: sha256:... | null
residual_risk:
level: low | medium | high
reason_code: string
reason: string
scanner:
status: pass | hold | block
findings:
- class: string
span: [integer, integer]
rule: string
policy:
classes: array
mode: redact | tokenize | block
locale: string
redacted_content: string
```
Scanner findings contain locations and rule names, never matched values. A clean scanner does not prove that semantic identifiers cannot exist; that uncertainty remains the reviewer agent's job and must produce `needs_review` when material.
## Agent task contracts
### `redact-pii-detect`
Inspect only the supplied content. Return redaction_draft with decision (ready, needs_review, or
blocked), detected spans as class, UTF-16 start/end offsets, and confidence, plus residual_risk
with level and reason_code. Never include matched values. Use reason_code none,
ambiguous_semantics, scrubbing_destroys_meaning, policy_block, or insufficient_context. The
deterministic finalizer owns all replacements, scanning, digests, and the final pass gate.From runxhq/runx, Apache-2.0.
More from runxhq/runx
- 0.719score
skill-review
runxhq
Inspect, safely test, and assess one Runx skill package for capability, trust, and operator readiness.
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
policy-draft
runxhq
Draft or tighten a Runx operational policy from a governance brief, then validate the exact runx.operational_policy.v1 contract with the native policy engine.
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
reddit
runxhq
Manage named Reddit accounts through their existing browser sessions, find useful conversations, draft in each account's voice, and submit one exactly…
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
code-plan
runxhq
Compile a bounded objective or code-intake change set into a dependency-safe Runx execution plan, with deterministic checks for evidence preservation…
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
prior-art
runxhq
Inspect bounded local repository and Runx catalog evidence before a design, draft, or operator decision, then produce citation-bound findings and a reuse…
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
cold-outreach
runxhq
Prepare one relevant, evidence-bound cold email for an exact prospect using scoped brand and taste context; hold unsafe or unsupported contact and leave…
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
conversation-review
runxhq
Review one grounded provider-neutral conversation, prepare an unsent reply or follow-up, and identify genuine coding requests for a separate engineering intake.
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
crm-update-plan
runxhq
Reconcile a call transcript against current CRM records and propose allowlisted field updates, each traced to a verbatim transcript quote, with the write left…
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
attention-review
runxhq
Decide which bounded personal observations warrant attention, then return a source-bound private briefing intent and next-check proposal.
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
content-package
runxhq
Turn governed source evidence into a citation-bound reader-facing draft, channel package, and provider-neutral publication handoff.
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
contact-consent-review
runxhq
Decide and record conservative contact-consent transitions from bounded engagement, bounce, and consent evidence before any send.
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
agent-session
runxhq
Work one turn of a host's agent through runx.
SkillAFreshness: A★ 104Claude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 104
- Forks
- 109
- Open issues
- 16
- Contributors
- 16
- Last commit (this folder)
- Oct 17, 2026 (10 days ago)
- Last release
- Oct 18, 2026 (9 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/runxhq/runx
- Website
- runx.ai
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from runxhq
- 0.719score
code-plan
runxhq
Compile a bounded objective or code-intake change set into a dependency-safe Runx execution plan, with deterministic checks for evidence preservation…
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
policy-draft
runxhq
Draft or tighten a Runx operational policy from a governance brief, then validate the exact runx.operational_policy.v1 contract with the native policy engine.
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
prior-art
runxhq
Inspect bounded local repository and Runx catalog evidence before a design, draft, or operator decision, then produce citation-bound findings and a reuse…
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
reddit
runxhq
Manage named Reddit accounts through their existing browser sessions, find useful conversations, draft in each account's voice, and submit one exactly…
SkillAFreshness: A★ 104Claude Code +9 - 0.719score
skill-review
runxhq
Inspect, safely test, and assess one Runx skill package for capability, trust, and operator readiness.
SkillAFreshness: A★ 104Claude Code +9 - 0.716score
agent-session
runxhq
Work one turn of a host's agent through runx.
SkillAFreshness: A★ 104Claude Code +9
Cite this page
redact-pii skill. Agent Mart. https://agentmart.dev/skills/runxhq-redact-pii (last updated 2026-10-24)