Alex72-py/termux-elite / skills/git-credentials
git-credentials
FlaggedDiagnose git clone, fetch, and push authentication failures from Termux without exposing tokens or private keys (HTTPS tokens, SSH keys, host key prompts, wrong account, missing scopes). Use for Authentication failed, HTTP 403, Permission denied (publickey), repeated credential prompts, or key permission warnings. Do NOT use for network outages, wrong remote names, or non-authentication rejections such as non-fast-forward.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.4 KB |
| scripts/check-git-auth.shexecutable | script | 1.5 KB |
scripts/check-git-auth.sh
View on GitHub#!/usr/bin/env sh
# Read-only git auth facts. Redacts credentials in URLs; never reads key contents.
set -eu
have() { command -v "$1" >/dev/null 2>&1; }
printf '%s\n' "remotes:"
if have git; then
git remote -v 2>/dev/null | sed -E 's#(://)[^/@[:space:]]+@#\1<redacted>@#' | sed 's/^/ /' || true
fi
helper=none
if have git; then helper=$(git config --get credential.helper 2>/dev/null || printf none); fi
printf '%s\n' "credential_helper: $helper"
if [ -f "$HOME/.git-credentials" ]; then printf '%s\n' "plaintext_credentials_file: present"; else printf '%s\n' "plaintext_credentials_file: absent"; fi
if have gh; then
# gh writes a telemetry device id under $HOME unless told not to; keep this check read-only.
if env GH_TELEMETRY=false DO_NOT_TRACK=1 GH_NO_UPDATE_NOTIFIER=1 gh auth status >/dev/null 2>&1; then printf '%s\n' "gh_auth: logged in"; else printf '%s\n' "gh_auth: not logged in"; fi
else
printf '%s\n' "gh_auth: gh not installed"
fi
printf '%s\n' "token_env_vars_set:"
[ -n "${GH_TOKEN:-}" ] && printf ' %s\n' GH_TOKEN
[ -n "${GITHUB_TOKEN:-}" ] && printf ' %s\n' GITHUB_TOKEN
[ -n "${GIT_ASKPASS:-}" ] && printf ' %s\n' GIT_ASKPASS
printf '%s\n' "ssh_dir_mode: $(stat -c '%a' "$HOME/.ssh" 2>/dev/null || printf absent)"
printf '%s\n' "ssh_files:"
if [ -d "$HOME/.ssh" ]; then
for f in "$HOME"/.ssh/*; do
[ -f "$f" ] || continue
printf ' %s %s\n' "$(stat -c '%a' "$f" 2>/dev/null || printf '?')" "$(basename "$f")"
done
fi
printf '%s\n' "ssh_agent: ${SSH_AUTH_SOCK:+socket set}"
exit 0
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |