MCP HubMCP Hub
SKILL·EC9243

secrets-rotation

avelikiy
Actualizado 21 days ago
4 vistas
103
13
103
Ver en GitHub
Documentosword

Acerca de

Esta habilidad crea una tarea rastreada para revocar y rotar inmediatamente cualquier secreto expuesto, como claves o tokens encontrados en chats, registros o commits. Centraliza la respuesta en una única acción con escalamiento, evitando que el problema solo sea anotado y olvidado. Úsela cuando se descubra una credencial activa donde no debería estar, desencadenando un flujo de trabajo obligatorio de rotación.

Instalación rápida

Claude Code

Recomendado
Principal
npx skills add avelikiy/great_cto -a claude-code
Comando PluginAlternativo
/plugin add https://github.com/avelikiy/great_cto
Git CloneAlternativo
git clone https://github.com/avelikiy/great_cto.git ~/.claude/skills/secrets-rotation

Copia y pega este comando en Claude Code para instalar esta habilidad

Documentación

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:

    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.

Repositorio GitHub

avelikiy/great_cto
Ruta: skills/secrets-rotation
0
agentic-codingai-agentsclaude-codeclaude-code-pluginclaude-code-skillsclaude-code-subagents
FAQ

Preguntas frecuentes

¿Qué es el Skill secrets-rotation?

secrets-rotation es un Skill de Claude creado por avelikiy. Los Skills agrupan instrucciones y recursos que Claude carga cuando los necesita para realizar tareas relacionadas con secrets-rotation sin indicaciones adicionales.

¿Cómo instalo secrets-rotation?

Usa los comandos de instalación de esta página: añade secrets-rotation a Claude Code como plugin o clona su repositorio en tu directorio de skills y reinicia Claude para cargarlo.

¿A qué categoría pertenece secrets-rotation?

secrets-rotation pertenece a la categoría Documentos.

¿Se puede usar secrets-rotation gratis?

Sí. secrets-rotation aparece en AIMCP y se puede instalar gratis.

Habilidades relacionadas

release-standards
Documentos

Esta habilidad proporciona pautas de versionado semántico (semver) y estándares de formato para el changelog en lanzamientos de software. Úsela al preparar lanzamientos para incrementar correctamente los números de versión (principal/secundario/parche) y estructurar las entradas del changelog. Incluye reglas para identificadores de pre-lanzamiento y ejemplos claros para desarrolladores.

Ver habilidad
commit-standards
Documentos

Esta habilidad formatea los mensajes de commit de Git según el estándar Conventional Commits. Proporciona plantillas y definiciones de tipos (como `feat`, `fix`, `refactor`) para garantizar consistencia al escribir o revisar commits. Úsala durante el proceso de commit para crear un historial de commits claro y estructurado.

Ver habilidad
nano-pdf
Documentos

nano-pdf es una herramienta CLI que permite a los desarrolladores editar PDFs usando instrucciones en lenguaje natural, como cambiar texto o corregir errores tipográficos en páginas específicas. Es ideal para modificaciones rápidas y programáticas de PDFs directamente desde la terminal. Siempre verifica la salida, ya que la numeración de páginas puede variar entre versiones.

Ver habilidad
huggingface-tokenizers
Documentos

Esta habilidad proporciona tokenización de alto rendimiento utilizando la biblioteca basada en Rust de HuggingFace, procesando 1GB de texto en menos de 20 segundos. Soporta algoritmos BPE, WordPiece y Unigram, además de permitir el entrenamiento de tokenizadores personalizados y el seguimiento de alineaciones. Úsela cuando necesite tokenización rápida para producción o para construir tokenizadores personalizados integrados en el ecosistema de transformers.

Ver habilidad