tag-command-mapping

Route Linear tasks to Claude Code commands using tag mappings and precedence rules.

7|4|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/MadAppGang/magus --skill tag-command-mapping
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tag-command-mapping
Source: https://github.com/MadAppGang/magus/tree/main/plugins/autopilot/skills/tag-command-mapping
Command: npx skills add https://github.com/MadAppGang/magus --skill tag-command-mapping

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines task management by automatically routing tasks to the correct AI command or agent based on their assigned tags, ensuring efficient workflow execution.

Core Features & Use Cases

  • Automated Routing: Maps Linear task tags to specific Claude Code commands and agents.
  • Precedence Rules: Handles tasks with multiple tags by applying a defined priority order.
  • Customization: Allows users to define project-specific tag mappings.
  • Text Classification: Classifies tasks based on title and description when tags are absent.
  • Use Case: When a new task is created in Linear with the @frontend and @bug tags, this skill ensures it's routed to the @debug command due to its higher precedence, preventing bugs from being overlooked.

Quick Start

Use the tag-command-mapping skill to understand how tasks tagged with '@frontend' are routed.

Frequently Asked Questions about tag-command-mapping

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate routing Linear tasks to Claude Code commands based on tags?

Automated routing uses predefined tag mappings to direct Linear tasks to appropriate Claude Code commands and agents. Explicit tag matching evaluates assigned labels to trigger the correct execution path automatically.

How does task classification work when tags are missing from a Linear ticket?

Task classification for missing tags relies on text-based analysis of the task title and description. This fallback mechanism evaluates keywords to identify the correct agent and skill execution path without requiring explicit tags.

How do precedence rules handle tasks with multiple conflicting tags?

Precedence rules resolve multi-tag conflicts by applying a defined priority order to the routing process. For example, if a task has both frontend and bug tags, the higher-precedence bug mapping ensures it routes to the debug command.

Can I define custom tag mappings for project-specific task routing?

Custom mapping configurations allow you to define project-specific tag mappings. You can establish your own routing rules to map specific tags to designated Claude Code commands, ensuring the workflow adapts to your project requirements.

What is the best way to classify and route tasks without manual intervention?

The best way to classify and route tasks involves combining explicit tag matching with keyword-based fallback analysis. This dual approach ensures tasks are automatically assigned to the correct agent skill execution path with minimal manual oversight.