/install cyber-luban-diary
赛博鲁班日记
An AI-powered diary service. Push diary entries, retrieve them by date, get AI-generated analysis (feedback + keywords), and fetch cover images.
Setup
-
Click the link below to authorize with Feishu and get your API token (long-lived, no expiration):
-
After Feishu login, copy the token displayed on the page.
-
Set the token as an environment variable:
export AI_DIARY_TOKEN="your_token_here"
Usage
Push a diary entry
When the user wants to save or push a diary entry for a specific date:
curl -s -X POST "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN" \
-H "Content-Type: application/json" \
-d "{\"date\": \"$DATE\", \"content\": \"$CONTENT\"}" | jq .
datemust be inYYYY-MM-DDformatcontentis the diary text
Get diary by date
When the user asks about a specific date's diary:
curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries?date=$DATE" | jq .
List recent diaries
When the user wants to see recent diary entries:
curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries?limit=$LIMIT&offset=$OFFSET" | jq .
limitdefaults to 20,offsetdefaults to 0
Get a single diary by ID
curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries/$DIARY_ID" | jq .
Analyze a diary (AI feedback + keywords)
When the user wants AI analysis of a diary entry. Returns cached result if analysis already exists:
curl -s -X POST "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries/$DIARY_ID/analyze" \
-H "Content-Type: application/json" | jq .
Response includes feedback (text review) and keywords (3 key terms).
Get diary cover image
curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries/$DIARY_ID/image" | jq .
Returns image field with the image URL, or null if no image exists.
Response Format
All endpoints return JSON with success: true/false. Diary objects contain:
id- Diary IDdiary_date- Date in YYYY-MM-DD formatcontent- Diary text contentfeedback- AI analysis feedback (after analyze)keywords- Array of 3 keywords (after analyze)cover_image- Cover image URL (if generated)hook_content- Content pushed via webhookstatus- Processing status
Important Notes
- The API token is tied to your Feishu account. Keep it secure.
- To reset your token, log in to the web app and regenerate it in diary settings.
- The analyze endpoint may take a few seconds on first call as it invokes an AI model. Subsequent calls return cached results instantly.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cyber-luban-diary - 安装完成后,直接呼叫该 Skill 的名称或使用
/cyber-luban-diary触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
赛博鲁班日记 是什么?
AI diary service - push diary entries, query diaries, get AI analysis and cover images via HTTP API. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 276 次。
如何安装 赛博鲁班日记?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cyber-luban-diary」即可一键安装,无需额外配置。
赛博鲁班日记 是免费的吗?
是的,赛博鲁班日记 完全免费(开源免费),可自由下载、安装和使用。
赛博鲁班日记 支持哪些平台?
赛博鲁班日记 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 赛博鲁班日记?
由 fengye607(@fengye607)开发并维护,当前版本 v1.2.0。