hv-ticket-metrics

hv-ticket-metrics is a command for Claude Code from lancejames221b/agent-hivemind. It costs 0 tokens per session (896 once invoked), scanned A, original, MIT.

A command for reporting project-ticket metrics, such as counts, statuses, priorities, types, resolution times, and overdue work.

In plain words
What is it for?
Getting ticket analytics for a chosen project over periods such as 7, 30, or 90 days.
Why use it?
It turns a project's ticket history into a time-based summary, making workload and performance easier to review.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Getting ticket analytics for a chosen project over periods such as 7, 30, or 90 days.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lancejames221b/agent-hivemind/hv-ticket-metrics
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/lancejames221b/agent-hivemind

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 hv-ticket-metrics

README.md
[![agentmods](https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-ticket-metrics/github.svg)](https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-ticket-metrics)
Your own site
<a href="https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-ticket-metrics"><img src="https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-ticket-metrics/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 hv-ticket-metrics

Your own site · 80×15
<a href="https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-ticket-metrics"><img src="https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-ticket-metrics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 896 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.00000 $0.00896
Opus 5 $0.00000 $0.00448
Sonnet 5 $0.00000 $0.00179
Haiku 4.5 $0.00000 $0.00090

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

Security

Grade A, and why

hv-ticket-metrics 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 10d 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/hv-ticket-metrics.md · 135 lines

How it starts

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

Ticket Metrics and Analytics Command

Description

Get comprehensive ticket metrics, analytics, and performance insights for project management.

Usage

# Get 30-day metrics (default)
get_ticket_metrics project_id="<project_id>"

# Get metrics for specific time period
get_ticket_metrics project_id="<project_id>" days=7

# Get quarterly metrics
get_ticket_metrics project_id="<project_id>" days=90

Parameters

  • project_id: Project ID from Vibe Kanban (required)
  • days: Time period for metrics calculation (default: 30, max: 365)

Output Format

📊 Ticket Metrics (30 days)
Generated: 2024-08-27T18:00:00Z

📈 Overview:
  Total Tickets: 45
  Created in Period: 12
  Closed in Period: 8
  Average Resolution: 18.5h

📊 By Status:
  in_progress: 15
  review: 8
  done: 18
  new: 4

🚨 By Priority:
  medium: 22
  high: 12
  critical: 8
  low: 3

🎯 By Type:
  task: 18
  bug: 15
  feature: 8
  incident: 4

⚠️ Alerts:
  Critical Tickets: 8
  Overdue Tickets: 3

Metrics Included

Overview Metrics

  • Total Tickets: All tickets in the project
  • Created in Period: New tickets in specified timeframe
  • Closed in Period: Completed tickets in timeframe
  • Average Resolution Time: Mean time from creation to completion

Status Distribution

  • new: Newly created, not yet started
  • in_progress: Currently being worked on
  • review: Under review or testing
  • done: Completed and closed
  • blocked: Waiting on dependencies
  • cancelled: Cancelled or won't fix

Priority Analysis

  • low 🟢: Low impact, can be deferred
  • medium 🟡: Standard priority work
  • high 🟠: Important, should be prioritized
  • critical 🔴: Business-critical issues
  • emergency 🚨: Immediate attention required

Type Breakdown

  • task: General work items
  • bug: Defects and issues
  • feature: New functionality
  • epic: Large initiatives
  • story: User stories
  • incident: Production issues
  • request: User requests

Read the full file on GitHub · 135 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. 10d ago First seen · 135 lines · 0 tokens per session scan A bb1dd90554ed

Subscribe to this mod's changes

hv-ticket-metrics is a command published in the GitHub repository lancejames221b/agent-hivemind (7 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 896 tokens. 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.