gh-cli SKILL.md skillA
gh-cli from tenequm/skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tenequm/skills/gh-cli@v1.4.0Pins v1.4.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tenequm/skills
- Path
skills/gh-cli/SKILL.md- Versions recorded
- 6
- Latest version
- v1.4.0, committed Sep 22, 2026
- First version recorded
- Jul 10, 2026
- Size
- 14,804 bytes
- Repository stars
- 40
- License
- MIT
GitHub CLI for remote repository analysis, file fetching, codebase comparison, and discovering trending code/repos. Use when analyzing repos without cloning, comparing codebases, or searching for popular GitHub projects.
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
# GitHub CLI - Remote Analysis & Discovery
Remote repository operations, codebase comparison, and code discovery without cloning.
## When to Use
- Analyze repositories without cloning
- Compare codebases side-by-side
- Fetch specific files from any repo
- Find trending repositories and code patterns
- Search code across GitHub
## Quick Operations
### Fetch a file remotely
```bash
gh repo read-file path/file.ts --repo OWNER/REPO
```
`gh repo read-file` (preview) is the preferred path: it prints raw content, takes `--ref` for any branch/tag/commit, and handles large files. `--output PATH` writes to disk (`--clobber` to overwrite); `--json` returns metadata (`content, downloadUrl, encoding, gitSHA, gitUrl, htmlUrl, name, path, size, type, url`). Fall back to `gh api` where the command is unavailable:
```bash
gh api repos/OWNER/REPO/contents/path/file.ts -H "Accept: application/vnd.github.raw"
```
There is **no `base64decode` template function** - `--template '{{.content | base64decode}}'` fails with `function "base64decode" not defined`. To decode the default JSON response, pipe it:
```bash
gh api repos/OWNER/REPO/contents/path/file.ts --jq '.content' | base64 -d
```
…Read the whole file at its exact version.
How to install
mdr add tenequm/skills/gh-cli@sha256:1c550c9d19c99304The line at the top of this page pins the label v1.4.0, 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_ba4rz4he5tu5forh)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Jul 10, 2026 and Sep 22, 2026, about one every 15 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.4.0 latest | 2026-09-22 | 3aa8070 | 14,804 B | A | view · diff |
| v1.3.3 | 2026-08-21 | b16c242 | 9,003 B | A | view · diff |
| v1.3.2 | 2026-08-07 | f846c19 | 8,891 B | A | view · diff |
| v1.3.1 | 2026-07-22 | 0d5b429 | 8,891 B | A | view · diff |
| v1.3.0 | 2026-07-13 | d3c10ad | 8,810 B | A | view · diff |
| v1.2.1 | 2026-07-10 | fa427e2 | 6,625 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (14804 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 instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
tenequm/skills · 40 stars · license MIT · pushed 2026-10-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_ba4rz4he5tu5forh GET https://markdownregistry.com/api/v1/resolve?ref=tenequm/skills/gh-cli GET https://markdownregistry.com/api/v1/blob/1c550c9d19c99304578dc9f7b58924d27794bf57d6872b49819326e1ed676c08
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.