bankrbot avatar

Bankr X402 SDK Job Management

This wraps the Bankr x402 SDK's async job handling into something Claude can work with directly. You get the usual job queue operations: submit work with prompt(), wait synchronously with promptAndWait(), poll status, cancel jobs mid-flight, and batch operations. The promptAndWait() method is what you'll reach for most of the time unless you're building something that needs manual control over polling intervals. Good for when you're dealing with long-running tasks that would timeout in a single request. The repo has 78 stars, so it's not battle-tested at scale, but the API surface is straightforward enough that you can tell what you're getting.

GitHub stars
80
last updated
Aug 21, 2026

Install

$ npx -y skills add bankrbot/claude-plugins --skill 'Bankr x402 SDK - Job Management' --agent claude-code

Installs into .claude/skills of the current project.

Files

SDK Job Management

Manage asynchronous jobs: submit, poll, check status, cancel, and batch operations.

SDK Methods

MethodDescriptionUse Case
promptAndWait()Submit and wait for resultRecommended for most cases
prompt()Submit, return immediatelyBackground processing
pollJob()Poll until job completesManual job tracking
getJobStatus()Check status onceCustom polling logic
cancelJob()Cancel pending/processing jobStop unwanted jobs

Job Lifecycle

pending → processing → completed
                    ↘ failed
                    ↘ cancelled
StateCancellableDescription
pendingYesAwaiting processing
processingYesActively processing
completedNoFinished successfully
failedNoEncountered error
cancelledNoCancelled by user

Usage Examples

Recommended: promptAndWait

const result = await client.promptAndWait({
  prompt: "Swap 0.1 ETH to USDC",
  timeout: 60000,
});

if (result.status === "completed") {
  console.log(result.response);
}

Sponsors

Details

Repository
github.com/bankrbot/claude-plugins
Category
Automation & Workflows
First seen
Jun 3, 2026

More from bankrbot/claude-plugins

All 36
1bearcove avataridiomatic-rustbearcove/pikruIdiomatic Rust patterns for pikru C port. Use when writing or reviewing Rust code ported from C. Don't write C in Rust - the goal is correct behavior, not line-0skills.sh installs
2bountydotnew avatarIntegrating Stripe Paymentsbountydotnew/bounty.newComplete workflow for integrating Stripe payments (subscriptions or one-time) with Convex + Next.js. Includes hosted checkout, webhooks, UI components, and test0skills.sh installs
3butterbase-ai avatarbuild-appbutterbase-ai/butterbase-skillsThis is the full linear workflow for spinning up a Butterbase backend: provision an app, design and apply a Postgres schema, lock it...0skills.sh installs
4butterbase-ai avatarjourneybutterbase-ai/butterbase-skillsThis is the top-level orchestrator that walks you from "I want to build X" all the way to a deployed Butterbase app, and if you're in a...0skills.sh installs
5butterbase-ai avatarrag-devbutterbase-ai/butterbase-skillsThis is a clean two-tool wrapper around Butterbase's pgvector RAG pipeline.0skills.sh installs
6cherryhq avatargh-create-prcherryhq/cherry-studioCreate or update GitHub pull requests using the repository-required workflow and template compliance. Use when asked to create/open/update a PR so the assistant0skills.sh installs