Skip to main content
Any Framework

Claude Code CLI global tool: boards and PR automation for Azure DevOps, batch/run prompts, budget and rate-limit handling, agent roles, MCP feed sync, and built-in azdo/complexity MCP servers

Published
Oct 3, 2026
15d ago
Total Downloads
51.3K
51,349

Install

dotnet add package claudomat --version 2026.10.3.5

No framework information available.

README

claudomat

A .NET global tool that orchestrates the Claude Code CLI for automation: resilient runs with rate-limit backoff and session resumption, cumulative budget tracking, optional live dashboard (batch and boards), JSON session reports, and deep Azure DevOps integration (boards, PRs, work items, and pipeline tasks).

The NuGet package is PackAsTool only—it installs an executable named claudomat; it does not add library references to your projects. The package also ships the MCP tools assembly next to the tool so built-in azdo and complexity MCP servers can be loaded for agent sessions.

Requirements

  • .NET 10 runtime/SDK line compatible with the package’s target framework
  • Claude Code CLI on PATH (install and sign in per your vendor’s documentation)
  • For Azure DevOps: a PAT or pipeline token at runtime—never commit secrets

Install

dotnet tool install -g claudomat

Update:

dotnet tool update -g claudomat

Private feed example:

dotnet nuget add source "https://nuget.contoso.com/v3/index.json" --name contoso-internal
dotnet tool install -g claudomat --add-source contoso-internal

Commands

Command Purpose
run One prompt: budget, retries, timeouts, --allowed-tools, --output-json session report, optional --ongoing heartbeat loop
batch Many tasks from a JSON file with shared budget; optional --no-dashboard
boards Agentic-tagged Azure DevOps epics → approved/recurring work items; clone/sync repos; Claude + git workflow + ADO updates
pr One session scoped to a pull request via claude --from-pr; with a PAT, clones/syncs the PR source branch from the API (not from ad-hoc pipeline branch variables)

Use claudomat [command] --help for every flag and default.

Quick examples

claudomat run "Summarize the README" --budget 1.00 --working-dir ./repo
claudomat batch ./tasks.json --budget 10.00 --working-dir ./repo
claudomat boards "https://dev.azure.com/contoso/SampleProject" --budget 25.00 --azdo-pat %AZURE_DEVOPS_PAT%
claudomat pr 42 "Review for security issues." --repo-url "https://dev.azure.com/contoso/proj/_git/repo" --working-dir ./pr-src --budget 5.00 --azdo-pat %AZURE_DEVOPS_PAT%

On Linux/macOS, prefer "$AZURE_DEVOPS_PAT" or your secret manager instead of literals.

Notable features

  • Rate limits: Retries with backoff; optional stream verbosity (--stream-verbose where supported).
  • Branch guardrails: --exclude-branch (repeatable); default include renovate/* unless --no-default-branch-excludes.
  • Boards — agent roles: --role (e.g. developer, tester, pr-reviewer) drives tagged Task / tagged backlog discovery and handoff; --process selects a named multi-role chain (e.g. software-development). Without --role, backlog items tagged for pipeline roles are skipped unless --include-roles. Role pipeline Tasks are picked up only when To Do / New, or In Progress and stale (default 2 hours after state change) so concurrent runs do not duplicate active work.
  • PR command roles: --role on pr applies fixed reviewer-style instructions; without --role, PRs that carry a pipeline role label are skipped unless --include-roles.
  • MCP: --mcp-feed + optional --mcp-feed-pat syncs NuGet packages tagged mcp-server into merged MCP config. In Azure Pipelines, SYSTEM_ACCESSTOKEN can authenticate the feed when mapped. Built-in azdo and complexity tools ship in the tool package.
  • Dashboard: Rich live task status for batch and boards unless --no-dashboard.
  • Verbose discovery: boards --verbose logs more backlog rows during scans.

Environment and CLI secrets

Mechanism Typical use
ANTHROPIC_API_KEY Claude API where applicable
CLAUDE_CODE_OAUTH_TOKEN Claude Code OAuth where applicable
AZURE_DEVOPS_PAT Azure DevOps REST (override with --azdo-pat)
SYSTEM_ACCESSTOKEN Azure Pipelines: map for NuGet/MCP feed auth when using --mcp-feed

Never commit tokens or PATs.

Data and logs

The tool may create .claudomat metadata under the working tree and write logs/cost data under the user profile. Inspect paths in regulated environments before running.

License

This package includes the MIT LICENSE file. The License tab on the gallery mirrors it when published.


Examples use fictitious names (contoso, SampleProject) and are not real endpoints.

Changes from Previous Version

No structural changes between v2026.10.2.9 and v2026.10.3.5.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.