HugoLopes45

Lmsk — AI skill for Claude Code

AI community

Masks API keys, passwords, .env values and emails before Claude Code or pi sends them to the LLM, and restores them in tool calls.

How to install Lmsk

This entry records only its repository, not the path inside it, so there is no exact command to give. Open HugoLopes45/lmsk and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lmsk does

Masks API keys, passwords, .env values and emails before Claude Code or pi sends them to the LLM, and restores them in tool calls. Local proxy and pi extension.

Alternatives in AI

  • DontFeedTheAI — Transparent anonymization proxy for AI-assisted pentesting 654 ★
  • Prismor — Self-hosted runtime control plane for AI agents 334 ★
  • OpenKeylet — OpenKeylet — Local password and credential manager for AI agents via MCP 136 ★

README

lmsk

Real keys for your agent. Fakes for the model.

`lmsk` replaces detected API keys, passwords, tokens and emails with fakes before your AI coding agent sends a request to the model. Supported file and shell tools get the original values back. Keep useful context in your coding workflow, with masking handled on your computer.

[Website](https://hugolopes45.github.io/lmsk/)  ·  [Install](#install)  ·  [Agents](#agents)  ·  [FAQ](#faq)  ·  [Good to know](#good-to-know)

[![CI](https://github.com/HugoLopes45/lmsk/actions/workflows/ci.yml/badge.svg)](https://github.com/HugoLopes45/lmsk/actions/workflows/ci.yml) ![Agents](https://img.shields.io/badge/agents-Claude%20Code%20%7C%20pi-6d28d9) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Choose your agent and follow its commands.

**Claude Code**

npm install -g @hugolopes45/lmsk
lmsk claude

Requires Node.js 22.19+ and Claude Code 2.1.295+. Use `lmsk claude` in place of `claude`. Setup and compatibility: [Claude Code guide](docs/claude-code.md).

**pi**

pi install npm:@hugolopes45/lmsk

Then start pi, or type `/reload` in an open pi. Guide: [lmsk with pi](docs/pi.md).

The default rules work with no configuration. Local only: no model, no account, no telemetry.


Keep the context. Mask the secrets.

Debug from logs, configure your app and run tests with your coding agent. lmsk replaces the sensitive values it detects while preserving the surrounding text.

Your workflow What lmsk adds
Debug from application logs. Detected keys, emails and tokens become fakes; the surrounding error stays readable.
Write a configuration file with a detected API key.