WAIaaS CLAUDE.md

Repository instructions for WAIaaS, a software service involving blockchain transactions and a database. They define language rules, communication expectations, data-schema ownership, supported transaction types, and gas-safety arithmetic.

In plain words
What is it for?
Use them when planning or implementing WAIaaS features, changing schemas or APIs, handling transaction errors, or calculating gas limits.
Why use it?
They establish conventions for planning, API and database changes, transaction errors, and blockchain gas estimates, reducing inconsistencies across the system.

Instructions file

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 instructions/waiaas/waiaas/claude-md
Clone the repo
git clone --depth 1 https://github.com/waiaas/WAIaaS
Per session 1,754 This file is loaded in full into every session.
When invoked 1,754 The same file — it is already loaded in full.
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.01754 $0.01754
Opus 5 $0.00877 $0.00877
Sonnet 5 $0.00351 $0.00351
Haiku 4.5 $0.00175 $0.00175

Measured yesterday against content hash f3d89d2b7be9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

WAIaaS CLAUDE.md 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 yesterday.

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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

CLAUDE.md · 88 lines

How it starts

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

WAIaaS Project Rules

Language

  • All planning/design documents and issue reports are written in Korean.
  • ⚠️ CRITICAL: Commit messages, PR titles/bodies, Git tag messages, and GitHub Release titles/bodies MUST be written in English. NO EXCEPTIONS. Do not use Korean in any git-facing or GitHub-facing output. This applies to git commit -m, gh pr create --title/--body, git tag -m, and gh release create --title/--notes.
  • Code comments, variable names, and API responses use English.

Communication

  • Minimize questions; make your best judgment and propose the optimal approach.
  • Only ask questions when choices are needed.

Schema & Type System

  • Zod SSoT: Zod schemas are the single source of truth. Derivation order: Zod → TypeScript types → OpenAPI → Drizzle schema → DB CHECK constraints.
  • discriminatedUnion 9-type: Discriminate on the type field: TRANSFER / TOKEN_TRANSFER / CONTRACT_CALL / APPROVE / BATCH / SIGN / X402_PAYMENT / NFT_TRANSFER / CONTRACT_DEPLOY.
  • ChainError extends Error (not WAIaaSError). Convert to WAIaaSError in Stage 5.
  • Gas safety margin: (estimatedGas * 120n) / 100n bigint arithmetic.

Database

  • DB migrations required since v1.4: Provide incremental ALTER TABLE migrations for schema changes. Never drop and recreate the DB. Version management via the schema_version table. Strategy defined in design doc 65 (MIG-01~06).
  • Tests required for new migrations: (1) Update schema snapshot fixtures (2) Write data transformation tests. Chain tests automatically verify the full path from past versions to the latest.
  • SQLite timestamps are in seconds; UUID v7 uses ms for ordering.

Configuration

  • No nesting in config.toml (daemon). Push Relay (packages/push-relay) config.toml allows nesting. Environment variables follow the WAIAAS_{SECTION}_{KEY} pattern.
  • Expose runtime-adjustable settings in Admin Settings. config.toml provides initial defaults; Admin Settings provides runtime overrides (hot-reload). Settings that should be changeable without daemon restart are made adjustable via SettingsService in the Admin UI. Security credentials (master_password_hash) and infrastructure settings (port, host, rpc_url) that require restart remain config.toml-only.
  • Prefer Admin Settings over config.toml. For runtime configuration, use Admin UI, CLI commands (waiaas notification setup, etc.), or the Admin Settings API (PUT /v1/admin/settings). Direct config.toml editing should only be used for initial bootstrap and infrastructure settings (port, hostname, database path). When writing documentation and guides, present Admin Settings methods first.

Read the full file on GitHub · 88 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. yesterday First seen · 88 lines · 1,754 tokens per session scan A f3d89d2b7be9

Subscribe to this mod's changes

WAIaaS CLAUDE.md is an instructions file published in the GitHub repository waiaas/WAIaaS (29 stars, last pushed 12d ago), licensed MIT. It adds 1,754 tokens to every session, about $0.0088 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.