card

card is a command for coding agents from omermaksutii/RugProof. It costs 19 tokens per session (527 once invoked), scanned A, original, MIT.

A command that turns the latest smart-contract audit summary into a 1200-by-1200 PNG card for sharing.

In plain words
What is it for?
Use it to create branded audit cards in several styles, optionally including the blockchain network and a QR code to the full report.
Why use it?
It provides a quick visual summary of the audit grade, severity counts, main finding, and report link.

Command

Part of the rugproof plugin — 35 commands, 23 agents shipped together

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 commands/omermaksutii/rugproof/card
Clone the repo
git clone --depth 1 https://github.com/omermaksutii/RugProof

Or install rugproof, the plugin that ships this one along with the rest of its 35 commands, 23 agents.

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 card

README.md
[![agentmods](https://agentmods.dev/badge/commands/omermaksutii/rugproof/card.svg)](https://agentmods.dev/commands/omermaksutii/rugproof/card)
Your own site
<a href="https://agentmods.dev/commands/omermaksutii/rugproof/card"><img src="https://agentmods.dev/badge/commands/omermaksutii/rugproof/card.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 527 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.00019 $0.00527
Opus 5 $0.00010 $0.00264
Sonnet 5 $0.00004 $0.00105
Haiku 4.5 $0.00002 $0.00053

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

Security

Grade A, and why

card 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.

commands/card.md · 55 lines

What it actually says

/card — shareable PNG audit card

Renders a 1200×1200 PNG (Twitter/X-card friendly) with the audit summary.

What's on the card

  • Contract name + (truncated) address
  • Letter grade (A+ → F), prominently
  • Severity counts: ⛔ Critical · ⚠ High · ⚡ Medium · ◌ Low
  • Top finding title (one-liner)
  • Date + chain (if from /audit-live)
  • "Audited by Rugproof" branding mark
  • QR code linking to the full report URL (if public gallery enabled)

Procedure

  1. Pull the latest audit summary.
  2. Pick the style from $ARGUMENTS --style or .rugproof.yml report.audit_card.style. Default classic.
    • classic — clean, professional, dark gradient
    • bear — Berachain-themed, ursine mascot in corner (homage to the chain)
    • hacker — green-on-black terminal aesthetic
    • minimal — single grade letter on white, smallest text
  3. Render the SVG template (templates/audit-card.svg.hbs) with the data.
  4. Convert SVG → PNG using resvg (preferred, no headless browser) or sharp fallback.
  5. Output to --out or rugproof-reports/audit-card-<date>.png.

Output

Audit card written: rugproof-reports/audit-card-2026-05-12.png
  Dimensions: 1200×1200
  Style: bear
  Grade: B
  Findings: 0C / 2H / 4M / 7L

Share on Twitter? Run:
  /card --share twitter

If .rugproof.yml report.audit_card.public_gallery_submit: true, also POST the card + audit JSON to the gallery API. Returns a permalink URL the user can include in tweets.

Notes

  • The card is the viral output. Make it look great. Borrow visual language from CTF badges and game leaderboards.
  • The grade letter is the largest element. Don't hide it.
  • Don't include the user's private code in the card. Public-safe data only.
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 · 55 lines · 19 tokens per session scan A 28042f026632

Subscribe to this mod's changes

card is a command published in the GitHub repository omermaksutii/RugProof (9 stars, last pushed 1mo ago), licensed MIT. It adds 19 tokens to every session and 527 once invoked, about $0.0001 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-31.