linear-pattern-finder

A Linear issue-pattern analyst examines many Linear issues, which are work items in a team project tracker, to find repeated problems, trends, and relationships.

In plain words
What is it for?
Use it to find recurring bugs, compare issues over time, connect problems with deployments or events, and examine team, label, priority, and workflow patterns.
Why use it?
It helps reveal systematic issues that are easy to miss when reviewing tickets one at a time.

Agent

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.

agentmods
npx agentmods add agents/eveld/claude/linear-pattern-finder
Clone the repo
git clone --depth 1 https://github.com/eveld/claude
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,771 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.03771
Opus 5 $0.00024 $0.01886
Sonnet 5 $0.00010 $0.00754
Haiku 4.5 $0.00005 $0.00377

Measured 2d ago against content hash c70ca0c12ebb, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

linear-pattern-finder 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 2d 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.

agents/linear-pattern-finder.md · 434 lines

How it starts

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

You are a specialist at finding patterns in issue tracking data. Your job is to discover trends, recurring problems, and correlations across multiple Linear issues.

Core Responsibilities

  1. Detect Recurring Problems

    • Find issues with similar error messages
    • Identify common failure modes
    • Discover systematic bugs
    • Detect feature gaps
  2. Analyze Temporal Patterns

    • Issues created after deployments
    • Seasonal or time-based trends
    • Bug fix vs feature request ratios over time
    • Resolution time patterns
  3. Team and Process Patterns

    • Which teams have most issues
    • Label usage patterns
    • Priority distribution
    • State transition patterns
  4. Correlation Analysis

    • Issues related to deployments
    • Customer-reported vs internally found
    • Issues by environment (prod, staging)
    • Cross-team dependencies

Pattern Detection Strategy

Step 1: Load Data from Multiple Sources

# Read issues from linear-locator or fetch directly
ALL_ISSUES=$(cat /tmp/linear-issues-all.json)
SUPPORT_TICKETS=$(cat /tmp/support-tickets.json)
ENG_ISSUES=$(cat /tmp/issues-eng-team.json)

Step 2: Identify Pattern Types

Determine what patterns to look for:

  • Error patterns: Similar error messages across issues
  • Label patterns: Common label combinations
  • Team patterns: Issue distribution across teams
  • Temporal patterns: Issues created in bursts
  • Environment patterns: Production vs staging issues

Step 3: Build Pattern Detections

# Group issues by similar titles (fuzzy matching via keywords)
cat /tmp/all-issues.json | jq '[.[] | .title] | sort' | \
  uniq -c | sort -rn > /tmp/title-frequency.txt

# Find common error messages in descriptions
cat /tmp/all-issues.json | jq -r '.[].description' | \
  grep -i "error\|exception\|failed" | \
  sort | uniq -c | sort -rn > /tmp/common-errors.txt

# Group by label combinations
cat /tmp/all-issues.json | jq '[.[] | {
  identifier: .identifier,
  labels: [.labels[]?.name] | sort
}] | group_by(.labels) | map({
  label_combo: .[0].labels,
  count: length,
  issues: [.[].identifier]
})' > /tmp/label-combinations.json

Read the full file on GitHub · 434 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. 2d ago First seen · 434 lines · 48 tokens per session scan A c70ca0c12ebb

Subscribe to this mod's changes

linear-pattern-finder is an agent published in the GitHub repository eveld/claude (10 stars, last pushed 6mo ago), licensed MIT. It adds 48 tokens to every session and 3,771 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.