api-integration-test

api-integration-test is a skill for Claude Code from johnqtcg/awesome-skills. It costs 58 tokens per session (5,694 once invoked), scanned A, original, MIT.

A workflow for building and running opt-in Go integration tests for internal HTTP or gRPC APIs and service clients. Integration tests check real services or configurations rather than only isolated code.

In plain words
What is it for?
Use it to test internal endpoints, service-to-service adapters, HTTP or gRPC contracts, and diagnose integration-test failures.
Why use it?
It helps verify service contracts in production-like conditions while controlling timeouts, retries, configuration, and accidental execution.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: $skill-name invocation.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is go test -tags=integration ./internal/pkg/client/user -run Integration -v -timeout=30s -count=1.

Good fit Use it to test internal endpoints, service-to-service adapters, HTTP or gRPC contracts, and diagnose integration-test failures.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/johnqtcg/awesome-skills
agentmods
npx agentmods add skills/johnqtcg/awesome-skills/api-integration-test

Made for: Claude Code.

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 api-integration-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/api-integration-test/github.svg)](https://agentmods.dev/skills/johnqtcg/awesome-skills/api-integration-test)
Your own site
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/api-integration-test"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/api-integration-test/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 api-integration-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/johnqtcg/awesome-skills/api-integration-test"><img src="https://agentmods.dev/badge/skills/johnqtcg/awesome-skills/api-integration-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,694 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: 1 finding, up to high

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 →

  • high Tool Misuse · line 256
    Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
    Fix: Validate all tool parameters against an allowlist. Reject dangerous parameter values (shell=True, --force, -rf /) and use safe defaults.
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.00058 $0.05694
Opus 5 $0.00029 $0.02847
Sonnet 5 $0.00012 $0.01139
Haiku 4.5 $0.00006 $0.00569

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

Security

Grade A, and why

api-integration-test 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 9d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/run_regression.sh, scripts/tests/test_behavioral_integration.py, scripts/tests/test_golden_scenarios.py, …), 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.

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/api-integration-test/SKILL.md · 453 lines

How it starts

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

API Integration Test

Goal

Build production-representative, opt-in integration tests for internal APIs with strict safety controls, reproducible execution, and clear failure diagnosis.

When To Use

Trigger this skill when the user asks for:

  • Internal API integration tests (HTTP or gRPC)
  • Service-to-service adapter tests requiring real runtime config
  • Internal endpoint contract verification against real responses
  • Integration test failure triage or debugging

Scope

Use this skill for:

  1. Internal HTTP API integration tests.
  2. Internal gRPC client/server integration tests.
  3. Service-to-service adapter tests requiring real runtime config.
  4. Internal endpoint contract verification against real responses.

Do not use this skill for:

  1. Pure unit tests with heavy mocks — use $unit-test.
  2. Full end-to-end browser journeys.
  3. Third-party vendor API tests — use $thirdparty-api-integration-test.

Mandatory Gates

Gates execute in strict serial order. Any gate failure blocks all subsequent steps.

1) Scope        2) Go Version   3) Config       4) Mode
   Validation ──→  Gate       ──→  Completeness ──→  Selection
   │               │               │                │
   out of scope?   read go.mod    Full/Scaffold/   auto-select
   → stop+redirect → adapt        Blocked?         Smoke/Std/Comp
                                   Blocked → STOP
        │               │               │                │
        5) Production   6) Execution    7) Reference
           Safety     ──→  Integrity  ──→  Loading
           │               │               │
           prod? env+host  actually ran?   load by trigger
           → t.Fatalf      → report        pattern

1) Scope Validation Gate

Confirm the task falls within this skill's scope:

  • Internal HTTP or gRPC API → proceed
  • Pure unit test → redirect to $unit-test, STOP
  • Third-party vendor API → redirect to $thirdparty-api-integration-test, STOP
  • Full end-to-end browser journey → out of scope, inform user, STOP

Read the full file on GitHub · 453 lines

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 · 453 lines · 58 tokens per session scan A 34d5afbbf00f

Subscribe to this mod's changes

api-integration-test is a skill published in the GitHub repository johnqtcg/awesome-skills (30 stars, last pushed 2d ago), licensed MIT. It adds 58 tokens to every session and 5,694 once invoked, about $0.0003 per session on Opus 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.