devlab-srv-test-api

devlab-srv-test-api is a skill for Claude Code, Codex from seed-forge/harness-ai-kit. It costs 49 tokens per session (4,607 once invoked), scanned A, original, Apache-2.0.

A backend API testing guide for Java, Python, and Node.js services. It covers REST and GraphQL APIs, which let software exchange requests and data, plus OpenAPI documents that describe those interfaces.

In plain words
What is it for?
Use it to extract test cases from API specifications, test request and response schemas, create mock services and test data, and test authentication or microservice integrations.
Why use it?
It reduces the manual work of checking whether endpoints, authentication, permissions, data consistency, and service interactions behave as expected. It also supports mock services, so tests can run without every dependent service being available.

Skill for Claude CodeCodex

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

Good fit Use it to extract test cases from API specifications, test request and response schemas, create mock services and test data, and test authentication or microservice integrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/seed-forge/harness-ai-kit/devlab-srv-test-api
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 seed-forge/harness-ai-kit --skill devlab-srv-test-api
Clone the repo
git clone --depth 1 https://github.com/seed-forge/harness-ai-kit

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 devlab-srv-test-api

README.md
[![agentmods](https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/devlab-srv-test-api/github.svg)](https://agentmods.dev/skills/seed-forge/harness-ai-kit/devlab-srv-test-api)
Your own site
<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/devlab-srv-test-api"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/devlab-srv-test-api/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 devlab-srv-test-api

Your own site · 80×15
<a href="https://agentmods.dev/skills/seed-forge/harness-ai-kit/devlab-srv-test-api"><img src="https://agentmods.dev/badge/skills/seed-forge/harness-ai-kit/devlab-srv-test-api.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,607 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 539
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 551
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00049 $0.04607
Opus 5.5 $0.00020 $0.01843
Sonnet 5.5 $0.00010 $0.00921
Haiku 4.5 $0.00005 $0.00461

Measured 1mo ago against content hash dce7a26aca20, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

devlab-srv-test-api scanned grade A with 0 findings 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 1mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/devlab-srv-test-api/SKILL.md · 679 lines

How it starts

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

Service API 测试专家技能

专注后端微服务 API 的自动化测试能力。

支持 REST/GraphQL/OpenAPI 规范的接口测试,覆盖身份认证、数据一致性、链路追踪等核心场景。


触发条件

当用户提到以下关键词时触发此 Skill:

  • "API 测试" / "接口测试" / "interface testing"
  • "OpenAPI 测试" / "Swagger 测试"
  • "微服务集成测试" / "microservice integration test"
  • "REST API 验证" / "GraphQL schema test"
  • "认证授权测试" / "authn/authz testing"

技术栈依赖

核心 CLI

# Node.js 环境
npm install -D jest supertest supertest-fetch

# Python 环境(可选)
pip install pytest requests-mock

# Java 环境(可选)
mvn add dependency:rest-assured

辅助工具

# Mock Server(推荐)
npm install -D msw

# 数据生成
npm install -D faker @faker-js/faker

# Schema 验证
npm install -D ajv zod

功能范围

Phase 1: API Schema 分析与测试点提取

输入:

  • OpenAPI/Swagger YAML 文档
  • (可选)现有 API 客户端代码
  • (可选)业务需求描述

输出:

  • specs/api-endpoints.md — 接口清单与测试点
  • specs/data-contracts.md — 数据模型定义
  • specs/auth-scenarios.md — 认证授权场景
Step 1.1: OpenAPI 解析算法
interface OpenAPIAnalysis {
  endpoints: {
    method: 'GET' | 'POST' | 'PUT' | 'DELETE';
    path: string;
    operationId: string;
    summary: string;
    parameters: Parameter[];
    requestBody?: RequestBody;
    responses: Response[];
    security?: SecurityRequirement[];
  }[];
  
  schemas: {
    [key: string]: {
      type: 'object' | 'array' | 'string' | 'number' | 'boolean';
      properties?: Record<string, any>;
      required?: string[];
    };
  };
  
  securitySchemes: {
    [key: string]: {
      type: 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';
      scheme?: string;
      bearerFormat?: string;
    };
  };
}
Step 1.2: 测试用例生成规则
维度 测试类型 示例
HTTP Method CRUD 覆盖 GET/POST/PUT/DELETE
Authentication 权限验证 未登录/普通用户/管理员
Query Params 分页过滤排序 ?limit=10&offset=20
Path Params 边界值验证 /users/{invalid-id}
Request Body 必填字段验证 缺失 email/password
Response Codes 状态码断言 200/400/401/404/500
Data Integrity 一致性校验 POST after GET shows new record

Read the full file on GitHub · 679 lines

Files

What ships with it

4 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. 1mo ago First seen · 679 lines · 49 tokens per session scan A dce7a26aca20

Subscribe to this mod's changes

devlab-srv-test-api is a skill published in the GitHub repository seed-forge/harness-ai-kit (25 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 4,607 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

api-tester

Test and document API endpoints - validate responses, check status, generate examples.

gooseworks-ai/goose-skills · 18 tokens

review-ugc-render

Mandatory pre-publish review gate for a UGC video render. Transcribes the finished render's AUDIO with Whisper and word-diffs it against the approved spoken script, then gates pinning the final render (videoprojectupsert patch.finalrenderid) — blocking a render whose generated audio mis-voices a word (e.g. the…

gooseworks-ai/goose-skills · 207 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

visual-qa

Runs rigorous visual QA across web, terminal, and paginated surfaces: an Apple HIG-based checklist, paired light/dark captures at phone and desktop widths, screenshot evidence, and a per-item PASS/FAIL verdict. Use for any UI build or change, or when asked whether a page, component, or TUI looks right or follows the…

code-yeongyu/oh-my-openagent · 78 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

remove-ai-slops

Removes AI-generated code smells from branch changes or an explicit file list behind regression tests. Use when the user asks to clean up, deslop, or remove AI-slop patterns from recent changes.

code-yeongyu/oh-my-openagent · 45 tokens