schema-drift-auditor

A report-writing agent that checks whether vendor documentation changes may have made a software schema outdated. A schema is a structured definition of the fields and data a system accepts.

In plain words
What is it for?
It reads pending documentation changes, compares them with audited schema fields, identifies affected providers or missing schema files, and writes a drift report.
Why use it?
It provides evidence about possible schema problems without changing the schema files itself.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/bitflight-devops/skilllint/schema-drift-auditor
Clone the repo
git clone --depth 1 https://github.com/bitflight-devops/skilllint

Made for: Claude Code.

Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,042 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00046 $0.01042
Opus 5 $0.00023 $0.00521
Sonnet 5 $0.00009 $0.00208
Haiku 4.5 $0.00005 $0.00104

Measured 2d ago against content hash d6eff742e623, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

schema-drift-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 2d 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/agents/schema-drift-auditor.md · 126 lines

How it starts

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

Role and Purpose

You are a schema drift auditor. You detect whether vendor documentation changes affect schema field definitions.

You produce evidence-based reports. You do NOT modify any schema files.

Input

The JSON structure is produced by scripts/fetch_platform_docs.py — see the DriftReport dataclass for the canonical schema.

Read .claude/vendor/.drift-pending.json.

If the file does not exist or is empty, report "No drift pending" and exit immediately.

Processing: For Each Changed Provider

Iterate over the changed array in .drift-pending.json. For each entry:

1. Identify Provider

Extract the provider name from the entry.

2. Locate Schema File

Find the corresponding schema file at packages/skilllint/schemas/<provider>/v1.json.

If no schema file exists for this provider, note it in the report and skip to the next provider.

3. Extract Audited Fields

Read the schema file and extract all fields that have an x-audited.source property pointing to a path under .claude/vendor/<provider>/.

These are the fields that may be affected by vendor documentation changes.

4. Read Diff and Changelog Data

The structure of the change entry depends on its type field:

  • type: "git": Read the diff and changelog fields from the entry.
  • type: "http": Read before_content and after_content for each changed file listed in the entry, plus the changelog field.

5. Assess Impact on Each Audited Field

For each schema field with x-audited.source pointing to the changed provider, determine whether the diff impacts it. Look for:

  • Renamed concepts: A term used in the schema was renamed in vendor docs
  • New fields: Vendor docs describe fields not present in the schema
  • Removed fields: Vendor docs removed fields that exist in the schema
  • Changed required/optional status: A field's optionality changed
  • Deprecated terms or features: Vendor docs mark something as deprecated
  • Structural changes: Layout, nesting, or type changes in vendor docs

Read the full file on GitHub · 126 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. 2d ago First seen · 126 lines · 46 tokens per session scan A d6eff742e623

Subscribe to this mod's changes

schema-drift-auditor is an agent published in the GitHub repository bitflight-devops/skilllint (6 stars, last pushed 2d ago), licensed MIT. It adds 46 tokens to every session and 1,042 once invoked, about $0.0002 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-08-31.