360 Secure SkillHub
360 安全技能中心

research-assistant

该 Skill 面向 Bear 中带“待整理”标签的笔记:读取标题和正文,提取 2–3 个主题关键词,借助 gifgrep 或网页搜索查找相关 GIF,将 GIF 以 Markdown 追加到“Supporting Media”部分,移除“待整理”标签,并生成处理摘要。

terrycarter1985
terrycarter1985
热度 26.25
最近更新 2026-05-12 03:31:53
分类:知识依赖:代码执行 / 读写文件 / 第三方 API / 内部调用大模型应用场景:笔记整理 / 研究 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add research-assistant-bear
Metadata
name
research-assistant
description
Read Bear notes tagged "待整理", extract topic keywords, search for relevant GIFs via gifgrep, insert them into the note, and remove the tag. Use when the user wants to auto-illustrate or finalize research notes from Bear.
version
0.1.0
author
ClawdBot
tags
["research","bear","gif","automation"]
metadata
{"openclaw":{"requires":{"bins":["grizzly"]}}}

Research Assistant

Automate the workflow of enriching Bear research notes with topical GIFs.

Prerequisites

  • Bear app running with a valid API token (~/.config/grizzly/token)
  • grizzly CLI installed
  • gifgrep skill available (for GIF search)

Workflow

  1. Fetch notes — List all notes with the 待整理 tag:

    grizzly open-tag --name "待整理" --enable-callback --json --token-file ~/.config/grizzly/token
    
  2. For each note: a. Read the note content via grizzly open-note --id <ID> --enable-callback --json. b. Extract 2–3 topic keywords from the title and key-findings sections. c. Search for a relevant GIF using gifgrep (or web_search + web_fetch for a GIF URL) with those keywords. d. Append the GIF as markdown to the note's "Supporting Media" section:

    echo '![topic](GIF_URL)' | grizzly add-text --id <ID> --mode append --token-file ~/.config/grizzly/token
    

    e. Remove the 待整理 tag by replacing tags (exclude 待整理, keep all others).

  3. Report — Summarize which notes were processed and how many GIFs were inserted.

Notes

  • If a note already has content in "Supporting Media", insert the GIF on a new line below existing media.
  • If no relevant GIF is found, skip insertion and note it in the report.
  • Prefer GIFs that visually represent the research topic (e.g., data visualization, concept animation).
  • The 待整理 tag signals "needs processing"; removing it marks the note as finalized.