hv-search-tickets

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

A command for searching project tickets by words, phrases, ticket numbers, and related meaning, with results ranked by relevance.

In plain words
What is it for?
Finding tickets about topics such as authentication or database errors, searching by ticket number, and limiting the number of results.
Why use it?
It helps locate the right tickets even when the search terms do not exactly match their titles or descriptions.

Command for Claude Code

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

Good fit Finding tickets about topics such as authentication or database errors, searching by ticket number, and limiting the number of results.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/lancejames221b/agent-hivemind/hv-search-tickets"><img src="https://agentmods.dev/badge/commands/lancejames221b/agent-hivemind/hv-search-tickets.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 807 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.00807
Opus 5 $0.00000 $0.00404
Sonnet 5 $0.00000 $0.00161
Haiku 4.5 $0.00000 $0.00081

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

Security

Grade A, and why

hv-search-tickets 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-search-tickets.md · 103 lines

How it starts

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

Enhanced Ticket Search Command

Description

Search tickets using hAIveMind semantic search and text matching with relevance scoring.

Usage

# Basic keyword search
search_tickets project_id="<project_id>" query="authentication"

# Search with result limit
search_tickets project_id="<project_id>" query="database error" limit=5

# Search for specific ticket number
search_tickets project_id="<project_id>" query="#1001"

# Complex multi-word search
search_tickets project_id="<project_id>" query="user login validation bug" limit=10

Parameters

  • project_id: Project ID from Vibe Kanban (required)
  • query: Search query - supports keywords, phrases, ticket numbers (required)
  • limit: Maximum results to return (default: 10, max: 50)

Search Features

  • Semantic Search: Uses hAIveMind memory for intelligent matching
  • Text Matching: Searches titles, descriptions, and metadata
  • Relevance Scoring: Results ranked by relevance (0.0-1.0)
  • Ticket Number Search: Find tickets by #number
  • Keyword Matching: Matches partial words and phrases
  • Memory Integration: Searches related work history
  • Cross-Reference: Finds related tickets and dependencies

Output Format

🔍 Found 3 tickets matching 'authentication bug'

#1001 - Fix critical authentication bypass (Relevance: 0.95)
  Status: in_progress | Priority: critical
  ID: task_abc123

#1015 - Update authentication middleware (Relevance: 0.87)
  Status: review | Priority: high  
  ID: task_def456

#1023 - Authentication error handling (Relevance: 0.72)
  Status: done | Priority: medium
  ID: task_ghi789

Search Query Examples

Find security issues

search_tickets project_id="proj_123" query="security vulnerability auth"

Look for performance problems

search_tickets project_id="proj_123" query="slow performance timeout"

Find database-related work

search_tickets project_id="proj_123" query="database connection pool migration"

Read the full file on GitHub · 103 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 · 103 lines · 0 tokens per session scan A cb56598b46a1

Subscribe to this mod's changes

hv-search-tickets 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 807 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.