smithery.ai

auth-and-secrets

Use when implementing authentication flows (bearer tokens, OAuth, API keys) and handling secrets safely in code/tests/CI.

First seen Apr 11, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 635 B
  • docs SUMMARY.md 145 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Auth and Secrets Skill

Non-negotiables

  • Never commit secrets.
  • Never print secrets in logs/test output.
  • Prefer short-lived tokens when possible.

Implementation

  • Centralize auth header injection in the transport layer.
  • If refresh tokens exist: implement refresh with locking to avoid stampede.
  • Provide a redaction utility for logs.

Testing

  • Use env var injection locally and in CI.
  • Provide a “no-auth” negative test if the API supports it.