ADO: Discover Work Items

ADO: Discover Work Items is a command for GitHub Copilot from jnPiyush/AgentX. It costs 24 tokens per session (151 once invoked), scanned A, original, Apache-2.0.

A command that searches Azure DevOps work items for requests, topics, or keywords. It retrieves matching details and groups the results by type, state, and team area.

In plain words
What is it for?
Use it to discover related bugs, tasks, or stories, inspect their details, and produce a report of possible matches.
Why use it?
It helps find existing work before creating a duplicate and makes a large set of search results easier to review.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt.

Good fit Use it to discover related bugs, tasks, or stories, inspect their details, and produce a report of possible matches.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/jnpiyush/agentx/ado-discover-work-items
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/jnPiyush/AgentX

Made for: GitHub Copilot.

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 ADO: Discover Work Items

README.md
[![agentmods](https://agentmods.dev/badge/commands/jnpiyush/agentx/ado-discover-work-items/github.svg)](https://agentmods.dev/commands/jnpiyush/agentx/ado-discover-work-items)
Your own site
<a href="https://agentmods.dev/commands/jnpiyush/agentx/ado-discover-work-items"><img src="https://agentmods.dev/badge/commands/jnpiyush/agentx/ado-discover-work-items/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 ADO: Discover Work Items

Your own site · 80×15
<a href="https://agentmods.dev/commands/jnpiyush/agentx/ado-discover-work-items"><img src="https://agentmods.dev/badge/commands/jnpiyush/agentx/ado-discover-work-items.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 151 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.00024 $0.00151
Opus 5.5 $0.00010 $0.00060
Sonnet 5.5 $0.00005 $0.00030
Haiku 4.5 $0.00002 $0.00015

Measured 1mo ago against content hash 8b46da07bb2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ADO: Discover Work Items 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 1mo 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/prompts/ado-discover-work-items.prompt.md · 17 lines

What it actually says

Search for existing Azure DevOps work items related to the current user request.

Follow the Discovery workflow in #file:.github/instructions/ado/ado-wit-discovery.instructions.md.

  1. Extract keyword groups from the user input or attached document.
  2. Execute work item searches using the Azure CLI or WIQL-backed search flow.
  3. Retrieve full details for candidate items.
  4. Group and annotate results by type, state, and area.
  5. Produce a structured discovery report in .copilot-tracking/workitems/discovery/.
  6. Present findings and suggest next steps.
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. 1mo ago First seen · 17 lines · 24 tokens per session scan A 8b46da07bb2a

Subscribe to this mod's changes

ADO: Discover Work Items is a command published in the GitHub repository jnPiyush/AgentX (16 stars, last pushed 3d ago), licensed Apache-2.0. It adds 24 tokens to every session and 151 once invoked, about $0.0001 per session on Opus 5.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-06.