debug

debug is a command for Claude Code from anthropics/financial-services. It costs 16 tokens per session (3,921 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for a Claude add-in deployment in Microsoft 365. It routes common problems such as old configuration, connection failures, missing add-ins, sign-in loops, and local manifest testing.

In plain words
What is it for?
Use it to investigate why an add-in is not visible, cannot connect, shows stale settings, or fails during sign-in, including opening browser developer tools when needed.
Why use it?
It turns a vague deployment problem into a specific diagnostic path and uses copied error details when available.

Command for Claude Code ✓ vendor

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/clear-addin-cache.sh.

Part of the claude-for-msft-365-install plugin — 1 skill, 9 commands shipped together

Good fit Use it to investigate why an add-in is not visible, cannot connect, shows stale settings, or fails during sign-in, including opening browser developer tools when needed.

Compare 6 commands from other repositories ↓
About the project

Claude for Financial Services is a collection of agents, skills, commands, plugins, and data connectors for investment banking, equity research, private equity, and wealth-management workflows. Financial professionals use it to draft models, memos, research notes, and reconciliations for review by qualified people. The catalogue contains components from these workflows, including agents, skills, plugins, commands, and instructions.

anthropics/financial-services · 41,180 stars · on GitHub

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/anthropics/financial-services
agentmods
npx agentmods add commands/anthropics/financial-services/debug

Made for: Claude Code.

Or install claude-for-msft-365-install, the plugin that ships this one along with the rest of its 1 skill, 9 commands.

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 debug

README.md
[![agentmods](https://agentmods.dev/badge/commands/anthropics/financial-services/debug/github.svg)](https://agentmods.dev/commands/anthropics/financial-services/debug)
Your own site
<a href="https://agentmods.dev/commands/anthropics/financial-services/debug"><img src="https://agentmods.dev/badge/commands/anthropics/financial-services/debug/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 debug

Your own site · 80×15
<a href="https://agentmods.dev/commands/anthropics/financial-services/debug"><img src="https://agentmods.dev/badge/commands/anthropics/financial-services/debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,921 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 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.00016 $0.03921
Opus 5.5 $0.00006 $0.01568
Sonnet 5.5 $0.00003 $0.00784
Haiku 4.5 $0.00002 $0.00392

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

Security

Grade A, and why

debug 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-for-msft-365-install/commands/debug.md · 359 lines

How it starts

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

Debug a Claude Office deployment

You are helping an enterprise admin diagnose why the deployed add-in isn't working right. Start by asking what's wrong, then route.

Triage

Ask the admin to describe the symptom. Route by answer:

Symptom Section
Updated the manifest but users still see old config Stale config after update
Add-in shows "Connection failed" Read the error paste
Add-in doesn't appear in Excel/PowerPoint at all Add-in not visible
Want to test/iterate a manifest locally before deploying Sideload a manifest for local debugging
Sign-in popup fails or loops Admin consent
Need to see the browser console Opening browser devtools

If they have an error paste from the add-in (the Copy error details button on the connect-failed screen), always start there. It carries everything.


Read the error paste

Paste structure:

Claude for Office connection failed (<Provider>)
Build: <sha>

<friendly message>

Request:
  <key>: <value actually sent>
  ...

Manifest params:
  <key>: <value the deployed manifest carries>
  ...

Raw error:
<SDK/HTTP error>

What to check:

  • Request: vs Manifest params: delta. Keys are the same snake_case names in both blocks, so diff directly. If they differ, the user typed override values into the form. If they match, the manifest values went through unchanged.
  • Manifest params: m key is the version tag (e.g. unified-1.0.0.11). If it's below what you last uploaded, the user is on a stale manifest. Go to Stale config.
  • Raw error: is the ground truth. Common patterns:
    • invalid_client (401, Google) → wrong google_client_secret for that google_client_id. Verify in GCP Console → Credentials.
    • Load failed (<host>) → network blocked at the WebView layer. Firewall needs to allow that host.
    • STS AssumeRoleWithWebIdentity failed → AWS IAM OIDC provider misconfigured or role trust policy wrong.
    • HTTP 401/403 (gateway) → bad token or gateway rejected the key.

Read the full file on GitHub · 359 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 · 359 lines · 16 tokens per session scan A 68128b967a22

Subscribe to this mod's changes

debug is a command published in the GitHub repository anthropics/financial-services (41,180 stars, last pushed 13d ago), licensed Apache-2.0. It adds 16 tokens to every session and 3,921 once invoked, about $0.0001 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-30.

Related

debug compared with commands from other repositories

debug next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
debuganthropics/financial-servicesCommand41k13d agoApache-2.0A16Claude Code
qa-changesOpenHands/extensionsCommand179todayMITA63Claude Code
auditar-cascadingluanpdd/kit-mcpCommand5yesterdayMITA54Claude Code
react-nativegetsentry/toolkitCommand961todaynoneA0Claude Code
http-serviceMadAppGang/magusCommand14todayMITA27Claude Code
doctordoncheli/don-cheli-sddCommand593mo agoApache-2.0A76Claude Code
doctorfatihkan/badiCommand71mo agoMITA0Claude Code