Skip to content
Back to skills

Secrets Handling

ASecurity

Keep credentials out of source, logs and client bundles.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 3, 2026
development

Works with

  • cli

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add Andersseen/agentyx --skill secrets-handling --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Secrets Handling?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Secrets Handling
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/andersseen-secrets-handling/badge)](https://www.skillsdirectory.com/skills/andersseen-secrets-handling)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: secrets-handling
description: Keep credentials out of source, logs and client bundles.
---

# Secrets handling

A secret in version control is compromised the moment it is pushed, and rewriting history does not
undo it.

## Keep secrets out of the repository

Load credentials from environment variables or a secret manager. Commit a documented example file
with placeholder values, never the real ones.

## Rotate on exposure

Treat any secret that reached a repository, log, ticket or chat message as leaked. Rotate it before
removing it — deletion without rotation leaves the credential valid.

## Never log or serialize them

Redact credentials, tokens and keys in logs, error messages and crash reports. Review debug output
and third-party error reporters, which capture more surrounding context than expected.

## Understand the client boundary

Anything shipped to a browser or mobile app is public, regardless of build-time substitution. Only
publishable identifiers belong in client code; every real secret stays server side.

## Scan continuously

Run secret scanning in pre-commit hooks and in CI. Detection after the fact is far cheaper than an
incident, and cheaper still before the push.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…