ciai

Use AiMock to perform reproducible tests around LLM APIs, MCP tools, A2A flows, vector stores, search, or moderation services when agents need to avoid relying on live providers.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "ciai" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-cad657ee3924ac0892f8ae72ccbe356a4cbefe3a6dda08b19dcf4b6e24065f73. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/mock-ai-app-dependencies-for-deterministic-local-and-ci-tests before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use AiMock to perform reproducible tests around LLM APIs, MCP tools, A2A flows, vector stores, search, or moderation services when agents need to avoid relying on live providers.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
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.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "用于确定性本地和CI测试的模拟AI应用程序依赖项"
slug: "mock-ai-app-dependencies-for-deterministic-local-and-ci-tests"
version: "1.0.0"
displayName: "用于确定性本地和CI测试的模拟AI应用程序依赖项"
summary: "在代理需要围绕LLM API、MCP工具、A2A流程、向量存储、搜索或审核服务进行可重现测试时,请使用AiMock,而无需依赖实时提供商。"
license: "MIT"
description: "在代理需要围绕LLM API、MCP工具、A2A流程、向量存储、搜索或审核服务进行可重现测试时,请使用AiMock,而无需依赖实时提供商。"
github_stars: 324
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 324
  npm_package: "@copilotkit/aimock"
  npm_weekly_downloads: 6430

用于确定性本地和CI测试的模拟AI应用程序依赖项

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 — Container image and Helm chart for CI/CD
  • Zero dependencies — Everything from Node.js builtins

Basic usage or getting-started notes:

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 AiMock 工具用于本地和CI环境中的AI应用依赖项模拟测试,避免依赖实时提供商,具有明确的实用价值。
  • 面向开发者测试场景,功能定位清晰,可显著提升测试效率和确定性。
Trigger Precision95/100

Highlights

  • 触发描述精准完整,明确指出使用场景为围绕LLM API、MCP工具等进行可重现测试,边界清晰。
Structure and Standards90/100

Highlights

  • 文档结构清晰,包含 Prerequisites、Installation、Documentation 等必要章节,frontmatter 完整。
Execution Reliability85/100

Highlights

  • 工具来源明确(npm包,GitHub仓库),提供了多种安装和使用方式,并涵盖了基本使用要求和注意事项。
Evidence Verifiability (mean of the first four)87/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • aimock.copilotkit.dev
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

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.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.