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/2 · ← prev next →

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

Outcome
pass
1/1 Checks passed
Turns
5
model turns
CLI calls
7
2 exited non-zero
Help lookups
3
reads of the CLI's help
Tokens in
10097
1215 of them cached
Tokens out
891
written by the model
Cost
$0.03
of the model calls
Wall time
44.0s
from start to the Checks
scenario
top-key-30d
agent
opencode:google/gemini-4-argon · 2.2.7
context
skill
repeat
2 · 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
$ pimlico usage userops --by api-key --period 30d
error: unknown option '--by'
(run with --help for usage)

Exit code: 1
$ pimlico api-keys list
error: unknown command 'api-keys'
(run with --help for usage)

Exit code: 1
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 userops --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
4agent
$ pimlico keys list --json
{
  "keys": [
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:21:00.854Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:15:21.019Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:16:00.536Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:20:56.172Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:05:05.776Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T22:54:38.339Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
$ pimlico usage --last 30d --group key --json
{
  "from": "2026-10-17T23:21:35.716Z",
  "to": "2026-11-16T23:21:35.716Z",
  "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": []
}
$ 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 `pimlico keys list --json` output. The `production-web` key, `userOps30d`, shows 1,180 uses, 9,000 requests, and a credit balance of 177,949, with $135.42 in sponsored USD. Meanwhile, `mobile-app`, `userOps30d`, has seen 700 uses, 5,200 requests.
The **`production-web`** API key handled the most user operations over the last 30 days, with **1,180 user operations**.

### 30-Day Breakdown by API Key

| API Key | User Operations (30d) | RPC Requests (30d) | API Credits (30d) | Sponsored USD (30d) |
| :--- | ---: | ---: | ---: | ---: |
| **`production-web`** | **1,180** | 9,000 | 177,949 | $135.42 |
| `mobile-app` | 700 | 5,200 | 104,425 | $31.75 |
| `fixture-key` | 380 | 2,422 | 50,164 | $8.55 |
| `staging` | 76 | 840 | 16,433 | $1.65 |
| `analytics-readonly` | 0 | 3,100 | 28,390 | $0.00 |

Target CLI calls

#callexitmssignal
0
$ pimlico usage userops --by api-key --period 30d
error: unknown option '--by'
(run with --help for usage)
1128nonzero_then_lookup dismissed
unknown_flag dismissed
unknown_flag dismissed
1
$ pimlico api-keys list
error: unknown command 'api-keys'
(run with --help for usage)
1122ghost_command dismissed
nonzero_then_lookup dismissed
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]
0154
3
$ pimlico usage userops --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
0166
4
$ pimlico keys list --json
{
  "keys": [
    {
      "name": "production-web",
      "disabled": false,
      "createdAt": "2026-04-10T23:21:00.854Z",
      "boost": true,
      "lastUsedAt": "2026-11-16T23:15:21.019Z",
      "requests30d": 9000,
      "userOps30d": 1180
    },
    {
      "name": "mobile-app",
      "disabled": false,
      "createdAt": "2026-06-09T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:16:00.536Z",
      "requests30d": 5200,
      "userOps30d": 700
    },
    {
      "name": "staging",
      "disabled": false,
      "createdAt": "2026-07-19T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T21:20:56.172Z",
      "requests30d": 840,
      "userOps30d": 76
    },
    {
      "name": "analytics-readonly",
      "disabled": false,
      "createdAt": "2026-08-18T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T23:05:05.776Z",
      "requests30d": 3100,
      "userOps30d": 0
    },
    {
      "name": "fixture-key",
      "disabled": false,
      "createdAt": "2026-10-02T23:21:00.854Z",
      "boost": false,
      "lastUsedAt": "2026-11-16T22:54:38.339Z",
      "requests30d": 2422,
      "userOps30d": 380
    }
  ],
  "warnings": []
}
0347
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
0200
6
$ pimlico usage --last 30d --group key --json
{
  "from": "2026-10-17T23:21:35.716Z",
  "to": "2026-11-16T23:21:35.716Z",
  "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": []
}
0399

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**.

### 30-Day Breakdown by API Key

| API Key | User Operations (30d) | RPC Requests (30d) | API Credits (30d) | Sponsored USD (30d) |
| :--- | ---: | ---: | ---: | ---: |
| **`production-web`** | **1,180** | 9,000 | 177,949 | $135.42 |
| `mobile-app` | 700 | 5,200 | 104,425 | $31.75 |
| `fixture-key` | 380 | 2,422 | 50,164 | $8.55 |
| `staging` | 76 | 840 | 16,433 | $1.65 |
| `analytics-readonly` | 0 | 3,100 | 28,390 | $0.00 |
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