secret-hygiene SKILL.md skillA

secret-hygiene from sentimony/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add sentimony/skills/secret-hygiene@v0.0.6

Pins v0.0.6 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
sentimony/skills
Path
skills/secret-hygiene/SKILL.md
Versions recorded
7
Latest version
v0.0.6, committed Nov 7, 2026
First version recorded
Sep 28, 2026
Size
10,347 bytes
Repository stars
7
License
MIT

You MUST use this when using credentials from env files, environment variables, or config to call real services (APIs, CLIs, databases), when checking whether required keys exist, when asked to show credential or environment values, or when writing commit, PR, issue, or log text after credentials were used in the session - it keeps secret values out of agent output while the work still gets done.

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

Credential values never appear in anything you output: replies, tool calls, command
arguments, tool output you cause to be printed, files you write, logs, commits, PR texts,
or issues. Refer to a credential only by its placeholder name, such as `<API_TOKEN>` or
the key name in the env file, never by its value or any part of it.

The work still gets done: you call the service the user asked about, and the credential
travels inside a process, so its value never passes through the conversation.

## Security Model

**Threat model.** This skill guards against accidental leaks by a cooperative agent: a
debug print, a verbose HTTP client, a traceback with headers, an API that echoes the token
back, or a PR text that quotes a command. It does not defend against a malicious agent,
arbitrary code that already has access to the secret, or a deliberate bypass of a guard.
No output channel is guaranteed clean; the skill reduces the chance of a leak on the paths
it names.

**Advisory only.** This package ships no hooks, deny rules, or sandbox configuration. When
the project has no guard, the procedure below is the only protection, so follow it even
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add sentimony/skills/secret-hygiene@sha256:3f82779fa27a9b13

The line at the top of this page pins the label v0.0.6, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_asfwodx3o5g5yqhl.svg)](https://markdownregistry.com/a/art_asfwodx3o5g5yqhl)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 7 versions of this file, between Sep 28, 2026 and Nov 7, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
v0.0.6 latest2026-11-07 e2d7cec 10,347 BA view · diff
v0.0.52026-11-04 6022530 10,258 BA view · diff
v0.0.42026-11-04 efb8f2a 10,074 BA view · diff
v1.1.12026-11-01 9838372 10,074 BA view · diff
git:20261008.8af480a2026-10-08 8af480a 10,032 BA view · diff
v1.0.12026-10-01 832a9a8 10,117 BA view · diff
v1.0.02026-09-28 611f0c8 10,099 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (10347 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

GitHub

sentimony/skills · 7 stars · license MIT · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_asfwodx3o5g5yqhl
GET https://markdownregistry.com/api/v1/resolve?ref=sentimony/skills/secret-hygiene
GET https://markdownregistry.com/api/v1/blob/3f82779fa27a9b13d0fe61a8f9d032a124992f73e276e01a7218c85dc6856298

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 sentimony/skills

AGENTS.md AGENTS.md file
sentimony/skills · AGENTS.md
git:20261107.e2d7cec · audit A · 7 stars
CLAUDE.md CLAUDE.md file
sentimony/skills · CLAUDE.md
git:20260705.8649428 · audit B · 7 stars
branch-finish SKILL.md skill
sentimony/skills · skills/branch-finish/SKILL.md · You MUST use this when verified development work is ready for an integration or handoff decision - merging, pushing…
v0.0.18 · audit A · 7 stars
commit-all SKILL.md skill
sentimony/skills · skills/commit-all/SKILL.md · You MUST use this when the user asks to commit all current changes at once, via /commit-all or in words ("commit…
v0.0.15 · audit A · 7 stars
cross-review SKILL.md skill
sentimony/skills · skills/cross-review/SKILL.md · You MUST use this when an implementation plan or a finished implementation needs an independent review by other agent…
v0.0.13 · audit A · 7 stars
dashfix SKILL.md skill
sentimony/skills · skills/dashfix/SKILL.md · You MUST use this when writing or substantively editing prose in a project (docs, READMEs, UI copy) and when asked to…
v0.0.17 · audit A · 7 stars
debugging SKILL.md skill
sentimony/skills · skills/debugging/SKILL.md · You MUST use this when investigating bugs, regressions, failing tests, build or integration failures, flaky behavior…
v0.0.18 · audit A · 7 stars
echarts SKILL.md skill
sentimony/skills · skills/echarts/SKILL.md · You MUST use this when building, styling, debugging, or optimizing Apache ECharts charts in JavaScript, React, or Vue -…
v0.0.18 · audit A · 7 stars
frontend-crafting SKILL.md skill
sentimony/skills · skills/frontend-crafting/SKILL.md · You MUST use this when building, implementing, redesigning, reviewing, or refining user-facing interfaces - including…
v0.0.14 · audit A · 7 stars
gh-switch SKILL.md skill
sentimony/skills · skills/gh-switch/SKILL.md · You MUST use this when a project-scoped GitHub CLI (gh) command is about to run on github.com, including every…
v0.0.11 · audit B · 7 stars
git-worktree-isolation SKILL.md skill
sentimony/skills · skills/git-worktree-isolation/SKILL.md · You MUST use this when deciding whether development work needs workspace isolation - before implementing plans, risky…
v0.0.12 · audit A · 7 stars
inline-plan-dev SKILL.md skill
sentimony/skills · skills/inline-plan-dev/SKILL.md · You MUST use this when executing an existing implementation plan directly in the current agent session, including…
v0.0.16 · audit A · 7 stars

Every file in sentimony/skills

Other files named secret-hygiene

secret-hygiene SKILL.md skill
mcpgate-de/maisecrets · skills/secret-hygiene/SKILL.md · Protect secrets from the AI and clean up those that already leaked. Use when the user wants to protect passwords, keys…
git:20261016.bd77b9d · audit A · 8 stars
secret-hygiene SKILL.md skill
smicolon/ai-kit · packs/infisical/skills/secret-hygiene/SKILL.md · This skill activates when detecting hardcoded strings that look like API keys or credentials, creating .env files…
git:20260218.21b554b · audit A · 7 stars

Browse by kind, by grade A, or by owner.