secrets-rotation
What to do the moment a secret is exposed — pasted into chat, committed, logged, shown in a transcript or a screenshot.
Skill by avelikiy
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/avelikiy-secrets-rotation
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, security, productivity
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/secrets-rotation
Tools it pre-approves 3
From allowed-tools in SKILL.md: the agent may use these without asking you each time.
Read,Bash,Grep
What's inside
- Skill name
secrets-rotation- Description
- 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.
- License
- MIT
- Allowed tools
- Read,, Bash,, Grep
- Instructions
- 47 lines in SKILL.md · view on GitHub
Before installing
- Pre-approves some shell commands
Agent Skills spec issues
- files: referenced but missing: scripts/lib/secret-patterns.mjs
Files (1)
- SKILL.md
SKILL.md (first lines)
# 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
bd create "Rotate <kind> exposed in <where> on <date>" -t bug -p 0 \
-d "Exposed: <where>. Revoke at <provider console>, issue new, store in <secret store>, redeploy <consumers>, prove the old one is rejected."
```
Priority 0 for a production credential or anything that moves money; 1 otherwise.
4. **If you can rotate it, rotate it** — the operator asked you to handle it, or your
task covers that system. If it needs the operator (a provider console you cannot
reach, a hardware token), the task's first line says exactly what they must click.
## Done means the old value is refused
A rotation is closed with evidence, not with "rotated":
- the new value is in the secret store the code reads — never in `CLAUDE.md`,
`preferences.md`, memory files, a README or any file that is loaded into a model's
context (one key in a preferences file reached 605 transcripts);
- every consumer was redeployed and uses it (`deploy-landed`, config check);
- **a call with the old value fails** — 401/403 from the provider. That is the proof.
## Carrying it forward
An open rotation task older than 48 hours goes to the top of the next session's report
and of `/inbox`, with its age. Do not re-list it in the session log as a fresh item —
link the task. Re-writing a reminder is how the seven-session carry-over happened.From avelikiy/great_cto, MIT.
More from avelikiy/great_cto
- 0.776score
opportunity-solution-tree
avelikiy
Build an Opportunity Solution Tree (OST) to structure product discovery — map a desired outcome to customer opportunities, possible solutions, and experiments.
SkillAFreshness: A★ 105Claude Code - 0.776score
signing-preflight
avelikiy
Before the first commit of a session, check that commit signing will work — the key is loaded and unlocked — and ask the operator to unlock it once, up front…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
deploy-landed
avelikiy
Prove a deploy landed — the served revision is the commit you meant, its env is present, and the product does its job — instead of trusting the deploy…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
observability-baseline
avelikiy
Scaffold-time observability so a shipped product is not blind in prod from day one — error capture (Sentry), request-id structured logging, and /healthz +…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
quant-validation
avelikiy
The methods a financial-ML result has to survive before it is evidence — purged cross-validation with an embargo, triple-barrier labelling, sample uniqueness…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
brainstorming
avelikiy
Structured idea generation + multi-LLM debate for the product-owner stage.
SkillAFreshness: A★ 105Claude Code - 0.776score
aesthetic-instrument
avelikiy
great_cto's own committed aesthetic — the instrument panel.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
committed-aesthetic
avelikiy
How to write — and how to use — a skill that IS one aesthetic rather than a catalogue of them.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
lifecycle-messaging
avelikiy
Email/SMS lifecycle and deliverability framework for SMB Product-Builder products that send transactional or lifecycle messages (booking reminders, CRM…
SkillAFreshness: A★ 105Claude Code - 0.776score
migration-ready-schema
avelikiy
Data-model rules that make a schema importable from day one, so the migration-import-engineer is never blocked on missing columns.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
outcome-roadmap
avelikiy
Transform an output-focused roadmap (feature list) into an outcome-focused one.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
skeptical-triage
avelikiy
Reusable 3-round self-challenge + arbiter pattern for filtering false positives from findings/verdicts.
SkillAFreshness: A★ 105Claude Code +9
Signals
- Stars
- 105
- Forks
- 13
- Open issues
- 5
- Last commit (this folder)
- Sep 22, 2026 (1 month ago)
- Last release
- Oct 23, 2026 (6 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/avelikiy/great_cto
- Website
- greatcto.systems
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from avelikiy
- 0.776score
deploy-landed
avelikiy
Prove a deploy landed — the served revision is the commit you meant, its env is present, and the product does its job — instead of trusting the deploy…
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
lifecycle-messaging
avelikiy
Email/SMS lifecycle and deliverability framework for SMB Product-Builder products that send transactional or lifecycle messages (booking reminders, CRM…
SkillAFreshness: A★ 105Claude Code - 0.776score
aesthetic-instrument
avelikiy
great_cto's own committed aesthetic — the instrument panel.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
brainstorming
avelikiy
Structured idea generation + multi-LLM debate for the product-owner stage.
SkillAFreshness: A★ 105Claude Code - 0.776score
committed-aesthetic
avelikiy
How to write — and how to use — a skill that IS one aesthetic rather than a catalogue of them.
SkillAFreshness: A★ 105Claude Code +9 - 0.776score
migration-ready-schema
avelikiy
Data-model rules that make a schema importable from day one, so the migration-import-engineer is never blocked on missing columns.
SkillAFreshness: A★ 105Claude Code +9
Cite this page
secrets-rotation skill. Agent Mart. https://agentmart.dev/skills/avelikiy-secrets-rotation (last updated 2026-10-24)