{"data":{"slug":"discovered-bf377f36c54d6efc5fb7d0efd99d6de6c927f2d373878650","title":"Glab Read","summary":"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.","url":"https:\/\/skillshunter.net\/skills\/discovered-bf377f36c54d6efc5fb7d0efd99d6de6c927f2d373878650","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-bf377f36c54d6efc5fb7d0efd99d6de6c927f2d373878650","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-bf377f36c54d6efc5fb7d0efd99d6de6c927f2d373878650.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-bf377f36c54d6efc5fb7d0efd99d6de6c927f2d373878650\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_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.","instructions":"---\nname: glab-read\ndescription: >\n  Read-only GitLab lookups through one script instead of an ad hoc\n  `glab ... | python3 -c` pipe: MR or issue fields and description, review\n  threads (unresolved, by id, with reactions), per-file diff counts and\n  filtered diff lines, issue and MR search. Use whenever a task needs to\n  read an MR, issue, or review thread from GitLab. Never writes to GitLab.\n---\n\nRun `scripts\/glab-read.py` (stdlib Python, shells out to `glab`). Do not\nwrite a throwaway parser for the shapes below.\n\n| Need | Command |\n| --- | --- |\n| MR fields and description | `glab-read.py mr [IID] [--fields iid,sha,pipeline]` |\n| Issue fields and description | `glab-read.py issue IID` |\n| Open review threads | `glab-read.py threads IID --unresolved` |\n| One thread, every note | `glab-read.py threads IID --id <prefix>` |\n| One thread by a note id | `glab-read.py threads IID --note <note-id>` |\n| Did I react to the first note | add `--emoji` to `threads` |\n| Changed files with +\/- counts | `glab-read.py files IID` |\n| Diff lines of one file | `glab-read.py files IID --path <substr> [--grep <regex>]` |\n| Find issues or MRs | `glab-read.py search issues\\|mrs <query> [--state S] [--author U]` |\n| Is this MR mine | `glab-read.py mine IID` (exit 1 when someone else authored it) |\n\n`-R group\/project` overrides the project taken from the origin remote.\n`--max N` clips each note body or diff line.\n\nFor anything the script lacks (raw repo files, posting, description\nround-trips), use `glab api` directly and add the shape here when it recurs.\n","use_cases":["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"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/gitlab.com\/radbatnag\/claude-skills\/-\/blob\/05b55872e4e98b79bc052be748b3abd6dccbabe6\/skills\/glab-read\/SKILL.md","source_commit":"05b55872e4e98b79bc052be748b3abd6dccbabe6","license":null,"version":null,"listing_approved_at":"2026-11-28","created_at":"2026-11-28T08:00:03.000000Z","updated_at":"2026-11-28T18:37:52.000000Z","seo_title":"Read GitLab MRs, Issues, and Review Threads with Glab Read","seo_description":"Use Glab Read to fetch MR and issue details, review threads, and diff information from GitLab efficiently with a single script.","seo_keywords":["GitLab read","glab-read","MR details","issue fields","review threads","diff analysis","GitLab automation"]}}