covalent-bond: Skill for Claude Code

.claude/skills/covalent-bond-test/SKILL.md

covalent-bond-test is a skill for Claude Code from gopalrajsuresh/covalent-bond. It costs 0 tokens per session (1,173 once invoked), scanned A, original, MIT.

A testing guide for Covalent Bond that explains its test runner, in-process mock relay, predictable polling, port allocation, and cleanup rules.

In plain words
What is it for?
Use it to add or update tests, investigate failing suites, run the full test command, and cover changes to the security handshake or abort behavior.
Why use it?
It provides a repeatable way to test changes offline without a real network, Wrangler, or deployed relay, while requiring bug fixes and new behavior to have tests.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is gopalrajsuresh/covalent-bond's own configuration. It tells Claude Code how to work on covalent-bond 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 covalent-bond configures →

Reuse

Borrowing it

Nothing to install: this file belongs to gopalrajsuresh/covalent-bond. 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/gopalrajsuresh/covalent-bond/main/.claude/skills/covalent-bond-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/gopalrajsuresh/covalent-bond

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 covalent-bond-test

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gopalrajsuresh/covalent-bond/covalent-bond-test"><img src="https://agentmods.dev/badge/skills/gopalrajsuresh/covalent-bond/covalent-bond-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,173 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.
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.00000 $0.01173
Opus 5 $0.00000 $0.00587
Sonnet 5 $0.00000 $0.00235
Haiku 4.5 $0.00000 $0.00117

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

Security

Grade A, and why

covalent-bond-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 11d 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.

.claude/skills/covalent-bond-test/SKILL.md · 104 lines

How it starts

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

Testing Covalent Bond

npm test runs every test/*.test.js file as a separate process via test/run-all.js. A suite passes when its process exits 0; use plain assert and let a failed assertion crash the process. No test framework; keep it that way (small surface is a feature).

Ground rules

  • Every bug fix and every new behavior ships with a test. Put it in the matching existing suite, or a new *.test.js; the runner picks it up automatically.
  • The mitm suite is the security-model guardrail. It must stay green, and any change to the key schedule, handshake, or abort logic needs a case there (or a clearly linked one).
  • Tests must run offline: no network, no wrangler, no deployed relay. Everything talks to the in-process mock relay.
  • Tests may console.log freely (they are standalone processes, not loaded by the MCP server).

Using the mock relay

import { startMockRelay, stopMockRelay, resetMockRelay } from './mock-relay-server.js';

await startMockRelay(PORT);   // pick a UNIQUE port per suite (see below)
resetMockRelay();             // wipe sessions + rate limits between suites
// ... test ...
await stopMockRelay();

Port allocation: each suite binds its own port so suites can never collide: 8791 handshake, 8792 mcp-routing, 8793 payload-hardening, 8794 rate-limiting, 8795 hardening-regressions. A new suite takes the next free number. 8787 is reserved for npm run relay:dev.

The mock mirrors the production worker's API exactly (sequence numbers, create-clobber refusal, rate limits, payload caps, security headers, error codes). Protocol constants (TTL, caps, throttle, error codes) live once in relay/constants.js; the mock imports them and the Worker keeps mirrored copies that relay-parity.test.js verifies by reading worker.js. If you change the worker's behavior, change the mock in the same PR, keep the shared constants in sync, and cover the difference with a test.

Deterministic polling (never sleep)

Read the full file on GitHub · 104 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. 11d ago First seen · 104 lines · 0 tokens per session scan A 848e5e5faa67

Subscribe to this mod's changes

covalent-bond-test is a skill published in the GitHub repository gopalrajsuresh/covalent-bond (0 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,173 tokens. 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-31.

Related

Other skills, from other repositories

front-vitest

Depth for Vitest tests of front- React 19 SPAs when DOM, RTL, TanStack Query hooks, or TanStack Router route-tree tests are needed. USE WHEN: adding jsdom or testing-library, writing tsx render or renderHook tests, testing createMemoryHistory plus RouterProvider, Suspense UI, or React 19 act fixtures. DO NOT USE WHEN…

louisbrulenaudet/monorepo-template · 102 tokens

review-vitest

Vitest review (@repo/vitest-config node/workers presets, Cloudflare Vitest pool, testing split) against current official Vitest and Cloudflare best practices. USE WHEN: user runs /review-vitest or explicitly asks for this review. DO NOT USE WHEN: reviewing app code, other dev dependencies, or implementing features.

louisbrulenaudet/monorepo-template · 70 tokens

agent-mailbox

Create and use disposable, token-scoped email addresses through a configured Agent Mailbox MCP server. Use for testing signups, email verification, magic links, password resets, one-time codes, inbound messages, attachments, and transactional email flows.

stumct/agent-mailbox · 52 tokens

verification-loops

Verification Loops are systematic evaluation pipelines that validate agent outputs at every stage of execution.

itallstartedwithaidea/agent-skills · 21 tokens

test-driven-development

Test-Driven Development enforces the RED-GREEN-REFACTOR discipline on every code change an agent produces.

itallstartedwithaidea/agent-skills · 27 tokens

api-testing

Testing patterns for MCP tool/resource handlers using createMockContext and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.

cyanheads/mcp-ts-core · 46 tokens