takes-label

takes-label is a command for Claude Code from an8079/take-skills. It costs 37 tokens per session (1,130 once invoked), scanned A, original, MIT.

A command that assigns GitHub Issue labels by looking for keywords in the issue title and description. It uses GitHub CLI to apply labels for priority, issue type, complexity, and affected component.

In plain words
What is it for?
Use it with an issue number or URL to add labels such as bug, feature, priority level, or complexity category.
Why use it?
It removes the manual sorting needed to classify issues and gives the project a consistent labelling scheme.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the claude-dev-assistant plugin — 21 skills, 39 commands shipped together

Good fit Use it with an issue number or URL to add labels such as bug, feature, priority level, or complexity category.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/an8079/take-skills/takes-label
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.

Clone the repo
git clone --depth 1 https://github.com/an8079/take-skills

Made for: Claude Code.

Or install claude-dev-assistant, the plugin that ships this one along with the rest of its 21 skills, 39 commands.

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 takes-label

README.md
[![agentmods](https://agentmods.dev/badge/commands/an8079/take-skills/takes-label/github.svg)](https://agentmods.dev/commands/an8079/take-skills/takes-label)
Your own site
<a href="https://agentmods.dev/commands/an8079/take-skills/takes-label"><img src="https://agentmods.dev/badge/commands/an8079/take-skills/takes-label/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 takes-label

Your own site · 80×15
<a href="https://agentmods.dev/commands/an8079/take-skills/takes-label"><img src="https://agentmods.dev/badge/commands/an8079/take-skills/takes-label.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,130 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.00037 $0.01130
Opus 5 $0.00018 $0.00565
Sonnet 5 $0.00007 $0.00226
Haiku 4.5 $0.00004 $0.00113

Measured 9d ago against content hash f52690133d8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

takes-label 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 9d 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.

commands/takes-label.md · 110 lines

How it starts

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

/takes-label - Issue 自动标签

基于 Issue 标题和内容中的关键词,自动为 GitHub Issue 打标签。

使用方式

/takes-label <issue-number-or-url>

标签分类体系

Priority(优先级)

标签 关键词 说明
priority/P0 crash, critical, urgent, blocker, production down, security 最高优先级
priority/P1 high, important, major, breaking, race condition 高优先级
priority/P2 normal, medium, default 中优先级
priority/P3 low, minor, trivial, nice-to-have, enhancement 低优先级

Type(类型)

标签 关键词 说明
type/bug bug, crash, fix, error, wrong, incorrect, broken, fail Bug 修复
type/feature feature, add, implement, new, support 新功能
type/enhancement improve, enhance, optimize, refactor, performance 改进优化
type/docs docs, documentation, readme, comment 文档更新
type/test test, testing, coverage, unit, integration 测试相关
type/chore chore, dependency, update, upgrade, config 维护任务
type/question question, how, why, help, unsure 问题咨询

Complexity(复杂度)

标签 关键词 说明
complexity/high complex, architecture, redesign, rewrite, distributed 高复杂度
complexity/medium refactor, multiple files, api change, schema 中复杂度
complexity/low simple, easy, one file, small, trivial 低复杂度

Component(组件)

标签 关键词 说明
component/cli cli, command, arg, option, flag 命令行接口
component/api api, endpoint, route, request, response API 相关
component/auth auth, login, session, token, permission 认证授权
component/ui ui, ui, visual, display, render, css, style 界面相关
component/db database, db, query, migration, schema 数据库相关
component/qa test, testing, coverage, validation 测试相关
component/docs docs, documentation, readme 文档相关
component/security security, xss, injection, auth, csrf 安全相关
component/performance performance, optimize, cache, speed, latency 性能相关

Read the full file on GitHub · 110 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. 9d ago First seen · 110 lines · 37 tokens per session scan A f52690133d8c

Subscribe to this mod's changes

takes-label is a command published in the GitHub repository an8079/take-skills (4 stars, last pushed 5mo ago), licensed MIT. It adds 37 tokens to every session and 1,130 once invoked, about $0.0002 per session on Opus 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-31.