Skip to content
Back to skills

Secrets

ASecurity

Use skret CLI and `skret mcp` to inject, inspect, scan, sync, and manage project secrets safely across AWS SSM, GCP Secret Manager, Azure Key Vault, OCI Vault, and local YAML.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 25, 2026
ai-agentskubernetesawsgcpazureterraformgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add n24q02m/claude-plugins --skill secrets --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Secrets?

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

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

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
description: Use skret CLI and `skret mcp` to inject, inspect, scan, sync, and manage project secrets safely across AWS SSM, GCP Secret Manager, Azure Key Vault, OCI Vault, and local YAML.
---

# skret Secrets Workflow

Always prefer `skret run -- <cmd>` or `skret mcp` instead of reading secret files directly or logging decrypted values.

## Core Commands

- Inject secrets into a process without touching disk: `skret run -- <command>`
- List secret key names only (zero decryption cost): `skret list -e <env>`
- Retrieve a single secret value programmatically: `skret get <KEY> -e <env> --plain`
- Scan tracked files and git history for leaked managed values: `skret scan --history`
- Sync secrets to GitHub Actions, GitLab, Cloudflare, dotenv, Terraform, or Kubernetes manifests: `skret sync --dry-run`
- Start the embedded MCP server (stdio default, or Streamable HTTP):
  - `skret mcp --workdir <project>`
  - `skret mcp --workdir <project> --transport http --addr 127.0.0.1:8787`

## MCP Tools & Safety Policy

- `skret_list`, `skret_env`, `skret_status`, `skret_doctor` return key names, environments, and health metadata only.
- `skret_get` is the single tool that returns a secret value.
- `skret_set`, `skret_delete`, `skret_rotate` are disabled by default; enabling them requires BOTH `mcp.allow_write: true` in `.skret.yaml` AND `"confirm": true` per tool call.
- `mcp.allowed_tools`, `mcp.allowed_envs`, `mcp.allowed_keys` and `mcp.denied_keys` narrow what a client can call and read; a key outside the policy is missing from `skret_list` and refused by every other tool.
- Every tool call writes one JSON audit record (session id, tool, env, masked keys, allow/deny with reason) to stderr, and to `mcp.audit_log` when set; secret values never appear in errors or diagnostics.
- Non-loopback `--transport http` binds require a bearer token via `--token` or `SKRET_MCP_TOKEN`.

## Local State Layout

- User credentials, sync state, and salts live under `~/.n24q02m/skret/` (or `~/.n24q02m/skret/profiles/<profile>/` when `SKRET_PROFILE` is set).
- Existing files in `~/.skret/` migrate once non-destructively on first read.

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.