Agent skill

Config Secrets Environments

by majiayu000 in majiayu000/spellbook

Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production.

MITAuto-check passedFrontend & Design

Install Config Secrets Environments

skills CLI
$ npx skills add majiayu000/spellbook --skill config-secrets-environments -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install majiayu000/spellbook config-secrets-environments --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/config-secrets-environments .claude/skills/config-secrets-environments && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
config-secrets-environments
GitHub stars
287
Token cost
~477 tokens
SKILL.md length
180 words
Files
2
Skills in repo
97
Repo updated
First seen
Licence
MIT

At a glance

Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production.

  • Works in 6 steps: Config files and env var declarations. → Runtime readers and startup wiring. → Secret sources: env, secret manager,… → …
  • Adding env vars
  • SKILL.md covers Purpose, Inventory, Design Rules and Environment Matrix, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Config Secrets Environments is an agent skill from majiayu000/spellbook. Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production. Use when adding env vars, changing runtime config, handling API keys or user-provided keys, diagnosing config drift, or preparing deploy/release configuration.

Its SKILL.md is about 480 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Frontend & Design, covering Forms and validation and Design review and critique. The repository describes itself as: Cross-runtime skills for Claude Code, Codex, and multi-agent workflows. The licence is MIT.

When your agent uses it

  • Adding env vars
  • Changing runtime config
  • Handling API keys
  • User-provided keys

Example prompts

  • “/config-secrets-environments”

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Config files and env var declarations.
  2. Runtime readers and startup wiring.
  3. Secret sources: env, secret manager, local keychain, BYOK storage.
  4. Environment matrix: local, test, dev, staging, prod.
  5. Rotation, revocation, and audit requirements.
  6. Existing .env.example, schema, docs, and CI checks.

What it can do on your machine

Read from SKILL.md and the folder at commit ed52af7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Config Secrets Environments loads about 477 tokens when it runs. Until then it costs about 94 tokens; SKILL.md has 180 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~94
When it runs · the whole SKILL.md, loaded when a task matches
~477

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from majiayu000/spellbook at commit ed52af7, republished under its MIT licence (© majiayu000). 180 words, ~477 tokens.

Download SKILL.mdSave it as .claude/skills/config-secrets-environments/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
config-secrets-environments
description
Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production. Use when adding env vars, changing runtime config, handling API keys or user-provided keys, diagnosing config drift, or preparing deploy/release configuration.

Config Secrets Environments

Purpose

Use this skill when behavior depends on configuration or secrets. The goal is explicit config ownership, validation, and environment parity without exposing credentials.

Inventory

Collect:

  1. Config files and env var declarations.
  2. Runtime readers and startup wiring.
  3. Secret sources: env, secret manager, local keychain, BYOK storage.
  4. Environment matrix: local, test, dev, staging, prod.
  5. Rotation, revocation, and audit requirements.
  6. Existing .env.example, schema, docs, and CI checks.

Never print real secrets. Redact values and report only names, source type, and wiring status.

Design Rules

  • Define a schema for required and optional config.
  • Fail closed for missing critical config; do not silently fall back to insecure or broad behavior.
  • Keep defaults safe for local development and explicit for production.
  • Separate build-time and runtime config.
  • Keep tenant/user-provided keys isolated from platform keys.
  • Document rotation and revocation paths.
  • Verify config is wired into startup, not only declared.

Environment Matrix

Use this shape:

KeyLocalTestStagingProdSecret?OwnerRotation

Mark unknown values as unknown. Do not infer a production value from local files.

Output Shape

text
config_inventory:
environment_matrix:
secret_flows:
validation_and_startup_wiring:
drift_checks:
rotation_plan:
failure_behavior:
verification_commands:

© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/config-secrets-environments of majiayu000/spellbook.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit ed52af7

Compare with similar skills

Config Secrets Environments next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Config Secrets Environments compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Config Secrets Environments this skillmajiayu000/spellbook287—~477Automated safety check: PassMIT
Qovery UIQovery/console227—~2kAutomated safety check: PassGPL-3.0
Design AuditAThevon/genjutsu440—~1.6kAutomated safety check: PassCustom licence
Dsh CI Test ReliabilityZhou-Yujing114514/deepseek-harness-linux120—~2.4kAutomated safety check: PassMIT
Design ReviewOwl-Listener/designpowers251—~1.7kAutomated safety check: PassMIT
Om UX Review PRgo-musicfox/go-musicfox2.6k1 repos~1.4kAutomated safety check: NotesGPL-3.0

Similar skills

  • Qovery UI

    Qovery/console

    Design review and implementation guidance for the Qovery Console.

    227 GitHub stars~2k tokensUpdated yesterday
    Frontend & DesignAuto-check passed
  • Design Audit

    AThevon/genjutsu

    Design audit checklist - motion gaps, accessibility, color consistency, responsive, performance.

    440 GitHub stars~1.6k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Dsh CI Test Reliability

    Zhou-Yujing114514/deepseek-harness-linux

    Design, review, and diagnose DeepSeek Harness tests and fixtures that can fail nondeterministically under CI concurrency, shared host resources, clocks, process-global state, subprocesses, network…

    120 GitHub stars~2.4k tokensUpdated 5 days ago
    Frontend & DesignAuto-check passed
  • Design Review

    Owl-Listener/designpowers

    A skill your agent uses when the user wants to evaluate something that ALREADY EXISTS rather than build something new — "review this", "audit this screen", "what's wrong with this page", "is this…

    251 GitHub stars~1.7k tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Om UX Review PR

    go-musicfox/go-musicfox

    Evidence-first design review of a PR's UI. An agent skill from go-musicfox/go-musicfox.

    2.6k GitHub starsUsed in 1 repo~1.4k tokens
    Frontend & DesignAuto-check: notes
  • Design Review

    jezweb/claude-skills

    Review a web app or page for visual design quality — layout, typography, spacing, colour, hierarchy, consistency, interaction patterns, and responsive behaviour.

    1.1k GitHub stars~2.1k tokensUpdated yesterday
    Frontend & DesignAuto-check passed

More from majiayu000/spellbook

All 97 skills in this repo
  • Skill Ecosystem Doctor

    majiayu000/spellbook

    Audits and repairs how coding-agent Skills are owned, copied and exposed across runtimes, from canonical sources to quarantine and retirement.

    287 GitHub stars~3k tokensUpdated 2 days ago
    Auto-check passed
  • AGENTS.md Scaffold

    majiayu000/spellbook

    Scans a repository for real evidence and proposes, or on request writes, a small stack of root and scoped AGENTS.md files with validation commands and generated-file boundaries.

    287 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Product Demo Builder

    majiayu000/spellbook

    Plans, produces or diagnoses evidence-backed product demo videos: script, capture plan, pacing checks and verified final media built on real product behavior.

    287 GitHub stars~3.3k tokensUpdated 2 days ago
    Auto-check passed
  • Flowguard Task Guard

    majiayu000/spellbook

    Single entry point that routes long or ambiguous agent tasks, checks live state, bounds autonomous loops and leaves a resumable handoff.

    287 GitHub stars~2.1k tokensUpdated 2 days ago
    Auto-check passed
  • npm Supply Chain Check

    majiayu000/spellbook

    Scans a repository, its lockfiles and node_modules for known malicious npm package versions and install-time indicators, using a read-only Python scanner.

    287 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed
  • Product Manager Toolkit

    majiayu000/spellbook

    Product management helpers: a RICE scoring script, an interview transcript analyzer and PRD templates for prioritizing features, synthesizing research and writing requirements.

    287 GitHub stars~2.2k tokensUpdated 2 days ago
    Auto-check passed

Questions about Config Secrets Environments

What does Config Secrets Environments do?

Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production. Config Secrets Environments is an agent skill from majiayu000/spellbook. Design, audit, and verify configuration, environment separation, secrets, BYOK flows, key rotation, config schema validation, and drift checks across local, dev, staging, and production.

When should I use Config Secrets Environments?

Config Secrets Environments fits situations like: adding env vars; changing runtime config; handling API keys; user-provided keys.

How do I install Config Secrets Environments in Claude Code?

Run `npx skills add majiayu000/spellbook --skill config-secrets-environments -a claude-code`. Or copy the skill folder (skills/config-secrets-environments in majiayu000/spellbook) into .claude/skills/config-secrets-environments in your project. Claude Code loads it when a task matches its description.

How do I install Config Secrets Environments in Codex?

Run `npx skills add majiayu000/spellbook --skill config-secrets-environments -a codex`. Or copy the skill folder (skills/config-secrets-environments in majiayu000/spellbook) into .agents/skills/config-secrets-environments in your project. Codex loads it when a task matches its description.

Can I use Config Secrets Environments in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/spellbook --skill config-secrets-environments -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/config-secrets-environments, .gemini/skills/config-secrets-environments, .github/skills/config-secrets-environments and .opencode/skills/config-secrets-environments in your project.

What does Config Secrets Environments need to run?

SKILL.md names no scripts, command-line tools or credentials: Config Secrets Environments is instructions for the agent only.

Does Config Secrets Environments access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Config Secrets Environments safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Config Secrets Environments use?

Config Secrets Environments is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Config Secrets Environments use?

About 477 tokens (SKILL.md is roughly 1.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Config Secrets Environments?

Skills that share tags, products or a category with Config Secrets Environments: Qovery UI (Qovery/console, 227 stars), Design Audit (AThevon/genjutsu, 440 stars), Dsh CI Test Reliability (Zhou-Yujing114514/deepseek-harness-linux, 120 stars) and Design Review (Owl-Listener/designpowers, 251 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Config Secrets Environments?

majiayu000 (a GitHub user) maintains it in majiayu000/spellbook, which has 287 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 8, 2026.

Source: majiayu000/spellbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.