Skip to content
Agentmart
Submit a tool

moonpay-wallet-statusline-refresh

Manually refresh wallet balances shown in a compatible CLI status line.

Skill by moonpay

IndexedMIT★ 111
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/moonpay-moonpay-wallet-statusline-refresh

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Manually refresh wallet balances shown in a compatible CLI status line. Use when the user says "refresh balances", "update status bar", or after receiving funds from outside the CLI.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/moonpay-wallet-statusline-refresh

What's inside

Skill name
moonpay-wallet-statusline-refresh
Description
Manually refresh wallet balances shown in a compatible CLI status line. Use when the user says "refresh balances", "update status bar", or after receiving funds from outside the CLI.
License
MIT
Instructions
70 lines in SKILL.md · view on GitHub

Before installing

  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Refresh wallet status line

## Goal

Refresh the cached MoonPay wallet balances shown in a compatible CLI status line.

## Prerequisites

- MoonPay CLI installed: `npm i -g @moonpay/cli`
- Authenticated: `mp verify`
- Status line config exists: `~/.config/moonpay/statusline.json`
- Refresh script exists: `~/.config/moonpay/refresh-statusline.sh`

If the config or refresh script is missing, run the `moonpay-wallet-statusline` setup skill first.

## Commands

```bash
# Run the refresh script
bash ~/.config/moonpay/refresh-statusline.sh

# View cached output
cat ~/.config/moonpay/statusline-cache.txt

# Strip ANSI codes for plain text output
sed 's/\x1b\[[0-9;]*m//g' ~/.config/moonpay/statusline-cache.txt

# Check authentication if refresh fails
mp verify
```

## Workflow

1. Verify the setup files exist:
   - `~/.config/moonpay/statusline.json`
   - `~/.config/moonpay/refresh-statusline.sh`

2. Run the refresh command:

   ```bash
   bash ~/.config/moonpay/refresh-statusline.sh
   ```

3. If the cache file exists, show the user the refreshed value in plain text:

   ```bash
   sed 's/\x1b\[[0-9;]*m//g' ~/.config/moonpay/statusline-cache.txt
   ```

4. If the cache file does not exist after a successful refresh, tell the user no balances were found for the configured address-and-chain entries.

5. Only query the underlying `mp` balance commands directly if the user explicitly asks for a detailed balance breakdown. Otherwise, trust the configured refresh script as the source of truth for the status line.

6. Confirm that the cache was refreshed and remind the user that the target CLI may show the change on the next status line render or next session, depending on local setup.

## Error handling

| Error | Cause | Fix |
|-------|-------|-----|
| No config file | Setup not run | Run `moonpay-wallet-statusline` first |
| No refresh script | Setup not run | Run `moonpay-wallet-statusline` first |
| `mp verify` failed | Auth expired or missing | Run `mp login` then `mp verify` |
| Refresh exits successfully but cache is missing | No balances on configured entries | Check the configured addresses/chains and verify the wallet has funds |

## Related skills

- [moonpay-wallet-statusline](../moonpay-wallet-statusline/) — Initial setup for wallet status line
- [moonpay-check-wallet](../moonpay-check-wallet/) — Detailed portfolio breakdown with allocation percentages

From moonpay/skills, MIT.

More from moonpay/skills

Signals

Stars
111
Forks
30
Open issues
3
Last commit (this folder)
Apr 16, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from moonpay

Cite this page

moonpay-wallet-statusline-refresh skill. Agent Mart. https://agentmart.dev/skills/moonpay-moonpay-wallet-statusline-refresh (last updated 2026-10-24)