Redaction Check Action — Git skill for Claude Code
GitHub Action that scans a PR's added lines for the shapes of private content before agent-written material merges.
How to install Redaction Check Action
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jimy-r/redaction-check-action and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Redaction Check Action does
GitHub Action that scans a PR's added lines for the shapes of private content before agent-written material merges.
Alternatives in Git
- Bulletproof Quick Start Guide — Target Audience: Complete beginners Never used Python/git before 11.1k ★
- Claude.md Template For Users — Attribution: Behavioral patterns adapted from obra/superpowers by Jesse Vincent (@obra), MIT License 6.8k ★
- Claude Code Action — A general-purpose Claude Code action for GitHub PRs and issues that can answer questions and implement code ch 6.6k ★
README
redaction-check-action
A composite GitHub Action that scans a pull request's added lines for the shapes of private content before they merge. It looks for email addresses, absolute home paths, credential and token prefixes, private-IP and hostname shapes, and filenames that are almost always meant to stay untracked.
It works entirely off the diff, against the *shape* a leak tends to take rather than a live denylist of real secrets (this is a public action, so it can't ship one). That keeps it fast and dependency-free, and it keeps the gate honest about its own scope. Catching common-shaped mistakes is not the same as guaranteeing privacy.
What it catches
- Email addresses - flagged unless the domain is a known placeholder (
example.com,*.example, GitHub's ownusers.noreply.github.com, and a short list of common doc-placeholder domains). - Absolute home paths - POSIX (
/home/,/Users/) and Windows (C:\Users\orC:/Users/), unlessis an obvious placeholder (alice,example, the GitHub-hosted runner's own account, and similar). - Credential and token prefixes - Anthropic, OpenAI-shaped, AWS, GitHub, Slack, Google, and Stripe keys, plus a PEM private-key block. Each pattern matches a documented, high-entropy shape the issuer publishes, not a guess.
- Private and link-local IPs, and
.localhostnames - the RFC 1918 ranges, RFC 3927 link-local, and mDNS-stylename.localhosts, any of which can fingerprint a specific home or office network. - Secret-shaped filenames -
.envand its variants, SSH private keys,.pem/.key/.pfx/.p12files,credentials.json-style files,.netrc,.npmrc,.pgpass, andsecrets.{yaml,json,toml}. Checked once per file added, not per line, since the finding is "this file shouldn't be here" rather than anything about a specific line in it.
Every pattern lives in `redaction_check.py`, next to a comment explaining why it's there. High-confidence shapes on
Related Skills
Pantheon Consolidate
Find and merge duplicate or similar memory entries. /pantheon-consolidate scans for duplicates, shows preview,
Cr Public
Babysit a PUBLIC propagation PR (default repo yotamleo/Himmel) to CR-clean + CI-green before the operator merg
Open Contribute
Agent Skills that take you from "I want to contribute to open source" to a submitted pull request — and measur
Secondmate Doctor
Check and auto-fix secondmate's requirements (checker/reason harness, git/gh/python, and companions herdr/pony
CI Check
Analyze failed CI checks on a PR, determine if failures are flaky/infra, need a master merge, or require code
Pre Merge Check
Run pre-merge checks before submitting a PR
Related Agents
Impact
Calculate diff stats for changes — meaningful lines added and removed, with the noise filtered out. Cheap and
Personal Ingest
Ingests personal/private material — meeting notes (Granola, pasted, hand-summarized), voice memos (.opus / .m4
Character Simulator
Run one character's turn in a simulated world. Given who the character is (persona, values, drives, current st