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 / pause-promo-policy/claude-code-anthropic-claude-opus-5.5/skill/4 · ← prev next →

pause-promo-policy/claude-code-anthropic-claude-opus-5.5/skill/4 · 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
27038
23390 of them cached
Tokens out
423
written by the model
Cost
$0.03
of the model calls
Wall time
8.3s
from start to the Checks
scenario
pause-promo-policy
agent
claude-code:anthropic/claude-opus-5.5 · 2.1.318
context
skill
repeat
4 · cell ✓✓✓✓✓
findings
—
provider
Anthropic

checks

#checkresultdetailsignal
1
curl -fsS "$PIMLICO_DASHBOARD_URL/__mock/facts" | jq -e --slurpfile before /root/other-policies.json '
  ([.policies[] | select(.name == "beta-promo")] | length == 1 and (.[0].active | not) and (.[0].deleted | not))
  and [.policies[] | select(.name != "beta-promo")] == $before[0]'
passexited 0
true

reproduce

unsnag run --scenario pause-promo-policy --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.

Pause our beta-promo sponsorship policy on Pimlico, and leave the other policies as they are.
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 policies list --json
{
  "policies": [
    {
      "id": "sp_brave_banshee",
      "name": "Production main",
      "active": true,
      "chainIds": [
        8453,
        10,
        42161
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": "5000.00",
      "perUserUsd": "25.00",
      "perOpUsd": "2.00",
      "createdAt": "2026-04-30T23:30:25.215Z",
      "updatedAt": "2026-11-04T23:30:25.215Z"
    },
    {
      "id": "sp_breezy_archangel",
      "name": "Mobile onboarding",
      "active": true,
      "chainIds": [
        8453
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": "5.00",
      "perOpUsd": null,
      "createdAt": "2026-06-19T23:30:25.215Z",
      "updatedAt": "2026-06-19T23:30:25.215Z"
    },
    {
      "id": "sp_amused_arclight",
      "name": "beta-promo",
      "active": true,
      "chainIds": [
        84532
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": null,
      "perOpUsd": "0.50",
      "createdAt": "2026-10-07T23:30:25.215Z",
      "updatedAt": "2026-10-07T23:30:25.215Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:30:25.215Z",
      "endTime": "2026-11-30T23:30:25.215Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:30:25.215Z",
      "updatedAt": "2026-11-08T23:30:25.215Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:30:25.215Z",
      "endTime": "2026-09-17T23:30:25.215Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:30:25.215Z",
      "updatedAt": "2026-09-17T23:30:25.215Z"
    }
  ],
  "warnings": []
[… 2 more characters]
4agent
Exactly one policy is named "beta-promo" (sp_amused_arclight); "beta-campaign" is a different one.
$ pimlico policies disable sp_amused_arclight --json
{
  "id": "sp_amused_arclight",
  "active": false,
  "warnings": []
}
5agent
I paused the **beta-promo** policy (`sp_amused_arclight`, Base Sepolia, $0.50 per-op cap), and Pimlico now shows it as inactive.

I didn't touch the other policies. The **beta-campaign** policy (`sp_ancient_aqueduct`) has a similar name but is a separate policy, and it's still active. To turn beta-promo back on, run `pimlico policies enable sp_amused_arclight`.

Target CLI calls

#callexitmssignal
0
$ pimlico policies list --json
{
  "policies": [
    {
      "id": "sp_brave_banshee",
      "name": "Production main",
      "active": true,
      "chainIds": [
        8453,
        10,
        42161
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": "5000.00",
      "perUserUsd": "25.00",
      "perOpUsd": "2.00",
      "createdAt": "2026-04-30T23:30:25.215Z",
      "updatedAt": "2026-11-04T23:30:25.215Z"
    },
    {
      "id": "sp_breezy_archangel",
      "name": "Mobile onboarding",
      "active": true,
      "chainIds": [
        8453
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": "5.00",
      "perOpUsd": null,
      "createdAt": "2026-06-19T23:30:25.215Z",
      "updatedAt": "2026-06-19T23:30:25.215Z"
    },
    {
      "id": "sp_amused_arclight",
      "name": "beta-promo",
      "active": true,
      "chainIds": [
        84532
      ],
      "startTime": null,
      "endTime": null,
      "budgetUsd": null,
      "perUserUsd": null,
      "perOpUsd": "0.50",
      "createdAt": "2026-10-07T23:30:25.215Z",
      "updatedAt": "2026-10-07T23:30:25.215Z"
    },
    {
      "id": "sp_ancient_aqueduct",
      "name": "beta-campaign",
      "active": true,
      "chainIds": [
        84532,
        11155111
      ],
      "startTime": "2026-11-10T02:30:25.215Z",
      "endTime": "2026-11-30T23:30:25.215Z",
      "budgetUsd": "1250.00",
      "perUserUsd": "10.00",
      "perOpUsd": null,
      "createdAt": "2026-11-08T23:30:25.215Z",
      "updatedAt": "2026-11-08T23:30:25.215Z"
    },
    {
      "id": "sp_bitter_anthem",
      "name": "Old testnet faucet",
      "active": false,
      "chainIds": [
        11155111
      ],
      "startTime": "2026-07-19T23:30:25.215Z",
      "endTime": "2026-09-17T23:30:25.215Z",
      "budgetUsd": "100.00",
      "perUserUsd": null,
      "perOpUsd": null,
      "createdAt": "2026-07-09T23:30:25.215Z",
      "updatedAt": "2026-09-17T23:30:25.215Z"
    }
  ],
  "warnings": []
[… 3 more characters]
0282
1
$ pimlico policies disable sp_amused_arclight --json
{
  "id": "sp_amused_arclight",
  "active": false,
  "warnings": []
}
0341

Final state

outcome
pass
final answer
I paused the **beta-promo** policy (`sp_amused_arclight`, Base Sepolia, $0.50 per-op cap), and Pimlico now shows it as inactive.

I didn't touch the other policies. The **beta-campaign** policy (`sp_ancient_aqueduct`) has a similar name but is a separate policy, and it's still active. To turn beta-promo back on, run `pimlico policies enable sp_amused_arclight`.
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.

Pause our beta-promo sponsorship policy on Pimlico, and leave the other policies as they are.

Artifacts

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