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 / top-key-30d/claude-code-anthropic-claude-opus-5.5/skill/3 · ← prev next →

top-key-30d/claude-code-anthropic-claude-opus-5.5/skill/3 · pass

Outcome
pass
1/1 Checks passed
Turns
4
model turns
CLI calls
7
0 exited non-zero
Help lookups
0
reads of the CLI's help
Tokens in
26791
22828 of them cached
Tokens out
824
written by the model
Cost
$0.04
of the model calls
Wall time
21.9s
from start to the Checks
scenario
top-key-30d
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
skill
repeat
3 · cell ✓✓✓✓✓
findings
—
provider
Anthropic

checks

#checkresultdetailsignal
1
answer contains truth: curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/facts" | jq -r ".keys | max_by(.userOps30d) | .name"
passthe answer contains "production-web" · expected: production-web

reproduce

unsnag run --scenario top-key-30d --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 of our Pimlico API keys handled the most user operations over the last 30 days?
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 usage --last 30d --group key --json
{
  "from": "2026-10-17T23:26:28.403Z",
  "to": "2026-11-16T23:26:28.403Z",
  "groupBy": "key",
  "rows": [
    {
      "group": "production-web",
      "requests": 9000,
      "apiCredits": 177949,
      "sponsoredUsd": "135.42"
    },
    {
      "group": "staging",
      "requests": 840,
      "apiCredits": 16433,
      "sponsoredUsd": "1.65"
    },
    {
      "group": "mobile-app",
      "requests": 5200,
      "apiCredits": 104425,
      "sponsoredUsd": "31.75"
    },
    {
      "group": "analytics-readonly",
      "requests": 3100,
      "apiCredits": 28390,
      "sponsoredUsd": "0.00"
    },
    {
      "group": "fixture-key",
      "requests": 2422,
      "apiCredits": 50164,
      "sponsoredUsd": "8.55"
    }
  ],
  "totals": {
    "requests": 20562,
    "apiCredits": 377361,
    "sponsoredUsd": "177.37"
  },
  "warnings": []
}
4agent
The usage report counts RPC requests, not user operations, so I'll count the operations for each key directly.
$ pimlico keys list --all --json; for k in production-web staging mobile-app analytics-readonly fixture-key; do echo "$k: $(pimlico ops --key $k --last 30d --all --max 100000 --json | grep -c userOpHash)"; done
{
  "keys": [
    {
      "name": "legacy-2023",
      "disabled": true,
      "createdAt": "2025-10-12T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": null,
      "requests30d": 0,
      "userOps30d": 0
    },
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:26:22.173Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:20:42.338Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:21:21.855Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:26:17.491Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:10:27.095Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T22:59:59.658Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
1234 records in 25 pages
production-web: 1234
89 records in 2 pages
staging: 89
708 records in 15 pages
mobile-app: 708
0 records in 1 page
analytics-readonly: 0
384 records in 8 pages
fixture-key: 384
5agent
**production-web** handled the most user operations over the last 30 days, and no other key comes close.

| Key | User ops (counted from the logs) | `keys list` figure |
| --- | --- | --- |
| production-web | 1,234 | 1,180 |
| mobile-app | 708 | 700 |
| fixture-key | 384 | 380 |
| staging | 89 | 76 |
| analytics-readonly | 0 | 0 |
| legacy-2023 (disabled) | — | 0 |

The two sources give different numbers. The left column is every operation in the 30-day logs for each key. The right column is the `userOps30d` figure that `pimlico keys list` reports, and it's a little lower for every key. The CLI doesn't say why. It may use a slightly different time window or leave out some operations, but I haven't checked that. Either way, production-web is first.

The `usage` report counts RPC requests, not user operations, so I didn't rank by it. On that measure production-web is also first, with 9,000 requests. Note that analytics-readonly sent 3,100 requests but no user operations.

Target CLI calls

#callexitmssignal
0
$ pimlico usage --last 30d --group key --json
{
  "from": "2026-10-17T23:26:28.403Z",
  "to": "2026-11-16T23:26:28.403Z",
  "groupBy": "key",
  "rows": [
    {
      "group": "production-web",
      "requests": 9000,
      "apiCredits": 177949,
      "sponsoredUsd": "135.42"
    },
    {
      "group": "staging",
      "requests": 840,
      "apiCredits": 16433,
      "sponsoredUsd": "1.65"
    },
    {
      "group": "mobile-app",
      "requests": 5200,
      "apiCredits": 104425,
      "sponsoredUsd": "31.75"
    },
    {
      "group": "analytics-readonly",
      "requests": 3100,
      "apiCredits": 28390,
      "sponsoredUsd": "0.00"
    },
    {
      "group": "fixture-key",
      "requests": 2422,
      "apiCredits": 50164,
      "sponsoredUsd": "8.55"
    }
  ],
  "totals": {
    "requests": 20562,
    "apiCredits": 377361,
    "sponsoredUsd": "177.37"
  },
  "warnings": []
}
0207
1
$ pimlico keys list --all --json
{
  "keys": [
    {
      "name": "legacy-2023",
      "disabled": true,
      "createdAt": "2025-10-12T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": null,
      "requests30d": 0,
      "userOps30d": 0
    },
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:26:22.173Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:20:42.338Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:21:21.855Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:26:17.491Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:10:27.095Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:26:22.173Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T22:59:59.658Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
0226
2
$ pimlico ops --key production-web --last 30d --all --max 100000 --json
{"userOpHash":"0x8497fe299408a4fa09991e98340e4aeea7b5dc3f0f1315b06debafec4e672e32","chainId":8453,"status":"added_to_mempool","pending":true,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x13f5794d5d1302332ee9a10aaaadb6bd6d20ea54","revertReason":null,"policy":"sp_brave_banshee","costUsd":null,"key":"production-web","createdAt":"2026-11-16T23:25:34.464Z"}
{"userOpHash":"0xa28c8a8bd1b819283d12ded571613c5506a719dc36b924483bf99f11adeb3dce","chainId":42161,"status":"added_to_mempool","pending":true,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xe408e454496404967a895b0b9e280100a54fb190","revertReason":null,"policy":"sp_brave_banshee","costUsd":null,"key":"production-web","createdAt":"2026-11-16T23:22:48.899Z"}
{"userOpHash":"0x0f5656ee42a86ffd7715626ee1aaaf3673aa94d6341e0248760054182df2fe47","chainId":10,"status":"included_onchain","pending":false,"transactionHash":"0xc41c1533c437ffc35dae561b22dce2195bd8be2f9772f92ddf33159cc3dfd347","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xbee51ccb71fd291605fbd9df7ed201329cfb892c","revertReason":null,"policy":"sp_brave_banshee","costUsd":"0.044000","key":"production-web","createdAt":"2026-11-16T23:00:17.985Z"}
{"userOpHash":"0xfc1dd86ea8b188d10e7e97976ec3916bbc1617c88f1a42ff058766be541a9d9a","chainId":42161,"status":"included_onchain","pending":false,"transactionHash":"0x259ef75ecd8bcb2d5ee074fea45874af5bbf34f53dbacb0d00a66c3a98a267ac","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xb2d65d63a71218ee93edd843c4d8a762630895bc","revertReason":null,"policy":"sp_brave_banshee","costUsd":"0.077000","key":"production-web","createdAt":"2026-11-16T22:29:07.521Z"}
{"userOpHash":"0xa6b6f32de6b62ed7b31a97c463a5da4e2121c4558c5e7c52a24a735859ad8770","chainId":8453,"status":"included_onchain","pending":false,"transactionHash":"0x8f614b11aad637360e6ee7d430fb2f803d3747ad2022a5522498103056580840","entryPoint":"0x00000
[… 580786 more characters]
1234 records in 25 pages
05533
3
$ pimlico ops --key staging --last 30d --all --max 100000 --json
{"userOpHash":"0x3196960fc80328fa5e98e88e023843d147205eb421437d5282e218d8f92c2983","chainId":84532,"status":"included_onchain","pending":false,"transactionHash":"0xa90046c0832abe6ab2bc449283dd29837689648add2018f86c01eb99c62e6ea9","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x659e76c1880d0325de93733b79d6bf20388d741c","revertReason":null,"policy":null,"costUsd":"0.022000","key":"staging","createdAt":"2026-11-16T15:53:11.380Z"}
{"userOpHash":"0x23fdb265900ae67f79ef91f9445edacf19db44d093b6b4bafa7099ed3b5a5ae5","chainId":84532,"status":"included_onchain","pending":false,"transactionHash":"0xee7def0ed3ad62c49c21fcde20404cef72cd38a405794f6a550ffe14bd1e0cd7","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x3590f30556af8715a2cba707c15a3ab399a3be0a","revertReason":null,"policy":null,"costUsd":"0.022000","key":"staging","createdAt":"2026-11-16T02:21:45.496Z"}
{"userOpHash":"0x895f997e075a4c25b69102c81590a8e09eca2999337640c8f11b750b3984b9db","chainId":11155111,"status":"included_onchain","pending":false,"transactionHash":"0xebef561a382f2b6294efe6b3be257c14add4cf06758f51be4d7123cd8c5537b7","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xb4258b702f73739459fce2896b993a2226ae9803","revertReason":null,"policy":null,"costUsd":"0.011000","key":"staging","createdAt":"2026-11-15T12:26:32.838Z"}
{"userOpHash":"0x322af39434d62415cc613b1871d564f8be7cbaa749e6d6c1af68c96e11f6e4e1","chainId":11155111,"status":"included_onchain","pending":false,"transactionHash":"0xef07e2d59c25c32465aa5afdba67dc9b1c5262f28fb2a2180e35a9d8ba40f47d","entryPoint":"0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789","sender":"0x09a62e2e8f0032bb2e2d601d9d0c9cf1514cec34","revertReason":null,"policy":null,"costUsd":null,"key":"staging","createdAt":"2026-11-15T01:33:09.051Z"}
{"userOpHash":"0xebcd24a9ffc758764d933b66abc15a1e7f15b0489d24c00b14a4cd9fcac6bdfe","chainId":84532,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0x3d0f92bfcc9750
[… 38510 more characters]
89 records in 2 pages
0407
4
$ pimlico ops --key mobile-app --last 30d --all --max 100000 --json
{"userOpHash":"0xa5b9efbd692417f9d8b58f906fb8b17dcad903dc09f0e85ba2ea3ef7e7b422d4","chainId":8453,"status":"included_onchain","pending":false,"transactionHash":"0xccbafd93fcba162ef5738eee8a4bfba4ceb98746ca148289a3c9dd328f54a407","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xace6e9da39092dad3bc38307687fd4c2206a58d7","revertReason":null,"policy":"sp_breezy_archangel","costUsd":"0.022000","key":"mobile-app","createdAt":"2026-11-16T22:03:05.143Z"}
{"userOpHash":"0xcfa2d034319c53ab1e1a529fe79da53793b88c40c5735469f9471ee00ff1e838","chainId":8453,"status":"included_onchain","pending":false,"transactionHash":"0xa30d25c24e17600d4b1eb9da6cf3ef3542b49bd21ed9e455da513492433a92c4","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xb4b240babf635c98f9e7ec29858108ba79fbe19b","revertReason":null,"policy":"sp_breezy_archangel","costUsd":"0.044000","key":"mobile-app","createdAt":"2026-11-16T19:09:56.349Z"}
{"userOpHash":"0xaf06c87ad6fd835c19f68b1184c7b0820a97e2febb71c070d533897a87ba9c49","chainId":8453,"status":"included_onchain","pending":false,"transactionHash":"0x1570b0adb5a03db2e08a6e1b0e1e7d25406c1c22c7e3390735da241bfa084a65","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xef23b710ddaeed1f32b67a0d46d0e968aa8dca97","revertReason":null,"policy":"sp_breezy_archangel","costUsd":"0.033000","key":"mobile-app","createdAt":"2026-11-16T19:04:41.399Z"}
{"userOpHash":"0xa9b9728b046bea5381f5a3f85b33e3f3f078f8dc18e7820b079db7058c923bde","chainId":8453,"status":"included_onchain","pending":false,"transactionHash":"0x99b618643d95a9806075f8ed50dd17f30913d8db29b33cd669be493199dc8869","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x8c9ebc27d517b551b27b166dcc2ef4d61bfb5627","revertReason":null,"policy":"sp_breezy_archangel","costUsd":"0.033000","key":"mobile-app","createdAt":"2026-11-16T16:31:54.324Z"}
{"userOpHash":"0x2feb9c2183eff7b9ed689174b06181588d74f91aff61b3ecd8b366353b28e58a","chainId":8453,"status":"incl
[… 331804 more characters]
708 records in 15 pages
01686
5
$ pimlico ops --key analytics-readonly --last 30d --all --max 100000 --json
0 records in 1 page
0161
6
$ pimlico ops --key fixture-key --last 30d --all --max 100000 --json
{"userOpHash":"0xd5184662105a43f0dd8fd4249e9d1f49bf1e34435a5bd955248d28a8ffbb5165","chainId":84532,"status":"added_to_mempool","pending":true,"transactionHash":null,"entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x0b9f075fc4919611621314041c022249dd4eaeff","revertReason":null,"policy":"sp_amused_arclight","costUsd":null,"key":"fixture-key","createdAt":"2026-11-16T23:22:35.371Z"}
{"userOpHash":"0xcfb4fe7f158e5ab48a4d445992dfac3c0078ef95e86f70fd2410934f7ee27920","chainId":84532,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0x5c22ca85d355baa3d52b93490006137bc9905c5937fd3d616923f6935a279571","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0x478927f1a2d54fa55051417d0b5c5f43ccda6c9e","revertReason":"ERC20InsufficientAllowance(0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108, 0, 25000000)","policy":"sp_amused_arclight","costUsd":"0.022000","key":"fixture-key","createdAt":"2026-11-16T20:09:22.174Z"}
{"userOpHash":"0x500dbfb98c90bb415b527d1f2c3375d70b952b736643f9f7e83bf2a2e1b12233","chainId":84532,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0x71d08db36a55a879954f34e4ba990b0cabf52c380cf877dd1eaebf926284fb42","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xf6f39d5219837781a392e3f243fb902ea5e5a706","revertReason":"ERC20: transfer amount exceeds balance","policy":"sp_amused_arclight","costUsd":"0.033000","key":"fixture-key","createdAt":"2026-11-16T17:50:39.692Z"}
{"userOpHash":"0x0299628e6bff7d262ebd81d3d1350eac540aeedadf31b8058a0160559e0df201","chainId":84532,"status":"execution_reverted_onchain","pending":false,"transactionHash":"0xf0636fcf52533f69a93b778f4bde7253e85b3224015374b777a2d0773f0d7f30","entryPoint":"0x0000000071727De22E5E9d8BAf0edAc6f37da032","sender":"0xb6342d6d52a9094a6521d0ce21c08d8f30215c13","revertReason":"ERC20: transfer amount exceeds balance","policy":"sp_amused_arclight","costUsd":"0.011000","key":"fixture-key","createdAt":"2026-11-16T14:51:22.887
[… 181162 more characters]
384 records in 8 pages
0532

Final state

outcome
pass
final answer
**production-web** handled the most user operations over the last 30 days, and no other key comes close.

| Key | User ops (counted from the logs) | `keys list` figure |
| --- | --- | --- |
| production-web | 1,234 | 1,180 |
| mobile-app | 708 | 700 |
| fixture-key | 384 | 380 |
| staging | 89 | 76 |
| analytics-readonly | 0 | 0 |
| legacy-2023 (disabled) | — | 0 |

The two sources give different numbers. The left column is every operation in the 30-day logs for each key. The right column is the `userOps30d` figure that `pimlico keys list` reports, and it's a little lower for every key. The CLI doesn't say why. It may use a slightly different time window or leave out some operations, but I haven't checked that. Either way, production-web is first.

The `usage` report counts RPC requests, not user operations, so I didn't rank by it. On that measure production-web is also first, with 9,000 requests. Note that analytics-readonly sent 3,100 requests but no user operations.
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 of our Pimlico API keys handled the most user operations over the last 30 days?

Artifacts

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