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

pause-promo-policy/opencode-google-gemini-4-argon/skill/4 · pass

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

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 opencode:google/gemini-4-argon --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] {"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 policies list
Id                   Name                Active  Chains             Budget  Per user  Per op
sp_brave_banshee     Production main     yes     8453,10,42161   $5,000.00    $25.00   $2.00
sp_breezy_archangel  Mobile onboarding   yes     8453                    -     $5.00       -
sp_amused_arclight   beta-promo          yes     84532                   -         -   $0.50
sp_ancient_aqueduct  beta-campaign       yes     84532,11155111  $1,250.00    $10.00       -
sp_bitter_anthem     Old testnet faucet  no      11155111          $100.00         -       -
$ pimlico policies --help
Usage: pimlico policies [options] [command]

Sponsorship policies

Options:
  -h, --help             display help for command

Commands:
  list                   List sponsorship policies
  get <id>               Show one policy, including its effective caps
  create [options]       Create a sponsorship policy (active unless --inactive)
  update [options] <id>  Change a policy's name, chains, caps or window
  enable <id>            Switch a policy on
  disable <id>           Switch a policy off
  help [command]         display help for command
3agent
$ pimlico policies disable sp_amused_arclight
sp_amused_arclight is now inactive
4agent
$ pimlico policies list
Id                   Name                Active  Chains             Budget  Per user  Per op
sp_brave_banshee     Production main     yes     8453,10,42161   $5,000.00    $25.00   $2.00
sp_breezy_archangel  Mobile onboarding   yes     8453                    -     $5.00       -
sp_amused_arclight   beta-promo          no      84532                   -         -   $0.50
sp_ancient_aqueduct  beta-campaign       yes     84532,11155111  $1,250.00    $10.00       -
sp_bitter_anthem     Old testnet faucet  no      11155111          $100.00         -       -
5agent
The `beta-promo` sponsorship policy (`sp_amused_arclight`) has been paused (disabled), and all other policies remain unchanged.

Target CLI calls

#callexitmssignal
0
$ pimlico policies list
Id                   Name                Active  Chains             Budget  Per user  Per op
sp_brave_banshee     Production main     yes     8453,10,42161   $5,000.00    $25.00   $2.00
sp_breezy_archangel  Mobile onboarding   yes     8453                    -     $5.00       -
sp_amused_arclight   beta-promo          yes     84532                   -         -   $0.50
sp_ancient_aqueduct  beta-campaign       yes     84532,11155111  $1,250.00    $10.00       -
sp_bitter_anthem     Old testnet faucet  no      11155111          $100.00         -       -
0236
1
$ pimlico policies --help
Usage: pimlico policies [options] [command]

Sponsorship policies

Options:
  -h, --help             display help for command

Commands:
  list                   List sponsorship policies
  get <id>               Show one policy, including its effective caps
  create [options]       Create a sponsorship policy (active unless --inactive)
  update [options] <id>  Change a policy's name, chains, caps or window
  enable <id>            Switch a policy on
  disable <id>           Switch a policy off
  help [command]         display help for command
0178
2
$ pimlico policies disable sp_amused_arclight
sp_amused_arclight is now inactive
0219
3
$ pimlico policies list
Id                   Name                Active  Chains             Budget  Per user  Per op
sp_brave_banshee     Production main     yes     8453,10,42161   $5,000.00    $25.00   $2.00
sp_breezy_archangel  Mobile onboarding   yes     8453                    -     $5.00       -
sp_amused_arclight   beta-promo          no      84532                   -         -   $0.50
sp_ancient_aqueduct  beta-campaign       yes     84532,11155111  $1,250.00    $10.00       -
sp_bitter_anthem     Old testnet faucet  no      11155111          $100.00         -       -
0172

Final state

outcome
pass
final answer
The `beta-promo` sponsorship policy (`sp_amused_arclight`) has been paused (disabled), and all other policies remain unchanged.
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.

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

Artifacts

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