Agent skill

GitHub Auth

by taracodlabs in taracodlabs/aiden

GitHub auth setup via gh CLI, SSH keys, HTTPS PATs. An agent skill from taracodlabs/aiden.

Apache-2.0Auto-check: warningsDevelopment

Install GitHub Auth

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add taracodlabs/aiden --skill github-auth -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install taracodlabs/aiden github-auth --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/taracodlabs/aiden.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/github-auth .claude/skills/github-auth && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
github-auth
GitHub stars
849
Token cost
~936 tokens
SKILL.md length
313 words
Files
2
Skills in repo
63
Repo updated
First seen
Licence
Apache-2.0

At a glance

GitHub auth setup via gh CLI, SSH keys, HTTPS PATs. An agent skill from taracodlabs/aiden.

  • Works in 7 steps: Authenticate with gh CLI (recommended) → Create an SSH key → Configure SSH to use the key for GitHub → …
  • Development work in your project
  • SKILL.md covers When to Use, How to Use, Examples and Cautions
  • Calls gh, git and ssh; reaches github.com; needs GH_TOKEN

What it does

GitHub Auth is an agent skill from taracodlabs/aiden. GitHub auth setup via gh CLI, SSH keys, HTTPS PATs

Its SKILL.md is about 940 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `skill.json`).

It sits in Development. It works with GitHub and Git. The repository describes itself as: Aiden — an autonomous AI agent and work engine built solo. It can operate your browser, terminal, files, apps, APIs, skills and tools, remember context, recover from failures… The licence is Apache-2.0.

When your agent uses it

  • Development work in your project

Example prompts

  • “/github-auth”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Authenticate with gh CLI (recommended)
  2. Create an SSH key
  3. Configure SSH to use the key for GitHub
  4. Create a Personal Access Token (HTTPS)
  5. Configure gh CLI with a PAT
  6. Verify and list configured credentials
  7. Switch a repo from HTTPS to SSH

What it can do on your machine

Read from SKILL.md and the folder at commit 3704204. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • gh
    • git
    • ssh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GH_TOKEN

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

GitHub Auth loads about 936 tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 313 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~936

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:63
    IdentityFile ~/.ssh/github_ed25519

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from taracodlabs/aiden at commit 3704204, republished under its Apache-2.0 licence (© taracodlabs). 313 words, ~936 tokens.

Download SKILL.mdSave it as .claude/skills/github-auth/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
github-auth
description
GitHub auth setup via gh CLI, SSH keys, HTTPS PATs
category
developer
version
1.0.0
origin
aiden
license
Apache-2.0
tags
github, auth, ssh, pat, token, credentials, gh-cli, authentication, git, https

GitHub Authentication Setup

Configure GitHub authentication for git and gh CLI operations using the GitHub CLI (gh), SSH keys, or HTTPS personal access tokens (PATs).

When to Use

  • User needs to authenticate with GitHub from a new machine
  • User is getting Permission denied (publickey) or Authentication failed errors
  • User wants to switch from HTTPS to SSH authentication
  • User wants to create or rotate a personal access token
  • User wants to verify their current GitHub credentials are working

How to Use

powershell
# Interactive login — opens browser for OAuth
gh auth login

# Choose: GitHub.com → HTTPS → Authenticate with browser
# Or choose SSH if preferred

# Verify authentication
gh auth status
2. Create an SSH key
powershell
# Generate Ed25519 key (modern, secure)
ssh-keygen -t ed25519 -C "your-email@example.com" -f "$env:USERPROFILE\.ssh\github_ed25519"

# Start ssh-agent and add key
Start-Service ssh-agent
ssh-add "$env:USERPROFILE\.ssh\github_ed25519"

# Display public key to copy to GitHub
Get-Content "$env:USERPROFILE\.ssh\github_ed25519.pub"

After running step 2, the user must add the public key at https://github.com/settings/keys → New SSH key.

3. Configure SSH to use the key for GitHub
powershell
# Create or append to SSH config
$config = @"

Host github.com
  HostName github.com
  User git
  IdentityFile ~/.ssh/github_ed25519
"@
Add-Content "$env:USERPROFILE\.ssh\config" $config

# Test SSH connection
ssh -T git@github.com
4. Create a Personal Access Token (HTTPS)

Direct the user to: https://github.com/settings/tokens/new

  • Select scopes: repo, read:org (for org repos), workflow (for Actions)
  • Copy the token — it is shown only once
powershell
# Configure git to cache HTTPS credentials
git config --global credential.helper wincred

# Test — will prompt for username + PAT as password
git clone https://github.com/your-org/your-repo.git
5. Configure gh CLI with a PAT
powershell
# Authenticate gh CLI with a PAT non-interactively
$env:GH_TOKEN = "ghp_your_token_here"
gh auth status
6. Verify and list configured credentials
powershell
# Check gh auth
gh auth status

# Check git remote URL type
git remote -v

# Test SSH
ssh -T git@github.com
# Expected: "Hi username! You've successfully authenticated..."
7. Switch a repo from HTTPS to SSH
powershell
# Show current remote
git remote get-url origin

# Change to SSH
git remote set-url origin git@github.com:owner/repo.git
git remote -v   # verify

Examples

"I'm on a new machine and need to set up GitHub access" → Use step 1 (gh auth login) for the quickest setup. If SSH is preferred, use steps 2–3 then step 1 with SSH option.

"I'm getting Authentication failed when pushing to GitHub" → Use step 6 to diagnose. If HTTPS, rotate the PAT (step 4). If SSH, run ssh -T git@github.com to test.

"Generate a new SSH key and add it to GitHub" → Use steps 2–3 and instruct user to paste the public key at github.com/settings/keys.

Cautions

  • Never store PATs in code files or commit them to git — use environment variables or the system keychain
  • PATs shown on GitHub are one-time — copy immediately when created
  • SSH keys without passphrases are convenient but less secure — recommend a passphrase for shared machines
  • gh auth login stores credentials in the system keychain — do not use on untrusted machines

© taracodlabs, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/github-auth of taracodlabs/aiden.

  • SKILL.md
  • skill.json

Open the folder on GitHubat commit 3704204

Compare with similar skills

GitHub Auth next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

GitHub Auth compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
GitHub Auth this skilltaracodlabs/aiden849—~936Automated safety check: WarnApache-2.0
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0
Pull Request Title and Body Writeropeninterpreter/openinterpreter69k2 repos~1.1kAutomated safety check: PassApache-2.0
Draft Release Notesjamiepine/voicebox57k—~941Automated safety check: PassMIT
PR Review State Fetchprisma/orm48k—~767Automated safety check: PassApache-2.0

Similar skills

  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Draft Release Notes

    jamiepine/voicebox

    Writes or refreshes the Unreleased section of CHANGELOG.md as a themed narrative built from the commits, PRs and diff since the last version tag.

    57k GitHub stars~941 tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Fetches a pull request's canonical review state as JSON, validates it, and renders markdown, a text summary and triage target files from it using bundled scripts.

    48k GitHub stars~767 tokensUpdated today
    DevelopmentAuto-check passed
  • Publishes curated, bilingual release notes for an existing Mole version tag with gh release edit, including contributor thanks and reactions, after the release workflow finishes.

    69k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed

More from taracodlabs/aiden

All 63 skills in this repo
  • Google Flights Search

    taracodlabs/aiden

    Searches Google Flights for prices, schedules and availability through browser automation with URL-based queries, and stops short of booking.

    849 GitHub stars~1.5k tokensUpdated 24 days ago
    Auto-check passed
  • OpenAI Codex CLI Bridge

    taracodlabs/aiden

    Delegates code generation, editing and explanation tasks to the OpenAI Codex CLI, with commands for interactive, auto-edit, question-only and model-specific runs.

    849 GitHub starsUsed in 1 repo~826 tokens
    Auto-check passed
  • Google Hotels Search

    taracodlabs/aiden

    Searches Google Hotels through the agent-browser tool for prices, ratings, amenities and availability, building a search URL from the location and dates and reporting a results table.

    849 GitHub stars~1.5k tokensUpdated 24 days ago
    Auto-check passed
  • Generates dark-themed architecture, component, data-flow and network diagrams as self-contained HTML and SVG files that open in any browser.

    849 GitHub stars~1.3k tokensUpdated 24 days ago
    Auto-check passed
  • Aggregates holdings across Zerodha, Upstox and Angel One and normalizes order parameters into one format, with confirmation required before any routing.

    849 GitHub stars~1.1k tokensUpdated 24 days ago
    Auto-check passed
  • arXiv Paper Search

    taracodlabs/aiden

    Searches arXiv by keyword, category, author or paper ID through its public API and downloads PDFs, with no API key needed.

    849 GitHub stars~1k tokensUpdated 24 days ago
    Auto-check passed

Works with

Categories

Questions about GitHub Auth

What does GitHub Auth do?

GitHub auth setup via gh CLI, SSH keys, HTTPS PATs. An agent skill from taracodlabs/aiden. GitHub Auth is an agent skill from taracodlabs/aiden.

When should I use GitHub Auth?

GitHub Auth fits situations like: development work in your project.

How do I install GitHub Auth in Claude Code?

Run `npx skills add taracodlabs/aiden --skill github-auth -a claude-code`. Or copy the skill folder (skills/github-auth in taracodlabs/aiden) into .claude/skills/github-auth in your project. Claude Code loads it when a task matches its description.

How do I install GitHub Auth in Codex?

Run `npx skills add taracodlabs/aiden --skill github-auth -a codex`. Or copy the skill folder (skills/github-auth in taracodlabs/aiden) into .agents/skills/github-auth in your project. Codex loads it when a task matches its description.

Can I use GitHub Auth in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add taracodlabs/aiden --skill github-auth -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/github-auth, .gemini/skills/github-auth, .github/skills/github-auth and .opencode/skills/github-auth in your project.

What does GitHub Auth need to run?

Going by SKILL.md and its folder, GitHub Auth needs the command-line tools its instructions call (gh, git and ssh) and credentials named GH_TOKEN.

Does GitHub Auth access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is GitHub Auth safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.

What licence does GitHub Auth use?

GitHub Auth is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does GitHub Auth use?

About 936 tokens (SKILL.md is roughly 3.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to GitHub Auth?

Skills that share tags, products or a category with GitHub Auth: Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars), Create Pull Request (cline/cline, 70k stars), Pull Request Title and Body Writer (openinterpreter/openinterpreter, 69k stars) and Draft Release Notes (jamiepine/voicebox, 57k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains GitHub Auth?

taracodlabs (a GitHub organization) maintains it in taracodlabs/aiden, which has 849 GitHub stars. The repository holds 63 skills in this directory. The repository was last updated on September 13, 2026.

Source: taracodlabs/aiden on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.