suwappubot: Command for Claude Code

.claude/commands/deploy.md

deploy is a command for Claude Code from 0xSoftBoi/suwappubot. It costs 38 tokens per session (1,588 once invoked), scanned A, original, Apache-2.0.

A deployment command for Suwappu services running on Railway, a platform that builds and runs applications. It supports production or development deployments for selected services or all services.

In plain words
What is it for?
It helps deploy the Python API, background worker, terminal app, TypeScript API, showcase, or all listed Suwappu services.
Why use it?
It clarifies which service and files are affected and explains when deployment happens automatically after changes reach the main branch.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is 0xSoftBoi/suwappubot's own configuration. It tells Claude Code how to work on suwappubot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything suwappubot configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/mongolraider/suwappu.

Reuse

Borrowing it

Nothing to install: this file belongs to 0xSoftBoi/suwappubot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/0xSoftBoi/suwappubot/main/.claude/commands/deploy.md
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 deploy

README.md
[![agentmods](https://agentmods.dev/badge/commands/0xsoftboi/suwappubot/deploy/github.svg)](https://agentmods.dev/commands/0xsoftboi/suwappubot/deploy)
Your own site
<a href="https://agentmods.dev/commands/0xsoftboi/suwappubot/deploy"><img src="https://agentmods.dev/badge/commands/0xsoftboi/suwappubot/deploy/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 deploy

Your own site · 80×15
<a href="https://agentmods.dev/commands/0xsoftboi/suwappubot/deploy"><img src="https://agentmods.dev/badge/commands/0xsoftboi/suwappubot/deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 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,588 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00038 $0.01588
Opus 5.5 $0.00015 $0.00635
Sonnet 5.5 $0.00008 $0.00318
Haiku 4.5 $0.00004 $0.00159

Measured 25d ago against content hash 9ff186347178, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

deploy scanned grade A with 1 finding 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 25d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -o /dev/null -w "health=%{http_code}\n" https://api.suwappu.bot/health # expect 200
.claude/commands/deploy.md · 90 lines

How it starts

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

Suwappu Deployment Skill (Railway)

Suwappu runs entirely on Railway — there is NO AWS/ECS/EC2 anymore. The old AWS-ECS Telegram Mini App was abandoned on 2026-06-08 (commit e262711); app.suwappu.bot now serves the webapp Railway service (edge router, commit d5c69b0f, 2026-07-25). Ignore any older AWS/SSM/ECS instructions.

How deploys actually happen: auto on push to main

Railway is wired to GitHub via the deploy-railway.yml Action + per-service watchPatterns. Merging to main auto-deploys any service whose watched paths changed. You usually do NOT need to run anything — merge the PR and Railway rebuilds.

Service railway.*.json Dockerfile watchPatterns (auto-deploy trigger)
python-api (bot + FastAPI) railway.python-api.json api/Dockerfile.railway api/**, bot/**, database/**, requirements.txt
python-worker (background tasks) railway.python-worker.json api/Dockerfile.railway api/**, bot/**, database/**, requirements.txt
terminal (trading UI — terminal.suwappu.bot) railway.terminal.json terminal/Dockerfile terminal/**, packages/design-tokens/**
webapp (Telegram Mini App — app.suwappu.bot) railway.webapp.json webapp/Dockerfile webapp/**, packages/design-tokens/**
api-ts api-ts/railway.json api-ts/Dockerfile (root)
showcase (www.suwappu.bot) showcase/railway.json showcase/Dockerfile (root)

Other services in the project: suwappu-bridge, suwappu-relayer, Postgres, Redis. app.suwappu.bot (webapp) and terminal.suwappu.bot (terminal) are different apps with different builds — that is expected. Routing lives in cloudflare/suwappu-router.worker.js.

Project: suwappu (id 428680a3-dd24-4f7c-8349-e66d791b5104), workspace "Eric Manganaro's Projects", env production. python-api service id fed701e4-8fd9-47ec-9e1d-56bcceea1d90.

Manual deploy (emergency override / when you can't merge)

Read the full file on GitHub · 90 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. 25d ago Changed · +3 lines · +3 tokens per session 9ff186347178
  2. 1mo ago Changed · +3 lines e6965ff4af42
  3. 1mo ago First seen · 84 lines · 35 tokens per session scan A ee8e2eef2791

Subscribe to this mod's changes

deploy is a command published in the GitHub repository 0xSoftBoi/suwappubot (4 stars, last pushed 4d ago), licensed Apache-2.0. It adds 38 tokens to every session and 1,588 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.