github-auth
GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
Skill by m4tinbeigi-official
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/m4tinbeigi-official-github-auth
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Shell scripts
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/github-auth
What's inside
- Skill name
github-auth- Description
- GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
- License
- MIT
- Instructions
- 236 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
- Instructions call the network
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (2)
- SKILL.md
- gh-env.sh · scripts/
SKILL.md (first lines)
# GitHub Authentication Setup This skill sets up authentication so the agent can work with GitHub repositories, PRs, issues, and CI. It covers two paths: - **`git` (always available)** — uses HTTPS personal access tokens or SSH keys - **`gh` CLI (if installed)** — richer GitHub API access with a simpler auth flow ## Detection Flow When a user asks you to work with GitHub, run this check first: ```bash # Check what's available git --version gh --version 2>/dev/null || echo "gh not installed" # Check if already authenticated gh auth status 2>/dev/null || echo "gh not authenticated" git config --global credential.helper 2>/dev/null || echo "no git credential helper" ``` **Decision tree:** 1. If `gh auth status` shows authenticated → you're good, use `gh` for everything 2. If `gh` is installed but not authenticated → use "gh auth" method below 3. If `gh` is not installed → use "git-only" method below (no sudo needed) --- ## Method 1: Git-Only Authentication (No gh, No sudo) This works on any machine with `git` installed. No root access needed. ### Option A: HTTPS with Personal Access Token (Recommended) This is the most portable method — works everywhere, no SSH config needed. **Step 1: Create a personal access token** Tell the user to go to: **https://github.com/settings/tokens** - Click "Generate new token (classic)" - Give it a name like "hermes-agent" - Select scopes: - `repo` (full repository access — read, write, push, PRs) - `workflow` (trigger and manage GitHub Actions) - `read:org` (if working with organization repos) - Set expiration (90 days is a good default) - Copy the token — it won't be shown again **Step 2: Configure git to store the token** ```bash # Set up the credential helper to cache credentials # "store" saves to ~/.git-credentials in plaintext (simple, persistent) git config --global credential.helper store # Now do a test operation that triggers auth — git will prompt for credentials # Username: <their-github-username> # Password: <paste the personal access token, NOT their GitHub password> git ls-remote https://github.com/<their-username>/<any-repo>.git ``` After entering credentials once, they're saved and reused for all future operations. **Alternative: cache helper (credentials expire from memory)** ```bash # Cache in memory for 8 hours (28800 seconds) instead of saving to disk git config --global credential.helper 'cache --timeout=28800' ``` **Alternative: set the token directly in the remote URL (per-repo)** ```bash # Embed token in the remote URL (avoids credential prompts entirely) git remote set-url origin https://<username>:<token>@github.com/<owner>/<repo>.git ``` **Step 3: Configure git identity** ```bash # Required for commits — set name and email git config --global user.name "Their Name" git config --global user.email "their-email@example.com" ``` **Step 4: Verify** ```bash # Test push access (this should work without any prompts now) git ls-remote https://github.com/<their-username>/<any-repo>.git # Verify identity git config --global user.name git config --global user.email ``` ### Option B: SSH Key Authentication Good for users who prefer SSH or already have keys set up. **Step 1: Check for existing SSH keys** ```bash ls -la ~/.ssh/id_*.pub 2>/dev/null || echo "No SSH keys found" ``` **Step 2: Generate a key if needed** ```bash # Generate an ed25519 key (modern, secure, fast) ssh-keygen -t ed25519 -C "their-email@example.com" -f ~/.ssh/id_ed25519 -N "" # Display the public key for them to add to GitHub cat ~/.ssh/id_ed25519.pub ``` Tell the user to add the public key at: **https://github.com/settings/keys** - Click "New SSH key"
From m4tinbeigi-official/hermes-literary-translation-mastery, MIT.
More from m4tinbeigi-official/hermes-literary-translation-mastery
- 0.618score
audiobook-script-director
m4tinbeigi-official
Use when adapting novels, chapters, or prose into dramatized audio drama scripts, full-cast audiobooks, or TTS multi-voice pipelines.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
novel-art-direction-prompts
m4tinbeigi-official
Use when extracting key visual moments from novels, chapters, or scenes to generate high-fidelity cinematic image prompts for Midjourney, Stable Diffusion…
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
book-authoring-mastery
m4tinbeigi-official
Use when writing, drafting, architecting, plotting, or editing full-length fiction/non-fiction books, novels, or series.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
himalaya
m4tinbeigi-official
Himalaya CLI: IMAP/SMTP email from terminal.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-code-review
m4tinbeigi-official
Review PRs: diffs, inline comments via gh or REST.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-pr-workflow
m4tinbeigi-official
GitHub PR lifecycle: branch, commit, open, CI, merge.
SkillBFreshness: B★ 47Claude Code +9 - 0.613score
computer-use
m4tinbeigi-official
Drive the user's desktop in the background — clicking, typing, scrolling, dragging — without stealing the cursor, keyboard focus, or switching virtual…
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
hp-voice-hermione
m4tinbeigi-official
Hermione Granger character voice profile, academic precision, rule-abiding and fast-paced dialogue style for Persian translation.
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
evaluating-llms-harness
m4tinbeigi-official
lm-eval-harness: benchmark LLMs (MMLU, GSM8K, etc.).
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
hp-voice-voldemort
m4tinbeigi-official
Lord Voldemort character voice profile, chilling, cruel, regal supremacy, and hiss-like dialogue style for Persian translation.
SkillBFreshness: B★ 47Claude Code +9 - 0.610score
rick-sanchez-content-voice
m4tinbeigi-official
Authentic voice, tone, and formatting profile for Rick Sanchez (ریک سانچز) channel content generation, tech breakdowns, AI news, and conversational posts.
SkillBFreshness: B★ 47Claude Code +9 - 0.609score
dogfood
m4tinbeigi-official
Exploratory QA of web apps: find bugs, evidence, reports.
SkillBFreshness: B★ 47Claude Code +9
Signals
- Stars
- 47
- Forks
- 3
- Open issues
- 0
- Last commit (this folder)
- Aug 22, 2026 (2 months ago)
- Last release
- Sep 6, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
- 0.326score
github-auth
merllinsbeard
GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
SkillBFreshness: B★ 1Claude Code +9 - 0.325score
github-auth
werxiao882-cell
GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
SkillCFreshness: C★ 13Claude Code +9 - 0.322score
github-auth
AjayRajan05
GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
SkillCFreshness: C★ 10Claude Code +9 - 0.293score
github-auth
lokah1945
GitHub auth setup: HTTPS tokens, SSH keys, gh CLI login.
SkillCFreshness: C★ 1Claude Code +9
More from m4tinbeigi-official
- 0.618score
book-authoring-mastery
m4tinbeigi-official
Use when writing, drafting, architecting, plotting, or editing full-length fiction/non-fiction books, novels, or series.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
audiobook-script-director
m4tinbeigi-official
Use when adapting novels, chapters, or prose into dramatized audio drama scripts, full-cast audiobooks, or TTS multi-voice pipelines.
SkillBFreshness: B★ 47Claude Code +9 - 0.618score
novel-art-direction-prompts
m4tinbeigi-official
Use when extracting key visual moments from novels, chapters, or scenes to generate high-fidelity cinematic image prompts for Midjourney, Stable Diffusion…
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-code-review
m4tinbeigi-official
Review PRs: diffs, inline comments via gh or REST.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
himalaya
m4tinbeigi-official
Himalaya CLI: IMAP/SMTP email from terminal.
SkillBFreshness: B★ 47Claude Code +9 - 0.614score
github-pr-workflow
m4tinbeigi-official
GitHub PR lifecycle: branch, commit, open, CI, merge.
SkillBFreshness: B★ 47Claude Code +9
Cite this page
github-auth skill. Agent Mart. https://agentmart.dev/skills/m4tinbeigi-official-github-auth (last updated 2026-10-24)