Skip to content
Back to skills

Mock Ai App Dependencies For Deterministic Local And Ci Tests

ASecurity

Use AiMock when an agent needs reproducible tests around LLM APIs, MCP tools, A2A flows, vector stores, search, or moderation services without depending on live providers.

  • 36 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added June 8, 2026
ai-agentsjavascripttypescriptgojavabashnodedockergitapici/cd

Works with

  • api
  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill mock-ai-app-dependencies-for-deterministic-local-and-ci-tests --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Mock Ai App Dependencies For Deterministic Local And Ci Tests?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Mock Ai App Dependencies For Deterministic Local And Ci Tests
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-mock-ai-app-dependencies-for-deterministic-local-a/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-mock-ai-app-dependencies-for-deterministic-local-a)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "Mock AI app dependencies for deterministic local and CI tests"
slug: "mock-ai-app-dependencies-for-deterministic-local-and-ci-tests"
description: "Use AiMock when an agent needs reproducible tests around LLM APIs, MCP tools, A2A flows, vector stores, search, or moderation services without depending on live providers."
github_stars: 324
verification: "security_reviewed"
source: "https://github.com/CopilotKit/aimock"
author: "CopilotKit"
publisher_type: "company"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "CopilotKit/aimock"
  github_stars: 324
  npm_package: "@copilotkit/aimock"
  npm_weekly_downloads: 6430
---

# Mock AI app dependencies for deterministic local and CI tests

Use AiMock when an agent needs reproducible tests around LLM APIs, MCP tools, A2A flows, vector stores, search, or moderation services without depending on live providers.

## Prerequisites

Node.js; a JavaScript or TypeScript test environment; local or CI access to the app under test; fixture definitions for the providers or protocols you want to mock.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install @copilotkit/aimock
- npx -p @copilotkit/aimock llmock -p 4010 -f ./fixtures
- npx -p @copilotkit/aimock llmock -p 4010 \
- npx @copilotkit/aimock --config aimock.json

Requirements and caveats from upstream:
- process.env.OPENAI_API_KEY = "mock"; // SDK requires a value, even when base URL is mocked
- **[Docker + Helm](https://aimock.copilotkit.dev/docker)** — Container image and Helm chart for CI/CD
- **Zero dependencies** — Everything from Node.js builtins

Basic usage or getting-started notes:
- bash
- typescript
- // The class is still named LLMock for back-compat after the v1.7.0 package

- Source: https://github.com/CopilotKit/aimock
- Extracted from upstream docs: https://raw.githubusercontent.com/CopilotKit/aimock/HEAD/README.md

## Documentation

- https://aimock.copilotkit.dev/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/mock-ai-app-dependencies-for-deterministic-local-and-ci-tests/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.