Skip to content
Back to skills

Messageguard

ASecurity

"1. Clone the repository: git clone

  • 21 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
securitypythongoawsdebugginggitapi

Works with

  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill messageguard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Messageguard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Messageguard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-messageguard/badge)](https://www.skillsdirectory.com/skills/modbender-messageguard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: messageguard
description: "1. Clone the repository: git clone
  git@github.com:AndrewAndrewsen/MessageGuard.git. 2. Navigate to the directory.
  The skill is dependency-free, relying only on the Python standard library."
---


### MessageGuard: Outgoing Message Filter Skill

**Purpose**: MessageGuard filters outgoing text to prevent secret leaks and sensitive data exposure by using pattern-based detection and configurable actions (mask, block, or warn).

### Advanced Configuration Options:

- **`mode`**: Determines the global action for matched patterns. Options are:
  - `mask`: Replace sensitive data with the `mask_char`.
  - `block`: Prevent the message from being sent entirely.
  - `warn`: Allow the message but generate warnings.
- **`mask_char`**: The character(s) used to replace sensitive content when `mode` is set to `mask`.
- **`patterns`**: Define or customize regex-based detections. Built-ins exist for API keys, credentials, and more (e.g., AWS keys, JWTs). Add new patterns based on your requirements.
- **`logging`**: Enable detections to be logged as structured JSON for monitoring, debugging, or compliance needs. Configure the `log_path` for the output location.
- **Custom Patterns**: Users can define their custom patterns to override built-ins or extend functionalities. This supports regex and granular action control (mask, block, warn).

**Installation**
1. Clone the repository: `git clone git@github.com:AndrewAndrewsen/MessageGuard.git`.
2. Navigate to the directory. The skill is dependency-free, relying only on the Python standard library.

Files in this skill

  • CONFIG.md1.8 KB
  • SKILL.md1.6 KB
  • references/config-schema.md3.5 KB
  • references/integration.md4.5 KB
  • references/patterns.md5.1 KB
  • scripts/filter_message.py15.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.