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
- 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 ★
- CCometixLine — A high-performance Claude Code statusline tool written in Rust with Git integration and real-time usage tracki 2.4k ★
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,
Gitez
A fast, native git client for macOS and Linux, written in Rust on GPUI. Review agent-made branches as local pu
Plan Ready
Run a review-and-critique convergence loop on an implementation plan BEFORE any code is written — mirrors /pr-
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
Related Agents
Demo Validator Check
Runs the mechanical gates for the live-demo and workbench builds inside the worktree named in its prompt — the
Chair Advocate
The advocate chair in the docs-assist authoring loop. Shapes a cold packet into a document and declares, as a
Redaction Verifier
Adversarial last check before one artifact ships - given a document claimed publish-ready (optionally with its