cadence-testing

cadence-testing is a skill for Claude Code from onflow/flow-ai-tools. It costs 264 tokens per session (984 once invoked), scanned A, original, no licence file.

A guide to testing Cadence smart contracts, which are programs that run on the Flow blockchain. It covers test files, setup and cleanup, checks, simulated accounts and deployments, events, time changes, and coverage.

In plain words
What is it for?
It helps write, run, and debug unit tests with Flow’s Cadence Testing Framework and flow test.
Why use it?
It provides a consistent way to check contract behaviour without relying only on manual blockchain testing.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the flow-dev plugin — 12 skills shipped together

Good fit It helps write, run, and debug unit tests with Flow’s Cadence Testing Framework and flow test.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/onflow/flow-ai-tools/cadence-testing
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 onflow/flow-ai-tools --skill cadence-testing
Clone the repo
git clone --depth 1 https://github.com/onflow/flow-ai-tools

Made for: Claude Code.

Or install flow-dev, the plugin that ships this one along with the rest of its 12 skills.

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 cadence-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/onflow/flow-ai-tools/cadence-testing/github.svg)](https://agentmods.dev/skills/onflow/flow-ai-tools/cadence-testing)
Your own site
<a href="https://agentmods.dev/skills/onflow/flow-ai-tools/cadence-testing"><img src="https://agentmods.dev/badge/skills/onflow/flow-ai-tools/cadence-testing/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 cadence-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/onflow/flow-ai-tools/cadence-testing"><img src="https://agentmods.dev/badge/skills/onflow/flow-ai-tools/cadence-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 264 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 984 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 unknown 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.00264 $0.00984
Opus 5.5 $0.00106 $0.00394
Sonnet 5.5 $0.00053 $0.00197
Haiku 4.5 $0.00026 $0.00098

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

Security

Grade A, and why

cadence-testing 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.

plugins/flow-dev/skills/cadence-testing/SKILL.md · 50 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

6 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 · 50 lines · 264 tokens per session scan A d08dbdbe321d

Subscribe to this mod's changes

cadence-testing is a skill published in the GitHub repository onflow/flow-ai-tools (6 stars, last pushed 2mo ago), with no licence file. It adds 264 tokens to every session and 984 once invoked, about $0.0011 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-31.

Related

Other skills, from other repositories

foundry-testing

Write and debug Foundry tests and Solidity scripts. Use when writing unit, fuzz, fork, or invariant tests, writing bulloak BTT .tree specs (Branching Tree Technique), using cheatcodes, benchmarking gas, measuring coverage, writing deploy scripts, or working in tests/ or script/.

PaulRBerg/foundry-template · 64 tokens

blockchain-testing

Use this skill when asked about testing smart contracts, Foundry tests, Hardhat tests, fuzz testing, invariant testing, property-based testing, formal verification, audit preparation, integration testing for dApps, and blockchain testing patterns. Covers Foundry cheatcodes, Echidna fuzzing, Certora verification…

j4flmao/agent-skills · 117 tokens

generate-tests

Creates comprehensive test suites for Move contracts with 100% coverage requirement. Triggers on: 'generate tests', 'create tests', 'write test suite', 'test this contract', 'how to test', 'add test coverage', 'write unit tests'.

aptos-labs/aptos-agent-skills · 54 tokens

Smart Contract Testing

Smart contract testing with Hardhat, Foundry, and Brownie including unit tests, gas optimization, reentrancy checks, and fork testing.

PramodDutta/qaskills · 33 tokens

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

mattmre/EVOKORE-MCP-PUBLIC · 46 tokens

web3-testing

Test smart contracts comprehensively using Hardhat and Foundry with unit tests, integration tests, and mainnet forking. Use when testing Solidity contracts, setting up blockchain test suites, or validating DeFi protocols.

wshobson/agents · 46 tokens