Rechercher

PythonReactSEOPDF
OpenClaw

赛博鲁班日记

AI diary service - push diary entries, query diaries, get AI analysis and cover images via HTTP API.

fengye6070 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install fengye607/cyber-luban-diary

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

赛博鲁班日记

An AI-powered diary service. Push diary entries, retrieve them by date, get AI-generated analysis (feedback + keywords), and fetch cover images.

Setup

  1. Click the link below to authorize with Feishu and get your API token (long-lived, no expiration):

    https://image.yezishop.vip/api/openclaw/auth-redirect

  2. After Feishu login, copy the token displayed on the page.

  3. 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 .
  • date must be in YYYY-MM-DD format
  • content is 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 .
  • limit defaults to 20, offset defaults 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 `nu...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/fengye607/cyber-luban-diary
Version
—
Commit
8327ef750d25d6c92421a825229f460e94f4161e
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

Contenu extrait

SKILL.md
# 赛博鲁班日记

An AI-powered diary service. Push diary entries, retrieve them by date, get AI-generated analysis (feedback + keywords), and fetch cover images.

## Setup

1. Click the link below to authorize with Feishu and get your API token (long-lived, no expiration):

   https://image.yezishop.vip/api/openclaw/auth-redirect

2. After Feishu login, copy the token displayed on the page.

3. Set the token as an environment variable:

```bash
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:

```bash
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 .
```

- `date` must be in `YYYY-MM-DD` format
- `content` is the diary text

### Get diary by date

When the user asks about a specific date's diary:

```bash
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:

```bash
curl -s "https://image.yezishop.vip/api/diary-hook/$AI_DIARY_TOKEN/diaries?limit=$LIMIT&offset=$OFFSET" | jq .
```

- `limit` defaults to 20, `offset` defaults to 0

### Get a single diary by ID

```bash
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:

```bash
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

```bash
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 `nu...

Skills associés

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.