secrets-config-audit
Skill9 starsChanged 6 months agoApache-2.0View on GitHub
Audit secret and runtime configuration readiness without exposing values. Use when DevOps must verify required env vars, config maps, secret injection, rotation status, registry/cloud credentials, SSH/Kubernetes credential references, safe templates, and redacted deploy-report config evidence.
- Reads credentials
In this repository61 other files it gives its agents.
- rules/CLAUDE.mdCLAUDE.md
- acceptance-criteria-authorSkill
- adr-authorSkill
- api-contract-authorSkill
- backend-logging-traceabilitySkill
- ba-design-completenessSkill
- ba-ingestion-pipelineSkill
- ba-iteration-planningSkill
- ba-mode-augmentSkill
- ba-mode-external-sourceSkill
- ba-mode-multi-docSkill
- ba-mode-requirements-folderSkill
- ba-mode-reverse-engineerSkill
- ba-mode-single-docSkill
- ba-post-implementationSkill
- be-framework-coding-standardSkill
- c4-authorSkill
- codebase-inventorySkill
- data-lifecycle-contractsSkill
- design-system-authorSkill
- docker-deploymentSkill
- external-integration-adequacySkill
- fe-framework-coding-standardSkill
- figma-canvas-layoutSkill
- figma-design-handoffSkill
- figma-requirements-extractionSkill
- figma-srs-mappingSkill
- flutter-implementationSkill
- flutter-performanceSkill
- flutter-platform-integrationSkill
- format-boundary-contractsSkill
- git-commitSkill
- incident-debuggingSkill
- intent-archaeologySkill
- kubernetes-deploymentSkill
- local-deploymentSkill
- migration-safetySkill
- observability-readinessSkill
- playwright-authorSkill
- qa-author-by-taskSkill
- qa-author-by-usSkill
- qa-execution-runnerSkill
- react-native-implementationSkill
- react-native-performanceSkill
- react-native-platform-integrationSkill
- release-readinessSkill
- rollback-readinessSkill
- sa-architecture-designSkill
- sa-brownfield-extractSkill
- security-compliance-checklistSkill
- solution-defaultsSkill
- ssh-remote-operationsSkill
- staging-deploymentSkill
- task-sizingSkill
- <kebab-case-name-matching-folder>Skill
- test-case-authorSkill
- third-party-dependency-evaluationSkill
- ui-test-executionSkill
- ui-ux-page-scopingSkill
- user-story-authorSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 5 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Use this skill before any deployment that depends on runtime configuration, secrets, environment files, registry credentials, cloud …
- Very specific: line 23
Collect declared keys: Read SRS/architecture config contracts and safe templates (.env.example, .env.template, .env.sample) for key names, …
- Very specific: line 24
Detect secret-bearing files by status only: Check presence/path of .env*, .ssh/, .k8s/*config*, .docker/config.json, kubeconfigs, and …
- Distinctive: line 26
Check non-secret config: Verify public endpoints, feature flags, regions, log levels, and build/runtime config are represented in templates …
- Distinctive: line 33
Never read, print, copy, summarize, or diff secret values.
- Very specific: line 34
Never run commands that dump credential material, including full docker compose config, kubectl config view --raw, env, or printenv on …
- Very specific: line 35
Never create .env* or credential files for the operator.
- Distinctive: line 36
Never mark config ready when required key names are missing from templates/contracts or injection paths are unknown.
- Distinctive: line 37
Never place secret values in deploy reports.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Secrets Config Audit
When to use
Use this skill before any deployment that depends on runtime configuration, secrets, environment files, registry credentials, cloud credentials, SSH, Kubernetes, or external service keys.
Inputs and outputs
- Inputs: SRS environment contract, architecture config section, safe env templates, deploy mechanism, secret manager references, target environment, and required service integrations.
- Outputs: redacted config readiness verdict, missing key names, unsafe storage findings, rotation/owner notes, and deploy-report config fields.
Procedure
- Collect declared keys. Read SRS/architecture config contracts and safe templates (
.env.example,.env.template,.env.sample) for key names, owners, required environments, and secret classification. - Detect secret-bearing files by status only. Check presence/path of
.env*,.ssh/,.k8s/*config*,.docker/config.json, kubeconfigs, and credential files without reading contents. - Verify injection path. Confirm each secret has a source: secret manager, Kubernetes Secret/ExternalSecret, CI/CD variable, operator-managed env file, or documented runtime injection.
- Check non-secret config. Verify public endpoints, feature flags, regions, log levels, and build/runtime config are represented in templates and deployment manifests.
- Look for unsafe patterns. Flag secrets in committed manifests, plain values in docs, full
docker compose configoutput, kubeconfig dumps, copied.env, or hardcoded credentials. - Assess rotation/ownership. Record owner and rotation expectation by secret name or category only. Do not ask the model to inspect values or token ages unless metadata is available without secrets.
- Emit verdict.
pass,pass-with-warnings, orblocked.
Hard rules
- Never read, print, copy, summarize, or diff secret values.
- Never run commands that dump credential material, including full
docker compose config,kubectl config view --raw,env, orprintenvon remote hosts. - Never create
.env*or credential files for the operator. - Never mark config ready when required key names are missing from templates/contracts or injection paths are unknown.
- Never place secret values in deploy reports; use key names and status only.
References
../local-deployment/SKILL.md- env-file discovery model.../ssh-remote-operations/SKILL.md- SSH credential handling.../kubernetes-deployment/SKILL.md- kubeconfig/Secret handling.../../hooks/privacy-check.cjs- runtime sensitive-path guard.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

