mcpField
B
Bankr Agent - Job Workflow

Bankr Agent - Job Workflow

github.com/bankrbotAgent workflows88373 installsUpdated 31w ago
Repository

About Bankr Agent - Job Workflow

Bankr Agent - Job Workflow is a skill for running Bankr API requests through an asynchronous submit-poll-complete process. It helps agents track progress, handle terminal results, and report responses or transactions.

Key features

  1. 01Submit prompts and receive job IDs
  2. 02Poll job status and progress updates
  3. 03Read completed responses and transactions
  4. 04Cancel running jobs
  5. 05Handle polling errors and resume tracking

Use cases

  1. 01Track a token operation until completion
  2. 02Report progress without repeating updates
  3. 03Resume status checks after a polling error

MCP support

It describes using the Bankr MCP tools `bankr_agent_submit_prompt`, `bankr_agent_get_job_status`, and `bankr_agent_cancel_job` to submit, track, and cancel jobs.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/bankrbot/claude-plugins --skill bankr-agent---job-workflow

After installing, type/bankr-agent---job-workflowin Claude Code to confirm it loaded.

Details

From the project README

Bankr Job Workflow

Execute Bankr API operations using MCP tools with the asynchronous job pattern.

Core Pattern: Submit-Poll-Complete

  1. Submit - Send prompt via bankr_agent_submit_prompt, receive job ID
  2. Poll - Check status via bankr_agent_get_job_status every 2 seconds
  3. Complete - Report results when status is terminal

MCP Tools

bankr_agent_submit_prompt

Submit a natural language prompt to start a job.

  • Input: Natural language request (e.g., "Buy $50 of ETH on Base")
  • Output: Job ID for tracking
bankr_agent_get_job_status

Check job status. Response includes:

  • status: pending | processing | completed | failed | cancelled
  • response: Text answer (when completed)
  • transactions: Array of executed transactions
  • statusUpdates: Progress messages during execution
  • error: Error message (when failed)
bankr_agent_cancel_job

Cancel a running job.

Job Status States

StatusAction
pendingKeep polling
processingKeep polling, report statusUpdates
completedRead response and transactions
failedCheck error field
cancelledNo further action

Timing

  • Poll interval: 2 seconds
  • Typical completion: 30 seconds to 2 minutes
  • Suggest cancellation: After 3+ minutes for simple queries

Output Guidelines

Query TypeOutput Format
Price queriesState price clearly (e.g., "ETH is $3,245.67")
TradesConfirm amounts and transaction details
Market analysisSummarize key insights concisely
PolymarketState odds with context
BalancesList holdings with USD values
ErrorsExplain clearly, suggest alternatives

Status Update Handling

  • Track last reported update count
  • Only report NEW updates to avoid repetition
  • Updates show agent progress (e.g., "Analyzing market data...")

Error Recovery

If polling fails:

  1. Retry after brief delay
  2. Job continues server-side regardless
  3. Can resume polling with same jobId

Comments

Markdown supported