About labels
labels is a skill for managing labels with the tea command line. It covers listing, creating, updating, deleting, and applying labels to issues.
Key features
- 01List labels in compact or JSON output
- 02Create labels individually or from a file
- 03Update label names, colors, and descriptions
- 04Delete labels
- 05Apply or remove labels on issues
Use cases
- 01Exporting or inspecting repository labels
- 02Importing labels from a CSV file
- 03Updating label metadata
- 04Organizing issues with labels
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ deevus/ tea-skills --skill labelsAfter installing, type/labelsin Claude Code to confirm it loaded.
Details
From the project READMELabels
List
tea labels list -o simple # all labels, compact output (recommended)
tea labels list --output json # use json only when parsing with jq
tea labels list --save # export to file (tea internal format)
Create
tea labels create --name "bug" --color "#d73a4a"
tea labels create --name "enhancement" --color "#a2eeef" --description "New feature or request"
tea labels create --file labels.csv # bulk import from file
Update
# Get label ID (requires json for parsing)
tea labels list --output json | jq '.[] | {id, name, color}'
tea labels update --id 5 --name "bugfix" --color "#d73a4a"
tea labels update --id 5 --description "Updated description"
Delete
tea labels delete 5
Apply to Issues
tea issues create --title "Fix login" --labels "type:bug,priority:high"
tea issues edit 42 --add-labels "status:in-progress"
tea issues edit 42 --remove-labels "status:needs-triage"
Tips
- Labels identified by name in
tea issues, by ID intea labels update/delete - Colors need
#prefix (e.g.,#d73a4a) - Names are case-sensitive
- Deleting a label removes it from all issues/PRs
Comments
Markdown supported