Skip to main content
skill CX Codex official · Anthropic

verify · anthropics/financial-services — Claude Code skill: what it does, how to install

The skill tests admin scripts and commands for claude-for-msft-365-install against an isolated fake home directory. Runs when verifying changes to deployment scripts.

Apache-2.0 ★ 41,441 updated 2026-09-21

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add anthropics/financial-services
/plugin install claude-for-msft-365-install@claude-for-financial-services
Open on GitHub

What verify does

The skill runs admin scripts from scripts/*.sh and scripts/*.ps1 inside a throwaway sandbox to test destructive options safely. The python3 scripts/check.py script lints manifests and installs a pre-commit hook that bumps patches in .claude-plugin/plugin.json.

Overriding the HOME environment variable isolates Office paths so --apply flags run without touching user data. PowerShell scripts must remain in pure ASCII because Windows PowerShell 5.1 reads BOM-less files as ANSI, which causes parsing errors.

Bash tools execute via zsh, so syntax requiring strict bash behavior runs inside explicit bash <<'EOF' blocks.

What it helps with

  • lint manifests and check pre-commit hooks
  • drive administrative scripts against a fake HOME sandbox
  • verify PowerShell script parsing on Windows hosts
  • snapshot and diff storage trees before and after script execution

Example prompts for the agent

  • Run check.py to lint the repository manifests
  • Execute clear-addin-cache.sh against a sandbox HOME
  • Verify the ps1 script parser before behavioural tests

How to install verify

1Plugin marketplace

/plugin marketplace add anthropics/financial-services
/plugin install claude-for-msft-365-install@claude-for-financial-services

This installs the whole claude-for-msft-365-install plugin with all its skills

2Skills CLI (Vercel)

npx skills add anthropics/financial-services --skill verify -a claude-code

3Manually: put the files in place

~/.claude/skills/verify/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/verify/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about verify

How to install verify in Claude Code?

Run /plugin marketplace add anthropics/financial-services, then /plugin install claude-for-msft-365-install@claude-for-financial-services, then npx skills add anthropics/financial-services --skill verify -a claude-code, and check ~/.claude/skills/verify/SKILL.md.

What does verify do?

It tests administrative install scripts against an isolated fake home environment to catch bugs safely.

What is needed to run verify?

Python 3 and the scripts from the anthropics/financial-services repository are required.

Source text

SKILL.md · Apache-2.0
---
name: verify
description: Verify changes to the claude-for-msft-365-install admin scripts and commands by driving them against an isolated fake $HOME.
---

# Verifying claude-for-msft-365-install

This plugin is **admin CLI tooling**, not an app. There is nothing to build and
no server to boot. The surface is the terminal: `scripts/*.sh` on macOS,
`scripts/*.ps1` on Windows.

## Lint gate

```bash
python3 scripts/check.py           # from the REPO ROOT, not the plugin dir
bash -n claude-for-msft-365-install/scripts/<script>.sh
```

`check.py` lints every manifest and self-installs the pre-commit hook that
patch-bumps `.claude-plugin/plugin.json`. Run it before committing.

## Drive the scripts against a fake $HOME

Every macOS script resolves Office paths from `$HOME`, so overriding it gives a
throwaway sandbox — you can exercise the destructive `--apply` paths without
touching real Office data.

```bash
S=<scratchpad>/sandbox
for app in Excel Word Powerpoint; do
  mkdir -p "$S/Library/Containers/com.microsoft.$app/Data/Documents/wef"
done
printf '<x/>' > "$S/Library/Containers/com.microsoft.Excel/Data/Documents/wef/aaaaaaaa-1111-1111-1111-111111111111.manifest-a.xml"

HOME=$S ./scripts/clear-addin-cache.sh                      # list
HOME=$S ./scripts/clear-addin-cache.sh --id <GUID>          # dry-run
HOME=$S ./scripts/clear-addin-cache.sh --id <GUID> --apply  # destructive
```

Seed at least **two IDs across two apps**, with **mixed upper/lowercase**. Both
properties have caught real bugs: cross-app blast radius, and a case-sensitive
glob that reported "already clear" and sent admins to a folder-wide wipe.

## Prove storage is retained

The load-bearing claim of this plugin is that clearing a manifest never touches
the user's chat history. Verify it by snapshot-diffing both trees around the
operation, against the **real** `$HOME`:

```bash
snap() {
  for app in Excel Word Powerpoint; do
    find "$HOME/Library/Containers/com.microsoft.$app/Data/Library/WebKit/WebsiteData" \
         -type f -exec stat -f '%N %z %m' {} \; 2>/dev/null
    find "$HOME/Library/Containers/com.microsoft.$app/Data/Documents/wef" \
         -type f -exec stat -f 'WEF %N %z' {} \; 2>/dev/null
  done | sort
}
snap > before.txt;  <run the script>;  snap > after.txt;  diff before.txt after.txt
```

Manifests live in `Data/Documents/wef`; storage lives in
`Data/Library/WebKit/WebsiteData`. Different subtrees — the diff should show
only the manifest you removed. **Restore any planted files and re-diff to
confirm you left the machine as you found it.**

## Gotchas

- **The Bash tool runs zsh.** Scripts are `#!/usr/bin/env bash`; test bash-only
  behaviour (`shopt`, glob semantics) inside `bash <<'EOF' … EOF`, not inline.
- **`PRAGMA integrity_check` and `SELECT count(*)` fail on exported IndexedDB
  files** with `no such collation sequence: IDBKEY`. That is WebKit's custom
  collation, not corruption — it fails on the source file too. Verify
  completeness with `SELECT sum(length(value)) FROM Records;` on both sides.
- **Never claim the `.ps1` scripts work without running them on Windows.**
  macOS has no PowerShell, so a `.ps1` change verified only here is unverified.
  Run it on a real Windows host against Windows PowerShell 5.1, and always
  include a **parse check** before the behavioural ones:

  ```powershell
  $e = $null
  [System.Management.Automation.PSParser]::Tokenize(
    (Get-Content -Raw .\clear-addin-cache.ps1), [ref]$e) | Out-Null
  if ($e.Count) { $e | ForEach-Object { $_.Message } } else { 'parse ok' }
  ```

  A file can be perfectly fine on macOS and fail to parse outright on Windows
  (see the ASCII note below), so parsing is the first thing to establish.

- **`.ps1` files must be pure ASCII** (enforced by `scripts/check.py`).
  Windows PowerShell 5.1 reads a BOM-less `.ps1` as ANSI, so an em dash decodes
  to mojibake containing `"`, which terminates a string and breaks the parse.
  `clear-addin-cache.ps1` shipped broken this way and no macOS check caught it.
- Probe the arg parser. `--flag` as the final argument makes `shift 2` fail
  under `set -e` and exits 1 with **no output**; each flag needs a
  `[ $# -ge 2 ]` guard.

© Anthropic · Apache-2.0 · anthropics/financial-services

Similar skills

All skills for Agent setup: memory, context, orchestration →

verify by other authors comes first.

verify react verify validates code changes against React repository requirements before committing. Runs Prettier, linter, Flow type checks, and tests. CX Codex +1 1,200installs verify Yeachan-Heo verify turns "it should work" into evidence you can read: which check ran, what passed, and what stayed unverified. CX Codex +1 721installs verify official anthropics verify — a skill for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI and OpenCode that tests harness changes end-to-end without Docker. CX Codex +1 257installs verify codewithmukesh verify — a skill for Claude Code, Codex, Cursor, and other agents that runs a seven-phase verification pipeline on .NET projects: build, analyzers, antipattern detection, tests, security, formatting, and diff review. CX Codex +1 4,000installs verify plastic-labs The verify Claude Code skill tests Honcho changes against a running local app. It exercises the HTTP API, deriver queue, and SQL query plans. CX Codex +1 172installs om-prepare-test-env open-mercato om-prepare-test-env spins up a reproducible local environment for browser QA and tests. It inspects the project stack, builds entrypoint scripts, and saves a shared test descriptor. CX Codex +1 3,900installs openspec-verify-change openspec openspec-verify-change is a Claude Code skill that checks code against OpenSpec specs, tasks, and design before archiving a change. CX Codex +1 4,000installs verify-maestro ReinaMacCredy verify-maestro verifies Maestro repository changes in an isolated scratch HOME, runs realistic CLI user journeys, and writes an execution log with exit codes. CX Codex +1 ★ 238repo stars cli-review-runner pproenca The cli-review-runner skill for Claude Code checks a CLI command against 45 rules from the cli-for-agents catalog to assess whether an agent can use it safely in a pipeline. CX Codex +1 219installs script-generator transilienceai script-generator generates optimized, syntax-checked Python, Bash, and PowerShell scripts. It builds and validates the files but never executes them. CX Codex +1 176installs cli-developer VoltAgent Community cli-developer designs command structures and terminal interfaces, with guidance on argument parsing, interactive prompts, and error handling. Use it when building CLI tools. CX Codex 312installs

From the same set116

The whole set →
debug debug — a command for diagnosing deployment issues with office add-ins. It triggers when connection errors occur, configurations become stale, or the add-in fails to appear in host applications. CX Codex +1 ★ 41,441repo stars consent This Claude Code command guides Azure admin consent for Entra SSO and Outlook access to Microsoft Graph. A tenant admin opens the supplied URL and approves the permissions. CX Codex +1 ★ 41,441repo stars bootstrap bootstrap — a command for Claude Code that builds an endpoint for dynamic configuration and MCP server management. It runs during extension startup to push user-specific settings. CX Codex +1 ★ 41,441repo stars access-policies Builds IAM-style access_policies configurations. It defines granular allow and deny rules for Microsoft 365 add-in features. CX Codex +1 ★ 41,441repo stars claude-for-msft-365-install The claude-for-msft-365-install Claude Code plugin configures the Claude Microsoft 365 add-in to use a cloud model. It creates a customized manifest and guides Azure admin consent. ★ 41,441repo stars sp-global Integrates S&P Global financial analytics into AI workflows. It generates company tearsheets, transaction summaries, and earnings previews using Capital IQ data. ★ 41,441repo stars lseg This Claude Code plugin runs financial analysis workflows with LSEG data, covering bonds, FX, options and macro indicators. Its commands combine multiple analytics calls into each workflow. ★ 41,441repo stars market-researcher market-researcher — a plugin for Claude Code turns an industry sector or market theme into a research briefing. It drafts competitor landscapes, peer comps, and an idea shortlist. ★ 41,441repo stars

Project sponsors

Companies that keep this analytics open