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 ★
- DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★
- Llmio — LLM API load-balancing gateway 274 ★
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
Amore
Local-first AI memory backbone for IDE/agent assistants — Claude Desktop / Claude Code / Cursor / Cline / Cont
Local Secure Prompt Agent
Browser extension that redacts PII (emails, phone numbers, Aadhaar/PAN, API keys, names, locations) from promp
Kiro Gateway
Compliance-first AI gateway for Kiro: connect OpenAI, Anthropic, ACP, Claude Code, Cursor, OpenCode, and MCP t
Unsent
AutoRecover for your AI agent prompts: never lose a half-written Claude Code message to a crash, a closed wind
Pii Guard
繁體中文(台灣)個人資料去識別化工具,讓業務文件可以安全地送進 AI 處理 / Reversible Traditional-Chinese (Taiwan) PII de-identification for LLM
Related Agents
Security Privacy Guardian
Use when validating PII handling (LGPD/GDPR), secret leakage in code/prompts/traces, eval-case sanitization, o
Compliance Judge
Truth Tribunal judge — PII, N1-N4b levels, format rules, confidentiality
Verify Data Privacy
STAGE 3 VERIFICATION - Data privacy and compliance. Ensures GDPR, PCI-DSS, HIPAA compliance, PII handling, and