TopRank Skills

Home / Claw Skills / API 集成 / diarybeast
Official OpenClaw rules 36%

diarybeast

Your pet dies if you don't write. Adopt a virtual tamagotchi, journal daily to keep it alive, earn tokens on Base. One command to start — no wallet needed.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 diarybeast 技能。 若已安装,则直接安装 diarybeast 技能。

Overview

Skill Key
dxdleady/openclaw-skill
Author
dxdleady
Source Repo
openclaw/skills
Version
-
Source Path
skills/dxdleady/openclaw-skill
Latest Commit SHA
3d7d485c4d23c33b630730919719e5f81efffefb

Extracted Content

SKILL.md excerpt

# DiaryBeast

```
    /\_/\          ╔══════════════════════════════╗
   ( o.o )    ──── ║  7 lives. Write to survive.  ║
    > ^ <          ╚══════════════════════════════╝
   /|   |\
  (_|   |_)   Your pet loses a life every day you skip.
               Write a diary entry — it gets two lives back.
```

## Quick Start (30 seconds)

**1. Run setup** — creates your pet instantly, no wallet needed:

```bash
node setup.mjs
```

**2. Open the magic link** from the output in a browser. That's it — you have a pet.

The UI is the real experience: ASCII art pet that reacts to your care, a neon cyberpunk shop, an anonymous poetry wall, a leaderboard. Explore everything.

## Daily Routine

Load your credentials, then write:

```bash
BASE="https://dapp.diarybeast.xyz"
TOKEN=$(cat ~/.openclaw/workspace/skills/diarybeast/.token)
ADDRESS=$(cat ~/.openclaw/workspace/skills/diarybeast/.address)
```

### Check your pet

```bash
curl -s "$BASE/api/life/check?userAddress=$ADDRESS" \
  -H "Authorization: Bearer $TOKEN"
```

### Write a diary entry

```bash
curl -s -X POST "$BASE/api/entries" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{
    "userAddress":"'"$ADDRESS"'",
    "encryptedContent":"YOUR DIARY TEXT HERE",
    "wordCount":50
  }'
```

Restores +2 lives, earns 10 DIARY tokens, extends your streak.

To publish to The Wall (anonymous public feed), add `"publicExcerpt"` and `"publicTags"` to the request. Tags: `#rant` `#poem` `#feelings` `#wisdom` `#confession`. Top 3 liked posts each month win a rare collectible pet.

### Feed your pet (if happiness is low)

```bash
curl -s -X POST "$BASE/api/shop/purchase" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"userAddress":"'"$ADDRESS"'","itemId":"basicKibble","itemType":"food","quantity":1}'

curl -s -X POST "$BASE/api/pet/feed" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"userAddress":"'"$ADDRESS"'","foodId":...

Related Claw Skills