counterfact

Official

Safely edit Counterfact-generated APIs.

Authorcounterfact
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Helps developers quickly understand how Counterfact is structured and how a generated API simulation is organized, reducing misconfigurations and edit mistakes.

Core Features & Use Cases

  • Generates route handlers and types from an OpenAPI/Swagger spec to produce a working mock API.
  • Live server with hot reload and a built-in REPL to control behavior at runtime.
  • Shared runtime state across routes and scenarios, with state mutations stored in context files.

Quick Start

Start a local Counterfact project from an OpenAPI spec and open the REPL to inspect and control API behavior.

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: counterfact
Download link: https://github.com/counterfact/api-simulator/archive/main.zip#counterfact

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 510,000+ vetted skills library on demand.