github-legal skillA
github-legal is agent-read markdown (skill) from avalonreset/legends-github: Review repository licenses, provenance, upstream notices, dependency licensing questions, security reporting, and optional citation metadata. Prepare scoped changes without declaring legal clearance..
Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.
What the file says
# GitHub licensing, provenance, and security policy Collect verifiable facts and prepare appropriate repository files. This workflow provides licensing assistance, not a legal opinion. Explain specific unresolved legal questions and seek qualified review where they materially affect a decision. ## Runtime and scope Resolve **GITHUB_HOME** from this skill directory: `../../github` in source, `../github` when installed. Verify `scripts/run_headless.py` exists and read `GITHUB_HOME/references/portable-workflows.md`. Resolve **TARGET** separately. ```text python "<GITHUB_HOME>/scripts/run_headless.py" legal --help python "<GITHUB_HOME>/scripts/run_headless.py" legal --path "<TARGET>" python "<GITHUB_HOME>/scripts/run_headless.py" legal --path "<TARGET>" --write-files --license MIT ``` The final example is appropriate only when MIT is the established license choice; it is not a recommendation for every repository. The planning command writes `legal-data.json`, `LEGAL-REPORT.md`, `LEGAL-PLAN.md`, and `LEGAL-SUMMARY.json`. Review planned files before `--write-files`; use targeted edits when a plan would select an unapproved license or add unwanted citation/security files. …
Read the whole file at its exact version.
How to install
mdr add avalonreset/legends-github/github-legal@git:20260921.a2e8de7mdr add avalonreset/legends-github/github-legal@sha256:6cfb2e124d70aca8Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.
[](https://markdownregistry.com/a/art_vuebxsvdhxvgkbbm)
1 badge views in 30 days
Versions
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260921.a2e8de7 latest | 2026-09-21 | a2e8de7 | 6,944 B | A | view · diff |
| git:20260509.b2d3e98 | 2026-05-09 | b2d3e98 | 11,673 B | A | view · diff |
| git:20260316.34b3e2a | 2026-03-16 | 34b3e2a | 11,370 B | A | view · diff |
| git:20260313.aa9b904 | 2026-03-13 | aa9b904 | 10,964 B | A | view · diff |
| git:20260313.900cd25 | 2026-03-13 | 900cd25 | 10,974 B | A | view · diff |
| git:20260309.d019325 | 2026-03-09 | d019325 | 10,269 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 (6944 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
avalonreset/legends-github · 4 stars · license MIT · pushed 2026-09-24 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_vuebxsvdhxvgkbbm GET https://markdownregistry.com/api/v1/resolve?ref=avalonreset/legends-github/github-legal GET https://markdownregistry.com/api/v1/blob/6cfb2e124d70aca8b65157131ac64cc8478cd530e98a25058d5ed3cff7d5f89d
Your agent 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.