ai-vcr-test

Community

Deterministic AI tests with VCR caching.

Authorjamesaphoenix
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cache expensive AI/LLM calls to deliver deterministic integration tests by persisting responses as cassettes, enabling fast, offline CI runs and reliable local development.

Core Features & Use Cases

  • Custom VCR for operation-level caching of AI calls (wraps the function directly)
  • MSW-based HTTP interception for precise error scenarios and streaming edge cases
  • Deterministic cache keys via stable input hashing and cassette naming conventions
  • Scrubbing and redaction of secrets to keep credentials safe in recorded data
  • Flexible replay/record modes with per-suite cassette management and local development workflows

Quick Start

Run your integration tests once to record cassettes, then run again to replay deterministically.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: ai-vcr-test
Download link: https://github.com/jamesaphoenix/tx-agent-kit/archive/main.zip#ai-vcr-test

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.