skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
bankrbot/claude-plugins0 installs

Bankr Agent - Error Handling

This skill should be used when encountering authentication errors, API key errors, 401 errors, "invalid API key", "BANKR_API_KEY not set", job failures, or any Bankr API errors. Provides setup instructions and troubleshooting guidance for resolving Bankr configuration issues.

How do I install this agent skill?

npx skills add https://github.com/bankrbot/claude-plugins --skill bankr-agent-error-handling
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides purely informational troubleshooting guidance and setup instructions for users encountering Bankr API errors. It contains no executable code, automated scripts, or malicious logic.

  • Socketpass

    No alerts

  • Snykwarn

    Risk: MEDIUM · No issues

  • Runlayerpass

    1/1 file flagged

What does this agent skill do?

Bankr Error Handling

Resolve Bankr API errors and authentication issues.

Authentication Errors (401)

Symptoms

  • HTTP 401 status code
  • "Invalid API key" or "Unauthorized" message

Resolution

Present these setup instructions to the user:

Step 1: Create an API Key

Visit https://bankr.bot/api to create a new API key

Step 2: Set Environment Variable

# Add to shell profile (~/.zshrc or ~/.bashrc)
export BANKR_API_KEY=bk_your_api_key_here

Step 3: Restart Claude Code

Close and reopen the terminal/Claude Code session

Important: Do NOT retry when authentication fails. User must fix API key first.

Common Job Failures

ErrorCauseResolution
Insufficient balanceNot enough tokensCheck balance, reduce amount
Token not foundInvalid symbol/addressVerify token exists on chain
Slippage exceededPrice moved too muchRetry or try smaller amount
Transaction revertedOn-chain failureCheck transaction details
Rate limit exceededToo many requestsWait and retry

HTTP Status Codes

CodeMeaningAction
400Bad requestCheck prompt format
401UnauthorizedFix API key (see above)
402Payment requiredEnsure wallet has BNKR on Base
429Rate limitedWait and retry
500Server errorRetry after delay

Troubleshooting Checklist

  1. API Key: Set, starts with bk_, Claude Code restarted after setting
  2. Network: Internet working, api.bankr.bot reachable
  3. For Trading: Wallet has sufficient balance, token exists on chain

Reporting Errors to Users

  1. State what went wrong simply
  2. Provide specific fix steps
  3. Avoid technical jargon
  4. Suggest alternatives

Example:

Your Bankr API key is not configured. To set it up:
1. Visit https://bankr.bot/api to create an API key
2. Set BANKR_API_KEY in your environment
3. Restart Claude Code

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/bankrbot/claude-plugins/bankr-agent---error-handling">View Bankr Agent - Error Handling on skillZs</a>