switch-github-creds
A skill to switch GitHub credentials for the agent.
Skill by BrianV1981
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/brianv1981-switch-github-creds
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: agent-building
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/switch-github-creds
What's inside
- Skill name
switch-github-creds- Description
- A skill to switch GitHub credentials for the agent.
- License
- MIT
- Instructions
- 28 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
<activated_skill> <instructions> # Skill: switch-github-creds This skill explains how to switch the active GitHub credentials used by the `gh` CLI tool when you encounter 403 Forbidden errors or permission issues during `git push` or other GitHub API operations. ## Context When multiple GitHub accounts are logged in via the GitHub CLI, `git` commands (if configured to use the `gh` credential helper) and `gh` API commands will default to the active account. If you attempt to push to a repository that your active account does not have write access to, you will receive a 403 Forbidden error. ## Workflow 1. **Check Current Status:** Run `gh auth status` to see all logged-in accounts and identify which one is currently active. 2. **Identify the Correct Account:** Determine the username of the account that has permissions to the target repository (e.g., `BrianV1981`). 3. **Switch the Active Account:** Execute the following command to switch the active context to the correct user: ```bash gh auth switch -u <USERNAME> ``` *Example: `gh auth switch -u BrianV1981`* 4. **Verify and Execute:** After switching, you will see a success message (`✓ Switched active account for github.com to <USERNAME>`). You can now safely execute your `git push origin main` or other GitHub operations. </instructions> </activated_skill>
From BrianV1981/aim, MIT.
More from BrianV1981/aim
- 0.543score
advanced-memory-search
BrianV1981
Runs a deep hybrid (semantic + FTS5) search across the entire Engram DB — perfect for "what did we decide about X last week?"
SkillCFreshness: C★ 13Claude Code +9 - 0.486score
aim-calc
BrianV1981
A stateful scientific calculator.
SkillDFreshness: D★ 13Claude Code +9 - 0.486score
aim-google
BrianV1981
A natively integrated Go CLI that grants sovereign, direct access to the user's Google Workspace (Gmail, Calendar, Drive, Docs, Sheets, Tasks, and Chat).
SkillDFreshness: D★ 13Claude Code +9 - 0.478score
list-recent-sessions
BrianV1981
Returns the N most recent sessions from the Engram DB (perfect for agents that want to know "what have we worked on lately").
SkillDFreshness: D★ 13Claude Code +9 - 0.475score
export-datajack-cartridge
BrianV1981
Packages specific knowledge from the Engram DB into a portable .engram DataJack cartridge for sharing or backup.
SkillDFreshness: D★ 13Claude Code +9
Signals
- Stars
- 13
- Forks
- 1
- Open issues
- 50
- Last commit (this folder)
- Jun 3, 2026 (4 months ago)
- Last release
- Mar 26, 2026 (7 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/BrianV1981/aim
- Website
- x.com/BrianV1981
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from BrianV1981
- 0.601score
aim-memory-wiki
BrianV1981
Interactive active-memory ingestion skill for maintaining a persistent, compounding LLM knowledge base (the Memory Wiki).
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
aim-gitops
BrianV1981
Automates the strict GitOps worktree and TDD workflow (formerly `aim fix` and `aim promote`) natively using PowerShell and git.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
aim-mega-guide
BrianV1981
A highly specialized content pipeline for generating consistent, deeply structured 'Mega Guides' and SOPs from a single, long-form YouTube video or podcast…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
aim-handoff
BrianV1981
Ephemeral context handoff: structure Engineering Handoff docs to the gold-standard numbered template (HANDOFF style), update in place, optional Tmux baton…
SkillAFreshness: A★ 3Claude Code +9 - 0.597score
aim-mega-article
BrianV1981
Multi-source B2B authority article pipeline combining 3-5 contextual YouTube masterclass embeds, inline hyperlinked empirical data citations, 3 bespoke…
SkillAFreshness: A★ 3Claude Code +9 - 0.569score
aim-communicate
BrianV1981
Inter-agent communication via tmux with permission gates, chalkboard + short-paste protocol (Grok/AGY-hardened).
SkillBFreshness: B★ 3Claude Code +9
Cite this page
switch-github-creds skill. Agent Mart. https://agentmart.dev/skills/brianv1981-switch-github-creds (last updated 2026-10-24)