git-auth-setup

git-auth-setup is a skill for Claude Code, Codex from CodeInfinity1/Stram. It costs 31 tokens per session (449 once invoked), scanned A, original, MIT.

A guide for diagnosing Git and GitHub login problems using HTTPS tokens, SSH keys, credential helpers, or the GitHub command-line login.

In plain words
What is it for?
Use it when clone, fetch, push, SSH, HTTPS, or GitHub CLI commands fail because of authentication or permissions.
Why use it?
It helps restore repository access without exposing passwords, tokens, or private keys.

Skill for Claude CodeCodex

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

Good fit Use it when clone, fetch, push, SSH, HTTPS, or GitHub CLI commands fail because of authentication or permissions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/codeinfinity1/stram/git-auth-setup
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 CodeInfinity1/Stram --skill git-auth-setup
Clone the repo
git clone --depth 1 https://github.com/CodeInfinity1/Stram

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 git-auth-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/codeinfinity1/stram/git-auth-setup/github.svg)](https://agentmods.dev/skills/codeinfinity1/stram/git-auth-setup)
Your own site
<a href="https://agentmods.dev/skills/codeinfinity1/stram/git-auth-setup"><img src="https://agentmods.dev/badge/skills/codeinfinity1/stram/git-auth-setup/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 git-auth-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/codeinfinity1/stram/git-auth-setup"><img src="https://agentmods.dev/badge/skills/codeinfinity1/stram/git-auth-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 449 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00031 $0.00449
Opus 5.5 $0.00012 $0.00180
Sonnet 5.5 $0.00006 $0.00090
Haiku 4.5 $0.00003 $0.00045

Measured 1mo ago against content hash 80db3ebb0e62, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

git-auth-setup scanned grade A with 0 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 1mo 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/integrations/git-auth-setup/SKILL.md · 65 lines

What it actually says

Git Auth Setup

Purpose

Help the user make Git and GitHub authentication work while keeping credentials private. This skill diagnoses auth state and gives setup steps or runs approved safe commands.

When To Use

Use when clone, fetch, push, gh, SSH, HTTPS token, credential manager, or permission errors block repo work.

Inputs And Evidence

  • Error output, remote URL, auth method, platform, and intended operation.
  • git remote -v, gh auth status, SSH test output, and credential-helper config when approved.

Tool Map

  • run_shell_command
  • read_file
  • system_status
  • github-repo-management

Workflow

  1. Identify whether Git uses HTTPS, SSH, or gh auth.
  2. Inspect non-secret config and current error output.
  3. Recommend the least invasive fix: gh login, credential-manager refresh, SSH key setup, or remote URL update.
  4. Never ask the user to paste secrets into chat.
  5. Run auth commands only when the user approves interactive/setup work.
  6. Verify with a safe read or status command before retrying the original operation.

Native Implementation Boundaries

  • Use native Git/gh/ssh commands through approved shell tooling.
  • Do not import external reference auth scripts.
  • Do not store tokens in files managed by skills.

Safety And Approval

  • Treat tokens, private keys, and credential-helper output as secrets.
  • Avoid printing sensitive values.
  • Do not change remotes or credential helpers without approval.

Verification

  • Auth success should be proven by gh auth status, ssh -T style output, or a safe Git command.
  • Push readiness is separate from permission to push.
  • Report remaining permission blockers exactly.

Failure Modes

  • Exposing a token in logs.
  • Fixing the wrong account.
  • Retrying pushes without user intent.

References

  • Shortlist item: git-auth-setup.
  • Native path: GitHub CLI/Git through Stram shell tooling.
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 · 65 lines · 31 tokens per session scan A 80db3ebb0e62

Subscribe to this mod's changes

git-auth-setup is a skill published in the GitHub repository CodeInfinity1/Stram (11 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 449 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

omh-deploy-and-monitor

This is an OMH deploy-and-monitor workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 65 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/obsidian-mcp-server · 136 tokens

version-control-strategy

Define version control for design files, components, and libraries — branching, naming, and release. Use when file history is chaotic. For design system contribution rules, use design-system-governance (design-systems).

Owl-Listener/designer-skills · 50 tokens

debug-systematic

Systematic 4-phase debugging methodology for complex, intermittent, or mysterious issues. Use when investigating bugs, race conditions, or unexplained failures.

travisjneuman/.claude · 33 tokens

monorepo-navigator

Inspect or improve Turborepo, Nx, pnpm, or Lerna monorepos: package boundaries, dependency graphs, selective tests, caching, and migrations.

seaworld008/Commonly-used-high-value-skills · 40 tokens

ci-cd-ops

CI/CD pipeline patterns with GitHub Actions, release automation, and testing strategies. Use for: github actions, workflow, CI, CD, pipeline, deploy, release, semantic release, changesets, goreleaser, matrix, cache, secrets, environment, artifact, reusable workflow, composite action.

0xDarkMatter/claude-mods · 66 tokens