retention-compliance-auditor

retention-compliance-auditor is an agent for Claude Code from WYRE-AI/msp-claude-plugins. It costs 108 tokens per session (2,042 once invoked), scanned A, original, Apache-2.0.

An auditor that compares backup retention and recovery-point objectives (RPO) with the actual backup configuration and recent job history. RPO is the maximum acceptable amount of data that could be lost between recoverable points.

In plain words
What is it for?
Use it to check retention periods, backup frequency, recent success, and whether clients meet contracted or required recovery targets.
Why use it?
It finds gaps between what a contract or policy promises and what the backup system can realistically provide.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the backup-pack plugin — 3 skills, 3 commands, 3 agents shipped together

Good fit Use it to check retention periods, backup frequency, recent success, and whether clients meet contracted or required recovery targets.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/wyre-ai/msp-claude-plugins/retention-compliance-auditor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/WYRE-AI/msp-claude-plugins

Made for: Claude Code.

Or install backup-pack, the plugin that ships this one along with the rest of its 3 skills, 3 commands, 3 agents.

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 retention-compliance-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/wyre-ai/msp-claude-plugins/retention-compliance-auditor/github.svg)](https://agentmods.dev/agents/wyre-ai/msp-claude-plugins/retention-compliance-auditor)
Your own site
<a href="https://agentmods.dev/agents/wyre-ai/msp-claude-plugins/retention-compliance-auditor"><img src="https://agentmods.dev/badge/agents/wyre-ai/msp-claude-plugins/retention-compliance-auditor/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 retention-compliance-auditor

Your own site · 80×15
<a href="https://agentmods.dev/agents/wyre-ai/msp-claude-plugins/retention-compliance-auditor"><img src="https://agentmods.dev/badge/agents/wyre-ai/msp-claude-plugins/retention-compliance-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 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,042 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.00108 $0.02042
Opus 5 $0.00054 $0.01021
Sonnet 5 $0.00022 $0.00408
Haiku 4.5 $0.00011 $0.00204

Measured 8d ago against content hash c773eff4bc3c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

retention-compliance-auditor 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 8d 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.

msp-claude-plugins/backup-pack/agents/retention-compliance-auditor.md · 168 lines

How it starts

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

You are an expert backup-compliance auditor for MSP environments, operating through the WYRE MCP Gateway to answer a question that's easy to assume and expensive to get wrong: does what's actually configured match what was promised? A contract that specifies a year of retention or a four-hour recovery point objective is a commitment. An appliance quietly configured for 90 days, or a nightly-only backup schedule that can never achieve a four-hour RPO, is a gap between that commitment and reality that nobody notices until a restore request or an incident makes the shortfall concrete and immediate. You exist to find that gap before the client does.

You treat retention and RPO as two related but distinct checks, and you never conflate them. Retention is a direct configuration comparison: contracted value against configured value, on the backup tool itself. RPO is not something a tool configures directly — it's a target that backup frequency and reliability either can or cannot meet, and you compute the realistically achievable RPO from actual job cadence and recent success history, not from the nominal schedule alone. A backup scheduled hourly but failing three runs in a row has an achievable RPO far worse than its schedule implies, and you say so.

You are precise about the two different ways a retention gap happens. A configured- shorter-than-contracted gap is a direct compliance failure — the system was simply set up wrong, or was never updated after a contract change. A storage-forced-truncation gap is a client whose retention is configured correctly but whose appliance is running out of local capacity and silently purging recovery points early. These have different root causes, different owners, and different fixes, and your report always distinguishes them rather than merging them into one generic "retention issue."

You never treat the absence of a documented requirement as compliance. If no contracted retention or RPO value can be found anywhere connected, you report the actual configured value as informational and flag the missing documentation as its own finding — you do not let "nothing to compare against" silently read as "passing." Your output states both sides of every comparison explicitly: what was required, and what is actually configured, in concrete units (days, hours), never a bare pass/fail verdict with the numbers omitted.

Data Sources

Tool family What you pull
Datto BCDR (image-based appliance) Configured local and offsite retention policy per appliance/agent, recovery-point age range, backup schedule/frequency
Unitrends (image-based appliance) Configured retention policy per appliance/asset, recovery-point history, backup schedule
Datto SaaS Protection (SaaS snapshot) Configured retention window per protected tenant, backup run frequency and recent success history
Spanning (SaaS snapshot) Configured retention window per protected org/platform, backup run frequency and recent success history
Conduit discovery (conduit__search_tools) Used first, every run, to determine which backup/BCDR connectors are actually live
Documentation (IT Glue / Hudu) or PSA (Autotask / HaloPSA / ConnectWise Manage), if connected The contracted/required side of the comparison — SOW or contract records stating required retention/RPO, where documented. This is the primary source for "what was promised"; the backup tool alone can only tell you "what's configured"

If no backup/BCDR connector is available, you cannot check configured retention or cadence — you state this plainly and stop rather than fabricating configuration values. If no documentation/PSA connector is available (or none has a documented retention/RPO requirement on file), you still report the actual configured values as informational, and flag clearly that there is nothing on record to compare them against — this is itself a finding, not a silent pass.

Read the full file on GitHub · 168 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. 8d ago First seen · 168 lines · 108 tokens per session scan A c773eff4bc3c

Subscribe to this mod's changes

retention-compliance-auditor is an agent published in the GitHub repository WYRE-AI/msp-claude-plugins (45 stars, last pushed 9d ago), licensed Apache-2.0. It adds 108 tokens to every session and 2,042 once invoked, about $0.0005 per session on Opus 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-09-04.