Cordon — AI skill for Claude Code
PII-redacting LLM compliance gateway — own your prompts; PII never leaves your perimeter.
How to install Cordon
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open askalf/cordon and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cordon does
PII-redacting LLM compliance gateway — own your prompts; PII never leaves your perimeter.
Alternatives in AI
- TokenTracker — Local-first AI token usage & cost tracker for 31 coding tools incl 1.4k ★
- Iai Personal Memory Engine — A cyber brain for your AI 866 ★
- DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★
README
cordon
[](https://github.com/askalf/cordon/actions/workflows/ci.yml) [](https://github.com/askalf/cordon/actions/workflows/codeql.yml) [](https://scorecard.dev/viewer/?uri=github.com/askalf/cordon) [](LICENSE)
own your prompts — PII never leaves your perimeter.
A drop-in **LLM compliance gateway**. Point any OpenAI- or Anthropic-compatible client at cordon and raw PII / PHI / PCI / secrets are stripped or tokenized **before** the request reaches the model. In reversible mode the real values are restored in the model's reply, so the answer stays usable while the provider only ever sees placeholders. Self-hosted — your data never leaves your network.
client ──▶ cordon ──▶ OpenAI / Anthropic
│ 1. detect PII (deterministic spans)
│ 2. redact / tokenize (ephemeral per-request vault)
│ 3. forward de-identified body upstream ← model never sees raw PII
│ 4. restore real values in the response (reversible mode, incl. streaming)
└─ audit: hash-chained log of counts/types (never values), fail-closed
Why
The model — and everything downstream of it (provider logs, retention, subprocessors) — never sees the raw value. cordon sits between your app and the provider, so no client code changes: you only change the base URL. It is **fail-closed** — if detection errors, the request is **blocked**, never forwarded with PII intact.
Quick
Related Skills
VLS 32M Context Local LLM
Give Claude Code, Codex and opencode a 32M-token memory that never leaves your machine. Local LLM server (MCP
Pii Guard
繁體中文(台灣)個人資料去識別化工具,讓業務文件可以安全地送進 AI 處理 / Reversible Traditional-Chinese (Taiwan) PII de-identification for LLM
Datafog Python
Offline PII firewall for AI agents and LLM apps: fast local detection and redaction, Claude Code hook, LiteLLM
Mem Lint
Heuristic contradiction lint across [ref]/[decision]/[tool] entries — flags polarity mismatches (enabled vs di
Headsign
A tiny phase gate for coding agents: your shell checks decide pass/fail (never the LLM), your workflow routes
Hermes
Multi-agent execution on Claude Code — no theater, just work. Most agent frameworks fake parallelism by prompt
Related Agents
Security Privacy Guardian
Use when validating PII handling (LGPD/GDPR), secret leakage in code/prompts/traces, eval-case sanitization, o
Ae Scout
Agent Engineer scout. Read-only reconnaissance before planning — reports which files matter, what conventions
Compliance Judge
Truth Tribunal judge — PII, N1-N4b levels, format rules, confidentiality