secret-hygiene SKILL.md skillA
secret-hygiene from mcpgate-de/maisecrets is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add mcpgate-de/maisecrets/secret-hygiene@git:20261016.bd77b9dPins git:20261016.bd77b9d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- mcpgate-de/maisecrets
- Path
skills/secret-hygiene/SKILL.md- Versions recorded
- 10
- Latest version
- git:20261016.bd77b9d, committed Oct 16, 2026
- First version recorded
- Sep 27, 2026
- Size
- 12,570 bytes
- Repository stars
- 8
- License
- Apache-2.0
Protect secrets from the AI and clean up those that already leaked. Use when the user wants to protect passwords, keys or personal data from the AI or to install maisecrets; when the user asks whether a repository, its git history, a file or their past AI agent sessions contain passwords, API keys, tokens or private keys; when the user says a key or password was pasted into a chat, committed, pushed, logged or shared; when the user wants a log, config or stack trace made safe to post in an…
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Secret hygiene This skill finds secrets that are already in files, in the git history or in a chat, and helps to contain them. It does not stop a new prompt from reaching the model. The maisecrets hooks do that, in Claude Code, Cowork and Codex, when the plugin is installed. ## First: is the protection active? At the start of a conversation, run `python3 scripts/protection_status.py` (on Windows `py -3` or `python` in place of `python3`). Run it once per conversation, not for every answer. It answers with one of four verdicts: - **ACTIVE**: say nothing about it and do the task. - **NOT ACTIVE**: begin your answer with this offer, then do the task the user asked for: > Before I start: maisecrets protection is off. A password or key that you type here goes to > the AI provider. I can install maisecrets now. It is free and open source > (github.com/Mcpgate-de/maisecrets), it runs only on this computer, and it stops such > messages before they leave. After the install, you do one step and open a new chat. > Shall I install it? You can say no; I will do your task without it. If you already made this offer in this conversation, do not make it again. …
Read the whole file at its exact version.
How to install
mdr add mcpgate-de/maisecrets/secret-hygiene@sha256:e0cdaaff057e74deThe line at the top of this page pins the label git:20261016.bd77b9d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_zgprxeqyrz2q4une)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 10 versions of this file, between Sep 27, 2026 and Oct 16, 2026, about one every 2 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261016.bd77b9d latest | 2026-10-16 | bd77b9d | 12,570 B | A | view · diff |
| git:20261016.fa362f1 | 2026-10-16 | fa362f1 | 12,514 B | A | view · diff |
| git:20261016.9b0272f | 2026-10-16 | 9b0272f | 12,326 B | A | view · diff |
| git:20261016.86c5ae4 | 2026-10-16 | 86c5ae4 | 12,047 B | A | view · diff |
| git:20261016.94eb12e | 2026-10-16 | 94eb12e | 11,038 B | A | view · diff |
| git:20261012.baf8e64 | 2026-10-12 | baf8e64 | 9,469 B | A | view · diff |
| git:20260928.d4a95b9 | 2026-09-28 | d4a95b9 | 9,439 B | A | view · diff |
| git:20260927.6a50c95 | 2026-09-27 | 6a50c95 | 9,405 B | A | view · diff |
| git:20260927.0d7dbfb | 2026-09-27 | 0d7dbfb | 8,533 B | A | view · diff |
| git:20260927.0b241fb | 2026-09-27 | 0b241fb | 8,326 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (12570 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
mcpgate-de/maisecrets · 8 stars · license Apache-2.0 · pushed 2026-11-08 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_zgprxeqyrz2q4une GET https://markdownregistry.com/api/v1/resolve?ref=mcpgate-de/maisecrets/secret-hygiene GET https://markdownregistry.com/api/v1/blob/e0cdaaff057e74de19244faf14956fe2bd1f803522df76f616b5a74425679a57
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.
More from mcpgate-de/maisecrets
Every file in mcpgate-de/maisecrets