configure-git-cli

configure-git-cli is a skill for Claude Code from thomasgauvin/claude-agent-sdk-in-cloudflare-containers. It costs 28 tokens per session (434 once invoked), scanned D, original, MIT.

A procedure for configuring the Git command-line tool to authenticate with GitHub using environment variables. Git is a tool for tracking code changes, and GitHub hosts Git repositories online.

In plain words
What is it for?
Use it before GitHub repository operations to set the commit identity, store the personal access token, and verify access.
Why use it?
It helps Git operations such as cloning, pushing, and committing work without repeated login prompts, when the required credentials are available.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it before GitHub repository operations to set the commit identity, store the personal access token, and verify access.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/configure-git-cli
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 thomasgauvin/claude-agent-sdk-in-cloudflare-containers --skill configure-git-cli
Clone the repo
git clone --depth 1 https://github.com/thomasgauvin/claude-agent-sdk-in-cloudflare-containers

Made for: Claude Code.

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 configure-git-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/configure-git-cli/github.svg)](https://agentmods.dev/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/configure-git-cli)
Your own site
<a href="https://agentmods.dev/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/configure-git-cli"><img src="https://agentmods.dev/badge/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/configure-git-cli/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 configure-git-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/configure-git-cli"><img src="https://agentmods.dev/badge/skills/thomasgauvin/claude-agent-sdk-in-cloudflare-containers/configure-git-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 434 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. 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.00028 $0.00434
Opus 5 $0.00014 $0.00217
Sonnet 5 $0.00006 $0.00087
Haiku 4.5 $0.00003 $0.00043

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

Security

Grade D, and why

configure-git-cli scanned grade D with 2 findings 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 9d ago.

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.

chmod 600 ~/.git-credentials

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

cat <<EOF > ~/.git-credentials
container/.claude/skills/configure-git-cli/SKILL.md · 72 lines

What it actually says

Configure Git CLI

When to use this skill

Use this skill before performing git operations (clone, push, commit, etc.). Required by the codebase-fix-and-pr skill.

Prerequisites

Required environment variables:

  • GITHUB_EMAIL: Email address for git commits
  • GITHUB_NAME: Name for git commits
  • GITHUB_PAT: GitHub Personal Access Token with repo and workflow scopes

Workflow

Step 1: Verify Git Installation

git --version

Step 2: Configure Git User Identity

git config --global user.email "${GITHUB_EMAIL}"
git config --global user.name "${GITHUB_NAME}"

Step 3: Configure Credentials

Enable credential storage and preload GitHub credentials:

git config --global credential.helper store
cat <<EOF > ~/.git-credentials
https://${GITHUB_NAME}:${GITHUB_PAT}@github.com
EOF
chmod 600 ~/.git-credentials

Step 4: Verify Configuration

git config user.email
git config user.name
git ls-remote https://github.com/test/test.git

All commands should succeed without prompting for credentials.

Success Criteria

  • git --version succeeds
  • git config user.email and git config user.name return correct values
  • git ls-remote succeeds without prompting

Troubleshooting

Issue Solution
Git not found Install git using your system package manager
Authentication failed Verify GITHUB_PAT is valid, not expired, and has repo scope
Permission denied Check write permissions to home directory
Credentials not working Run rm ~/.git-credentials and reconfigure
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. 9d ago First seen · 72 lines · 28 tokens per session scan D bc8d16901469

Subscribe to this mod's changes

configure-git-cli is a skill published in the GitHub repository thomasgauvin/claude-agent-sdk-in-cloudflare-containers (43 stars, last pushed 8mo ago), licensed MIT. It adds 28 tokens to every session and 434 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, reaches for credential files). 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

prowler-commit

Creates professional git commits following conventional-commits format. Trigger: When creating commits, after completing code changes, when user asks to commit.

prowler-cloud/prowler · 33 tokens

gh-auth-isolation

Safely manage multiple GitHub identities (EMU + personal) in agent workflows.

github/gh-aw · 20 tokens

comet-github

A routing guide for Comet-related GitHub work. It directs requests about pull requests, issues, CI failures, ideas, and fixes to the appropriate review or implementation process.

rpamis/comet · 72 tokens

github-skill

Work with GitHub via the gh CLI — clone repositories, create/list/merge pull requests, create/list issues, and run any other gh command (API calls, workflow runs, releases, repo administration). List operations return parsed JSON.

zeenie-ai/OpenCompany · 51 tokens

re0-merge

Review and land an external contribution the way this suite does: gate it against the thesis, land it with the author's credit intact, complete a new skill rather than merging it raw, then approve, credit, and explain before closing. Use when reviewing a pull request, as any collaborator or maintainer, not only the…

LilMGenius/paperthin · 70 tokens

nvca-chart-release

Release NVCA Operator chart changes from the native monorepo source to the vendored Helm chart. Use when updating the vendored NVCA Operator chart, changing NVCA image refs, publishing helm-nvca-operator, or validating the chart against a self-managed control plane.

NVIDIA/nvcf · 61 tokens