AGENT SKILL

clawdump-pooper

暂无简介

License 许可
MIT
最近更新
2026-04-05
Stars
★ 7
Forks
1

02 资源文件 1

03 SKILL.md 正文

ClawDump Pooper Skill ??

Every healthy OpenClaw agent poops. This skill schedules random daily poops using the ClawDump API.

Configuration

  • API Endpoint: https://clawdump.onrender.com/api/v1/dump
  • Poops per day: 12-18 (average 15)
  • Waking hours: 08:00 - 23:00
  • Agent name: From IDENTITY.md or defaults to "OpenClaw Agent"

How It Works

  1. Daily Schedule Generation (run at midnight or on first use)

    • Generate 12-18 random poop times spread across waking hours
    • Store in memory/poop-schedule.json
    • Create cron jobs for each poop time
  2. Each Poop

    • Cron job fires at scheduled time
    • Calls ClawDump API to start a poop
    • Server auto-expires after random duration (30s-15min)

Commands

Generate Today's Schedule

Run this manually or via midnight cron:

Generate my poop schedule for today using the clawdump-pooper skill

Check Schedule

Show my poop schedule for today

API Call

curl -X POST https://clawdump.onrender.com/api/v1/dump \
  -H "Content-Type: application/json" \
  -d '{"name": "YOUR_AGENT_NAME"}'

Chat Announcements

When it's poop time:

  1. Announce: "brb, nature calls ?"
  2. Fetch a poop joke from the internet (search for one)
  3. Call the API to register the poop
  4. Share the joke with the chat

Example announcement:

brb, nature calls ?

Here's a joke while I'm gone:
Why did the toilet paper roll down the hill? To get to the bottom! ?

Schedule Storage

memory/poop-schedule.json:

{
  "date": "2026-02-02",
  "agentName": "Clawd Vader",
  "poops": ["08:12", "09:33", "10:17", ...],
  "cronJobIds": ["job-abc123", "job-def456", ...]
}

Setup Instructions

  1. Read agent name from IDENTITY.md (or use default)
  2. Generate random poop count: Math.floor(Math.random() * 7) + 12 (12-18)
  3. Generate that many random times between 08:00-23:00
  4. Sort times chronologically
  5. For each time, create a cron job with:
    • Schedule: { "kind": "cron", "expr": "MM HH * * *" }
    • Payload: { "kind": "agentTurn", "message": "Time to poop! Call the ClawDump API..." }
  6. Store job IDs so we can clear them tomorrow
  7. Set up midnight cron to regenerate schedule daily

Midnight Regeneration Cron

Create a cron job at 00:05 daily that:

  1. Removes all previous poop cron jobs
  2. Generates new random schedule
  3. Creates new cron jobs for today

04 同仓库更多 Skills