glab-workitems
Skill1 starsChanged 7 months agoMITView on GitHub
List and manage GitLab work items (tasks, OKRs, key results, epics). Use when working with GitLab's work item types beyond standard issues. Triggers on work items, tasks, OKRs, key results, epic list, workitems list.
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 81
Use glab issue for standard issue workflows.
- Distinctive: line 90
Check the GitLab UI under the project's "Plan > Work Items" sidebar.
- Distinctive: line 93
Not all work item types are enabled on every GitLab instance.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
glab workitems
List and manage GitLab work items — the next-generation work tracking format in GitLab that supports tasks, OKRs, key results, epics, and more.
Added in glab v1.87.0
What Are Work Items?
Work items are GitLab's unified work tracking model. They extend beyond traditional issues to support:
- Tasks — sub-tasks within an issue
- OKRs — Objectives and Key Results
- Key Results — measurable outcomes linked to OKRs
- Epics (next-gen) — large bodies of work across milestones
- Incidents — linked to incident management
Quick Start
# List work items in current project
glab workitems list
# List in a specific project
glab workitems list --repo owner/project
# Output as JSON
glab workitems list --output jsonCommon Workflows
List Work Items
# All work items (default: open)
glab workitems list
# Filter by type
glab workitems list --type Task
glab workitems list --type OKR
glab workitems list --type KeyResult
glab workitems list --type Epic
# Filter by state
glab workitems list --state opened
glab workitems list --state closed
# JSON for scripting
glab workitems list --output json | python3 -c "
import sys, json
items = json.load(sys.stdin)
for item in items:
print(f\"{item['iid']}: {item['title']} [{item['type']}]\")
"Use with a Specific Repo or Group
# Specific repo
glab workitems list --repo mygroup/myproject
# Group-level work items
glab workitems list --group mygroupWork Items vs Issues
| Feature | Issues | Work Items |
| Standard bug/feature tracking | ✅ | ✅ |
| Tasks (sub-tasks) | ❌ | ✅ |
| OKRs / Key Results | ❌ | ✅ |
| Next-gen Epics | ❌ | ✅ |
| CLI support | Full | list (v1.87.0) |
Use glab issue for standard issue workflows. Use glab workitems when working with tasks, OKRs, or next-gen epics.
Troubleshooting
"workitems: command not found":
- Requires glab v1.87.0+. Check with
glab version.
Empty results when you expect items:
- Work items are a separate type from issues. Items created as issues won't appear here unless they've been converted.
- Check the GitLab UI under the project's "Plan > Work Items" sidebar.
Type filter returns nothing:
- Not all work item types are enabled on every GitLab instance. GitLab SaaS has broader support than self-managed instances.
Related Skills
glab-issue— Standard issue managementglab-milestone— Milestones (often used with OKRs)glab-iteration— Sprint/iteration managementglab-incident— Incident management (a work item type)
Command Reference
glab workitems list [--flags]
Flags:
--group Select a group/subgroup
--output Format output as: text, json
--page Page number
--per-page Number of items per page
--repo Select a repository
--state Filter by state: opened, closed, all
--type Filter by work item type
-h, --help Show helpOther versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- vince-winkintel/gitlab-cli-skills★ 49same name
- cormacc/dotagents★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository52 other files it gives its agents.
- gh-cliSkill
- glab-aliasSkill
- glab-apiSkill
- glab-attestationSkill
- glab-authSkill
- glab-changelogSkill
- glab-check-updateSkill
- glab-ciSkill
- glab-clusterSkill
- glab-completionSkill
- glab-configSkill
- glab-deploy-keySkill
- glab-duoSkill
- glab-gpg-keySkill
- glab-helpSkill
- glab-incidentSkill
- glab-issueSkill
- glab-iterationSkill
- glab-jobSkill
- glab-labelSkill
- glab-mcpSkill
- glab-milestoneSkill
- glab-mrSkill
- glab-opentofuSkill
- glab-quick-actionsSkill
- glab-releaseSkill
- glab-repoSkill
- glab-runner-controllerSkill
- glab-runnerSkill
- glab-scheduleSkill
- glab-securefileSkill
- glab-snippetSkill
- glab-ssh-keySkill
- glab-stackSkill
- glab-todoSkill
- glab-tokenSkill
- glab-userSkill
- glab-variableSkill
- glab-versionSkill
- gitlab-cli-skillsSkill
- ui-color-palette-audit-paletteSkill
- ui-color-palette-build-color-systemSkill
- ui-color-palette-figmaSkill
- ui-color-palette-framerSkill
- ui-color-palette-generate-codeSkill
- ui-color-palette-generate-semantic-codeSkill
- ui-color-palette-generate-source-colorsSkill
- ui-color-palette-helpSkill
- ui-color-palette-manage-palettesSkill
- ui-color-palette-penpotSkill
- ui-color-palette-scale-paletteSkill
- ui-color-palette-sketchSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

