Remove a label from an issue
Removes a label from a specified issue by number.
/plugin marketplace add fractary/claude-plugins/plugin install fractary-work@fractary<number> <label>claude-haiku-4-5<CRITICAL_RULES> YOU MUST:
YOU MUST NOT:
THIS COMMAND IS ONLY A ROUTER. </CRITICAL_RULES>
<WORKFLOW> 1. **Parse user input** - Extract issue number (required) - Extract label name (required) - Validate required arguments are presentCapture working directory context
WORK_CWD="${PWD}"Build structured request
ACTUALLY INVOKE the Task tool
IF THE TASK TOOL INVOCATION FAILS:
Return response
<ARGUMENT_SYNTAX>
This command takes two positional arguments:
/work:label-remove <number> <label>Label names cannot contain spaces:
✅ /work:label-remove 123 wontfix
✅ /work:label-remove 123 high-priority
✅ /work:label-remove 123 duplicate
❌ /work:label-remove 123 "high priority" # Spaces not supported
</ARGUMENT_SYNTAX>
<ARGUMENT_PARSING>
Required Arguments:
number (number): Issue number (e.g., 123, not "#123")label (string): Label name to remove (exact match required). Examples: "wontfix", "duplicate"Maps to: remove-label operation </ARGUMENT_PARSING>
<EXAMPLES> ## Usage Examples# Remove a label
/work:label-remove 123 wontfix
# Remove priority label
/work:label-remove 123 high-priority
# Remove status label
/work:label-remove 123 in-progress
</EXAMPLES>
<AGENT_INVOCATION>
After parsing arguments, invoke the work-manager agent with a structured request.
Invoke the fractary-work:work-manager agent with the following request:
{
"operation": "remove-label",
"parameters": {
"issue_number": "123",
"label": "wontfix"
}
}
The work-manager agent will:
<ERROR_HANDLING> Common errors to handle:
Missing issue number:
Error: issue_number is required
Usage: /work:label-remove <number> <label>
Missing label name:
Error: label name is required
Usage: /work:label-remove <number> <label>
Label not found:
Error: Label 'nonexistent' not found on issue #123
Current labels: bug, feature
</ERROR_HANDLING>
<NOTES> ## Platform SupportThis command works with:
Platform is configured via /work:init and stored in .fractary/plugins/work/config.json.
For detailed documentation, see: /docs/commands/work-label.md
Related commands:
/work:label-add - Add label/work:label-list - List labels/work:label-set - Set all labels/work:init - Configure work plugin
</NOTES>