connect-github-account
Guide and assist a user through connecting the local machine to a GitHub account with SSH.
Skill by Cynthia11281128
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/cynthia11281128-connect-github-account
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
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
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/connect-github-account
What's inside
- Skill name
connect-github-account- Description
- Guide and assist a user through connecting the local machine to a GitHub account with SSH. Use when the user asks to connect a GitHub account, set up GitHub SSH authentication, create or add an SSH key to GitHub, verify SSH access with GitHub, fix GitHub SSH permission errors, or prepare Git to push and pull GitHub repositories over SSH.
- License
- MIT
- Instructions
- 184 lines in SKILL.md · view on GitHub
Before installing
- Instructions read files in your home folder (~/.ssh, ~/.aws…)
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# Connect GitHub Account ## Goal Connect the user's local machine to their GitHub account with SSH. Execute safe local inspection and setup commands when possible, and give clear user-facing instructions for steps that must happen in the GitHub website. ## Core Rules - Read and apply `../shared/setup-collaboration-workflow.md` before running the GitHub-specific steps below. - Prefer agent-assisted setup: run local checks and safe setup commands when they do not expose secrets or overwrite user state. - Never print, copy, upload, summarize, or inspect private key contents. - Only show public key contents from files ending in `.pub`. - Never overwrite an existing SSH key. - If usable SSH keys already exist, ask before generating a new key. - Ask before changing existing global Git identity values. - Do not store GitHub passwords, personal access tokens, recovery codes, or two-factor authentication secrets. - Explain GitHub website steps clearly, because Codex cannot complete them for the user in the browser unless a connected browser tool is explicitly available. - Treat `Permission denied (publickey)` and `Hi USERNAME! You've successfully authenticated...` as normal verification outputs, not as reasons to expose secrets. - For every pause or final reply after running commands or waiting for user action, read and follow `../shared/command-response-template.md`. ## Step 1: Inspect Local Prerequisites Run these local checks first: ```bash git --version ssh -V git config --global --get user.name git config --global --get user.email ls -la ~/.ssh ``` Interpret results: - If `git` is missing, tell the user to install Git before continuing. - If `ssh` is missing, tell the user to install OpenSSH before continuing. - If Git identity values are missing, ask for the user's preferred Git commit name and email before setting them. - If Git identity values already exist, report them and do not change them unless the user asks. - If `~/.ssh` does not exist, create it with `mkdir -p ~/.ssh && chmod 700 ~/.ssh`. ## Step 2: Choose Or Create An SSH Key Look for existing public keys: ```bash ls -la ~/.ssh/*.pub ``` Prefer keys in this order: 1. `id_ed25519.pub` 2. Other `*.pub` keys whose matching private key exists and is not obviously unrelated. 3. A newly generated `ed25519` key. If an existing suitable key is present, ask whether to use it. If no suitable key exists, ask for the GitHub email address to use as the key comment, then generate: ```bash ssh-keygen -t ed25519 -C "<github-email>" ``` Use the default key path unless the user requests a custom path. Recommend a passphrase, but allow the user to choose. ## Step 3: Start SSH Agent And Add The Key Check the agent and loaded identities: ```bash ssh-add -l ``` If the agent is not running, start it: ```bash eval "$(ssh-agent -s)" ``` Add the selected private key: ```bash ssh-add ~/.ssh/id_ed25519 ``` Adjust the filename if a different key was selected. If the key has a passphrase, let the user enter it interactively. ## Step 4: Give The User The Public Key For GitHub Show only the selected public key: ```bash cat ~/.ssh/id_ed25519.pub ``` Then instruct the user: 1. Open GitHub in a browser. 2. Go to `Settings`. 3. Open `SSH and GPG keys`. 4. Choose `New SSH key`. 5. Use a recognizable title for this machine. 6. Paste the full public key output. 7. Save the key. Pause until the user confirms the key was added. ## Step 5: Verify GitHub SSH Authentication Run: ```bash ssh -T git@github.com ``` Expected successful result: ```text Hi <username>! You've successfully authenticated, but GitHub does not provide shell access. ``` If prompted about host authenticity, explain that `github.com` should be accepted only when the user intended to connect to GitHub, then let the user confirm.
From Cynthia11281128/my_agent, MIT.
More from Cynthia11281128/my_agent
- 0.529score
md-sync-bilingual
Cynthia11281128
Align paired English and Chinese Markdown files using explicit change markers instead of semantic comparison.
SkillBFreshness: BClaude Code +9 - 0.529score
push-safety-check
Cynthia11281128
Scan a Git repository before pushing to find private information that should not be published.
SkillBFreshness: BClaude Code +9 - 0.525score
vps-data-download
Cynthia11281128
Download, copy, fetch, or transfer exact files and folders from a configured source server to the current laptop or current machine through a configured VPS…
SkillBFreshness: BClaude Code +9 - 0.525score
vps-data-upload
Cynthia11281128
Upload, copy, push, or transfer exact files and folders from the current laptop or current machine to a configured destination server through a configured VPS…
SkillBFreshness: BClaude Code +9 - 0.525score
direct-data-download
Cynthia11281128
Download, copy, fetch, or transfer exact files and folders directly from configured remote servers to the current laptop or current machine.
SkillBFreshness: BClaude Code +9 - 0.524score
md-translate-inplace-eng
Cynthia11281128
Translate Chinese prose in Markdown files into English in place and lightly correct existing English grammar.
SkillBFreshness: BClaude Code +9 - 0.524score
md-edit
Cynthia11281128
Edit English Markdown files in bilingual English/Chinese documentation workflows.
SkillBFreshness: BClaude Code +9 - 0.524score
repo-env-setup
Cynthia11281128
Set up a repository environment with large files kept outside the working repo, mirrored external directory structure, symlinks back into the repo, and…
SkillBFreshness: BClaude Code +9 - 0.524score
md-translate-pair-cn
Cynthia11281128
Translate English Markdown files into paired Chinese Markdown files without modifying the English source.
SkillBFreshness: BClaude Code +9 - 0.524score
summarize-workflow
Cynthia11281128
Summarize the prior work in the current conversation into generalized, reproducible step-by-step workflow documentation written as paired English and Chinese…
SkillBFreshness: BClaude Code +9 - 0.524score
connect-folder-to-github
Cynthia11281128
Connect the current local folder to a remote GitHub repository.
SkillBFreshness: BClaude Code +9 - 0.520score
local-skill-setup
Cynthia11281128
Set up project-local Codex skills and per-folder skill scope.
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Cynthia11281128/my_agent
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Cynthia11281128
- 0.529score
push-safety-check
Cynthia11281128
Scan a Git repository before pushing to find private information that should not be published.
SkillBFreshness: BClaude Code +9 - 0.529score
md-sync-bilingual
Cynthia11281128
Align paired English and Chinese Markdown files using explicit change markers instead of semantic comparison.
SkillBFreshness: BClaude Code +9 - 0.525score
vps-data-download
Cynthia11281128
Download, copy, fetch, or transfer exact files and folders from a configured source server to the current laptop or current machine through a configured VPS…
SkillBFreshness: BClaude Code +9 - 0.525score
direct-data-download
Cynthia11281128
Download, copy, fetch, or transfer exact files and folders directly from configured remote servers to the current laptop or current machine.
SkillBFreshness: BClaude Code +9 - 0.525score
vps-data-upload
Cynthia11281128
Upload, copy, push, or transfer exact files and folders from the current laptop or current machine to a configured destination server through a configured VPS…
SkillBFreshness: BClaude Code +9 - 0.524score
connect-folder-to-github
Cynthia11281128
Connect the current local folder to a remote GitHub repository.
SkillBFreshness: BClaude Code +9
Cite this page
connect-github-account skill. Agent Mart. https://agentmart.dev/skills/cynthia11281128-connect-github-account (last updated 2026-10-24)