secrets-rotation SKILL.md skillA
secrets-rotation from avelikiy/great_cto is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add avelikiy/great_cto/secrets-rotation@git:20260922.935dbd1Pins git:20260922.935dbd1 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- avelikiy/great_cto
- Path
skills/secrets-rotation/SKILL.md- Versions recorded
- 1
- Latest version
- git:20260922.935dbd1, committed Sep 22, 2026
- Size
- 3,579 bytes
- Repository stars
- 112
- License
- MIT
What to do the moment a secret is exposed — pasted into chat, committed, logged, shown in a transcript or a screenshot. The secret is compromised; only revoking and rotating it helps. Turns it into one tracked task with an escalation, not a reminder repeated every session. Use when you see a key, token, password or private key anywhere it should not be ("ключ в чате", "токен в логах", "закоммитил .env"). Loaded by security-officer, l3-support, devops.
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
# secrets-rotation — an exposed secret is spent Deleting the message, rewriting git history or redacting the log does not un-expose a secret: the transcript, the remote, the backup and the provider's own logs already hold it. The only fix is to make the exposed value worthless — **revoke it and issue a new one**. What went wrong on real projects is not ignorance of that. It is that the rotation was **remembered instead of tracked**: "rotate the exchange API keys" was carried forward through seven session logs; "keys that passed through chat" appeared in seven summaries of another project; a monitoring token pasted in plain text was never rotated. Each session wrote the reminder again and nobody owned it. ## The moment you see one 1. **Never repeat the value.** Not in your answer, not in a task title, not in a log, not in a commit message. Name its **kind** and **where it is**: "OpenRouter API key, in the operator's message of 22.09, 14:10". `scripts/lib/secret-patterns.mjs` names the kind. 2. **Say it plainly, first line:** this key is compromised; revoking it is the only fix. 3. **Open one task, not a note** — in Beads if the project has it: ```bash …
Read the whole file at its exact version.
How to install
mdr add avelikiy/great_cto/secrets-rotation@sha256:e1a73d827aa130efThe line at the top of this page pins the label git:20260922.935dbd1, 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_l6eb3o243qb6hrf3)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Sep 22, 2026.
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 (3579 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
avelikiy/great_cto · 112 stars · license MIT · pushed 2026-11-06 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_l6eb3o243qb6hrf3 GET https://markdownregistry.com/api/v1/resolve?ref=avelikiy/great_cto/secrets-rotation GET https://markdownregistry.com/api/v1/blob/e1a73d827aa130efb38b693a3199370e25a5b2f56e7ac228780cbfcbdbb6de18
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.