secrets-with-git-crypt

secrets-with-git-crypt is a skill for Claude Code, Codex from derailed-dash/dazbo-agent-skills. It costs 60 tokens per session (1,777 once invoked), scanned B, original, MIT.

A workflow for encrypting repository files that contain secrets, such as .env and Terraform variable files, with git-crypt. It keeps encrypted copies in Git instead of storing credentials as plain text.

In plain words
What is it for?
Use it when setting up git-crypt, adding or changing protected secret files, cloning a repository with encrypted files, or encrypting and decrypting them.
Why use it?
It reduces the risk of committing passwords, keys, or other credentials where anyone with repository access could read them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when setting up git-crypt, adding or changing protected secret files, cloning a repository with encrypted files, or encrypting and decrypting them.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/derailed-dash/dazbo-agent-skills/secrets-with-git-crypt
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add derailed-dash/dazbo-agent-skills --skill secrets-with-git-crypt
Clone the repo
git clone --depth 1 https://github.com/derailed-dash/dazbo-agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for secrets-with-git-crypt

README.md
[![agentmods](https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/secrets-with-git-crypt/github.svg)](https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/secrets-with-git-crypt)
Your own site
<a href="https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/secrets-with-git-crypt"><img src="https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/secrets-with-git-crypt/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for secrets-with-git-crypt

Your own site · 80×15
<a href="https://agentmods.dev/skills/derailed-dash/dazbo-agent-skills/secrets-with-git-crypt"><img src="https://agentmods.dev/badge/skills/derailed-dash/dazbo-agent-skills/secrets-with-git-crypt.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,777 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.01777
Opus 5 $0.00030 $0.00889
Sonnet 5 $0.00012 $0.00355
Haiku 4.5 $0.00006 $0.00178

Measured 10d ago against content hash 89aad0f99f99, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

secrets-with-git-crypt scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/git-crypt-helper.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- If missing, the helper script can attempt installation via `sudo apt-get install git-crypt` on Debian/Ubuntu systems.
skills/secrets-with-git-crypt/SKILL.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Read the full file on GitHub · 168 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 168 lines · 60 tokens per session scan B 89aad0f99f99

Subscribe to this mod's changes

secrets-with-git-crypt is a skill published in the GitHub repository derailed-dash/dazbo-agent-skills (24 stars, last pushed 3d ago), licensed MIT. It adds 60 tokens to every session and 1,777 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

respond-to-pr-comments

Respond to pull request review comments on GitHub or Azure DevOps Services. Reads review threads, validates each, proposes fixes or explanations, applies changes with user confirmation, and updates thread status via the platform's API. Use when the user wants to address PR feedback or resolve review threads.

microsoft/PromptKit · 62 tokens

cross-repo-cache

Check if cross-repo coordinator results can be reused, avoiding redundant Sonnet agent launches. Compares peer repo git hashes against stored hashes from last coordinator run. Triggers on: entering Phase 1.4.1, checking cross-repo cache, before discovering peers. Returns CROSSREPOCACHEHIT with cached status or…

closedloop-ai/claude-plugins · 81 tokens

lov-gh-access

Open a private GitHub repo to external clients or contractors without making it public. Accepts a mixed list of GitHub usernames and/or email addresses, resolves each to a GitHub account (falling back to an email invitation when the user has no discoverable account yet), and invites them as collaborators with a chosen…

lovstudio/skills · 151 tokens

lov-gh-tidy

Interactive GitHub repo hygiene skill. Lists all open issues, PRs, stale branches, and orphan labels, shows a summary of each with analysis, then asks the user how to handle each item (close, merge, comment, delete, keep). Executes all chosen actions via gh CLI. Use when the user says "清理 GitHub", "tidy repo", "clean…

lovstudio/skills · 95 tokens

github

A general GitHub skill for understanding repositories, pull requests, and issues through a connected GitHub account. It helps route work to more specific GitHub workflows when needed.

rojim666/SztuCode · 35 tokens

intuitive-squash

Squash local GSD or agent-generated commit history into a clean, reviewable story while preserving important fixes. Use when the user asks to squash commits, clean git history, compress phase commits, prepare a branch before PR, compare aggressive vs moderate squash options, or preserve hotfix/security commits during…

MiaoDX/intuitive-flow · 73 tokens