gh-safe-repo SKILL.md skillA
gh-safe-repo from ariesq/gh-safe-repo is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add ariesq/gh-safe-repo/gh-safe-repo@git:20261027.c1dbcd9Pins git:20261027.c1dbcd9 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- ariesq/gh-safe-repo
- Path
skills/gh-safe-repo/SKILL.md- Versions recorded
- 15
- Latest version
- git:20261027.c1dbcd9, committed Oct 27, 2026
- First version recorded
- Oct 15, 2026
- Size
- 22,230 bytes
- Repository stars
- 38
- License
- none declared
Drive the gh-safe-repo CLI to create a GitHub repository with hardened defaults, push a local project or copy an existing repo into a new hardened one, audit or fix settings on an existing repo (branch protection, rulesets, Dependabot alerts, secret scanning, push protection, Actions permissions, tag protection), or scan a local directory for secrets before publishing it. Use when asked to create/publish a GitHub repo, push a local project to a new repo, harden or audit repo security settings…
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-safe-repo A CLI that applies safe defaults to GitHub repos. Six commands: | Command | Target | Changes GitHub? | Needs | |---|---|:-:|---| | `new <owner/repo>` | a **new**, empty repo | yes | `owner` must equal the authenticated user | | `push <path> <owner/repo>` | a **new** repo filled from a local git repo | yes | same, plus git credentials; scans `path` first | | `copy <src-owner/repo> <owner/repo>` | a **new** repo copied from an existing one (not a fork) | yes | same, plus git credentials; scans the clone first | | `audit <owner/repo>` | an **existing** repo, read-only | **no** | **admin** on the repo (org repos OK) | | `fix <owner/repo>` | an **existing** repo | yes | **admin** on the repo (org repos OK) | | `scan [path]` | a local directory (default `.`) | **no** | nothing — no GitHub calls at all | Options are uniform by class. `new`, `push` and `copy` take `--public`, `--dry-run`, `--yes`, `--json`. `fix` takes `--all`, `--dry-run`, `--yes`, `--json`, `--migrate-branch-protection`. `audit` takes `--all` and `--json`; `scan` takes only `--json`. Global, on either side of the command: `--config PATH`, `--no-config`, `--debug`. There is no `--local`, no …
Read the whole file at its exact version.
How to install
mdr add ariesq/gh-safe-repo/gh-safe-repo@sha256:e9cd08f3331d8449The line at the top of this page pins the label git:20261027.c1dbcd9, 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_bimv7zvgvod4fasy)
1 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 15 versions of this file, between Oct 15, 2026 and Oct 27, 2026, more than one a day.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261027.c1dbcd9 latest | 2026-10-27 | c1dbcd9 | 22,230 B | A | view · diff |
| git:20261026.c7c92d8 | 2026-10-26 | c7c92d8 | 21,973 B | A | view · diff |
| git:20261022.d9953bb | 2026-10-22 | d9953bb | 20,039 B | A | view · diff |
| git:20261021.40e0990 | 2026-10-21 | 40e0990 | 19,793 B | A | view · diff |
| git:20261021.8a1ea1e | 2026-10-21 | 8a1ea1e | 19,779 B | A | view · diff |
| git:20261020.9bc7a04 | 2026-10-20 | 9bc7a04 | 19,540 B | A | view · diff |
| git:20261019.c2b5f66 | 2026-10-19 | c2b5f66 | 19,342 B | A | view · diff |
| git:20261019.89d53ad | 2026-10-19 | 89d53ad | 16,977 B | A | view · diff |
| git:20261015.99c999e | 2026-10-15 | 99c999e | 14,562 B | A | view · diff |
| git:20261015.e42b1a4 | 2026-10-15 | e42b1a4 | 13,921 B | A | view · diff |
| git:20261015.6510f73 | 2026-10-15 | 6510f73 | 11,876 B | A | view · diff |
| git:20261015.ae0c242 | 2026-10-15 | ae0c242 | 11,220 B | A | view · diff |
| git:20261015.420682d | 2026-10-15 | 420682d | 10,055 B | A | view · diff |
| git:20261015.64e74ab | 2026-10-15 | 64e74ab | 10,055 B | A | view · diff |
| git:20261015.e11120f | 2026-10-15 | e11120f | 9,424 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 (22230 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
ariesq/gh-safe-repo · 38 stars · license none declared · pushed 2026-11-02 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_bimv7zvgvod4fasy GET https://markdownregistry.com/api/v1/resolve?ref=ariesq/gh-safe-repo/gh-safe-repo GET https://markdownregistry.com/api/v1/blob/e9cd08f3331d8449a1fea84520fa494202156555c4fe785758d13050ad17ad82
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.