Source profileQuality 91/100Review permissions

derailed-dash/dazbo-agent-skills/skills/secrets-with-git-crypt/SKILL.md

secrets-with-git-crypt

Manages encryption and decryption of repository secrets (such as .env or *.tfvars) using git-crypt, keeping credentials secure with parallel encrypted files. Use when managing secrets, setting up git-crypt, or encrypting/decrypting environment files.

Source repository stars
17
Declared platforms
0
Static risk flags
1
Last source update
2026-08-04
Source checked
2026-08-04

Decision brief

What it does—and where it fits

This skill provides a secure, structured workflow for managing repository secrets (e.g. .env, .tfvars, sec.json, settings.json) using git-crypt. It guides the agent to ensure sensitive credentials are never checked in as plaintext, instead maintaining parallel encrypted .enc ver…

Best for

  • Use when managing secrets, setting up git-crypt, or encrypting/decrypting environment files.

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/derailed-dash/dazbo-agent-skills --skill "skills/secrets-with-git-crypt"
Safe inspection promptEditorial

Inspect the Agent Skill "secrets-with-git-crypt" from https://github.com/derailed-dash/dazbo-agent-skills/blob/e3cfcae3c2c043853504bd337f23ad627847d8f8/skills/secrets-with-git-crypt/SKILL.md at commit e3cfcae3c2c043853504bd337f23ad627847d8f8. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Secrets Setup and Sync Workflow

    Copy this checklist and track your progress:

    Verify Git Work Tree:Confirm working directory is inside a Git repository (git rev-parse --is-inside-work-tree). If not in a Git repository, halt execution and prompt the user to run git init first.Verify git-crypt Binary & Helper Script:
  2. 02

    Verification Loop

    Before concluding the secrets setup or modifications, the agent MUST execute the following verification steps:

    If the command returns output (file is tracked): IMMEDIATELY run git rm --cached to remove it from staging while keeping it locally on disk.Before concluding the secrets setup or modifications, the agent MUST execute the following verification steps:Run the helper status command:
  3. 03

    Triggers

    This skill MUST trigger whenever:

    The user mentions git-crypt, encryption, decryption, or secrets management.The user requests to store sensitive files (like .env, .tfvars, settings.json, keyfiles) in the repository.The user attempts to commit or push files that should be encrypted (e.g. .env, .tfvars, sec.json) to the repository.
  4. 04

    Prerequisites

    Host Environment: Unix-like operating system (e.g., Linux, WSL, macOS).

    Host Environment: Unix-like operating system (e.g., Linux, WSL, macOS).Git: A git repository must be initialized in the current project.git-crypt: The git-crypt command-line utility must be installed.
  5. 05

    Command Reference

    The helper script supports the following commands:

    The helper script supports the following commands:

Permission review

Static risk signals and limitations

Runs scripts

medium · line 55

The documentation asks the agent to run terminal commands or scripts.

Run the status command of the helper script to check if `git-crypt` is installed and functioning:

Runs scripts

medium · line 132

The documentation asks the agent to run terminal commands or scripts.

Run the helper status command:

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score91/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars17SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
derailed-dash/dazbo-agent-skills
Skill path
skills/secrets-with-git-crypt/SKILL.md
Commit
e3cfcae3c2c043853504bd337f23ad627847d8f8
License
MIT
Collected
2026-08-04
Default branch
main
View the original SKILL.md

Secrets Management with Git-Crypt

This skill provides a secure, structured workflow for managing repository secrets (e.g. .env, *.tfvars, sec.json, settings.json) using git-crypt. It guides the agent to ensure sensitive credentials are never checked in as plaintext, instead maintaining parallel encrypted .enc versions checked into Git.

Table of Contents

Triggers

This skill MUST trigger whenever:

  • The user mentions git-crypt, encryption, decryption, or secrets management.
  • The user requests to store sensitive files (like .env, *.tfvars, settings.json, keyfiles) in the repository.
  • The user attempts to commit or push files that should be encrypted (e.g. .env, *.tfvars, sec.json) to the repository.
  • Cloning an existing repository that contains .enc files (e.g. .env.enc, terraform.tfvars.enc, settings.json.enc), indicating it was previously protected by git-crypt.
  • Initializing a new repository and setting up local/remote secret configurations.
  • Changing or adding secrets credentials that need to be committed securely.

Prerequisites

  • Host Environment: Unix-like operating system (e.g., Linux, WSL, macOS).
  • Git: A git repository must be initialized in the current project.
  • git-crypt: The git-crypt command-line utility must be installed.
    • If missing, the helper script can attempt installation via sudo apt-get install git-crypt on Debian/Ubuntu systems.
  • Helper Script: Make sure the helper script at skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh is executable (chmod +x).

Secrets Setup and Sync Workflow

Copy this checklist and track your progress:

Secrets Management Progress:
- [ ] Step 1: Verify git-crypt installation
- [ ] Step 2: Initialize or unlock the repository
- [ ] Step 3: Configure tracking and gitignore rules
- [ ] Step 4: Perform file synchronization
- [ ] Step 5: Verify environment security

Step 1: Pre-implementation safety & binary verification

Before attempting any encryption, decryption, or secret sync operations:

  1. Verify Git Work Tree:

    • Confirm working directory is inside a Git repository (git rev-parse --is-inside-work-tree). If not in a Git repository, halt execution and prompt the user to run git init first.
  2. Verify git-crypt Binary & Helper Script:

    • Ensure the helper script at skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh is executable (chmod +x).
    • Run the status command of the helper script to check if git-crypt is installed and functioning:
      ./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh status
      
    • If git-crypt is missing, offer to install it via:
      ./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh install
      

Step 2: Initialize or unlock the repository

  • If this is a new repository (or you are setting up git-crypt for the first time): Decide where the secure key will be stored outside of the repository (e.g., ~/secure-keys/my-project.key). Proactively run:

    ./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh init ~/secure-keys/my-project.key
    

    Ensure the key is NEVER committed to git.

  • If this is a cloned repository containing .enc files: Ask the user for the local path to the existing key file, and run:

    ./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh unlock /path/to/existing.key
    

Step 3: Configure tracking and gitignore rules

Verify that .gitattributes in the root of the project contains the filter declaration:

*.enc filter=git-crypt diff=git-crypt

All unencrypted files (e.g. .env, settings.json, variables.tfvars) MUST be explicitly added to .gitignore. Running the helper script sync commands automatically appends them, but you must double-check that they are not tracked as plaintext in Git.

Step 4: Perform file synchronization

  • Sync to encrypted versions (before committing changes): Copy unencrypted local files to their parallel .enc versions:

    • For a specific file:
      ./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh sync-to-enc .env
      
    • For all known .enc files in the repository:
      ./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh sync-to-enc
      
  • Sync from encrypted versions (after unlocking a cloned repository): Restore all unencrypted plaintext files from the unlocked .enc versions:

    ./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh sync-from-enc
    

Step 5: Verify environment security

Perform the steps in the Verification Loop before concluding your turn to make sure no plaintext secrets have been staged or committed.


Command Reference

The helper script supports the following commands:

CommandArgumentsDescription
installNoneInstalls git-crypt on Debian/Ubuntu/WSL platforms.
init<key_path>Runs git-crypt init, sets up .gitattributes, and exports key.
unlock<key_path>Unlocks the repository using the specified key file.
sync-to-enc[file]Syncs unencrypted file(s) to their .enc copies; ensures .gitignore inclusion.
sync-from-enc[file]Syncs/restores .enc copies back to unencrypted files.
statusNoneEvaluates installation, git-crypt initialization, and file sync states.

Verification Loop

Before concluding the secrets setup or modifications, the agent MUST execute the following verification steps:

1. Execute Status Check

Run the helper status command:

./skills/secrets-with-git-crypt/scripts/git-crypt-helper.sh status

Ensure all parallel secret files report [OK]. If any say DO NOT MATCH, run the appropriate sync-to-enc or sync-from-enc command.

2. Verify gitignore Integrity

Confirm the unencrypted plain files are NOT tracked by Git. Run:

git ls-files --error-unmatch .env 2>/dev/null
  • If the command returns output (file is tracked): IMMEDIATELY run git rm --cached <file> to remove it from staging while keeping it locally on disk.

3. Verify .gitattributes Structure

Verify that .gitattributes has:

*.enc filter=git-crypt diff=git-crypt

This ensures git-crypt transparently manages all .enc files under Git.

4. Git Crypt Status Check

Verify that git-crypt matches the filter correctly on staged/committed .enc files:

git-crypt status

The output must show that the .enc files are encrypted.

Alternatives

Compare before choosing

Computed 10023,781

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 10014,225

wanshuiyin/Auto-claude-code-research-in-sleep

citation-audit

Use it for operations and research tasks; the detail page covers purpose, installation, and practical steps.

Computed 1004,922

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 1002,504

aaron-he-zhu/aaron-marketing-skills

social-selling-planner

Use when the user asks to "set up my founder social-selling routine", "build a daily engagement block for target accounts", or "turn funding / hiring signals into selling plays"; produces the founder/seller daily operating block — a time-boxed engagement-block spec (substantive value-add comments on target-account posts, never a pitch), warm-touch-before-ask cadence rules, trigger-response plays consuming the social-pulse-monitor B2B trigger watchlist (funding / hiring / launch signals), and a q