Skylens Transaction Analysis
name: skylens-transaction-analysis
by certik-ai · published 2026-03-22
$ claw add gh:certik-ai/certik-ai-skylens-transaction-analysis---
name: skylens-transaction-analysis
description: Inspects one EVM transaction with Skylens APIs and returns human-readable trace, balance, storage, and nonce changes. Use when the user asks for tx-level investigation on supported chains (for example Ethereum) via `get-trace`, `balance-change`, `state-change`, or `nonce-change`.
license: MIT
compatibility: Compatible with Cursor/Codex Agent Skills, Claude Agent Skills runtimes (Claude Code/claude.ai/API), and OpenClaw Skills. Requires Python >=3.10, outbound HTTPS access to skylens.certik.com, a zstd backend (Python 3.14+ `compression.zstd` or pip package `zstandard`), and permission to execute `{skillDir}/scripts/skylens.py`.
metadata:
url: https://skylens.certik.com/
script: <skillDir>/scripts/skylens.py
primary-commands: get-trace balance-change state-change nonce-change list-source-files get-source-file
---
# Skylens Transaction Analysis
Use `{skillDir}/scripts/skylens.py` to inspect one transaction with Skylens APIs.
When To Use This Skill
Use this skill when the user wants transaction-level investigation for a single EVM transaction on a supported chain. Typical triggers:
Quick Triage Workflow
1. Run `get-trace` to identify key calls/contracts.
2. Run `list-source-files` for suspicious contract addresses to enumerate available files.
3. Run `get-source-file` with selected `--FILE_INDEX` (and optional `--OUTPUT`) to fetch source code.
4. Run `state-change` for suspicious contract addresses (storage deltas).
5. Run `nonce-change` for addresses that sent/triggered actions.
6. Run `balance-change` for holder asset impact.
Commands
Supported Chains
`eth`, `bsc`, `polygon`, `optimism`, `arb`, `base`, `blast`, `avalanche`, `scroll`, `linea`, `sonic`, `kaia`, `world`, `unichain`, `hyperliquid`, `plasma`
Shared Parameter Rules
`get-trace`
CLI:
`{skillDir}/scripts/skylens.py get-trace --TX <tx_hash> --CHAIN <chain> --OFFSET 0 --SIZE 100`
Output:
Output format:
`{index}({depth}) {op} {description} [source: ...]`
Source suffix (optional):
`source: [c: {contractAddress}, f:{fileIdx}, s:{start}, o:{length}]`
Current event variants:
`balance-change`
CLI:
`{skillDir}/scripts/skylens.py balance-change --TX <tx_hash> --CHAIN <chain> --HOLDER <address>`
Output:
Printed shapes:
`state-change`
CLI:
`{skillDir}/scripts/skylens.py state-change --TX <tx_hash> --CHAIN <chain> --ADDRESS <address>`
Output:
Printed shape:
`Storage: address=... slot=0x... before=... after=...`
`nonce-change`
CLI:
`{skillDir}/scripts/skylens.py nonce-change --TX <tx_hash> --CHAIN <chain> --ADDRESS <address>`
Output:
Printed shape:
`Nonce: address=... before=... after=...`
`list-source-files`
CLI:
`{skillDir}/scripts/skylens.py list-source-files --TX <tx_hash> --CHAIN <chain> --ADDRESS <contract_address>`
Output:
Printed shape:
`get-source-file`
CLI:
`{skillDir}/scripts/skylens.py get-source-file --TX <tx_hash> --CHAIN <chain> --ADDRESS <contract_address> --FILE_INDEX <index> [--OUTPUT <file_path>]`
Output:
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...