gh-switch SKILL.md skillB
gh-switch from sentimony/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add sentimony/skills/gh-switch@v0.0.11Pins v0.0.11 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- sentimony/skills
- Path
skills/gh-switch/SKILL.md- Versions recorded
- 7
- Latest version
- v0.0.11, committed Nov 7, 2026
- First version recorded
- Sep 30, 2026
- Size
- 14,615 bytes
- Repository stars
- 7
- License
- MIT
You MUST use this when a project-scoped GitHub CLI (gh) command is about to run on github.com, including every subsequent command in the same session, or when checking or switching the project's GitHub account, and before the first project-scoped GitLab API or glab call in a project with a GitLab remote. Also applies after gh or GitLab access failures. Not for plain git, SSH, gh help or version output, authentication setup, or GitHub hosts other than github.com.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# gh-switch Before a project-scoped GitHub CLI operation, ensure that the active github.com account matches the project's GH_ACC row in `accounts.md`, and report a confirmed switch in one line. Before GitLab API calls, check that the project's GitLab token belongs to its GL_ACC row. A project names its account with one row in `~/.sentimony/skills/gh-switch/accounts.md`, a table keyed by the absolute path of the main checkout (a worktree uses its main checkout; the match is exact, with a trailing slash and no `~`): ```text /Users/me/work/github/acme/app/ | GH_ACC=<login> /Users/me/work/github/acme/app/ | GL_ACC=<username> ``` A project with both accounts has two rows. Lines starting with `#` are comments; any other malformed row, an unknown variable, or a duplicate row stops the helper (exit 2) with the line number. You may edit the file by hand. Without a `GH_ACC` row the helper adds one itself, without asking, when the account is unambiguous: the only github.com remote owner that is a logged-in `gh` account, or else the one GH_ACC on which the sibling clones of the same owner that have a table row (other Git …
Read the whole file at its exact version.
How to install
mdr add sentimony/skills/gh-switch@sha256:a107ef1a3838c2a7The line at the top of this page pins the label v0.0.11, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jadxhecqpiwtjvjv)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 7 versions of this file, between Sep 30, 2026 and Nov 7, 2026, about one every 6 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v0.0.11 latest | 2026-11-07 | e2d7cec | 14,615 B | B | view · diff |
| v0.0.10 | 2026-11-04 | 6022530 | 14,388 B | B | view · diff |
| v0.0.9 | 2026-11-04 | efb8f2a | 11,206 B | B | view · diff |
| v1.1.6 | 2026-11-01 | 9838372 | 11,206 B | B | view · diff |
| git:20261008.8af480a | 2026-10-08 | 8af480a | 5,981 B | B | view · diff |
| v1.0.1 | 2026-10-01 | 832a9a8 | 6,066 B | B | view · diff |
| v1.0.0 | 2026-09-30 | dea1140 | 6,048 B | B | view |
Audit of the latest version
- fail: No instruction to read or print local credentials (matched: print the environment or the contents of `.env)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14615 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
sentimony/skills · 7 stars · license MIT · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jadxhecqpiwtjvjv GET https://markdownregistry.com/api/v1/resolve?ref=sentimony/skills/gh-switch GET https://markdownregistry.com/api/v1/blob/a107ef1a3838c2a7d910d5128da0e308eda815f51fa5169f0f405fa53334f93a
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.