categorize-activity-type

categorize-activity-type is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 10 tokens per session (1,961 once invoked), scanned A, original, Apache-2.0.

An AI-assisted Jira ticket classifier that assigns one of six activity types based on the ticket, its labels, issue type, and parent epic.

In plain words
What is it for?
Use it to label work involving support, security, reliability, infrastructure, product development, or team learning. It can also apply the chosen category automatically.
Why use it?
It removes repetitive manual sorting of tickets into broad work categories. Confidence scores help indicate how certain the classification is before applying it.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument.

Good fit Use it to label work involving support, security, reliability, infrastructure, product development, or team learning. It can also apply the chosen category automatically.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/categorize-activity-type
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/wangke19/gemini-ai-helpers

Made for: Claude Code.

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 categorize-activity-type

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/categorize-activity-type/github.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/categorize-activity-type)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/categorize-activity-type"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/categorize-activity-type/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 categorize-activity-type

Your own site · 80×15
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/categorize-activity-type"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/categorize-activity-type.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 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,961 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.00010 $0.01961
Opus 5 $0.00005 $0.00981
Sonnet 5 $0.00002 $0.00392
Haiku 4.5 $0.00001 $0.00196

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

Security

Grade A, and why

categorize-activity-type 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.

extensions/jira/commands/categorize-activity-type.md · 221 lines

How it starts

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

Name

jira:categorize-activity-type

Synopsis

/jira:categorize-activity-type <issue-key> [--auto-apply]

Description

Analyzes JIRA tickets and assigns appropriate Activity Type categories based on ticket content, issue type, labels, and parent Epic context. Uses AI-powered categorization with confidence scoring to ensure accurate assignments.

The command supports six activity type categories:

  1. Associate Wellness & Development - Professional growth, training, learning, team building
  2. Incidents & Support - Production incidents, customer support, troubleshooting, emergency fixes
  3. Security & Compliance - Security vulnerabilities, compliance requirements, security patches, audits
  4. Quality / Stability / Reliability - Bug fixes, test improvements, reliability enhancements, technical debt
  5. Future Sustainability - Infrastructure improvements, developer experience, automation, tooling
  6. Product / Portfolio Work - Feature development, product enhancements, new capabilities

Implementation

Phase 1: Fetch Ticket Data

Use MCP to fetch only the fields needed for categorization:

issue_data = mcp__atlassian__jira_get_issue(
    issue_key="${1}",
    fields="summary,description,issuetype,labels,parent,components,priority,customfield_10464"
)

Extract relevant fields:

  • summary - Ticket title
  • description - Detailed ticket description
  • issuetype.name - Issue Type (Bug, Story, Task, Vulnerability, etc.)
  • labels - Ticket labels
  • parent.key - Parent Epic/Story key (if available)
  • components - Component assignments
  • priority - Priority level
  • customfield_10464 - Current Activity Type value (if set)

Phase 2: Invoke Categorization Skill

Delegate categorization analysis to the categorize-activity-type skill which implements:

  1. Issue Type Heuristics - Apply default mappings:
    • Vulnerability/Weakness → Security & Compliance
    • Bug (security-related) → Security & Compliance
    • Bug (standard) → Quality / Stability / Reliability
    • Story (product) → Product / Portfolio Work
    • Task → Analyze parent context or keywords

Read the full file on GitHub · 221 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 · 221 lines · 10 tokens per session scan A 703109066bfa

Subscribe to this mod's changes

categorize-activity-type is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 10 tokens to every session and 1,961 once invoked, about $0.0001 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-09-03.