/tevm:tevm-eventsfrom tevm
EVM step-by-step tracing for debugging contract execution. Use when debugging contracts or profiling gas usage.
Ships in tevm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Monitor EVM execution at opcode level.
onStep - Each EVM instructiononNewContract - Contract deploymentonBeforeMessage - Before call executiononAfterMessage - After call executionconst result = await client.tevmCall({
to: contractAddress,
data: '0x...',
onStep: (step, next) => {
console.log(`PC: ${step.pc}, Opcode: ${step.opcode.name}`)
next?.()
}
})
interface InterpreterStep {
pc: number // Program counter
opcode: {
name: string // e.g., 'SSTORE', 'CALL'
fee: number // Gas cost
dynamicFee?: bigint
}
gasLeft: bigint
gasRefund: bigint
stack: Uint8Array[]
memory: Uint8Array
depth: number // Call depth
address: Address // Current contract
}
const profile = { opcodes: new Map(), totalGas: 0n }
await client.tevmCall({
to: contractAddress,
data: '0x...',
onStep: (step, next) => {
const gasCost = BigInt(step.opcode.fee)
const stats = profile.opcodes.get(step.opcode.name) || { count: 0, total: 0n }
stats.count++
stats.total += gasCost
profile.opcodes.set(step.opcode.name, stats)
profile.totalGas += gasCost
next?.()
}
})
// Results
for (const [op, stats] of profile.opcodes) {
console.log(`${op}: ${stats.count}x, ${stats.total}g`)
}
await client.tevmCall({
to: contractAddress,
data: '0x...',
onAfterMessage: (result, next) => {
if (result.execResult.exceptionError) {
console.log('Error:', result.execResult.exceptionError.error)
console.log('Return:', result.execResult.returnValue)
}
next?.()
}
})
await client.mine({
blockCount: 1,
onBlock: (block, next) => {
console.log('Block:', block.header.number)
next?.()
},
onReceipt: (receipt, blockHash, next) => {
console.log('Tx:', receipt.transactionHash)
next?.()
},
onLog: (log, receipt, next) => {
console.log('Log:', log.address, log.topics)
next?.()
}
})
What SKILL.md sets; muted values are Claude Code's defaults
tevm@cyotee is listed by cyotee/cyotee-claude-plugins — review the source before installing
npx claudepluginhub cyotee/cyotee-claude-plugins --plugin tevm7 skills in this plugin
/tevm-account-managementGet and set account state including balances, nonces, and storage. Use when manipulating EVM state for testing./tevm-actionsCore Tevm actions for contract calls, mining, and state manipulation. Use when executing EVM operations with Tevm./tevm-contract-deploymentDeploy contracts using ethers ContractFactory with Tevm. Use when deploying contracts in tests or local development./tevm-debuggingDebug transactions with EVM tracing, gas profiling, and error handling. Use when investigating contract behavior or test failures.Other plugins' skills for the same job
2 plugins ship this exact skill · first indexed Jul 20, 2026