Approved catalog listing
SKILL #3005
skillshunter.net
Listing Approved Approved on: November 28, 2026

Glab Read

Read MR or issue fields and descriptions, review threads, diff counts, and filtered diff lines from GitLab using a single script without writing to GitLab.

Rate this skill

No ratings yet

Editor's Note

Ensure `glab` is installed and configured before running `scripts/glab-read.py`. The script relies on standard library Python and shells out to `glab` for data retrieval.

When to Use It

  • Extracting MR or issue fields and descriptions for automation or reporting
  • Fetching unresolved review threads for analysis or tracking
  • Analyzing diff counts and filtered diff lines for code review insights

SKILL.md

SkillsHunter provides this listing for informational purposes only. Review the skill’s source, license, and required permissions before use. You are responsible for deciding whether to install or run it. Terms of Use

↓ Download .md
---
name: glab-read
description: >
  Read-only GitLab lookups through one script instead of an ad hoc
  `glab ... | python3 -c` pipe: MR or issue fields and description, review
  threads (unresolved, by id, with reactions), per-file diff counts and
  filtered diff lines, issue and MR search. Use whenever a task needs to
  read an MR, issue, or review thread from GitLab. Never writes to GitLab.
---

Run `scripts/glab-read.py` (stdlib Python, shells out to `glab`). Do not
write a throwaway parser for the shapes below.

| Need | Command |
| --- | --- |
| MR fields and description | `glab-read.py mr [IID] [--fields iid,sha,pipeline]` |
| Issue fields and description | `glab-read.py issue IID` |
| Open review threads | `glab-read.py threads IID --unresolved` |
| One thread, every note | `glab-read.py threads IID --id <prefix>` |
| One thread by a note id | `glab-read.py threads IID --note <note-id>` |
| Did I react to the first note | add `--emoji` to `threads` |
| Changed files with +/- counts | `glab-read.py files IID` |
| Diff lines of one file | `glab-read.py files IID --path <substr> [--grep <regex>]` |
| Find issues or MRs | `glab-read.py search issues\|mrs <query> [--state S] [--author U]` |
| Is this MR mine | `glab-read.py mine IID` (exit 1 when someone else authored it) |

`-R group/project` overrides the project taken from the origin remote.
`--max N` clips each note body or diff line.

For anything the script lacks (raw repo files, posting, description
round-trips), use `glab api` directly and add the shape here when it recurs.

Community Reviews & Field Notes

Tried this skill on your own project? Share the model you used and the results you got.

Add Your Review

Approved reviews appear publicly with the name or role you enter. See the Privacy Notice.