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/opencode-google-gemini-4-argon/skill/3 · ← prev next →

top-key-30d/opencode-google-gemini-4-argon/skill/3 · pass

Outcome
pass
1/1 Checks passed
Turns
7
model turns
CLI calls
8
1 exited non-zero
Help lookups
4
reads of the CLI's help
Tokens in
18873
4301 of them cached
Tokens out
933
written by the model
Cost
$0.04
of the model calls
Wall time
56.8s
from start to the Checks
scenario
top-key-30d
agent
opencode:google/gemini-4-argon · 2.2.7
context
skill
repeat
3 · cell ✓✓✓✓✓
findings
—
provider
Google AI Studio

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 opencode:google/gemini-4-argon --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] {"id":"pimlico"}
<skill_content name="pimlico">
# Skill: 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 cha
[… 1296 more characters]
2agent
**Verifying API Key Usage**

I'm currently verifying the API key usage over the last 30 days using `pimlico`. I'll explore checking the existing keys with `pimlico api-keys list` and the general usage with `pimlico usage`, or `pimlico usage --help` if needed.
$ pimlico api-keys list
error: unknown command 'api-keys'
(run with --help for usage)

Exit code: 1
$ pimlico usage --help
Usage: pimlico usage [options]

Requests, API credits and sponsored USD over a window, EVM and Solana

Options:
  --last <window>  Window to summarize (choices: "24h", "7d", "30d", default:
                   "24h")
  --group <by>     Group rows by chain, API key or day (choices: "chain", "key",
                   "day", default: "chain")
  --key <name>     Only this API key, by name
  --csv            Print CSV instead of a table
  -h, --help       display help for command
err
3agent
$ pimlico --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
$ pimlico usage --last 30d --group key
From  2026-10-17 23:26:58
To    2026-11-16 23:26:58

Key                 Requests  API credits  Sponsored
production-web         9,000      177,949    $135.42
staging                  840       16,433      $1.65
mobile-app             5,200      104,425     $31.75
analytics-readonly     3,100       28,390      $0.00
fixture-key            2,422       50,164      $8.55

Requests     20,562
API credits  377,361
Sponsored    $177.37
4agent
**Distinguishing User Operations**

I'm now zeroing in on the core of the problem. My focus has shifted to the difference between general RPC requests and the more specific "user operations" within the Pimlico API data. I've realized the distinction is crucial.
$ pimlico keys list --json
{
  "keys": [
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:26:35.264Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:20:55.429Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:21:34.946Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:26:30.582Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:10:40.186Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:00:12.749Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
$ pimlico ops --help
Usage: pimlico ops [options]

User operation logs of your API keys, newest first, with revert reason, policy
and cost. Operations rejected on submission (validation errors such as AA24)
never become operations: find them with `pimlico requests --method
eth_sendUserOperation --status error`

Options:
  --key <name>       Only this API key, by name (see `pimlico keys list`); every
                     active key when omitted
  --chain <chainId>  Only this EVM chain
  --status <status>  Only operations whose latest status is this (choices:
                     "received", "failed_validation", "queued",
                     "added_to_mempool", "submitted", "dropped",
                     "included_onchain", "frontran_onchain", "failed_onchain",
                     "execution_reverted_onchain")
  --last <window>    Only records from the last 24h, 7d or 30d (choices: "24h",
                     "7d", "30d", default: "24h")
  --limit <n>        Records per page, 1 to 100 (default: 50)
  --cursor <cursor>  Continue from a previous page's nextCursor
  --all              Walk every page until exhausted or --max; with --json
                     prints NDJSON
  --max <n>          Stop --all after this many records (default: 1000)
  --csv              Print CSV instead of a table
  -h, --help         display help for command
5agent
**Analyzing Key Usage Data**

I've just reviewed the key usage data from `pimlico keys list --json`. I'm seeing significant differences across our keys. The `production-web` key, `userOps30d`, has a much higher usage than the `mobile-app` key in terms of `requests30d`. The `fixture-key` is also far lower than these, with `userOps30d` having the lowest number of requests. It appears that `staging` data is not available yet. I will need to look into this more, now I have the data.
$ pimlico keys list --help
Usage: pimlico keys list [options]

List API keys by name with last use and 30-day traffic (never the keys
themselves)

Options:
  --all           Include disabled keys
  --sort <order>  Order by creation date (default) or most recently used first
                  (choices: "created", "last-used")
  -h, --help      display help for command
6agent
$ pimlico keys list --all --json
{
  "keys": [
    {
      "name": "legacy-2023",
      "disabled": true,
      "createdAt": "2025-10-12T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": null,
      "requests30d": 0,
      "userOps30d": 0
    },
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:26:35.264Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:20:55.429Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:21:34.946Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:26:30.582Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:10:40.186Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:00:12.749Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
7agent
The **`production-web`** API key handled the most user operations over the last 30 days, with **1,180 user operations** (and 9,000 total RPC requests).

Here is the full 30-day breakdown across all API keys:

| API Key | User Operations (30d) | RPC Requests (30d) | Sponsored (30d) | Status |
| :--- | ---: | ---: | ---: | :--- |
| **`production-web`** | **1,180** | 9,000 | $135.42 | Active |
| `mobile-app` | 700 | 5,200 | $31.75 | Active |
| `fixture-key` | 380 | 2,422 | $8.55 | Active |
| `staging` | 76 | 840 | $1.65 | Active |
| `analytics-readonly` | 0 | 3,100 | $0.00 | Active |
| `legacy-2023` | 0 | 0 | $0.00 | Disabled |

Target CLI calls

#callexitmssignal
0
$ pimlico api-keys list
error: unknown command 'api-keys'
(run with --help for usage)
1179ghost_command dismissed
nonzero_then_lookup dismissed
1
$ pimlico usage --help
Usage: pimlico usage [options]

Requests, API credits and sponsored USD over a window, EVM and Solana

Options:
  --last <window>  Window to summarize (choices: "24h", "7d", "30d", default:
                   "24h")
  --group <by>     Group rows by chain, API key or day (choices: "chain", "key",
                   "day", default: "chain")
  --key <name>     Only this API key, by name
  --csv            Print CSV instead of a table
  -h, --help       display help for command
0179
2
$ pimlico --help
pimlico 1.2.0

Gas abstraction is a big part of the UX of any crypto product: Pimlico sponsors
your users' gas or lets them pay in ERC-20 tokens, on every popular EVM chain
and Solana. An API key is required to call our bundler and paymaster;
sponsorship policies are optional hardening that limits which operations you pay
for, on which chains and up to what amount. Usage and billing are transparent:
see what you used and what you owe with `pimlico usage` and `pimlico balance`.

Usage  pimlico <command> [options]

Account
  login                  Log in to Pimlico in the browser
  logout                 Log out and forget the stored credentials
  whoami                 Show the logged-in account

Billing & usage
  balance                Credits, open invoices, unbilled usage and headroom
  invoices               Stripe invoices for the account
  usage                  Requests, API credits and sponsored USD, EVM and Solana

Debug
  op <userOpHash>        Status and timeline of a user operation
  ops                    User operation logs with revert reason, policy and cost
  requests               RPC request logs with the error of failed calls
  solana txs             Sponsored and SPL-paid Solana transactions

Configure
  keys list              List API keys with last use and 30-day traffic
  keys get <name>        Show one API key by name
  keys create            Create an API key (the key is shown once)
  keys rename <name>     Rename an API key
  keys disable <name>    Disable an API key (cannot be re-enabled from the CLI)
  policies list          List sponsorship policies
  policies get <id>      Show one policy, including its effective caps
  policies create        Create a sponsorship policy (active unless --inactive)
  policies update <id>   Change a policy's name, chains, caps or window
  policies enable <id>   Switch a policy on
  policies disable <id>  Switch a policy off
  erc20 tokens           Tokens accepted by the ERC-20 paymaster
  chains           
[… 904 more characters]
0156
3
$ pimlico usage --last 30d --group key
From  2026-10-17 23:26:58
To    2026-11-16 23:26:58

Key                 Requests  API credits  Sponsored
production-web         9,000      177,949    $135.42
staging                  840       16,433      $1.65
mobile-app             5,200      104,425     $31.75
analytics-readonly     3,100       28,390      $0.00
fixture-key            2,422       50,164      $8.55

Requests     20,562
API credits  377,361
Sponsored    $177.37
0230
4
$ pimlico keys list --json
{
  "keys": [
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:26:35.264Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:20:55.429Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:21:34.946Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:26:30.582Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:10:40.186Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:00:12.749Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
0352
5
$ pimlico ops --help
Usage: pimlico ops [options]

User operation logs of your API keys, newest first, with revert reason, policy
and cost. Operations rejected on submission (validation errors such as AA24)
never become operations: find them with `pimlico requests --method
eth_sendUserOperation --status error`

Options:
  --key <name>       Only this API key, by name (see `pimlico keys list`); every
                     active key when omitted
  --chain <chainId>  Only this EVM chain
  --status <status>  Only operations whose latest status is this (choices:
                     "received", "failed_validation", "queued",
                     "added_to_mempool", "submitted", "dropped",
                     "included_onchain", "frontran_onchain", "failed_onchain",
                     "execution_reverted_onchain")
  --last <window>    Only records from the last 24h, 7d or 30d (choices: "24h",
                     "7d", "30d", default: "24h")
  --limit <n>        Records per page, 1 to 100 (default: 50)
  --cursor <cursor>  Continue from a previous page's nextCursor
  --all              Walk every page until exhausted or --max; with --json
                     prints NDJSON
  --max <n>          Stop --all after this many records (default: 1000)
  --csv              Print CSV instead of a table
  -h, --help         display help for command
0216
6
$ pimlico keys list --help
Usage: pimlico keys list [options]

List API keys by name with last use and 30-day traffic (never the keys
themselves)

Options:
  --all           Include disabled keys
  --sort <order>  Order by creation date (default) or most recently used first
                  (choices: "created", "last-used")
  -h, --help      display help for command
0146
7
$ pimlico keys list --all --json
{
  "keys": [
    {
      "name": "legacy-2023",
      "disabled": true,
      "createdAt": "2025-10-12T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": null,
      "requests30d": 0,
      "userOps30d": 0
    },
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:26:35.264Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:20:55.429Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:21:34.946Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:26:30.582Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:10:40.186Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:26:35.264Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:00:12.749Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
0168

Final state

outcome
pass
final answer
The **`production-web`** API key handled the most user operations over the last 30 days, with **1,180 user operations** (and 9,000 total RPC requests).

Here is the full 30-day breakdown across all API keys:

| API Key | User Operations (30d) | RPC Requests (30d) | Sponsored (30d) | Status |
| :--- | ---: | ---: | ---: | :--- |
| **`production-web`** | **1,180** | 9,000 | $135.42 | Active |
| `mobile-app` | 700 | 5,200 | $31.75 | Active |
| `fixture-key` | 380 | 2,422 | $8.55 | Active |
| `staging` | 76 | 840 | $1.65 | Active |
| `analytics-readonly` | 0 | 3,100 | $0.00 | Active |
| `legacy-2023` | 0 | 0 | $0.00 | Disabled |
teardown
—
mock gaps
—
contamination
—
dns lookups
0 (0 denied)
web tools
webfetch (sandbox)

context inputs

kindsourceplaced atofferedused
skillskills/pimlico.agents/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 · opencode.db · service-mock.log