azure-pipeline-monitor
Monitor an Azure DevOps (ADO) pipeline run to completion — the whole run or a single stage/job — using a blocking poller that estimates expected duration from…
Skill by mthalman
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mthalman-azure-pipeline-monitor
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: devops, cloud, data, marketing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/azure-pipeline-monitor
What's inside
- Skill name
azure-pipeline-monitor- Description
- Monitor an Azure DevOps (ADO) pipeline run to completion — the whole run or a single stage/job — using a blocking poller that estimates expected duration from past runs, adapts its polling cadence, holds control until a final outcome is reached, and returns a structured JSON result. Use this whenever the user wants to watch, wait on, track, poll, or be told the outcome of an ADO/Azure Pipelines build or release, asks 'tell me when this pipeline/job finishes', 'is this build done yet', 'wait for buildId NNN', or pastes a dev.azure.com/_build/results URL and wants its result. Prefer this over ad-hoc repeated status checks by the agent.
- License
- MIT
- Instructions
- 102 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (4)
- SKILL.md
- commands.md · references/
- output-fields.md · references/
- Watch-AdoPipeline.ps1 · scripts/
SKILL.md (first lines)
# Azure Pipeline Monitor
Watch an Azure DevOps pipeline run until it reaches a final outcome, then return
a structured result. The bundled script `scripts/Watch-AdoPipeline.ps1` performs
one blocking wait and returns one JSON answer. Use it instead of repeated agent
polling.
## When to Use This
Use when the user wants to know the final result of an Azure DevOps pipeline run,
asks you to wait for a build, cares about a specific stage or job, or pastes a
`dev.azure.com/.../_build/results?buildId=...` URL.
Whole-run vs. single-job is decided by context: if the user names a stage or
job, pass `-RecordName`; otherwise monitor the whole run.
## Prerequisites and Authentication
Requires PowerShell 7+ (`pwsh`).
Authentication resolves in this order:
1. `-Pat <token>` parameter, or `AZURE_DEVOPS_PAT`, `AZURE_DEVOPS_EXT_PAT`, or
`SYSTEM_ACCESSTOKEN` environment variable as a Basic auth PAT.
2. Otherwise `az account get-access-token` from an authenticated `az login`
session. The script auto-refreshes this token for multi-hour runs.
If neither is available, the script fails fast with guidance.
## Determine the Target
Establish these before launching:
1. **Organization, project, build id.** Prefer passing the whole run URL as
`-BuildUrl`; the script parses `dev.azure.com/{org}/{project}` and
`{org}.visualstudio.com/{project}` forms. Otherwise pass `-Organization`,
`-Project`, and `-BuildId` separately.
2. **Scope.** Monitor the whole run by default. For one timeline record, pass
`-RecordName` and optionally `-RecordType Stage|Phase|Job|Task` to
disambiguate duplicate names.
If you cannot determine the build id or org/project from context, ask the user
rather than guessing.
## Single Blocking Invocation Rule
Launch `scripts/Watch-AdoPipeline.ps1` once as a synchronous command with a
modest `initial_wait` of about 30-60 seconds, redirecting stdout to a result JSON
file and stderr to a progress log. If startup is invalid, it exits within that
initial wait. If the build is still running, the runtime can background the
process and notify you on completion.
Open `references/commands.md` when you need full command examples, parameters,
record-mode syntax, or detached-run guidance.
Do not tail the progress log while waiting. Read the result JSON once after the
completion notification and report the outcome.
## Polling Cadence and Timeout
The script estimates duration from past runs, polls slowly early, polls faster
near the expected finish, and uses a floor interval once overdue. It falls back
to fixed cadence when no history exists.
Open `references/output-fields.md` when you need the full output field table,
polling knobs, or timeout tuning details.
## Output Contract
The script writes one JSON object to stdout. Report `result` and link `url`.
When the run did not cleanly succeed, surface the relevant list:
- `failures` for `failed` or `canceled` runs.
- `issues` for `partiallySucceeded` or `succeededWithIssues` runs.
Include whether the watcher timed out. A `timedOut` result is not a pipeline
failure; it means the watcher gave up waiting.
## Interpreting Results
- `succeeded`: report success.
- `succeededWithIssues` or `partiallySucceeded`: do not call this failed. Report
it as partial and use `issues` to identify affected jobs or tasks.
- `failed` or `canceled`: surface `failures` so the user knows which jobs or
tasks broke.
- `timedOut`: explain that the watcher timed out before completion and consider
re-running with a larger `-TimeoutMinutes`.
- In record mode, `failures` and `issues` are scoped to descendants under the
selected stage, phase, job, or task.
## Anti-Patterns
- Do not poll the pipeline yourself in a loop of agent tool calls.
- Do not tail `watch.log` or stderr while waiting.
- Do not default to detached background launch; reserve it for runs likely to
outlive the session.
- Do not treat `succeededWithIssues` or `partiallySucceeded` as failure.
- Do not invent a build id, organization, or project.
- Do not add `&view=results` parsing logic; pass the raw URL and let the script
handle query strings.From mthalman/agents, MIT.
More from mthalman/agents
- 0.592score
dispatching-parallel-agents
mthalman
Use when facing 2+ substantial tasks that can run without shared state or sequential dependencies, or when a high-value uncertain task justifies an explicitly…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
claude-extension-type-identifier
mthalman
Use when determining what type of Claude Code extension (command, skill, or agent) a prompt or description should be classified as.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
logo-design
mthalman
Use when designing logos, creating brand marks, or helping with visual identity work - provides expert logo design process including discovery, strategic…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
manual-worktree-session
mthalman
Create a Git worktree manually and attach an in-place Copilot child session when large repositories such as the dotnet VMR exceed native session/worktree…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
markdown-toolkit
mthalman
Use when generating or validating GitHub Flavored Markdown structure and mechanics, including headings, links, tables, lists, code fences, anchors, templates…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
code-refactorer
mthalman
Expert code refactoring that strictly preserves existing behavior.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
code-reviewer
mthalman
Review code changes for correctness, performance, safety, and quality when the user explicitly asks for a code review.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
copilot-pr-review
mthalman
Full GitHub Copilot PR review feedback loop — add Copilot as reviewer, poll for review, respond to comments, resolve threads, re-request review, and repeat…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
defend-the-diff
mthalman
Interrogate an existing code change through focused questions, evidence-backed answers, and independent judgment so the change is explainable, correct…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-ui-color
mthalman
Use when selecting colors for interfaces, evaluating color combinations, creating palettes, resolving stakeholder color conflicts, or when colors "feel wrong"…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
designing-ui-typography
mthalman
Use when designing typography for web/app interfaces, selecting fonts, setting up type scales, addressing performance/accessibility concerns, or handling…
SkillAFreshness: A★ 1Claude Code +9 - 0.587score
blast-radius
mthalman
Analyze what a proposed or completed code change could break outside the visible diff, identify the small set of safety assumptions the change depends on, and…
SkillAFreshness: A★ 1Claude Code +9
Signals
- Stars
- 1
- Forks
- 0
- Open issues
- 26
- Last commit (this folder)
- Oct 6, 2026 (22 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mthalman/agents
- Website
- mthalman.github.io/agents/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mthalman
- 0.592score
code-reviewer
mthalman
Review code changes for correctness, performance, safety, and quality when the user explicitly asks for a code review.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
logo-design
mthalman
Use when designing logos, creating brand marks, or helping with visual identity work - provides expert logo design process including discovery, strategic…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
manual-worktree-session
mthalman
Create a Git worktree manually and attach an in-place Copilot child session when large repositories such as the dotnet VMR exceed native session/worktree…
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
claude-extension-type-identifier
mthalman
Use when determining what type of Claude Code extension (command, skill, or agent) a prompt or description should be classified as.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
code-refactorer
mthalman
Expert code refactoring that strictly preserves existing behavior.
SkillAFreshness: A★ 1Claude Code +9 - 0.592score
copilot-pr-review
mthalman
Full GitHub Copilot PR review feedback loop — add Copilot as reviewer, poll for review, respond to comments, resolve threads, re-request review, and repeat…
SkillAFreshness: A★ 1Claude Code +9
Cite this page
azure-pipeline-monitor skill. Agent Mart. https://agentmart.dev/skills/mthalman-azure-pipeline-monitor (last updated 2026-10-24)