Skip to main content
Any Framework

Claude Code CLI automation tool with rate limit handling and budget tracking

Published
Apr 7, 2026
6mo ago
Total Downloads
51.3K
51,349

Install

dotnet add package claudomat --version 2026.4.7.9

No framework information available.

README

claudomat

A .NET global tool that orchestrates the Claude Code command-line interface. It adds resilient execution with rate-limit handling, session resumption, cumulative budget tracking, optional batch workflows, and optional Azure DevOps boards integration.

This package is published as a .NET tool (PackAsTool). Install it with the .NET CLI; it does not add library references to your projects.

Requirements

  • .NET 10 SDK (install from Microsoft’s .NET download pages; version requirements follow the package’s target framework)
  • Claude Code CLI available on PATH (install and sign-in per the product documentation from your AI vendor)
  • For Azure DevOps features: a personal access token (PAT) supplied at runtime—never embedded in source control

Install

From the public NuGet gallery (when the package is listed there):

dotnet tool install -g claudomat

From an example private feed (replace with your own registry URL and credentials flow):

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

Update a global tool installation:

dotnet tool update -g claudomat

Quick start

Run a single prompt in a repository folder:

claudomat run "Summarize the README" --budget 1.00 --working-dir ./sample-repo

Run a batch file of tasks (JSON format as described in the full project documentation):

claudomat batch ./tasks.json --budget 10.00 --working-dir ./sample-repo

Process work items from an Azure DevOps project (example URL shape only):

claudomat boards "https://dev.azure.com/contoso/SampleProject" --budget 25.00 --azdo-pat %AZURE_DEVOPS_PAT%

On Linux or macOS, prefer "$AZURE_DEVOPS_PAT" or another secret injection mechanism instead of hard-coding tokens.

Authentication and environment variables

The tool does not store long-lived secrets inside the package. Configure credentials through your environment or explicit CLI options at invocation time, for example:

Mechanism Purpose
ANTHROPIC_API_KEY API access where applicable
CLAUDE_CODE_OAUTH_TOKEN OAuth-style token for Claude Code where applicable
AZURE_DEVOPS_PAT Azure DevOps REST API access for the boards command

CLI flags may mirror these variables for one-off runs; refer to claudomat --help and subcommand help for the current option names.

Never commit PATs, API keys, or OAuth tokens to source control or share them in issue trackers.

Commands (overview)

Command Summary
run Execute one prompt with budget, retries, and optional tool allowlists
batch Execute many tasks from JSON with shared budget and optional dashboard
boards Discover and process tagged work items against Azure DevOps

Use claudomat [command] --help for authoritative flags and defaults.

Data and logs

The tool may create a local metadata folder (for example .claudomat) under the working directory and append cost information under the user profile. Review paths in your environment before running in sensitive trees.

License and support

This package is licensed under the MIT License; the full text is included as LICENSE inside the NuGet package. The License tab on the NuGet gallery (when published) reflects the same terms. For bugs or features, use the contact or issue URL published alongside the package (if any)—do not send credentials or internal URLs in public reports.


Example hostnames and organizations (contoso.com, contoso, SampleProject) are illustrative only and are not real endpoints.

Changes from Previous Version

No structural changes between v2026.4.7.8 and v2026.4.7.9.

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.