Works with the AI Agents you already use
AirgapGuard: Offline Secret & PII Masker for AI Agents
100% offline MCP server that automatically masks and locally restores API keys, passwords, and PII in AI prompts.
$19.99
AirgapGuard: Offline Secret & PII Masker for AI Agents
Example session with this skill installed
Scan my current workspace for any exposed credentials and then sanitize the content of my .env file so I can safely ask you to optimize the database configuration.
- Read your context and instructions
- Compiled the airgapguard
I have audited the workspace and sanitized the requested configuration file. The sensitive values have been replaced with reversible placeholders to ensure they are not sent to the model.
Workspace Audit & Sanitization Report
| Item | Result | Details |
|---|---|---|
| Risk Level | ELEVATED | Two sensitive files detected in the root directory. |
| Exposed Files | .env, id_rsa | Files are present and potentially untracked by git. |
| Sanitization | SUCCESS | 4 secrets redacted in .env. |
| Session ID | vault_7f2a9b | Use this ID to restore values later. |
| Detected Types | DATABASE_URI, KEY | High-entropy strings and connection URIs found. |
Sanitized .env Preview
PORT=3000
DB_URL=<AIRGAP_CREDENTIAL_1>
AWS_SECRET_ACCESS_KEY=<AIRGAP_CREDENTIAL_2>
JWT_SECRET=<AIRGAP_CREDENTIAL_3>
STRIPE_KEY=<AIRGAP_CREDENTIAL_4>
DEBUG=false
Next steps
- Review the recommendations in the audit to move
id_rsato a secure location. - Provide instructions for database optimization using the sanitized variables above.
- Once the new config is generated, I will use
airgap_desanitize_patchto restore your actual keys locally.
Connects securely to your tools. The creator never sees your data.
About this skill
Sharing configuration files or logs with AI agents often leads to accidental leaks of API keys, database strings, and PII. This skill provides a 100% offline MCP server that scrubs sensitive data before it reaches the model and restores it locally after code generation.
What it does
- Redact Sensitive Data Scans text to replace credentials, private keys, and PII with reversible placeholders.
- Restore Secrets Locally Re-inserts original credentials into generated code or patches without exposing them to the LLM.
- Audit Workspace Security Scans directory trees for exposed
.envfiles, SSH keys, and certificates to assess risk. - Shannon Entropy Detection Identifies unformatted passwords or raw tokens by calculating character randomness.
- Synthetic Mocking Generates safe, inert environment variables for testing without using real production values.
How it works
- Sanitize Use
airgap_sanitize_textto scrub code or logs, receiving asession_idand masked placeholders. - Process Pass the sanitized version to the AI agent for analysis or refactoring.
- Desanitize Use
airgap_desanitize_patchwith thesession_idto swap placeholders back for real secrets before saving. - Audit Run
airgap_audit_workspaceon new repos to find and fix tracking leaks.
Frameworks & tools
This skill is built for the Model Context Protocol (MCP). It integrates with Claude Code, Cursor, Windsurf, GitHub Copilot, and any standard MCP client.
Why this beats prompting it yourself
Prompt-based redaction is unreliable because the model still "sees" the secrets in the context window before scrubbing them. This tool processes data locally on your machine, ensuring sensitive strings never leave your environment.
Use cases
- Reviewing production logs or
.envfiles within an AI chat interface. - Generating git patches that require local database connection strings.
- Scanning a legacy codebase for hardcoded keys and high-entropy tokens.
- Complying with zero-trust policies in regulated FinTech or Healthcare sectors.
Known limitations
Secret mappings reside strictly in memory and are lost if the MCP server process restarts. It requires a local Python environment to run the server.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 7 days ago
- Software
Python
Git
Permissions
What's inside
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.