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
22
Declared platforms
0
Static risk flags
1
Last source update
2026-08-14
Source checked
2026-08-28

Decision brief

What it does: 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/1dcbfd708fc117acef9f2dc17fa2d3ecd4a52d5a/skills/secrets-with-git-crypt/SKILL.md at commit 1dcbfd708fc117acef9f2dc17fa2d3ecd4a52d5a. 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 54

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 131

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 stars22SourceRepository 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
1dcbfd708fc117acef9f2dc17fa2d3ecd4a52d5a
License
MIT
Collected
2026-08-28
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.

Frequently asked questions

What to verify before installation and use

What does the secrets-with-git-crypt source document cover?

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…

How do I install secrets-with-git-crypt?

The source record exposes this install command: npx skills add https://github.com/derailed-dash/dazbo-agent-skills --skill "skills/secrets-with-git-crypt". Inspect the command and pinned source before running it.

Which permission-related actions were detected?

Static rules flagged exec-script in the source; the page lists the matching lines and excerpts.

Alternatives

Compare before choosing

Computed 10029,236

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10025,136

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 10015,385

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 10014,706

prowler-cloud/prowler

postgresql-indexing

PostgreSQL indexing best practices for Prowler: index design, partial indexes, partitioned table indexing, EXPLAIN ANALYZE validation, concurrent operations, monitoring, and maintenance. Trigger: When creating or modifying PostgreSQL indexes, analyzing query performance with EXPLAIN, debugging slow queries, reviewing index usage statistics, reindexing, dropping indexes, or working with partitioned table indexes. Also trigger when discussing index strategies, partial indexes, or index maintenance