fetch-azure-task

fetch-azure-task is a command for Claude Code from rafaelkamimura/claude-tools. It costs 0 tokens per session (1,015 once invoked), scanned B, original, MIT.

A command for retrieving an Azure DevOps work item by its number and showing its requirements and status. Azure DevOps is Microsoft's platform for tracking software work, bugs, and project tasks.

In plain words
What is it for?
Use it to fetch a work item's description, acceptance criteria, related items, and status, provided the Azure DevOps MCP server is configured.
Why use it?
It saves developers from manually opening and copying task details before starting work. It keeps the description, acceptance criteria, related work, and current status together as development context.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the claude-tools plugin — 12 commands, 46 agents shipped together

Good fit Use it to fetch a work item's description, acceptance criteria, related items, and status, provided the Azure DevOps MCP server is configured.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rafaelkamimura/claude-tools/fetch-azure-task
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/rafaelkamimura/claude-tools

Made for: Claude Code.

Or install claude-tools, the plugin that ships this one along with the rest of its 12 commands, 46 agents.

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 fetch-azure-task

README.md
[![agentmods](https://agentmods.dev/badge/commands/rafaelkamimura/claude-tools/fetch-azure-task/github.svg)](https://agentmods.dev/commands/rafaelkamimura/claude-tools/fetch-azure-task)
Your own site
<a href="https://agentmods.dev/commands/rafaelkamimura/claude-tools/fetch-azure-task"><img src="https://agentmods.dev/badge/commands/rafaelkamimura/claude-tools/fetch-azure-task/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 fetch-azure-task

Your own site · 80×15
<a href="https://agentmods.dev/commands/rafaelkamimura/claude-tools/fetch-azure-task"><img src="https://agentmods.dev/badge/commands/rafaelkamimura/claude-tools/fetch-azure-task.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 1,015 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.01015
Opus 5.5 $0.00000 $0.00406
Sonnet 5.5 $0.00000 $0.00203
Haiku 4.5 $0.00000 $0.00102

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

Security

Grade B, and why

fetch-azure-task scanned grade B with 1 finding 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 3mo 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Command: `grep -q "^.claude/azure-tasks/" .gitignore || echo ".claude/azure-tasks/" >> .gitignore`
commands/fetch-azure-task.md · 169 lines

How it starts

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

Fetch Azure DevOps Work Item

Retrieves and displays Azure DevOps work item details including description, acceptance criteria, related work, and current status.

Purpose

  • Fetch work item data from Azure DevOps
  • Display structured work item information
  • Save work item context for reference during development
  • Provide quick access to task requirements

Required MCP Setup

This command requires Azure DevOps MCP server to be installed and configured.

If not installed, follow: https://github.com/microsoft/azure-devops-mcp-server

Execution Steps

Step 1: Validate Input

Check if work item number was provided as argument.

If no work item number provided: Output: "Usage: /fetch-azure-task [work_item_number]

Example: /fetch-azure-task 12345" Exit command.

Step 2: Fetch Work Item Data

Use mcp__azuredevops__get_work_item tool (if available):

  • work_item_id: [provided work item number]

If tool not available: Output: "Azure DevOps MCP server not configured.

Install: https://github.com/microsoft/azure-devops-mcp-server

Add to ~/.claude/mcp.json: { "mcpServers": { "azuredevops": { "command": "npx", "args": ["-y", "@azure/azure-devops-mcp-server"], "env": { "AZURE_DEVOPS_ORG_URL": "https://dev.azure.com/your-org\", "AZURE_DEVOPS_PAT": "your-personal-access-token" } } } }" Exit command.

If work item not found or access denied: Output: "Work item [number] not found or access denied.

Check:

  • Work item number is correct
  • You have permission to access this work item
  • Azure DevOps PAT has sufficient permissions" Exit command.

Step 3: Parse Work Item Data

Extract from work item response:

  • ID and title
  • Work item type (User Story, Task, Bug, Feature)
  • State (New, Active, Resolved, Closed)
  • Assigned to
  • Area path and iteration
  • Description
  • Acceptance criteria (if available)
  • Related work items
  • Tags
  • Created date and updated date
  • Priority and severity (if applicable)

Read the full file on GitHub · 169 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. 3mo ago First seen · 169 lines · 0 tokens per session scan B b9ed4b953272

Subscribe to this mod's changes

fetch-azure-task is a command published in the GitHub repository rafaelkamimura/claude-tools (10 stars, last pushed 11mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,015 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

fetch-azure-task compared with commands from other repositories

fetch-azure-task next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fetch-azure-taskrafaelkamimura/claude-toolsCommand1011mo agoMITB0Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code