aiken-verify

aiken-verify is a skill for Claude Code from lidonation/Cardano-mcp. It costs 63 tokens per session (599 once invoked), scanned A, original, MIT.

A verification step that compiles Aiken validator code with the real compiler. Aiken is a programming language for Cardano smart contracts, which are programs that enforce blockchain rules.

In plain words
What is it for?
It helps check validators, helper functions, and tests, and reports whether compilation succeeded, failed, or could not run because Aiken was unavailable.
Why use it?
Code that looks correct can still fail because of invalid types, indentation, or imports. Compilation exposes those problems before the code is shown as working.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the cardano-verify plugin — 2 skills, 1 MCP server shipped together

Good fit It helps check validators, helper functions, and tests, and reports whether compilation succeeded, failed, or could not run because Aiken was unavailable.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lidonation/cardano-mcp/aiken-verify
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 lidonation/Cardano-mcp --skill aiken-verify
Clone the repo
git clone --depth 1 https://github.com/lidonation/Cardano-mcp

Made for: Claude Code.

Or install cardano-verify, the plugin that ships this one along with the rest of its 2 skills, 1 MCP server.

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 aiken-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/lidonation/cardano-mcp/aiken-verify/github.svg)](https://agentmods.dev/skills/lidonation/cardano-mcp/aiken-verify)
Your own site
<a href="https://agentmods.dev/skills/lidonation/cardano-mcp/aiken-verify"><img src="https://agentmods.dev/badge/skills/lidonation/cardano-mcp/aiken-verify/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 aiken-verify

Your own site · 80×15
<a href="https://agentmods.dev/skills/lidonation/cardano-mcp/aiken-verify"><img src="https://agentmods.dev/badge/skills/lidonation/cardano-mcp/aiken-verify.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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.00063 $0.00599
Opus 5 $0.00032 $0.00300
Sonnet 5 $0.00013 $0.00120
Haiku 4.5 $0.00006 $0.00060

Measured today against content hash 3fa1f7751263, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-22, from the pricing page.

Security

Grade A, and why

aiken-verify 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 today.

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/cardano-verify/skills/aiken-verify/SKILL.md · 46 lines

How it starts

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

Aiken verify-before-trust

Aiken is a strict, statically-typed language for Cardano validators. A snippet that looks right is not the same as a snippet that compiles — indentation, type signatures, and stdlib imports in Aiken are all points where confident, plausible-looking code silently fails to build. Never present Aiken code as correct without actually compiling it.

Workflow

  1. Write or gather the full Aiken snippet (a validator, a helper function, a test) that is about to be shown to the user.
  2. Call validate_aiken_snippet (from the cardano-mcp server bundled with this plugin) with that exact snippet. It shells out to the real aiken build compiler in a temporary project and returns actual compiler output — not a guess.
  3. Check the returned status field — it's one of three states, not two:
    • "ok" — compiled cleanly. Say so plainly ("compiles cleanly against aiken build") before presenting the code.
    • "error" — a real compile failure. Read the compiler's error output, fix the code, and validate again before showing anything to the user. Do not show a failing snippet as if it were final.
    • "unavailable" — the aiken CLI itself wasn't found in this environment; the code was not checked at all. Do not treat this the same as a passing or failing compile — say explicitly that verification couldn't run and the code is unverified, then fall back to your best understanding of Aiken syntax, clearly flagged as such.
  4. If the cardano-mcp MCP server isn't available in this session at all (the tool call fails outright rather than returning an unavailable status), say so explicitly and fall back the same way. Never imply a snippet was compiled when it wasn't.

Why this exists

Generic LLM-written Aiken is frequently wrong in small, confident-looking ways — a missing use aiken/builtin, a validator returning Bool where a True/False-shaped constructor is expected, or a datum shape mismatch that only shows up as a compile error. A verification step against the real compiler beats a model's confidence about whether code is correct, every time.

Read the full file on GitHub · 46 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. today First seen · 46 lines · 63 tokens per session scan A 3fa1f7751263

Subscribe to this mod's changes

aiken-verify is a skill published in the GitHub repository lidonation/Cardano-mcp (2 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 599 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-09-21.

Related

Other skills, from other repositories

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

web3-poc-foundry

Complete Foundry PoC writing guide + all cheatcodes + DeFiHackLabs reproduction patterns. Use this when building a proof of concept exploit, setting up a fork test, using Foundry cheatcodes, or reproducing a known DeFi hack for learning.

tradecatlabs/vibe-coding-cn · 59 tokens

tevm

Build, simulate, test, fork, and debug EVM transactions in TypeScript with tevm 1.0.0-rc.151. Use for in-process EVM scripts, typed Solidity imports, lazy mainnet or OP-stack forks, direct account and storage setup, viem-compatible contract actions, Vitest EVM tests, traces, and transaction simulation.

evmts/tevm · 77 tokens

smart-contract-testing

Guide for testing smart contracts using Foundry and Hardhat, covering unit tests, fuzz testing, invariant testing, fork testing, and gas benchmarking.

nirholas/three.ws · 33 tokens

verification-protocol

How to prove a hypothesis is TRUE or FALSE using Move unit tests.

PlamenTSV/plamen · 18 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.

HermeticOrmus/LibreUIUX-Claude-Code · 46 tokens