Agent365-python: Agent for Claude Code

.claude/agents/test-coverage-reviewer.md

test-coverage-reviewer is an agent for Claude Code from microsoft/Agent365-python. It costs 445 tokens per session (2,333 once invoked), scanned A, a copy of test-coverage-reviewer, MIT.

An automated code-review agent that checks whether changed code has meaningful and sufficient tests. Test-driven development means using tests to define and verify expected behavior.

In plain words
What is it for?
Use it to inspect pull-request changes, review their existing tests, assess edge cases, and judge whether the tests verify the intended behavior.
Why use it?
It catches weak, missing, or misleading tests while keeping the review limited to files changed in a pull request.

Agent for Claude Code ✓ vendor

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

This is microsoft/Agent365-python's own configuration. It tells Claude Code how to work on Agent365-python itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Agent365-python configures →

About the project

Microsoft Agent 365 SDK is a Python software development kit for building agents that work with Microsoft 365, Teams, Copilot Studio, and Webchat. Developers use it for agent observability, notifications, runtime utilities, and development tools.

microsoft/Agent365-python · 41 stars · on GitHub

Reuse

Borrowing it

Nothing to install: this file belongs to microsoft/Agent365-python. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/microsoft/Agent365-python/main/.claude/agents/test-coverage-reviewer.md
Clone the repo
git clone --depth 1 https://github.com/microsoft/Agent365-python

Made for: Claude Code.

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 test-coverage-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/microsoft/agent365-python/test-coverage-reviewer/github.svg)](https://agentmods.dev/agents/microsoft/agent365-python/test-coverage-reviewer)
Your own site
<a href="https://agentmods.dev/agents/microsoft/agent365-python/test-coverage-reviewer"><img src="https://agentmods.dev/badge/agents/microsoft/agent365-python/test-coverage-reviewer/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 test-coverage-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/microsoft/agent365-python/test-coverage-reviewer"><img src="https://agentmods.dev/badge/agents/microsoft/agent365-python/test-coverage-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 445 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,333 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 91% copy Near-identical to another mod 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.00445 $0.02333
Opus 5.5 $0.00178 $0.00933
Sonnet 5.5 $0.00089 $0.00467
Haiku 4.5 $0.00044 $0.00233

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

Security

Grade A, and why

test-coverage-reviewer 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.

Origin

This is a copy

91% identical to test-coverage-reviewer — 87 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/test-coverage-reviewer.md · 230 lines

How it starts

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

You are a senior QA test engineer with deep expertise in Python testing, code quality, and test-driven development. Your primary responsibility is to review code changes and their associated tests to ensure comprehensive, correct, and meaningful test coverage.

Scope: Pull Request Files Only

CRITICAL: Your review MUST be scoped to only the files included in the current pull request:

  1. Use git diff commands to identify which files are changed in the PR
  2. Only review and comment on files that are part of the PR
  3. Do not review unchanged files or their tests unless directly related to PR changes
  4. If you receive a list of files to review from the code-review-manager, use that list

Your Core Responsibilities

  1. Analyze PR Code Changes: Examine only the code that is part of the current pull request to understand its functionality, edge cases, and potential failure modes. Focus exclusively on the changed code, not the entire codebase.

  2. Review Existing Test Coverage: Evaluate the current tests to determine:

    • Are the tests actually testing the right thing?
    • Do the tests verify the intended behavior or just implementation details?
    • Are assertions meaningful and specific?
    • Are test names descriptive and follow the project's conventions?
    • Do tests follow the project's testing patterns (pytest, markers, structure)?
  3. Identify Missing Test Scenarios: Systematically identify untested scenarios including:

    • Happy path scenarios
    • Edge cases and boundary conditions
    • Error conditions and exception handling
    • Invalid inputs and validation failures
    • Async/await patterns and concurrency issues
    • Integration points and dependencies
    • State management and side effects
  4. Provide Actionable Recommendations: For each finding, provide:

    • Clear explanation of what's missing or incorrect
    • Specific test case descriptions
    • Example test code snippets when helpful
    • Priority level (critical, important, nice-to-have)

Read the full file on GitHub · 230 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. 1mo ago First seen · 230 lines · 445 tokens per session scan A 5d999507d061

Subscribe to this mod's changes

test-coverage-reviewer is an agent published in the GitHub repository microsoft/Agent365-python (41 stars, last pushed 2d ago), licensed MIT. It adds 445 tokens to every session and 2,333 once invoked, about $0.0018 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to test-coverage-reviewer, differing in 87 lines, and is treated as a copy.

Related

Other agents, from other repositories

project-implementer

Implementation specialist - executes tasks from plans with TDD methodology, writes tests, and validates acceptance criteria. Use for executing phased implementation plans generated by attune:plan.

athola/claude-night-market · 38 tokens

python-pro

Write idiomatic Python code with advanced features like decorators, generators, and async/await. Optimizes performance, implements design patterns, and ensures comprehensive testing. Use PROACTIVELY for Python refactoring, optimization, or complex Python features.

echoVic/blade-code · 51 tokens

test-engineer

QA engineer operating on the "Prove-It" principle — if it works, prove it with a test. Use when writing tests for a new feature, filling coverage gaps, or validating that a bug fix won't regress. Can read, write and edit test files. Dispatch with Task tool for isolated test work.

felvieira/claude-skills-fv · 66 tokens

e2e-tester

Use for end-to-end and smoke testing of critical user paths across viewports. Pairs with a browser-automation MCP (for example Playwright) when one is available.

mnzralee/claude-multi-agent-architecture · 41 tokens

test-writer

Use this agent when the guild needs unit or integration tests written for implemented code. The test-writer implements the test-planner's test plan — reading the plan's Changed Files Inventory instead of re-analyzing the codebase — then writes and runs the tests. Spawned by the check-in skill when a test-writing task…

HirogaKatageri/hirokata · 77 tokens

implement-test-diversifier

Generates test suites from 4 different testing perspectives for comprehensive coverage.

eai-support/eai-gofer · 19 tokens