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

credit-balance/opencode-google-gemini-4-argon/skill/5 · pass

Outcome
pass
1/1 Checks passed
Turns
4
model turns
CLI calls
2
0 exited non-zero
Help lookups
0
reads of the CLI's help
Tokens in
5683
0 of them cached
Tokens out
247
written by the model
Cost
$0.01
of the model calls
Wall time
26.0s
from start to the Checks
scenario
credit-balance
agent
opencode:google/gemini-4-argon · 2.2.7
context
skill
repeat
5 · cell ✓✓✓✓✓
findings
—
provider
Google AI Studio

checks

#checkresultdetailsignal
1
answer number truth: curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/facts" | jq -r .balanceUsd
passthe answer states 1284.37, expected 1284.37 (tolerance 0.01) · expected: 1284.37

reproduce

unsnag run --scenario credit-balance --agent opencode:google/gemini-4-argon --context skill --runs 1

Transcript highlighted = a Signal fired

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

How many dollars of prepaid credit does our Pimlico account have right now?
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 balance
Credits                   $1,284.37
Open invoices (0)         $0.00
Balance                   $1,284.37
This month so far (est.)  -$242.22
Overdraft limit           $250.00
Remaining                 $1,292.15
Runway (est.)             ~85 days at $15.16/day this month
As of                     2026-11-16 23:34:53
3agent
$ pimlico balance --json
{
  "balanceUsd": "1284.37",
  "creditsUsd": "1284.37",
  "openInvoicesUsd": "0.00",
  "openInvoices": [],
  "pendingUsd": "242.22",
  "overdraftLimitUsd": "250.00",
  "remainingUsd": "1292.15",
  "dailySpendUsd": "15.16",
  "runwayDays": 85,
  "currency": "USD",
  "asOf": "2026-11-16T23:35:00.171Z",
  "threshold": null,
  "belowThreshold": false,
  "warnings": []
}
4agent
Your Pimlico account currently has **$1,284.37** in prepaid credits.

Here is the full balance breakdown:
- **Credits (Balance):** $1,284.37
- **Open invoices:** $0.00
- **This month's pending usage (est.):** -$242.22
- **Overdraft limit:** $250.00
- **Total remaining available (including overdraft minus pending usage):** $1,292.15

Target CLI calls

#callexitmssignal
0
$ pimlico balance
Credits                   $1,284.37
Open invoices (0)         $0.00
Balance                   $1,284.37
This month so far (est.)  -$242.22
Overdraft limit           $250.00
Remaining                 $1,292.15
Runway (est.)             ~85 days at $15.16/day this month
As of                     2026-11-16 23:34:53
0270
1
$ pimlico balance --json
{
  "balanceUsd": "1284.37",
  "creditsUsd": "1284.37",
  "openInvoicesUsd": "0.00",
  "openInvoices": [],
  "pendingUsd": "242.22",
  "overdraftLimitUsd": "250.00",
  "remainingUsd": "1292.15",
  "dailySpendUsd": "15.16",
  "runwayDays": 85,
  "currency": "USD",
  "asOf": "2026-11-16T23:35:00.171Z",
  "threshold": null,
  "belowThreshold": false,
  "warnings": []
}
0279

Final state

outcome
pass
final answer
Your Pimlico account currently has **$1,284.37** in prepaid credits.

Here is the full balance breakdown:
- **Credits (Balance):** $1,284.37
- **Open invoices:** $0.00
- **This month's pending usage (est.):** -$242.22
- **Overdraft limit:** $250.00
- **Total remaining available (including overdraft minus pending usage):** $1,292.15
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.

How many dollars of prepaid credit does our Pimlico account have right now?

Artifacts

run.json · agent-stdout.jsonl · opencode.db · service-mock.log