Coding Agent Token Economics Standard Microsoft published the reference implementation of the Coding Agent Token Economics Standard (CATES), a vendor-neutral tool that scores coding-agent configurations for token efficiency, security and CATES conformance with zero LLM calls, using static analysis of repository instructions, prompt libraries, chat modes, MCP configs, setup steps, hooks and editor settings. The package installs two commands, cates-analyzer and cates-optimize, requires Node.js >= 22.12 and npm >= 10, and is release-ready but has no version tag or GHCR package published yet, so users must build from a source checkout. Scores start at 100 and deduct detected findings after policy overrides, and Microsoft states a grade is not an assurance certificate and that no findings does not establish safety or task correctness. Score coding-agent configurations for token efficiency , security , and CATES conformance — zero LLM calls required. This is the reference implementation for the Coding Agent Token Economics Standard CATES . It is vendor-neutral and analyzes common coding-agent configuration surfaces, including repository and path-specific instructions, prompt libraries, chat modes, MCP configs, setup steps, hooks, and editor settings. The initial scan remains a static configuration assessment , not a bill or proof of economic performance. For end-to-end costs and accepted-task outcomes, use the separate, opt-in experimental economics assessment experimental-end-to-end-token-economics . A grade is not an assurance certificate. Scores start at 100 and deduct detected findings after policy overrides and exclusions; one critical finding can coexist with an A. Reports highlight unresolved critical findings regardless of grade and disclose disabled/suppressed findings and discovery limits. No findings does not establish safety, effective permissions or task correctness. Compare scores only under the same policy and scan scope. To pair static results with controlled permission probes and before/after accepted-task costs, attach optional runtime evidence https://github.com/microsoft/cates/blob/main/docs/RUNTIME-EVIDENCE.md : cates-analyzer . --runtime-evidence runtime-evidence.json . These records are caller-reported, not independently verified , and never change scores, conformance levels or CI gates. The Modern Agent Assurance proposal https://github.com/microsoft/cates/blob/main/docs/MODERN-AGENT-ASSURANCE.md records the October 29, 2026 standards review and current primary sources. It adds manual guidance for skills, effective permissions, MCP authorization, and outcome validation, not new scored rules or gates. Legacy prompt-secrecy checks are configuration heuristics, not enforceable security controls. For deeper GitHub Copilot hygiene , run cates-analyzer . --copilot . The Copilot profile https://github.com/microsoft/cates/blob/main/docs/COPILOT-HYGIENE.md adds 15 experimental checks across 11 configuration families, explicit coverage limits, and a manual-verification checklist. It is available in the CLI, library, API and hosted UI without changing the stable scoring model or gates. OpenSSF Best Practices status: not registered; no badge claimed. See the maintainer setup and assurance runbook https://github.com/microsoft/cates/blob/main/docs/MAINTAINER-SETUP.md for branch-protection activation, release bootstrap, and the managed-fuzzing decision. The agentic SDLC guide https://github.com/microsoft/cates/blob/main/docs/AGENTIC-SDLC.md connects issue intake, planning, implementation, review, releases, deployment and maintenance using the existing toolchain. Start with the Agent-ready task template and the CATES SDLC Copilot agent; run npm run verify before handoff. Agents assist with delivery; maintainers retain merge, publication and deployment authority. Distribution status: This repository is release-ready, but no version tag or GHCR package has been published yet. Use the source-checkout instructions below until the first GitHub release is available. Build and run the current source: git clone https://github.com/microsoft/cates.git cd cates npm ci npm run build node dist/cli/index.js . Requires Node.js = 22.12 and npm = 10 . After the first release, the npm and GHCR installation paths documented in the release notes become the recommended options. The package installs two commands: cates-analyzer reports inefficiencies and cates-optimize deliberately applies structurally checked edits — see Optimizer -optimizer--apply-lossless-fixes-cates-optimize . The programmatic package API is ESM-only; CommonJS callers must use dynamic import . Analyze current directory cates-analyzer . Analyze a specific repo cates-analyzer /path/to/repo JSON output for CI cates-analyzer . --format json SARIF output for code scanning systems cates-analyzer . --format sarif Repository URL, branch folder, file, or pull request auto-detected — also works as cates-analyzer review