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

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.

agentmods
npx agentmods add skills/onflow/flow-ai-tools/cadence-testing
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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00132 $0.00492
Sonnet 5 $0.00053 $0.00197
Haiku 4.5 $0.00026 $0.00098

Measured 6d ago against content hash d08dbdbe321d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 1mo ago), with no licence file. It adds 264 tokens to every session and 984 once invoked, about $0.0013 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-31.

Related

Other skills, from other repositories

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

official-sui-skills

Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…

MystenLabs/sui · 116 tokens

sui-and-move-tools

Use to get bytecode for a deployed Sui package and produce a disassembled working view. One GraphQL call fetches every module's raw bytecode bytes; sui move disassemble (already on the system, running sui prompt) produces .asm files for analysis. Trigger on "fetch this package's bytecode", "get me the .mv for package…

MystenLabs/sui · 105 tokens

testing-llm

LLM and AI testing patterns — mock responses, evaluation with DeepEval/RAGAS, structured output validation, and agentic test patterns (generator, healer, planner). Use when testing AI features, validating LLM outputs, or building evaluation pipelines.

yonatangross/orchestkit · 55 tokens

okx-dapp-discovery

Plugin router for 20 third-party DeFi protocols (Polymarket, Aave, Hyperliquid, PancakeSwap, Morpho, Raydium, Curve, Compound, Pendle, Lido, ether.fi, GMX, Kamino, Orca, Meteora, Clanker, pump.fun, Uniswap) and their protocol-native tokens (HYPE, HLP, eETH, weETH, stETH, wstETH, LDO, GHO, CAKE, CRV, COMP, RAY, ETHFI…

nirholas/three.ws · 330 tokens