secret-warn SKILL.md skillF

secret-warn from mycelium-hq/ai-brain-starter is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mycelium-hq/ai-brain-starter/secret-warn@git:20260929.b3e7207

Pins git:20260929.b3e7207 in mdr.lock. Pin the fingerprint instead.

Audit grade
F, 14 of 17 checks passed
Kind
SKILL.md skill
Repository
mycelium-hq/ai-brain-starter
Path
skills/secret-warn/SKILL.md
Versions recorded
4
Latest version
git:20260929.b3e7207, committed Sep 29, 2026
First version recorded
May 19, 2026
Size
9,873 bytes
Repository stars
50
License
MIT

Use when adding or tuning edit-time secret and code-injection guardrails or security hooks in Claude Code, or on mentions of secret detection, API key safety, hardcoded or leaked keys (AWS, Stripe, GCP, OpenAI, Anthropic, GitHub, Slack, JWT, PEM, .env), gitleaks-style or pre-commit secret scanning, false positives or allowlists, unsafe pipe-to-shell or MCP server installs, or prompt injection in audited third-party content (README, AGENTS.md). Not for full security audits, pen testing, or DLP.

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-warn — real-time edit-time security guardrails

Catches secrets and unsafe patterns the moment a Claude Code agent writes them, not after the fact. Public substrate version (MIT). Free to install, free to extend.

## What it does

| Trigger | Severity | Action |
|---|---|---|
| API key in file (Stripe, AWS, GCP, OpenAI, Anthropic, GitHub, Slack) | block (exit 2) | Edit rejected |
| PEM-encoded private key block | block | Edit rejected |
| High-entropy assignment to a key-named variable | warn (exit 1) | Advisory, edit proceeds |
| Python dynamic-codegen on a user-input-suggesting name | warn | Advisory |
| Subprocess with shell-mode + variable expansion | warn | Advisory |
| Curl/wget pipe-to-shell from a non-allowlisted host | block | Edit rejected |
| Prompt-injection cue in *audited third-party content* (ignore-previous, role-override, exfil, system-impersonation, paste-and-run) | warn (flag-before-read) | Specimen flag via `audited_content_scan.py` — never an edit-time block |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mycelium-hq/ai-brain-starter/secret-warn@sha256:ae907be9eb613315

The line at the top of this page pins the label git:20260929.b3e7207, 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_fjmubvlf4vf7rv5q.svg)](https://markdownregistry.com/a/art_fjmubvlf4vf7rv5q)

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

Versions

The registry has recorded 4 versions of this file, between May 19, 2026 and Sep 29, 2026, about one every 44 days.

versioncommittedcommitsizeaudit
git:20260929.b3e7207 latest2026-09-29 b3e7207 9,873 BF view · diff
git:20260707.f0ac9032026-07-07 f0ac903 8,376 BF view · diff
git:20260622.dbfb5922026-06-22 dbfb592 8,921 BF view · diff
git:20260519.2f1303d2026-05-19 2f1303d 6,414 BF view

Audit of the latest version

F  14 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • FAIL, critical: No credential-shaped string (matched: AKIAIOSFODNN7EXAMPLE)
  • FAIL, critical: No instruction to send local credentials anywhere (matched: exfiltrate `~/.ssh)
  • fail: No prompt-injection phrasing (matched: ignore prior instructions)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (9873 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 text hidden with inline styles
  • 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

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

mycelium-hq/ai-brain-starter · 50 stars · license MIT · pushed 2026-11-06 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fjmubvlf4vf7rv5q
GET https://markdownregistry.com/api/v1/resolve?ref=mycelium-hq/ai-brain-starter/secret-warn
GET https://markdownregistry.com/api/v1/blob/ae907be9eb613315748088683d163e7f91bbe8bc9a9349dda8e772133300a0c4

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 mycelium-hq/ai-brain-starter

CLAUDE.md CLAUDE.md file
mycelium-hq/ai-brain-starter · CLAUDE.md
git:20260818.2d55cd9 · audit A · 50 stars
setup-brain SKILL.md skill
mycelium-hq/ai-brain-starter · SKILL.md · Set up or upgrade an AI-powered Obsidian vault. Interviews you, builds your vault structure (or works with what you…
git:20261013.d877685 · audit A · 50 stars
CLAUDE.md@agentic-os/kernel CLAUDE.md file
mycelium-hq/ai-brain-starter · agentic-os/kernel/CLAUDE.md
git:20260621.dd54b61 · audit A · 50 stars
AGENTS.md@docs AGENTS.md file
mycelium-hq/ai-brain-starter · docs/AGENTS.md
git:20260824.134197c · audit A · 50 stars
backfill-journal-body-context SKILL.md skill
mycelium-hq/ai-brain-starter · skills/backfill-journal-body-context/SKILL.md · Use when the user says /backfill-journal-body-context, wants existing daily journal entries enriched with body data…
git:20260714.efc8026 · audit A · 50 stars
cierre-de-llamada SKILL.md skill
mycelium-hq/ai-brain-starter · skills/cierre-de-llamada/SKILL.md · Use when a SALES or CLIENT call just ended and the follow-up needs to be produced from its transcript. Triggers…
git:20260729.878d71d · audit A · 50 stars
coach SKILL.md skill
mycelium-hq/ai-brain-starter · skills/coach/SKILL.md · Use when the user says /coach (today, week, month, profile, log), asks what to do today for training, asks for a…
git:20260707.f0ac903 · audit A · 50 stars
coaching SKILL.md skill
mycelium-hq/ai-brain-starter · skills/coaching/SKILL.md · Use when the user wants to process a hard conversation, a decision they''re second-guessing, or accumulated friction…
git:20260815.d65ff26 · audit A · 50 stars
daily-journal SKILL.md skill
mycelium-hq/ai-brain-starter · skills/daily-journal/SKILL.md · Use when the user wants to journal, do a daily or end-of-day check-in, reflect on or vent about their day, brain-dump…
git:20261015.08a67f5 · audit A · 50 stars
deconstruct SKILL.md skill
mycelium-hq/ai-brain-starter · skills/deconstruct/SKILL.md · Use when a decision or strategy rests on unexamined convention: the user says ''that''s how it''s done'', ''best…
git:20260707.f0ac903 · audit A · 50 stars
diagnose SKILL.md skill
mycelium-hq/ai-brain-starter · skills/diagnose/SKILL.md · Use when an AI Brain vault needs a health check or something feels off: Claude ignores CLAUDE.md, journal entries…
git:20260816.6ac8364 · audit A · 50 stars
doubt-driven-development SKILL.md skill
mycelium-hq/ai-brain-starter · skills/doubt-driven-development/SKILL.md · Use when correctness matters more than speed: about to commit non-trivial code, make an architectural call under…
git:20260707.f0ac903 · audit A · 50 stars

Every file in mycelium-hq/ai-brain-starter

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