ai-agent-board: Skill for Claude Code

.squad/skills/contract-tests/SKILL.md

contract-tests is a skill for Claude Code, Codex from DanWahlin/ai-agent-board. It costs 16 tokens per session (217 once invoked), scanned A, original, MIT.

A set of checks for keeping a client application's API calls, server routes, shared data types, and WebSocket messages in agreement.

In plain words
What is it for?
Use it when changing REST APIs, Express routes, shared types, constants, stored events, WebSocket messages, or the way those messages appear in the interface.
Why use it?
It catches mismatches where the client expects a different URL, method, data format, or event shape than the server provides.

Skill for Claude CodeCodex

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

This is DanWahlin/ai-agent-board's own configuration. It tells Claude Code and Codex how to work on ai-agent-board itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ai-agent-board configures →

Reuse

Borrowing it

Nothing to install: this file belongs to DanWahlin/ai-agent-board. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DanWahlin/ai-agent-board/main/.squad/skills/contract-tests/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/DanWahlin/ai-agent-board

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 contract-tests

README.md
[![agentmods](https://agentmods.dev/badge/skills/danwahlin/ai-agent-board/contract-tests/github.svg)](https://agentmods.dev/skills/danwahlin/ai-agent-board/contract-tests)
Your own site
<a href="https://agentmods.dev/skills/danwahlin/ai-agent-board/contract-tests"><img src="https://agentmods.dev/badge/skills/danwahlin/ai-agent-board/contract-tests/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 contract-tests

Your own site · 80×15
<a href="https://agentmods.dev/skills/danwahlin/ai-agent-board/contract-tests"><img src="https://agentmods.dev/badge/skills/danwahlin/ai-agent-board/contract-tests.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 217 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 pass 7 Sept 2026
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.00016 $0.00217
Opus 5 $0.00008 $0.00109
Sonnet 5 $0.00003 $0.00043
Haiku 4.5 $0.00002 $0.00022

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

Security

Grade A, and why

contract-tests 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.

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.

.squad/skills/contract-tests/SKILL.md · 29 lines

What it actually says

Context

Use when changing packages/client/src/lib/api.ts, Express routes, shared types/constants, repository return shapes, or WebSocket payloads.

Patterns

  • For REST changes, prove the client path/method/body matches the server route.
  • For shared types, update all consumers in client/server/runtime together.
  • For WebSocket events, check the persisted event shape, broadcast shape, and rendered shape.
  • Prefer local-runnable focused tests over tests that require production services.

Examples

  • A task route path change should include both route-level server coverage and client API expectation coverage.
  • An AgentEvent shape change should include server event mapping and AgentPanel rendering evidence.

Anti-Patterns

  • Do not rely on mocked client tests that never exercise the real route path.
  • Do not duplicate types locally in the client or server.
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 · 29 lines · 16 tokens per session scan A 9ea6816bfe95

Subscribe to this mod's changes

contract-tests is a skill published in the GitHub repository DanWahlin/ai-agent-board (57 stars, last pushed 14d ago), licensed MIT. It adds 16 tokens to every session and 217 once invoked, about $0.0001 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.

Related

Other skills, from other repositories

foundry-hosted-agent-validation

Step-by-step process for validating a Python Foundry hosted agent sample (under python/samples/04-hosting/foundry-hosted-agents/) end to end — running it locally (native runtime and azd ai agent run) and after deploying it to an Azure AI Foundry project with azd. Use this when asked to validate a hosted agent sample.

microsoft/agent-framework · 82 tokens

build-and-test

How to build and test .NET projects in the Agent Framework repository. Use this when verifying or testing changes.

microsoft/agent-framework · 26 tokens

skill-release-gate

Evaluate an Agent Skill bundle for structural integrity, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity, and target-host portability before release.

rohitg00/ai-engineering-from-scratch · 36 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

python-sdk

Implement or modify Python SDK behavior under python/composio, including tools, toolkits, sessions, auth configs, connected accounts, client integration, and shared Python models. Use for Python core runtime/API work; pair with python-testing and cross-sdk-parity when TypeScript must match.

ComposioHQ/composio · 60 tokens

typescript-providers

Implement, modify, test, or document TypeScript provider packages under ts/packages/providers, including framework adapters for OpenAI, Anthropic, Google, LangChain, Mastra, Vercel, LlamaIndex, Cloudflare, and Claude Agent SDK. Use for provider-specific TS work; do not use for core-only changes.

ComposioHQ/composio · 70 tokens