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.5 $0.00024 $0.00711
Sonnet 5.5 $0.00012 $0.00355
Haiku 4.5 $0.00006 $0.00178

Measured 1mo ago against content hash 89aad0f99f99, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 (26 stars, last pushed 4d ago), licensed MIT. It adds 60 tokens to every session and 1,777 once invoked, about $0.0002 per session on Opus 5.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

ainb-fleet:ainb-spawn

Spawn a coding-agent session correctly with ainb run: always into a git worktree, never bare into a plain checkout. Use whenever you are about to start a Claude/Codex/Gemini/Copilot session in a terminal. Guards the invocations that silently produce a (broken) workspace row, two agents sharing one working tree, a…

stevengonsalvez/agents-in-a-box · 107 tokens

github

GitHub issues, pull requests, repos, code search, releases, gists, stars, watching, forks, and Actions via the gh CLI. Use when the user mentions GitHub, an issue/PR number, a repo, a commit, a release, a gist, or code review.

AceDataCloud/Skills · 62 tokens

gitlab

GitLab issues, merge requests, repositories, CI pipelines, and code search via the glab CLI. Use when the user mentions GitLab, an MR/issue number, a project on gitlab.com, or a self-hosted GitLab instance.

AceDataCloud/Skills · 54 tokens

deployment-strategies

Implement safe deployment strategies including rolling, blue-green, canary, and feature flags. Use this skill when planning deployments, reducing deployment risk, or implementing progressive delivery. Activate when: deployment strategy, rolling update, blue-green, canary deployment, feature flags, progressive…

latestaiagents/agent-skills · 70 tokens

git-safety

CRITICAL SAFETY SKILL - Use this skill before any Git operation that could lose commits, rewrite history, or affect shared branches. Activate when the user wants to force push, reset hard, rebase, clean, or perform any destructive Git operation. This skill prevents loss of work through verification and confirmation.

latestaiagents/agent-skills · 67 tokens

branch-strategy-advisor

Use this skill when discussing Git branching strategies. Activate when the user asks about branch naming, GitFlow, trunk-based development, feature branches, release branches, how to organize branches, branch protection, or setting up a branching workflow for their team.

latestaiagents/agent-skills · 55 tokens