Bankr x402 SDK - Project Templates

Bankr x402 SDK - Project Templates is a skill for Claude Code from BankrBot/claude-plugins. It costs 84 tokens per session (1,972 once invoked), scanned A, original, MIT.

Project templates for building Bankr SDK applications that use x402, a system for requesting small payments over HTTP. The templates cover bots, web services, dashboards, and command-line tools.

In plain words
What is it for?
Use them to scaffold automated tasks, HTTP APIs, web dashboards, or command-line tools that work with Bankr and x402 payments.
Why use it?
They provide a starting directory layout and common files, so you do not have to decide how to organize each kind of Bankr project from scratch.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the bankr-x402-sdk-dev plugin — 8 skills, 1 agent shipped together

Good fit Use them to scaffold automated tasks, HTTP APIs, web dashboards, or command-line tools that work with Bankr and x402 payments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/bankrbot/claude-plugins/x402-project-templates
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add BankrBot/claude-plugins --skill x402-project-templates
Clone the repo
git clone --depth 1 https://github.com/BankrBot/claude-plugins

Made for: Claude Code.

Or install bankr-x402-sdk-dev, the plugin that ships this one along with the rest of its 8 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Bankr x402 SDK - Project Templates

README.md
[![agentmods](https://agentmods.dev/badge/skills/bankrbot/claude-plugins/x402-project-templates/github.svg)](https://agentmods.dev/skills/bankrbot/claude-plugins/x402-project-templates)
Your own site
<a href="https://agentmods.dev/skills/bankrbot/claude-plugins/x402-project-templates"><img src="https://agentmods.dev/badge/skills/bankrbot/claude-plugins/x402-project-templates/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Bankr x402 SDK - Project Templates

Your own site · 80×15
<a href="https://agentmods.dev/skills/bankrbot/claude-plugins/x402-project-templates"><img src="https://agentmods.dev/badge/skills/bankrbot/claude-plugins/x402-project-templates.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,972 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00084 $0.01972
Opus 5 $0.00042 $0.00986
Sonnet 5 $0.00017 $0.00394
Haiku 4.5 $0.00008 $0.00197

Measured 10d ago against content hash 1fba0302b7c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

Bankr x402 SDK - Project Templates scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

x402-sdk-dev/skills/x402-project-templates/SKILL.md · 307 lines

How it starts

The opening of the file, as written. The whole thing — 307 lines — stays where its author put it; the contents beside it link to each section on GitHub.

x402 SDK Project Templates

Directory structures and templates for Bankr SDK projects using x402 micropayments.

Available Templates

Template Use Case Key Features
bot Automated tasks Polling loop, scheduler, transaction execution
web-service HTTP APIs REST endpoints, async handling, webhook support
dashboard Web UIs Frontend + backend, portfolio display
cli Command-line tools Subcommands, interactive prompts

Bot Template

For automated trading bots, price monitors, portfolio rebalancers, and scheduled tasks.

Directory Structure

{project-name}/
├── package.json
├── tsconfig.json
├── .env.example
├── .gitignore
├── README.md
├── src/
│   ├── index.ts           # Main entry point with scheduler
│   ├── bankr-client.ts    # Bankr SDK client (from x402-client-patterns skill)
│   ├── executor.ts        # Transaction execution with viem/ethers
│   ├── types.ts           # TypeScript interfaces
│   └── config.ts          # Configuration loading
└── scripts/
    └── run.sh             # Convenience script

Key Features

  • Polling loop: Configurable interval for recurring operations
  • Transaction execution: Built-in viem integration for sending txs
  • Status streaming: Real-time job progress updates
  • Error handling: Automatic retries with backoff
  • Graceful shutdown: Handles SIGINT/SIGTERM

Use Cases

  • Price monitoring and alerts
  • Automated swap strategies
  • Portfolio rebalancing
  • Scheduled market analysis
  • DCA-like automation

Entry Point Pattern (index.ts)

import { bankrClient } from "./bankr-client";
import { executeTransaction } from "./executor";

const INTERVAL = 60000; // 1 minute

async function runBot() {
  console.log("Starting Bankr SDK bot...");

  while (true) {
    try {
      const result = await bankrClient.promptAndWait({
        prompt: "Check ETH price",
        onStatusUpdate: (msg) => console.log("Status:", msg),
      });

      if (result.status === "completed") {
        console.log("Result:", result.response);

        // Execute transactions if returned
        if (result.transactions?.length) {
          for (const tx of result.transactions) {
            await executeTransaction(tx);
          }
        }
      }
    } catch (error) {
      console.error("Error:", error);
    }

    await new Promise((r) => setTimeout(r, INTERVAL));
  }
}

runBot();

Read the full file on GitHub · 307 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 307 lines · 84 tokens per session scan A 1fba0302b7c9

Subscribe to this mod's changes

Bankr x402 SDK - Project Templates is a skill published in the GitHub repository BankrBot/claude-plugins (85 stars, last pushed 5mo ago), licensed MIT. It adds 84 tokens to every session and 1,972 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

signature-replay

Signature replay attacks — missing nonces, missing chain ID, ecrecover zero address, signature malleability, cross-chain replay.

PurpleAILAB/Decepticon · 31 tokens

official-sui-skills

Pointer to the official Mysten Labs skills for building on Sui — language fundamentals, object model, PTBs, SDKs, publishing, upgrades, frontend integration, accessing on-chain data. Maintained upstream at github.com/MystenLabs/skills; pinned to the same ref the audit catalog derives from (see…

MystenLabs/sui · 116 tokens

crypto-market-rank

Crypto market rankings and leaderboards. Query trending tokens, top searched tokens, Binance Alpha tokens, tokenized stocks, social hype sentiment ranks, smart money inflow token rankings, top meme token rankings from Pulse launchpad, and top trader PnL leaderboards. Use this skill when users ask about token rankings…

tradecatlabs/tradecat-public · 85 tokens

trading-signal

Subscribe and retrieve on-chain Smart Money signals. Monitor trading activities of smart money addresses, including buy/sell signals, trigger price, current price, max gain, and exit rate. Use this skill when users are looking for investment opportunities — smart money signals can serve as valuable references for…

tradecatlabs/tradecat-public · 64 tokens

bridge

Cross-chain token transfers using Wormhole and CCTP.

alsk1992/CloddsBot · 13 tokens

onchainkit

Build onchain apps with Coinbase's OnchainKit React components - wallets, swaps, NFTs, payments.

alsk1992/CloddsBot · 24 tokens