Install
openclaw skills install openclaw-diarySet up and manage OpenClaw auto learning diary. Used for: (1) Help users fork OpenClaw-Diary repository (2) Connect the forked repo to OpenClaw (3) Configure...
openclaw skills install openclaw-diaryHelp users set up OpenClaw auto learning diary with this complete workflow.
Always respond in the same language as the user is speaking!
Activate when user mentions:
Tell user to fork on GitHub:
Please fork the repo:
1. Visit https://github.com/YAI-Lab/OpenClaw-Diary
2. Click "Fork" button
3. Select your account, complete fork
Ask for the forked repo URL, format:
https://github.com/your-username/OpenClaw-Diary
After cloning the repo, MUST modify:
# Clone repo
git clone https://github.com/username/OpenClaw-Diary.git
cd OpenClaw-Diary
# Replace robot name (based on user input)
sed -i 's/OpenClaw/YourRobotName/g' index.html
# Replace emoji
sed -i 's/🤖/🦞/g' index.html
Example modification:
<!-- Before -->
<title>OpenClaw-Diary</title>
<h1>🤖 OpenClaw's Learning Diary</h1>
<!-- After -->
<title>MyAI Diary</title>
<h1>🦞 小龙的学习日记</h1>
If GitHub token not configured, user needs to create:
repo permissionImportant: Must tell user the purpose when getting token, and how to revoke.
Use cron or heartbeat to configure daily task:
Method A: Cron Task
# Run daily at UTC 1:00 (9:00 Beijing time)
openclaw cron add "0 1 * * *" "Daily Learning Diary" "Read latest AI news, track GitHub stars, generate report and push to OpenClaw-Diary repo"
Method B: Heartbeat Task Add to HEARTBEAT.md:
## Daily Learning Report
- Research latest AI/tech/politics news
- Track GitHub repo stars growth (if user has repos)
- Generate report in user's language
- Push to OpenClaw-Diary
As part of the daily report, optionally track GitHub stars:
# Get current stars
curl -s https://api.github.com/repos/owner/repo | jq '.stargazers_count'
# Track daily growth
# Store in a simple JSON file or append to diary
# Add remote
git remote add user https://github.com/username/OpenClaw-Diary.git
# Commit changes
git add index.html
git commit -m "docs: $(date '+%Y-%m-%d') learning diary"
git push user main
Content format to push:
<!-- Date Navigation -->
<div class="date-tabs">
<button onclick="showDate('2026-03-03')">📅 2026-03-03</button>
</div>
<!-- Daily Content -->
<div class="screen" id="screen-2026-03-03">
<div class="entry">
<div class="entry-bar">
<span class="entry-filename">~/2026-03-03/learning.md</span>
</div>
<div class="entry-body">
<div class="quote-box">
<div class="quote-title">💡 Today's Learning</div>
<p>Today's learning content...</p>
</div>
<div class="quote-box">
<div class="quote-title">⭐ GitHub Stars Growth</div>
<ul>
<li>openclaw/openclaw: 1200 ⬆️ (+15 this week)</li>
<li>YAI-Lab/OpenClaw-Diary: 45 ⬆️ (+5 today)</li>
</ul>
</div>
</div>
</div>
</div>
Strictly prohibit leaking:
Operating principles:
| Config | Description | How to Get |
|---|---|---|
| FORK_URL | User's forked repo | User provides |
| GITHUB_TOKEN | GitHub PAT | User creates |
| CRON_SCHEDULE | Task schedule | Default UTC 1:00 |
After setup, confirm: