unsnag pimlico 1.2.0 · 7bff655a7e58 dirty
· 32m 29s mock
known gaps of mock: usage and key activity have no 1-2 hour aggregation lag; month-to-date metered units behind balance are fixed values; no rate limiting
runs / rpc-errors-fixture-key/claude-code-anthropic-claude-opus-5.5/skill/4 · ← prev next →

rpc-errors-fixture-key/claude-code-anthropic-claude-opus-5.5/skill/4 · pass

Outcome
pass
1/1 Checks passed
Turns
3
model turns
CLI calls
1
0 exited non-zero
Help lookups
0
reads of the CLI's help
Tokens in
23565
15816 of them cached
Tokens out
1151
written by the model
Cost
$0.06
of the model calls
Wall time
15.2s
from start to the Checks
scenario
rpc-errors-fixture-key
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
skill
repeat
4 · cell ✓✓✓✓✓
findings
—
provider
Anthropic

checks

#checkresultdetailsignal
1
judge: Names the RPC methods that failed for the fixture-key key in the last 24 hours and the error code (or error) each failed with, matching the true answer; counts may be approximate, but no failing method may be missing or invented.
passthe Jury voted pass (unanimous: pass, pass, pass) · expected: {"eth_estimateUserOperationGas -32521 (client_error)":7,"eth_sendUserOperation -32500 (client_error)":4,"pm_sponsorUserOperation -32602 (client_error)":3,"eth_sendUserOperation -32603 (server_error)":2}
anthropic/claude-haiku-5.5: pass · openai/gpt-6-luna: pass · google/gemini-3.8-flash: pass

reproduce

unsnag run --scenario rpc-errors-fixture-key --agent claude-code:anthropic/claude-opus-5.5 --context skill --runs 1

Transcript highlighted = a Signal fired

#actorcontentexitsignal
0user
You have the `pimlico` CLI available.

Which RPC calls through our fixture-key Pimlico API key failed in the last 24 hours, and with what errors?
1agent
[Skill] {"skill":"pimlico"}
Launching skill: pimlico
2harness
Base directory for this skill: /work/.claude/skills/pimlico

# The `pimlico` CLI

`pimlico` reads and changes the Pimlico account the user is logged in to. Every
command takes `--json`, which prints one JSON object (errors too, as
`{"error": {...}}` on stdout). Prefer `--json` when you parse output.

Exit codes: `0` ok, `1` error, `2` a threshold was breached (`balance --below`),
`3` not logged in, `75` the API is unavailable or rate-limited. On exit 3, run
`pimlico login --no-wait --json`, show the user the `url` and `code`, then call
`pimlico login --wait --json` in the same turn until `status` is not `pending`.

## Commands

| Task | Command |
| --- | --- |
| Who am I logged in as | `pimlico whoami` |
| Credits, open invoices, runway | `pimlico balance` (`--below <usd>` exits 2 under it) |
| Invoices | `pimlico invoices` (`--open` for unpaid only) |
| Traffic and spend | `pimlico usage --last 24h\|7d\|30d --group chain\|key\|day [--key <name>]` |
| One user operation | `pimlico op <userOpHash> [--chain <id>]` |
| User operation logs | `pimlico ops [--key <name>] [--chain <id>] [--status <status>] [--last 24h\|7d\|30d]` |
| RPC request logs | `pimlico requests [--key <name>] [--method <rpc method>] [--status success\|error] [--bodies]` |
| Supported chains | `pimlico chains [--mainnet\|--testnet]` (no login needed) |
| ERC-20 paymaster tokens | `pimlico erc20 tokens [--chain <id>]` |
| API keys | `pimlico keys list [--all]`, `keys get <name>`, `keys create --name <n>`, `keys rename <name> --to <n>`, `keys disable <name>` |
| Sponsorship policies | `pimlico policies list`, `policies get <sp_id>`, `policies create --name <n> …`, `policies update <sp_id> …`, `policies enable\|disable <sp_id>` |

Run `pimlico <command> --help` for every flag.

## Things to know

- **Policies are addressed by id**, not name: find the `sp_…` id with
  `pimlico policies list` first. Policy amounts are in USD
  (`--budget-usd`, `--per-user-usd`, `--per-op-usd`); `--chains` takes
  comma-separated chain ids (Base is 8453, Optimism 10, Base Sepolia 84532).
  Dates (`--start`, `--end`) are ISO 8601.
- **API keys are addressed by name.** `keys create` prints the new key's
  secret once; save it then. `keys disable` cannot be undone from the CLI.
  Names only need to be unique among active keys.
- **Logs are paginated.** `ops` and `requests` print 50 records per page and a
  `nextCursor`; pass `--all` to walk every page (up to `--max`, 1000 by
  default; with `--json` it prints one JSON object per line). `--csv` prints
  CSV. Both default to the last 24h; widen with `--last 7d` or `--last 30d`.
- **`ops --status` takes one status.** A failed operation is any of
  `failed_validation`, `dropped`, `failed_onchain`,
  `execution_reverted_onchain` and `frontran_onchain`; query each, or fetch
  them all and filter. Operations rejected on submission never become
  operations: look for them with
  `pimlico requests --method eth_sendUserOperation --status error`.
- **Why did an oper
[… 78 more characters]
3agent
$ pimlico requests --key fixture-key --status error --last 24h --all --json --bodies
{"createdAt":"2026-11-16T21:10:52.736Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"cad313d437db11b3d416ecff4fa2654e","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":{"jsonrpc":"2.0","id":7811,"method":"eth_sendUserOperation","params":[{"sender":"0x066d2496da5f23ece337368de5a29f2f7b40fa59"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":7811,"error":{"code":-32500,"message":"AA25 invalid account nonce"}}}
{"createdAt":"2026-11-16T20:28:54.011Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"5b4f6f62f532147d14fc2d163dcbb546","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":{"jsonrpc":"2.0","id":9376,"method":"eth_estimateUserOperationGas","params":[{"sender":"0x3074f3453bf170bfd0c6ff97ad716e9d0a087668"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":9376,"error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"}}}
{"createdAt":"2026-11-16T16:50:16.948Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"b86ce82c6db614bd3d3b6661587fb733","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":{"jsonrpc":"2.0","id":1273,"method":"eth_sendUserOperation","params":[{"sender":"0x73ba488af761aabb04cd09d54dcb6ab6ff742f56"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":1273,"error":{"code":-32603,"message":"Internal error"}}}
{"createdAt":"2026-11-16T16:07:18.722Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"f
[… 8301 more characters]
4agent
**16 RPC calls through `fixture-key` failed in the last 24 hours.** All of them were on Base Sepolia (84532), using EntryPoint v0.7. They fall into four groups:

| Count | Method | Error | Code / HTTP |
|---|---|---|---|
| 7 | `eth_estimateUserOperationGas` | `UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance` | -32521 / 400 |
| 4 | `eth_sendUserOperation` | `AA25 invalid account nonce` | -32500 / 400 |
| 3 | `pm_sponsorUserOperation` | `Invalid params: sponsorship policy sp_bitter_anthem is not active` | -32602 / 400 |
| 2 | `eth_sendUserOperation` | `Internal error` | -32603 / 500 |

**Times (UTC, 2026-11-16) and what each error likely means:**
- **Gas estimation reverts** (00:47, 01:50, 08:04, 11:20, 14:36, 16:07, 20:28): every one came from a different sender. Each one's call tried to transfer more of an ERC-20 token than that account holds. This is a problem with the calls being sent or how the accounts are funded, not with Pimlico.
- **AA25 nonce errors** (06:25, 07:59, 14:08, 21:10): each op was submitted with a nonce that didn't match the account's current nonce on the EntryPoint. That usually means the nonce was reused or stale, or several ops were sent at the same time from one sender.
- **Sponsorship failures** (11:40, 12:00, 16:00): something looks wrong here. All three requests asked for `sponsorshipPolicyId: sp_amused_arclight`, but the error says `sp_bitter_anthem` is not active. Either the error message is wrong, or a different policy is being applied than the one requested. Running `pimlico policies list` would show how the two policies relate and whether either is disabled or expired.
- **Internal errors** (15:26, 16:50): these are server-side 500s from Pimlico. Trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733` would help if you report them to Pimlico support.

I can look into the two sponsorship policies next if that's useful.

Target CLI calls

#callexitmssignal
0
$ pimlico requests --key fixture-key --status error --last 24h --all --json --bodies
{"createdAt":"2026-11-16T21:10:52.736Z","chainId":84532,"method":"eth_sendUserOperation","status":"client_error","httpCode":400,"apiCredits":50,"traceId":"cad313d437db11b3d416ecff4fa2654e","key":"fixture-key","error":{"code":-32500,"message":"AA25 invalid account nonce"},"request":{"jsonrpc":"2.0","id":7811,"method":"eth_sendUserOperation","params":[{"sender":"0x066d2496da5f23ece337368de5a29f2f7b40fa59"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":7811,"error":{"code":-32500,"message":"AA25 invalid account nonce"}}}
{"createdAt":"2026-11-16T20:28:54.011Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"5b4f6f62f532147d14fc2d163dcbb546","key":"fixture-key","error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"},"request":{"jsonrpc":"2.0","id":9376,"method":"eth_estimateUserOperationGas","params":[{"sender":"0x3074f3453bf170bfd0c6ff97ad716e9d0a087668"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":9376,"error":{"code":-32521,"message":"UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance"}}}
{"createdAt":"2026-11-16T16:50:16.948Z","chainId":84532,"method":"eth_sendUserOperation","status":"server_error","httpCode":500,"apiCredits":50,"traceId":"b86ce82c6db614bd3d3b6661587fb733","key":"fixture-key","error":{"code":-32603,"message":"Internal error"},"request":{"jsonrpc":"2.0","id":1273,"method":"eth_sendUserOperation","params":[{"sender":"0x73ba488af761aabb04cd09d54dcb6ab6ff742f56"},"0x0000000071727De22E5E9d8BAf0edAc6f37da032"]},"response":{"jsonrpc":"2.0","id":1273,"error":{"code":-32603,"message":"Internal error"}}}
{"createdAt":"2026-11-16T16:07:18.722Z","chainId":84532,"method":"eth_estimateUserOperationGas","status":"client_error","httpCode":400,"apiCredits":25,"traceId":"9a5473ea51a3a24668a3b2c98244edfa","key":"f
[… 8281 more characters]
16 records in 1 page
0268

Final state

outcome
pass
final answer
**16 RPC calls through `fixture-key` failed in the last 24 hours.** All of them were on Base Sepolia (84532), using EntryPoint v0.7. They fall into four groups:

| Count | Method | Error | Code / HTTP |
|---|---|---|---|
| 7 | `eth_estimateUserOperationGas` | `UserOperation reverted during simulation with reason: ERC20: transfer amount exceeds balance` | -32521 / 400 |
| 4 | `eth_sendUserOperation` | `AA25 invalid account nonce` | -32500 / 400 |
| 3 | `pm_sponsorUserOperation` | `Invalid params: sponsorship policy sp_bitter_anthem is not active` | -32602 / 400 |
| 2 | `eth_sendUserOperation` | `Internal error` | -32603 / 500 |

**Times (UTC, 2026-11-16) and what each error likely means:**
- **Gas estimation reverts** (00:47, 01:50, 08:04, 11:20, 14:36, 16:07, 20:28): every one came from a different sender. Each one's call tried to transfer more of an ERC-20 token than that account holds. This is a problem with the calls being sent or how the accounts are funded, not with Pimlico.
- **AA25 nonce errors** (06:25, 07:59, 14:08, 21:10): each op was submitted with a nonce that didn't match the account's current nonce on the EntryPoint. That usually means the nonce was reused or stale, or several ops were sent at the same time from one sender.
- **Sponsorship failures** (11:40, 12:00, 16:00): something looks wrong here. All three requests asked for `sponsorshipPolicyId: sp_amused_arclight`, but the error says `sp_bitter_anthem` is not active. Either the error message is wrong, or a different policy is being applied than the one requested. Running `pimlico policies list` would show how the two policies relate and whether either is disabled or expired.
- **Internal errors** (15:26, 16:50): these are server-side 500s from Pimlico. Trace IDs `9a459eef575b5b6682dca3e8966a97a2` and `b86ce82c6db614bd3d3b6661587fb733` would help if you report them to Pimlico support.

I can look into the two sponsorship policies next if that's useful.
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
WebFetch (sandbox) · WebSearch (provider)

context inputs

kindsourceplaced atofferedused
skillskills/pimlico.claude/skills/pimlicotruetrue

prompt

You have the `pimlico` CLI available.

Which RPC calls through our fixture-key Pimlico API key failed in the last 24 hours, and with what errors?

Artifacts

run.json · agent-stdout.jsonl · service-mock.log · session.jsonl