ado-mcp: Instructions file for Claude Code

CLAUDE.md

ado-mcp CLAUDE.md is an instructions file for Claude Code from raboley/ado-mcp. It costs 1,716 tokens per session, scanned A, original, MIT.

Project-specific instructions for developing the ado-mcp Python tool, covering project context, code structure, tests, reliability, and completion rules.

In plain words
What is it for?
Use them when working in ado-mcp to inspect tasks, follow its file layout, run Python through the specified virtual environment, and create tools according to its workflow.
Why use it?
They tell the coding agent which project files and conventions to follow, reducing inconsistent changes and missed project requirements.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: names the TodoWrite tool.

This is raboley/ado-mcp's own configuration. It tells Claude Code how to work on ado-mcp 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 ado-mcp configures โ†’

Reuse

Borrowing it

Nothing to install: this file belongs to raboley/ado-mcp. 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/raboley/ado-mcp/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/raboley/ado-mcp

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 ado-mcp CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/raboley/ado-mcp/claude-md/github.svg)](https://agentmods.dev/instructions/raboley/ado-mcp/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/raboley/ado-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/raboley/ado-mcp/claude-md/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 ado-mcp CLAUDE.md

Your own site ยท 80ร—15
<a href="https://agentmods.dev/instructions/raboley/ado-mcp/claude-md"><img src="https://agentmods.dev/badge/instructions/raboley/ado-mcp/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,716 This file is loaded in full into every session.
When invoked 1,716 The same file โ€” it is already loaded in full.
Security scan A 0 findings. 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.01716 $0.01716
Opus 5.5 $0.00686 $0.00686
Sonnet 5.5 $0.00343 $0.00343
Haiku 4.5 $0.00172 $0.00172

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

Security

Grade A, and why

ado-mcp CLAUDE.md 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 2mo 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.

CLAUDE.md ยท 143 lines

How it starts

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

๐Ÿ”„ Project Awareness & Context

  • Check the tasks/ folder at the start of a new conversation to understand current project requirements, PRDs, and active tasks.
  • Check CONTRIBUTING.md when working on tasks.
  • Use consistent naming conventions, file structure, and architecture patterns as established in the codebase.
  • Use venv_linux (the virtual environment) whenever executing Python commands, including for tests.
  • Read NEW_TOOL_WORKFLOW.md when asked to create a new tool

๐Ÿงฑ Code Structure & Modularity

  • Never create a file longer than 500 lines of code. If a file approaches this limit, refactor by splitting it into modules or helper files.
  • Organize code into clearly separated modules, grouped by feature or responsibility. For agents this looks like:
    • agent.py - Main agent definition and execution logic
    • tools.py - Tool functions used by the agent
    • prompts.py - System prompts
  • Use clear, consistent imports (prefer relative imports within packages).
  • Use clear, consistent imports (prefer relative imports within packages).
  • Use python_dotenv and load_env() for environment variables.
  • Use logging module to add observability Any errors must include all relevant execution context so an llm can fix it.

๐Ÿงช Testing & Reliability

  • Always create Pytest end to end tests for new features that a user can experience.
  • Only create end to end tests using actual data and real connections - black box test how a user would test.
  • ALWAYS use task test to run tests - never run pytest directly. This ensures proper environment variables are sourced.
  • Tests run in parallel by default using pytest-xdist for faster execution (~15s vs 80s):
    • Use task test for parallel execution (default)
    • Use task test-sequential for debugging when you need sequential execution
    • Use task test-single TEST_NAME=path::to::test for individual test execution
  • Tests require ADO credentials - AZURE_DEVOPS_EXT_PAT and ADO_ORGANIZATION_URL must be set via Taskfile.
  • FastMCP converts Pydantic models to dictionaries - tests should expect dictionary responses, not Pydantic objects.
  • Dedicated test pipelines are pre-created for pipeline run tests to avoid create/delete overhead.
  • After updating any logic, check whether existing unit tests need to be updated. If so, do it. use task test to ensure everything still works
  • Tests should live in a /tests folder mirroring the main app structure.
  • Pytest fixture imports: When using pytest fixtures like telemetry_setup, always import them even if they appear "unused" to linters. The pyproject.toml is configured to allow F401 (unused imports) and F811 (fixture redefinitions) in test files.
  • NEVER use mocking in tests.
    • Include at least:
      • 1 test for expected use
      • 1 edge case
      • 1 failure case
      • 1 test to ensure tools and resources are added to the mcp server.

Read the full file on GitHub ยท 143 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. 2mo ago First seen ยท 143 lines ยท 1,716 tokens per session scan A dd9563e10021

Subscribe to this mod's changes

ado-mcp CLAUDE.md is an instructions file published in the GitHub repository raboley/ado-mcp (0 stars, last pushed 1y ago), licensed MIT. It adds 1,716 tokens to every session, about $0.0069 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode ยท 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js ยท 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode ยท 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain ยท 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode ยท 2,750 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness ยท 4,261 tokens