microcks-import-artifacts

microcks-import-artifacts is a skill for Claude Code, Codex from emmanuelperu/microcks-skills. It costs 50 tokens per session (1,483 once invoked), scanned A, original, Apache-2.0.

A workflow for importing OpenAPI specifications into Microcks, an API mocking and testing tool, and configuring how mocked responses are selected. It uses vendor extensions in the specification to set up JSON-body or script-based dispatchers.

In plain words
What is it for?
It helps import API specifications into a running Microcks instance, detect dispatcher settings, load Groovy scripts, and configure mocks through shell scripts and the Microcks command-line tool.
Why use it?
It removes the need to repeat the import and dispatcher setup manually. The provided scripts make the process repeatable when Docker, Microcks, jq, and curl are available.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps import API specifications into a running Microcks instance, detect dispatcher settings, load Groovy scripts, and configure mocks through shell scripts and the Microcks command-line tool.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emmanuelperu/microcks-skills/microcks-import-artifacts
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.

Any agent
npx skills add emmanuelperu/microcks-skills --skill microcks-import-artifacts
Clone the repo
git clone --depth 1 https://github.com/emmanuelperu/microcks-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for microcks-import-artifacts

README.md
[![agentmods](https://agentmods.dev/badge/skills/emmanuelperu/microcks-skills/microcks-import-artifacts/github.svg)](https://agentmods.dev/skills/emmanuelperu/microcks-skills/microcks-import-artifacts)
Your own site
<a href="https://agentmods.dev/skills/emmanuelperu/microcks-skills/microcks-import-artifacts"><img src="https://agentmods.dev/badge/skills/emmanuelperu/microcks-skills/microcks-import-artifacts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for microcks-import-artifacts

Your own site · 80×15
<a href="https://agentmods.dev/skills/emmanuelperu/microcks-skills/microcks-import-artifacts"><img src="https://agentmods.dev/badge/skills/emmanuelperu/microcks-skills/microcks-import-artifacts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,483 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00050 $0.01483
Opus 5 $0.00025 $0.00741
Sonnet 5 $0.00010 $0.00297
Haiku 4.5 $0.00005 $0.00148

Measured 9d ago against content hash d255008e358b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

microcks-import-artifacts scanned grade A with 1 finding 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 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (templates/download-microcks-cli.sh, templates/import-openapi.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires Docker and a running Microcks instance (see microcks-local-server skill). Also requires jq and curl.
skills/microcks-import-artifacts/SKILL.md · 178 lines

How it starts

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

Microcks Import Artifacts

Import OpenAPI specifications into Microcks and automatically configure dispatchers based on vendor extensions.

When to Use This Skill

Use this skill when:

  • Importing an OpenAPI spec into a running Microcks instance for mocking
  • Auto-configuring dispatchers after writing a spec with x-mocking-microcks-dispatcher extensions
  • Setting up a repeatable import workflow with shell scripts

Prerequisites

  • Docker installed and running
  • Microcks started (use the microcks-local-server skill)
  • jq installed (brew install jq / apt install jq)
  • curl installed

Quick Start

IMPORTANT: The import and dispatcher configuration MUST be done by running the import-openapi.sh shell script. Do NOT attempt to configure dispatchers manually via curl or the Microcks API — the script handles the full workflow (import, discriminant detection, Groovy script loading, API calls).

  1. Create the mocking/ directory structure:
mkdir -p mocking/dispatchers
  1. Copy the template scripts into it:
cp templates/import-openapi.sh mocking/import-openapi.sh
cp templates/download-microcks-cli.sh mocking/download-microcks-cli.sh
chmod +x mocking/import-openapi.sh mocking/download-microcks-cli.sh
  1. Run the import script (this is the only command needed to import AND configure dispatchers):
./mocking/import-openapi.sh path/to/your-api-spec.yaml

The script will:

  • Check that Microcks is running
  • Download microcks-cli if not already cached
  • Import the spec into Microcks
  • Read x-mocking-microcks-dispatcher vendor extensions
  • Auto-configure dispatchers via the Microcks API

Security Notice

This skill provides shell script templates that the user copies into their project. These scripts:

  • Download an external binary (microcks-cli from GitHub releases of microcks/microcks-cli)
  • Run Docker containers (mikefarah/yq for YAML-to-JSON conversion, from mikefarah/yq)
  • Make network calls to the local Microcks REST API

Read the full file on GitHub · 178 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 9d ago First seen · 178 lines · 50 tokens per session scan A d255008e358b

Subscribe to this mod's changes

microcks-import-artifacts is a skill published in the GitHub repository emmanuelperu/microcks-skills (4 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 50 tokens to every session and 1,483 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

API Test Suite Generator

Automatically generate comprehensive API test suites from OpenAPI specifications covering CRUD operations, error handling, authentication, pagination, and edge cases.

PramodDutta/qaskills · 29 tokens

apifox-test-scenario

A guide for building and managing Apifox test scenarios, which are ordered workflows that check how several API calls and other actions work together.

apifox/apifox-cli-skills · 111 tokens

api-tester

A tool for creating and checking API tests from the real API contract and implementation. An API is the agreed way that software sends requests and receives responses.

laolaoshiren/claude-code-skills-zh · 86 tokens

backend/testing-guide

A guide for writing backend tests: small unit tests, tests that check connected parts such as an API and database, and end-to-end tests that follow a complete user flow.

echoVic/boss-skill · 30 tokens

endpoint-probe

Probes each major Agent Monitor API route — /api/stats, /api/analytics, /api/sessions, /api/pricing/cost, /api/workflows/runs, /api/cc-config/overview — and reports each one's HTTP status, latency, and response shape, flagging which are reachable. Use to verify a dashboard install is wired up correctly.

hoangsonww/Claude-Code-Agent-Monitor · 80 tokens

emulate-seed

Generate emulate seed configs for stateful API emulation. Wraps Vercel's emulate tool for GitHub, Vercel, Google OAuth, Slack, Apple Auth, Microsoft Entra, AWS, Okta, Clerk, Resend, Stripe, and MongoDB Atlas APIs — full state machines, not mocks. Use when setting up test environments, CI pipelines, integration tests…

yonatangross/orchestkit · 86 tokens