Command Palette

Search for a command to run...

Back to skills
skill № 13426

secrets-guard

Use when you touch configuration, credentials or environment files. Keeps secrets out of code, logs and prompts.

FreeNo executable scripts
crrutonby crruton★ 15 GitHub stars

Install secrets-guard in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

Secrets guard

A secret in a commit stays in the history after you delete it.

Rules

  • Do not read, write or print .env, keys, certificates or files in secrets/.
  • Do not put tokens, passwords or keys in code, tests, logs or comments.
  • Read secrets from environment variables. Add a placeholder to .env.example.
  • When you find a secret in the history, tell the human. The human must rotate the secret.

Check before you finish

  1. Run bash gates/run-all.sh. The check-secrets gate must pass.

Origin

The agent tried to put a token into a dialog config. Now the gate and a hook stop this.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the secrets-guard skill do?

Use when you touch configuration, credentials or environment files. Keeps secrets out of code, logs and prompts.

How do I install the secrets-guard skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the secrets-guard skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare secrets-guard with