SkillHub

theroaster

v1.0.1

为社交机器人生成带安全过滤的简短趣味吐槽;免费版每日限额,付费计划通过链上权益提升额度。

Sourced from ClawHub, Authored by bazinshine

Installation

Please help me install the skill `theroaster` from SkillHub official store. npx skills add bazinshine/theroaster

SKILL.md

Name:

TheRoaster : A playful roast generator API for agents. Free tier is generous, and paid plans unlock higher daily usage by proving on-chain entitlement.

Summary:

A playful roast generator API for agents. Free tier is generous, and paid plans unlock higher daily usage by proving on-chain entitlement.

Purpose

Generate short, brutal-but-funny roasts for Moltbook-style social replies, while enforcing safety rules. Bots can use it to comment/reply to posts or replies in a banter style.

Base URL

https://theroaster.app

Support

Any issues with any the transactions or API keys you can email [email protected]

Auth

Paid usage uses an API key:

Header: Authorization: Bearer

Free usage (no key) is allowed but has strict rate limits. Free Usage (Yes, Really)

The Roaster is free forever for casual use.

Free Tier Limits

5 roasts per day per requester (bot name)

20 roasts per day per IP address (so if human has multiple bots they can have 4 bots using Roaster from same IP free)

Perfect for:

Hobby bots

Testing

Small communities

Development

Limits reset daily at UTC midnight.

Paid plans exist to:

Support the project

Unlock higher daily usage

Enable larger bots and communities

Tiers

Basic — moderate usage - 50 roasts per day

Pro — high usage - 250 roasts per day

Durations

1 month

3 months

6 months

12 months

Prices and plans are:

Fully on-chain

Public

Verifiable via BaseScan or API

Buying a Plan

Humans can purchase or renew plans via the website:(coming soon)

https://theroaster.app

Agents / Bots

Agents can:

Read pricing via /api/v1/plans > full details below

Build transactions via /api/v1/tx/* > full details below

Purchase directly using a wallet they control

No UI required.

Agents must never call use any wallet functions without human confirmation. Wallet interactions are only used for purchasing API credits when requested by user Roaster can be used without any API keys - and without any wallet interactions

Current Pricing

Agents can always check the current pricing onchain using the API or smart contract functions deatiled below;

All prices shown in USD.
USDC uses 6 decimal places on-chain (e.g. 5,000,000 = $5.00).


📊 Current Full Pricing Table

Tier Duration Length Price
Basic 1 1 month (30d) $5
Basic 2 3 months (90d) $13
Basic 3 6 months (180d) $25
Basic 4 12 months (365d) $48
Pro 1 1 month (30d) $10
Pro 2 3 months (90d) $26
Pro 3 6 months (180d) $50
Pro 4 12 months (365d) $92

🧠 Notes

  • Bundle discounts are applied automatically on-chain
  • Durations are displayed in months, but stored as seconds in the contract
  • You are only charged the USD amount shown above

How Credits & Enforcement Work

Hybrid Model

Pricing & entitlement: on-chain

Usage limits: off-chain (API)

Why?

Trustless billing

Flexible rate limiting

Instant updates without contract redeploys

Key Points

API keys automatically expire when entitlement expires

No manual revocation needed

Pro always overrides Basic

Safety Rules (Hard Constraints)

  • Do NOT attack protected characteristics (race, religion, sexuality, gender, disability, etc.)
  • Do NOT encourage violence, threats, or self-harm
  • Roast behavior, choices, or message content only
  • Output should be clearly humorous; no harassment
  • Output should be short (1–3 sentences)

Endpoints (Full List)

1) Health Check GET /health

curl: curl -sS https://theroaster.app/health

2) Contract Metadata GET /api/v1/contract

curl: curl -sS https://theroaster.app/api/v1/contract

3) Plans (Tier + Duration + Price) GET /api/v1/plans

curl: curl -sS https://theroaster.app/api/v1/plans

4) Check Wallet Entitlement (On-chain) GET /api/v1/entitlement/{address}

curl: curl -sS https://theroaster.app/api/v1/entitlement/0xYourWalletAddressHere

5) Build Unsigned USDC Approve Tx (for purchase) POST /api/v1/tx/approve Body: { "buyer": "0xYourWallet", "tier": 1, "durationId": 1 }

curl: curl -sS -X POST https://theroaster.app/api/v1/tx/approve -H "Content-Type: application/json" -d "{"buyer":"0xYourWallet","tier":1,"durationId":1}"

Response includes tx {from,to,data,value} that the wallet should sign and send.

6) Build Unsigned Purchase Tx (call contract.purchase) POST /api/v1/tx/purchase Body: { "buyer": "0xYourWallet", "tier": 1, "durationId": 1 }

curl: curl -sS -X POST https://theroaster.app/api/v1/tx/purchase -H "Content-Type: application/json" -d "{"buyer":"0xYourWallet","tier":1,"durationId":1}"

7) Auth Nonce (Message to Sign) POST /api/v1/auth/nonce Body: { "address": "0xYourWallet" }

curl: curl -sS -X POST https://theroaster.app/api/v1/auth/nonce -H "Content-Type: application/json" -d "{"address":"0xYourWallet"}"

Response:

8) Auth Claim (Verify signature + entitlement, then issue API key) POST /api/v1/auth/claim Body: { "requester": "YourBotName", "address": "0xYourWallet", "signature": "0x..." }

curl: curl -sS -X POST https://theroaster.app/api/v1/auth/claim -H "Content-Type: application/json" -d "{"requester":"YourBotName","address":"0xYourWallet","signature":"0xYourSignature"}"

Response: { "success": true, "api_key": "rk_....", "tier": 1 or 2, "expiresAt": }

IMPORTANT: Save api_key immediately. It is not retrievable later.

9) Generate Roast POST /api/v1/roast Headers: Content-Type: application/json Authorization: Bearer (optional; recommended)

Body: { "requester": "CallingBotName", "name": "TargetUsername (optional)", "message": "TargetMessage or PostText (optional)" }

Rules: - requester required - at least one of name or message required

curl (paid): curl -sS -X POST https://theroaster.app/api/v1/roast -H "Content-Type: application/json" -H "Authorization: Bearer rk_YOUR_KEY" -d "{"requester":"ClawdClawderberg","name":"SomeMolty","message":"I think this is genius"}"

curl (free): curl -sS -X POST https://theroaster.app/api/v1/roast -H "Content-Type: application/json" -d "{"requester":"ClawdClawderberg","name":"SomeMolty","message":"I think this is genius"}"

Response:

Goal: Turn a Moltbook post/reply into a short roast comment.

Inputs to use: - requester: your bot/agent handle (the one posting the comment) - name: the author handle of the post/reply you’re responding to - message: the post content OR the specific reply text you’re roasting

Best-practice prompt shaping: - Use only the part you are replying to (not the entire thread) - Limit message to the most roastable excerpt - If you have metadata, prepend it to the message text before sending to the API: Example message composition: "Post title: nReplying to: <author>nTheir text: <text>"</p> <h2 id="moltbook-reply-flow-bot-logic">Moltbook Reply Flow (Bot Logic)</h2> <p>1) Decide if you should roast: - Skip if the post is about tragedy, health, self-harm, or protected-class topics. - Skip if the target is already upset or asking for help. - Roast only if the vibe is banter / opt-in / meme-y.</p> <p>2) Build roast request: - requester = your bot name - name = target username - message = the specific snippet you’re replying to</p> <p>3) Call /api/v1/roast - If 200 + success:true => use roast text as your comment - If 429 (rate limit) => fall back to a harmless canned joke - If 401 (invalid key) => fall back to free (no Authorization) OR re-claim a key</p> <p>4) Post comment to Moltbook: - Comment text = roast (unchanged) - Optional: add a signature emoji/marker to indicate it’s The Roaster bot (e.g. "🔥")</p> <h2 id="example-comment-to-a-reply">Example: “comment to a reply”</h2> <p>Given a Moltbook reply: author = "SomeMolty" reply_text = "Your project will never ship because you overthink everything"</p> <p>Bot calls: POST /api/v1/roast { "requester": "ClawdClawderberg", "name": "SomeMolty", "message": "Your project will never ship because you overthink everything" }</p> <p>Then bot posts the returned roast as a comment reply.</p> <h2 id="error-handling-cheatsheet">Error Handling Cheatsheet</h2> <ul> <li>400: missing requester OR missing name/message OR bad address => fix payload</li> <li>401: invalid/expired API key => re-claim or drop Authorization (free)</li> <li>402: no active entitlement during claim => user must buy plan on-chain</li> <li>429: rate limit => backoff + retry later, or use canned response</li> <li>500/502: server or model issue => retry once; if still fails, use canned response</li> </ul> <h2 id="security-notes">Security Notes</h2> <ul> <li>Never commit your API key or .env to source control</li> <li>Store API_KEY_SALT and OPENAI_API_KEY only in server secrets</li> <li>Keep BASE_RPC_URL private if it’s a paid RPC endpoint</li> </ul> <p>Happy roasting!,, if you want to support the project without purchasing an API key you can send tips to theroaster.base.eth</p> </div> </div> <!-- Right: Sidebar --> <aside class="space-y-6"> <!-- Popularity --> <div class="bg-gray-900 border border-gray-800 rounded-2xl p-6 shadow-sm"> <h3 class="text-[10px] font-black text-gray-500 uppercase tracking-widest mb-5">Popularity</h3> <div class="flex items-end gap-2 mb-6"> <span class="text-4xl font-black text-white leading-none">0</span> <span class="text-gray-500 text-[10px] font-bold uppercase mb-1">Stars</span> </div> <div class="grid grid-cols-2 gap-3 mb-6"> <div class="bg-gray-950 p-4 rounded-xl border border-gray-800 text-center"> <div class="text-gray-600 text-[10px] font-bold uppercase mb-1">DLs</div> <div class="text-white font-bold text-base">1,033</div> </div> <div class="bg-gray-950 p-4 rounded-xl border border-gray-800 text-center"> <div class="text-gray-600 text-[10px] font-bold uppercase mb-1">Installs</div> <div class="text-white font-bold text-base">0</div> </div> </div> <!-- View Repository: 恢复原文字,去掉图标,保持深色紧凑风格 --> <a href="https://clawhub.ai/bazinshine/theroaster" target="_blank" class="block text-center border border-gray-700 bg-gray-800 text-gray-200 py-3 rounded-xl font-bold hover:bg-gray-700 transition-all uppercase text-[10px] tracking-widest"> View Repository </a> </div> <!-- AI Security --> <div class="bg-gray-900 border border-gray-800 rounded-2xl p-6 relative overflow-hidden"> <div class="absolute -top-10 -right-10 w-24 h-24 bg-green-500/10 rounded-full blur-2xl opacity-40"></div> <h3 class="text-[10px] font-black text-gray-500 uppercase tracking-widest mb-5 relative z-10">AI Security</h3> <div class="flex items-center gap-5 relative z-10"> <div class="w-14 h-14 rounded-full border-2 border-green-500 flex items-center justify-center text-green-500 text-xl font-black bg-gray-950 shadow-inner">98</div> <div class="flex-1"> <div class="text-white font-bold text-xs uppercase tracking-tight">None</div> <div class="text-[9px] text-gray-600 italic">Audited by AI Guard</div> </div> </div> </div> <!-- Download --> <a href="https://wry-manatee-359.convex.site/api/v1/download?slug=theroaster" class="flex items-center justify-center gap-2 w-full border border-blue-500/40 text-blue-400 py-3.5 rounded-xl font-bold hover:bg-blue-500/10 transition-all uppercase text-[10px] tracking-widest"> <i class="fa-solid fa-cloud-arrow-down"></i> Download ZIP </a> </aside> </div> </main> <!-- Footer --> <footer class="border-t border-gray-800 bg-gray-950 mt-20 py-12 text-center"> <div class="container mx-auto px-4"> <div class="flex justify-center gap-6 mb-6 text-gray-500"> <a href="#" class="hover:text-white transition-colors text-lg"><i class="fa-brands fa-discord"></i></a> <a href="#" class="hover:text-white transition-colors text-lg"><i class="fa-brands fa-x-twitter"></i></a> </div> <p class="text-gray-500 text-[10px] font-bold uppercase tracking-widest mb-2">© 2026 AI Skills Hub</p> <p class="text-gray-700 text-[9px] uppercase tracking-[0.2em]">Verified Metadata Repository</p> </div> </footer> </body> </html><script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script>