Local Secure Prompt Agent — AI skill for Claude Code
Browser extension that redacts PII (emails, phone numbers, Aadhaar/PAN, API keys, names, locations) from prompts before they reach ChatGPT, Claude, Gemini, and other AI chat tools — 100% local, no bac.
How to install Local Secure Prompt Agent
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Doffla-mingo/Local-Secure-Prompt-Agent- and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Local Secure Prompt Agent does
Browser extension that redacts PII (emails, phone numbers, Aadhaar/PAN, API keys, names, locations) from prompts before they reach ChatGPT, Claude, Gemini, and other AI chat tools — 100% local, no backend, no network calls.
Alternatives in AI
- Nodeterm — Node-based terminal manager for AI coding agents — tmux-backed terminals and parallel agent sessions as dragga 1.3k ★
- Phantom — An AI co-worker with its own computer 1.3k ★
- DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★
README
🛡 Privacy Agent
**A browser extension that redacts sensitive information from your prompts before they ever reach ChatGPT, Claude, Gemini, Copilot, or any other AI chat tool — entirely on your device.**
No cloud calls. No model downloads at runtime. No backend server. Detection and redaction happen synchronously, in your browser, the moment you paste something into an AI chat box.
Why
AI chat tools are increasingly where people paste logs, customer data, internal docs, and personal details to get help. Most of the time nobody notices that an email, a phone number, an API key, or a government ID slipped into the prompt along with everything else. Privacy Agent sits between your clipboard and the composer box and strips that out automatically, before it's ever sent.
How it works
Every paste into a supported AI chat site goes through two fully local, synchronous passes before it's allowed into the composer:
- Pattern matching (regex) — catches structured, high-confidence PII: emails, Indian phone numbers, Aadhaar numbers, PAN numbers, IP addresses, API keys, generic secrets, and passwords.
- NLP detection — catches names, locations, and organizations using `compromise`, a lightweight pure-JavaScript NLP library, combined with:
- contextual phrase patterns (
"my name is X","I work at X","I live in X") - a curated gazetteer of Indian states and major cities
- a user-editable personal terms list — add your own name, employer, or city once, and it's always redacted regardless of phrasing
- contextual phrase patterns (
Both passes run before the paste event is allowed through, so the browser's default paste action is blocked and replaced with the sanitized version in one step. Nothing is sent anywhere to make this decision — there's no API call involved in detection at all.
What gets redacted
| Category | Method | Example |
|---|---|---|
| Email addresses | Regex | [EMAIL] |
| Indian phone numbers |
Related Skills
Mask2ai
PII redaction for ChatGPT, claude.ai and Claude Code. Masks names, emails, phone numbers, cards, IBANs and IDs
AI Helpdesk
AI-powered helpdesk that turns inbound support emails into tickets — Claude classifies category/urgency/sentim
PrivAiTe
Self-hosted PII redaction proxy for LLM APIs and agent CLIs. Scrubs names, emails and secrets from Claude Code
Chamber
Checks that the numbers, capitalised names, and file names in a claim occur in the indexed note. Local, no mod
PIIGuardAI
A macOS menu bar app that blocks messages containing PII before they reach Claude, ChatGPT, Gemini, and other
Synthelion
Synthelion compresses prompts before they reach any AI model — cutting token usage by up to 70%, reducing API
Related Agents
Extension Developer
Browser extension expert. Use PROACTIVELY for Chrome Manifest V3, service workers, content scripts, extension
Database Admin
Use this agent when you need to work with database systems, including querying for data analysis, diagnosing p
Backend Implementor Specialist
Use this agent to implement BACKEND work — routes, controllers, services, schemas, migrations, workers, queues