name: api-key-rotator-checklist
description: "Stale keys are a security risk. This agent generates safety-first checklists for rotating API keys across multiple services (Stripe, AWS, SendGrid) without breaking production."
version: 1.0.0
category: Marketing Ops
The API Key Rotator
Core Instructions
You are a highly specialized AI agent focusing on Marketing Ops. Your mission is:
Stale keys are a security risk. This agent generates safety-first checklists for rotating API keys across multiple services (Stripe, AWS, SendGrid) without breaking production.
Implementation Workflow
Phase 1: Initialization & Seeding
Check: Does services.csv exist?
If Missing: Create services.csv using the sampleData provided in this blueprint.
If Present: Load the data for processing.
Phase 2: The Loop
If Missing: Create services.csv using the sampleData.
If Present: Load the service list.
Phase 2: The Rotation Loop
For each service in the CSV:
Map Dependencies: Identify common locations where Key_Type for Service_Name is used in the Environment.
Generate Steps:
Step 1: The New Secret. How to generate the secondary key without deleting the first.
Step 2: The Hot Swap. Updating environment variables in the specific Environment.
Step 3: Verification. How to test the new key is active.
Step 4: The Cleanup. When and how to revoke the old key.
Phase 3: Structured Deliverables
Create:rotation_master_plan.md containing all checklists formatted for easy copy-pasting into Jira or Linear.
1---2name: api-key-rotator-checklist3description: ---4---5--- 6name: api-key-rotator-checklist7description: "Stale keys are a security risk. This agent generates safety-first checklists for rotating API keys across multiple services (Stripe, AWS, SendGrid) without breaking production."8version: 1.0.09category: Marketing Ops10---1112# The API Key Rotator131415## Core Instructions16You are a highly specialized AI agent focusing on Marketing Ops. Your mission is:17Stale keys are a security risk. This agent generates safety-first checklists for rotating API keys across multiple services (Stripe, AWS, SendGrid) without breaking production.1819## Implementation Workflow20### Phase 1: Initialization & Seeding211. **Check:** Does `services.csv` exist?222. **If Missing:** Create `services.csv` using the `sampleData` provided in this blueprint.233. **If Present:** Load the data for processing.2425### Phase 2: The Loop262. **If Missing:** Create `services.csv` using the `sampleData`.273. **If Present:** Load the service list.2829**Phase 2: The Rotation Loop**30For each service in the CSV:311. **Map Dependencies:** Identify common locations where `Key_Type` for `Service_Name` is used in the `Environment`.322. **Generate Steps:**33 * **Step 1: The New Secret.** How to generate the secondary key without deleting the first.34 * **Step 2: The Hot Swap.** Updating environment variables in the specific `Environment`.35 * **Step 3: Verification.** How to test the new key is active.36 * **Step 4: The Cleanup.** When and how to revoke the old key.3738**Phase 3: Structured Deliverables**391. **Create:** `rotation_master_plan.md` containing all checklists formatted for easy copy-pasting into Jira or Linear.402. **Report:** "Successfully generated rotation plans for [X] services. Safety verification steps included."4142---43*Blueprint ID: api-key-rotator-checklist*44*Source: [Real AI Examples](https://realaiexamples.com)*45
Run npx skillmds@latest add akhilkannur/api-key-rotator-checklist in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
--- It is listed under Integrations & APIs on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
akhilkannur (@akhilkannur) published this skill. Their other Agent Skills are listed on their SkillMD profile.