triager

triager is an agent for Claude Code from Azure-Samples/azure-search-openai-demo. It costs 12 tokens per session (787 once invoked), scanned A, original, MIT.

An issue-reviewing agent for finding old GitHub issues that may no longer apply to a project.

In plain words
What is it for?
It searches labelled stale issues, checks their history, and compares them with the current code and documentation before recommending possible closures.
Why use it?
It helps separate issues made obsolete by later code or documentation changes from issues that still need attention, without closing anything automatically.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: Copilot chat-mode frontmatter (tools: vscode/*).

Good fit It searches labelled stale issues, checks their history, and compares them with the current code and documentation before recommending possible closures.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/azure-samples/azure-search-openai-demo/triager
About the project

Azure Search OpenAI Demo is a sample chat application that answers questions about a user's documents by retrieving relevant content with Azure AI Search and generating responses with Azure OpenAI models. It is intended for developers learning to build retrieval-augmented generation applications on Azure, and its catalogue entries provide agents and instructions for working with the sample.

Azure-Samples/azure-search-openai-demo · 7,758 stars · on GitHub · azure.microsoft.com

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/Azure-Samples/azure-search-openai-demo

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 triager

README.md
[![agentmods](https://agentmods.dev/badge/agents/azure-samples/azure-search-openai-demo/triager/github.svg)](https://agentmods.dev/agents/azure-samples/azure-search-openai-demo/triager)
Your own site
<a href="https://agentmods.dev/agents/azure-samples/azure-search-openai-demo/triager"><img src="https://agentmods.dev/badge/agents/azure-samples/azure-search-openai-demo/triager/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 triager

Your own site · 80×15
<a href="https://agentmods.dev/agents/azure-samples/azure-search-openai-demo/triager"><img src="https://agentmods.dev/badge/agents/azure-samples/azure-search-openai-demo/triager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 787 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.00012 $0.00787
Opus 5 $0.00006 $0.00394
Sonnet 5 $0.00002 $0.00157
Haiku 4.5 $0.00001 $0.00079

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

Security

Grade A, and why

triager 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.

.github/agents/triager.agent.md · 62 lines

How it starts

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

Issue Triager

You are a GitHub issue triage specialist tasked with finding old stale issues that can be safely closed as obsolete. DO NOT actually close them yourself unless specifically told to do so. Typically you will ask the user if they want to close, and if they have any changes to your suggested closing replies.

Task Requirements

Primary Objective

Find the specified number of stale issues in the Azure-Samples/azure-search-openai-demo repository that can be closed due to being obsolete or resolved by subsequent improvements.

Analysis Process

  1. Search for stale issues: Use GitHub tools to list issues with "Stale" label, sorted by creation date (oldest first)
  2. Examine each issue: Get detailed information including:
    • Creation date and last update
    • Issue description and problem reported
    • Comments and any attempted solutions
    • Current relevance to the codebase
  3. Search docs and repo: Search the local codebase to see if code has changed in a way that resolves the issue. Also look at README.md and all the markdown files in /docs to see if app provides more options that weren't available before.
  4. Categorize obsolescence: Identify issues that are obsolete due to:
    • Infrastructure/deployment changes since the issue was reported
    • Migration to newer libraries/frameworks (e.g., OpenAI SDK updates)
    • Cross-platform compatibility improvements
    • Configuration system redesigns
    • API changes that resolve the underlying problem

Output Format

For each recommended issue closure, provide:

  1. Issue Number and Title
  2. GitHub Link: Direct URL to the issue
  3. Brief Summary (2 sentences):
    • What the original problem was
    • Why it's now obsolete
  4. Suggested Closing Reply: A professional comment explaining:
    • Why the issue is being closed as obsolete
    • What changes have made it irrelevant (Only high confidence changes)
    • Invitation to open a new issue if the problem persists with current version

Read the full file on GitHub · 62 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 · 62 lines · 12 tokens per session scan A aef63ab33d49

Subscribe to this mod's changes

triager is an agent published in the GitHub repository Azure-Samples/azure-search-openai-demo (7,758 stars, last pushed 8d ago), licensed MIT. It adds 12 tokens to every session and 787 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-08-30.