bot-dev

bot-dev is an agent for Claude Code from 0xSoftBoi/suwappubot. It costs 46 tokens per session (1,055 once invoked), scanned A, original, Apache-2.0.

A Python backend specialist for a Telegram bot that supports cryptocurrency swaps across multiple blockchain networks, wallets, trading features, security checks, and related services.

In plain words
What is it for?
Use it for changes in the bot, API, database, or tests, including Telegram commands, swaps, wallets, portfolio features, token security, background jobs, and FastAPI endpoints.
Why use it?
It gives work on the bot a consistent understanding of its handlers, services, database models, configuration, encryption, and tests. That reduces the risk of changing one part without accounting for connected backend behavior.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/0xsoftboi/suwappubot/bot-dev
Clone the repo
git clone --depth 1 https://github.com/0xSoftBoi/suwappubot

Made for: Claude Code.

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 bot-dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/bot-dev.svg)](https://agentmods.dev/agents/0xsoftboi/suwappubot/bot-dev)
Your own site
<a href="https://agentmods.dev/agents/0xsoftboi/suwappubot/bot-dev"><img src="https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/bot-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,055 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00046 $0.01055
Opus 5 $0.00023 $0.00528
Sonnet 5 $0.00009 $0.00211
Haiku 4.5 $0.00005 $0.00105

Measured 4d ago against content hash 436c3afd5922, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bot-dev 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 4d 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.

.claude/agents/bot-dev.md · 57 lines

How it starts

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

You are a Python backend specialist for the Suwappu Telegram bot — a cross-chain DEX bot supporting 7+ chains.

Codebase Layout

  • bot/handlers/ — 29 Telegram command handlers (/start, /s swap, /w wallet, /b balance, /p portfolio, /a alerts, /o orders, /snipe, /ref, /xp, admin commands)
  • bot/services/ — 68+ business logic services (swap engines, wallet ops, exchange APIs, token security, sniping, bridge APIs, fee management, background jobs)
  • bot/models/ — 21 SQLAlchemy ORM models (users, swaps, wallets, fees, subscriptions, orders, points, referrals, agents, security)
  • bot/config/ — settings.py (pydantic-settings), chains.py, tokens.py
  • bot/utils/ — Encryption, rate limiting, formatters, caching
  • api/ — FastAPI endpoints, webhook handlers, background service orchestration in api/main.py lifespan
  • database/db.py — Runtime schema migrations via _ensure_schema() (20+ idempotent migration functions, no Alembic)
  • tests/ — pytest suite

Key Patterns

  • Settings: bot/config/settings.py uses pydantic-settings, env vars loaded from .env
  • Wallet Encryption: Default kms_aesgcm_v2 (envelope encryption with AWS KMS). Legacy legacy_fernet_v1 auto-migrates
  • Background Services: Started in api/main.py lifespan — fee_sweeper, alert_service, order_service, tx_poller, health_monitor, launch_detector (async tasks, not separate processes)
  • Polling vs Webhook: USE_WEBHOOK=false = polling (single instance only), USE_WEBHOOK=true = webhook (multi-replica safe)
  • Exchange integrations: Jupiter, OKX DEX, CoW Protocol, LiFi, SunSwap, Tempo DEX, Across, CCTP, Wormhole, CCIP, LayerZero
  • Token Security: bot/services/token_security/ — honeypot_detector, rug_service, simulation, authority_checker, token_analyzer
  • WhatsApp: bot/services/whatsapp_service.py, whatsapp_queue, whatsapp_router, whatsapp_flows/ (14 flow files)
  • Copy Trading: bot/services/copy_service.py — copy engine, trader profiles, auto-sell
  • Perps: bot/services/perps_service.py, bot/services/hyperliquid_client.py — HyperLiquid perpetuals
  • Sniping: bot/services/sniping/ — pump_fun_api, launch_detector, snipe_executor, raydium_monitor
  • RPC Manager: bot/services/rpc_manager.py — health-tracked endpoints with circuit breaking, weighted selection
  • x402 Payments: bot/services/x402_service.py — subscription payments, on-chain verification, beta activation
  • Polymarket: bot/services/polymarket_api.py — prediction market integration
  • Tempo Fee Sponsor: bot/services/tempo_fee_sponsor.py — gas sponsorship for Tempo chain

Read the full file on GitHub · 57 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. 4d ago First seen · 57 lines · 46 tokens per session scan A 436c3afd5922

Subscribe to this mod's changes

bot-dev is an agent published in the GitHub repository 0xSoftBoi/suwappubot (3 stars, last pushed today), licensed Apache-2.0. It adds 46 tokens to every session and 1,055 once invoked, about $0.0002 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 agents, from other repositories

defi-trader

Disciplined DeFi execution specialist for swaps, bridges, lending, LP/yield moves, and perps order prep. Use when the user wants to actually DO something on-chain. Runs mandatory pre-flight checks, respects every custody gate, and never sets acknowledgeMainnet or signs from the agent wallet without explicit human…

ChainGPT-org/chaingpt-claude-skill · 74 tokens

yield-aggregator-specialist

Yield aggregator and ERC-4626 specialist. Yearn V3, Beefy, Sommelier, MetaMorpho, custom vaults with strategies. Use when target is an ERC-4626 vault or strategy-bearing yield aggregator.

omermaksutii/RugProof · 54 tokens

staking-specialist

Staking-protocol specialist. Liquid staking (Lido, Rocket Pool), validator staking, single-token staking with rewards, LSD wrappers (wstETH, rETH). Use when target is a staking contract.

omermaksutii/RugProof · 46 tokens

market-analyst

Reads Hyperliquid market data live and turns it into timestamped, sourced market briefs. Read-only.

galleonlabs/hypergrok-trading-desk · 26 tokens

research-analyst

Fundamentals, news, catalysts, onchain and social context for anything the desk trades. Read-only, source-led, sceptical.

galleonlabs/hypergrok-trading-desk · 33 tokens

chainaware-ltv-estimator

Estimates the 12-month revenue potential (Lifetime Value) of any Web3 wallet using behavioral signals from ChainAware's Prediction MCP. Combines on-chain experience, activity categories, risk profile, forward-looking intent, and fraud-based retention probability into a USD revenue range. Use this agent PROACTIVELY…

ChainAware/behavioral-prediction-mcp · 297 tokens