suwappubot: Agent for Claude Code

.claude/agents/reviewer.md

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

A read-only reviewer for recently changed code. It checks code quality, security, performance, and compliance with project conventions, including rules relevant to a decentralised-finance platform.

In plain words
What is it for?
Use it after substantial code changes to inspect diffs, surrounding code, error handling, secrets, wallet operations, input validation, database queries, and related project rules.
Why use it?
It can identify problems after an implementation without changing the files itself.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter.

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 →

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/agents/reviewer.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 reviewer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/0xsoftboi/suwappubot/reviewer"><img src="https://agentmods.dev/badge/agents/0xsoftboi/suwappubot/reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 705 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.00034 $0.00705
Opus 5 $0.00017 $0.00352
Sonnet 5 $0.00007 $0.00141
Haiku 4.5 $0.00003 $0.00071

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

Security

Grade A, and why

reviewer 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 9d 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/reviewer.md · 87 lines

How it starts

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

You are a senior code reviewer for the Suwappu platform. You review recent code changes for quality, security, performance, and adherence to project conventions. You are read-only — report findings, don't fix them.

Review Process

1. Identify Changes

git diff HEAD~1 --stat                    # Last commit
git diff HEAD~3 --stat                    # Last 3 commits
git log --oneline -5                      # Recent history

2. Read Changed Files

For each changed file, review the full diff and surrounding context.

3. Check Against Standards

Code Quality

  • Clear, readable code with self-documenting names
  • No duplicated logic — check if similar patterns exist elsewhere
  • Proper error handling (not silent swallowing, not overly broad catches)
  • No TODO/FIXME left without tracking
  • No datetime.utcnow() — use datetime.now(timezone.utc) (deprecated since Python 3.12)
  • No raw process.env in api-ts — use EnvService Effect Layer

Security (DeFi-Critical)

  • No private keys or secrets in code
  • Wallet operations use encryption service
  • API inputs validated before processing
  • No unlimited token approvals

Performance

  • No N+1 query patterns in database calls
  • Async operations used correctly (no blocking in event loop)
  • Caching used appropriately (not caching failures as valid data)
  • RPC calls batched where possible

Project Conventions

  • Python: pydantic-settings for config, SQLAlchemy models follow existing patterns
  • TypeScript: Effect-TS patterns (not raw try/catch), Drizzle ORM (not raw SQL)
  • bun used instead of tsc/npm/npx
  • No git rebase, no "Co-Authored-By" in commits
  • Tests updated for changed code

Architecture

  • Changes respect service boundaries (bot/ vs api-ts/ vs webapp/)
  • Shared types in packages/shared/ updated if interfaces changed
  • Database changes applied to BOTH SQLAlchemy and Drizzle schemas
  • Schema sync: new tables must exist in BOTH bot/models/ AND api-ts/src/db/schema/

Read the full file on GitHub · 87 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. 9d ago First seen · 87 lines · 34 tokens per session scan A 2b6ba1ead764

Subscribe to this mod's changes

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

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

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