tag-command-mapping

tag-command-mapping is a skill for Claude Code, Codex from MadAppGang/claude-code. It costs 26 tokens per session (1,368 once invoked), scanned A, original, MIT.

A routing guide that maps Linear task labels to Claude Code commands and agents. Linear is a task-management service used to track software work.

In plain words
What is it for?
Configuring or troubleshooting how labels such as frontend, backend, test, or research select commands and agents.
Why use it?
It explains which command should handle a task when it has one or more labels, including which label takes priority.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Configuring or troubleshooting how labels such as frontend, backend, test, or research select commands and agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/madappgang/claude-code/tag-command-mapping
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MadAppGang/claude-code --skill tag-command-mapping
Clone the repo
git clone --depth 1 https://github.com/MadAppGang/claude-code

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tag-command-mapping

README.md
[![agentmods](https://agentmods.dev/badge/skills/madappgang/claude-code/tag-command-mapping/github.svg)](https://agentmods.dev/skills/madappgang/claude-code/tag-command-mapping)
Your own site
<a href="https://agentmods.dev/skills/madappgang/claude-code/tag-command-mapping"><img src="https://agentmods.dev/badge/skills/madappgang/claude-code/tag-command-mapping/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tag-command-mapping

Your own site · 80×15
<a href="https://agentmods.dev/skills/madappgang/claude-code/tag-command-mapping"><img src="https://agentmods.dev/badge/skills/madappgang/claude-code/tag-command-mapping.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,368 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.01368
Opus 5.5 $0.00010 $0.00547
Sonnet 5.5 $0.00005 $0.00274
Haiku 4.5 $0.00003 $0.00137

Measured 3mo ago against content hash 655f06a5240f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tag-command-mapping scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/autopilot/skills/tag-command-mapping/SKILL.md · 185 lines

How it starts

The opening of the file, as written. The whole thing — 185 lines — stays where its author put it; the contents beside it link to each section on GitHub.

plugin: autopilot updated: 2026-01-20

Tag-to-Command Mapping

Version: 0.1.0 Purpose: Route Linear tasks to appropriate Claude Code commands based on tags Status: Phase 1

When to Use

Use this skill when you need to:

  • Understand how Linear tags map to Claude Code commands
  • Customize tag-to-command mappings for a project
  • Handle tasks with multiple tags (precedence rules)
  • Classify tasks based on title/description text
  • Resolve the correct agent/command for a task

Overview

Tag-to-command mapping is the core routing mechanism in autopilot. When a task arrives from Linear, its labels determine which Claude Code command/agent handles execution.

Default Mappings

Linear Tag Command Agent Skills
@frontend /dev:feature developer react-typescript
@backend /dev:implement developer golang, api-design
@debug /dev:debug debugger debugging-strategies
@test /dev:test-architect test-architect testing-strategies
@review /commit-commands:commit-push-pr reviewer universal-patterns
@refactor /dev:implement developer universal-patterns
@research /dev:deep-research researcher n/a
@ui /dev:ui ui ui-design-review

Precedence Rules

When multiple tags are present, apply precedence order:

const PRECEDENCE = [
  '@debug',    // Bug fixing takes priority
  '@test',     // Tests before implementation
  '@ui',       // UI before generic frontend
  '@frontend', // Frontend before generic
  '@backend',  // Backend before generic
  '@review',   // Review after implementation
  '@refactor', // Refactoring is lower priority
  '@research'  // Research is lowest
];

function selectTag(labels: string[]): string {
  const agentTags = labels.filter(l => l.startsWith('@'));

  if (agentTags.length === 0) return 'default';
  if (agentTags.length === 1) return agentTags[0];

  // Multiple tags - apply precedence
  for (const tag of PRECEDENCE) {
    if (agentTags.includes(tag)) return tag;
  }

  return 'default';
}

Read the full file on GitHub · 185 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 185 lines · 26 tokens per session scan A 655f06a5240f

Subscribe to this mod's changes

tag-command-mapping is a skill published in the GitHub repository MadAppGang/claude-code (290 stars, last pushed 8mo ago), licensed MIT. It adds 26 tokens to every session and 1,368 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

tag-command-mapping compared with skills from other repositories

tag-command-mapping next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tag-command-mappingMadAppGang/claude-codeSkill2908mo agoMITA26Claude Code, Codex
storage-classifyDatus-ai/Datus-agentSkill2.0kyesterdaynoneA85Claude Code
tao-finetune-clipNVIDIA/skillsSkill4.2k3d agoApache-2.0A104Claude Code
work-pipelinedavepoon/buildwithclaudeSkill3.8kyesterdayMITA52Claude Code
feature-specdavepoon/buildwithclaudeSkill3.8kyesterdayMITA32Claude Code
implement-featuredavepoon/buildwithclaudeSkill3.8kyesterdayMITA34Claude Code
sdd-pipelinedavepoon/buildwithclaudeSkill3.8kyesterdayMITA0Claude Code