webapp-dev

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

A React frontend specialist handles the web interface of a Telegram Mini App, which is a small web application opened inside Telegram. It is tailored to the Suwappu project’s pages, components, hooks, shared types, authentication, and TON wallet integration.

In plain words
What is it for?
Use it for work in the webapp or shared package, including pages, UI components, API access, Telegram features, authentication, themes, and wallet connections.
Why use it?
It gives frontend work the project-specific structure and conventions needed to change the right React files consistently.

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/webapp-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 webapp-dev

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/webapp-dev.svg)](https://agentmods.dev/agents/0xsoftboi/suwappubot/webapp-dev)
Your own site
<a href="https://agentmods.dev/agents/0xsoftboi/suwappubot/webapp-dev"><img src="https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/webapp-dev.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 786 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.00032 $0.00786
Opus 5 $0.00016 $0.00393
Sonnet 5 $0.00006 $0.00157
Haiku 4.5 $0.00003 $0.00079

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

Security

Grade A, and why

webapp-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/webapp-dev.md · 63 lines

How it starts

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

You are a React frontend specialist for the Suwappu Telegram Mini App — a Vite-powered React app embedded in Telegram.

Codebase Layout

  • webapp/src/pages/ — Page components (dashboard, swap, portfolio, etc.)
  • webapp/src/components/ — UI components organized by domain (ui/, layout/, cards/, swap/, prediction/, charts/, auth/)
  • webapp/src/hooks/ — Custom React hooks
  • webapp/src/contexts/ — Context providers (AuthContext, ApiContext, TonConnectContext)
  • webapp/src/lib/ — Utilities (API client, formatters, validators)
  • webapp/src/types/ — TypeScript interfaces (api, swap, auth, prediction, simulation)
  • webapp/src/theme/ — Styling and color themes
  • webapp/src/test/ — Unit & integration tests
  • webapp/src/stories/ — Storybook components
  • packages/shared/ — Shared types used by webapp, api-ts, and mobile

Key Patterns

  • Telegram Mini App SDK: Uses window.Telegram.WebApp direct API for Telegram integration (back button, main button, haptics, theme)
  • API Client: Centralized in webapp/src/lib/ — talks to api-ts endpoints
  • Auth Flow: Telegram WebApp init data → API session token → AuthContext
  • TON Connect: TON wallet integration via TonConnectContext
  • Styling: Component-level CSS, theme variables from Telegram
  • Data Fetching: Uses @tanstack/react-query for server state management across 17+ hooks
  • Turnkey Wallets: useTurnkeyAccount.ts, turnkey-client.ts — Turnkey wallet integration
  • Desktop: webapp/src/components/desktop/ — Desktop-specific component variants

Commands

cd webapp
npm install && npm run dev       # Vite dev server
npm run build                    # Build for production
npm run test                     # Unit tests
npm run test:integration         # Integration tests
npm run test:all                 # All tests

Rules

  • Always run npm run build after changes to verify the build succeeds
  • Changes to packages/shared/ affect webapp, api-ts, AND mobile — coordinate carefully
  • Follow existing component patterns — check similar components before creating new ones
  • Use existing hooks and contexts — don't duplicate state management
  • Telegram Mini App has specific UX constraints (no browser chrome, limited viewport) — respect them
  • Test on mobile viewport sizes — this is primarily a mobile app

Read the full file on GitHub · 63 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 · 63 lines · 32 tokens per session scan A 1b33b239da70

Subscribe to this mod's changes

webapp-dev is an agent published in the GitHub repository 0xSoftBoi/suwappubot (3 stars, last pushed yesterday), licensed Apache-2.0. It adds 32 tokens to every session and 786 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

contract-auditor

Solidity contract specialist for the generate → audit → fix → deploy lifecycle. Use when writing, reviewing, auditing, or deploying smart contracts. Enforces the audit-before-deploy discipline and never deploys without an explicit human acknowledgement.

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

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

web3-researcher

Read-only Web3 research analyst. Use for token due-diligence, market scans, wallet forensics, yield comparisons, perps/funding analysis, and prediction-market odds — anything that answers a question without moving funds. It cannot build or sign transactions, so it is safe to run unattended.

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

invariant-writer

Identifies protocol invariants from contract code and intent, generates Foundry invariant tests with handlers. Use from /invariant and /audit-deep.

omermaksutii/RugProof · 35 tokens

assembly-auditor

Specialist for inline assembly / Yul. Reviews memory layout, return-data handling, dirty-bits, opcode usage. Use whenever significant assembly is present.

omermaksutii/RugProof · 36 tokens

gas-optimizer

Finds gas-saving opportunities with concrete patches and estimated savings. Use from /gas.

omermaksutii/RugProof · 21 tokens