← 返回
AI智能 Key 中文

Nano Diary Hook

Post diary entries to a Nano diary platform via webhook. Supports creating new entries and AI-powered merging with existing handwritten diaries.
通过webhook向Nano日记平台发布日记条目,支持创建新条目和AI驱动的与现有手写日记合并。
fengye607
AI智能 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 652
下载
💾 10
安装
1
版本
#latest

概述

Nano Diary Hook

Post diary content to a user's Nano diary platform via webhook token.

When to use

Use this skill when the user wants to:

  • Write or submit a diary entry for a specific date
  • Log daily thoughts, activities, or reflections to their diary
  • Send AI-generated diary content to their Nano account

Environment

  • NANO_DIARY_HOOK_TOKEN (required): The user's personal webhook token, generated from Nano diary settings page.

API

Endpoint:

POST https://image.yezishop.vip/api/diary-hook/${NANO_DIARY_HOOK_TOKEN}

Headers:

Content-Type: application/json

Request body:

{
  "date": "YYYY-MM-DD",
  "content": "Diary content text"
}
  • date (required): Date in YYYY-MM-DD format, e.g. 2026-03-06
  • content (required): The diary content as plain text

Example:

curl -X POST "https://image.yezishop.vip/api/diary-hook/${NANO_DIARY_HOOK_TOKEN}" \
  -H "Content-Type: application/json" \
  -d '{"date": "2026-03-06", "content": "Today I learned how to publish OpenClaw skills to ClawHub."}'

Response

Success (new diary created):

{ "success": true, "merged": false, "diary_id": 123 }

Success (merged with existing handwritten diary via AI):

{ "success": true, "merged": true, "diary_id": 123 }

Error responses:

{ "success": false, "error": "date and content are required" }
{ "success": false, "error": "date must be in YYYY-MM-DD format" }
{ "success": false, "error": "Invalid token" }

Behavior

  • If no diary exists for the given date, a new entry is created.
  • If a diary already exists with handwritten content, the submitted content is automatically merged with it using AI to produce a coherent combined entry.
  • If a diary exists but has no handwritten content, the submitted content is saved directly.

Notes

  • Content should be plain text (not Markdown or HTML).
  • One diary entry per date. Submitting again for the same date will update the existing entry.
  • The merge process is asynchronous; the API responds immediately while AI merging happens in the background.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 14:57 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,525
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,694
data-analysis

赛博鲁班日记

fengye607
AI日记服务 - 通过HTTP API推送日记条目、查询日记、获取AI分析和封面图片。
★ 1 📥 569