← 返回 Skills 市场
terrycarter1985

research-gif-enricher

作者 terrycarter1985 · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ suspicious
23
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install research-gif-enricher
功能描述
Auto-enrich Bear research notes tagged 「待整理」 with topic-matched GIFs. Reads notes via grizzly, searches GIFs via gifgrep, appends media, and removes the tag....
使用说明 (SKILL.md)

Research Assistant

Batch-process Bear notes tagged 「待整理」: find a relevant GIF for each note, append it, then remove the tag.

Prerequisites

  • Bear running + grizzly installed + token at ~/.config/grizzly/token
  • gifgrep skill available

Workflow

  1. Fetch tagged notes

    grizzly open-tag --name "待整理" --enable-callback --json --token-file ~/.config/grizzly/token
    

    Parse the JSON to get note IDs and titles/summaries.

  2. For each note: a. Read full content

    grizzly open-note --id "$NOTE_ID" --enable-callback --json
    

    b. Derive a GIF search query — extract 2–3 keywords from the note title or key findings. Prefer concrete nouns and verbs over abstract terms. c. Search for a GIF using the gifgrep skill (or web_search + web_fetch as fallback) with the derived query. d. Append the GIF to the note under a ## Supporting Media heading:

    printf '\
    

Supporting Media\


%s
' "$ALT_TEXT" "$GIF_URL"
| grizzly add-text --id "$NOTE_ID" --mode append --token-file ~/.config/grizzly/token e. **Remove the 「待整理」 tag** — replace note content with the tag removed, or use Bear's tag API:bash grizzly create --title "$TITLE" --tag "$OTHER_TAGS" \x3C /dev/null # Then delete the old note if needed, or strip the tag from content ``` Simplest approach: append a line that re-tags the note (Bear removes a tag when it's deleted from the note body). Use sed on the note content to strip #待整理 and re-write via grizzly add-text --mode replace.

  1. Report — list processed notes and any failures.

Script

For batch runs, use scripts/process_tagged.sh:

bash scripts/process_tagged.sh

The script reads all notes tagged 「待整理」, extracts keywords, and calls the gifgrep search endpoint. It appends the top GIF result and strips the tag.

Notes

  • If no GIF matches, skip the note and log it — don't force irrelevant results.
  • Rate-limit Bear API calls (1–2 req/s) to avoid callback timeouts.
  • The script is a convenience wrapper; the agent can also drive the workflow step-by-step for more control.
安全使用建议
Before installing or running, back up Bear notes and review which notes are tagged 「待整理」. Use it only if you are comfortable granting Bear note read/write access and sharing note-derived GIF search terms externally; consider adding a dry run and safer tag-removal logic first.
能力评估
Purpose & Capability
The stated purpose is coherent, but the implementation has high-impact batch write/replace authority over Bear notes, including appending media, removing tags, and replacing note content.
Instruction Scope
The workflow is scoped to notes tagged 「待整理」, but the script processes every matching note and performs write/replace operations without a dry run, backup, or per-note confirmation.
Install Mechanism
The main dependency is installed from an unpinned Go module at @latest, and the workflow relies on external grizzly/gifgrep behavior. This is purpose-aligned, but users should verify dependency provenance.
Credentials
Using a Bear token and GIF search services is proportional to the stated workflow, but it touches private note data and sends derived queries outside Bear.
Persistence & Privilege
No background persistence is shown, but the skill makes persistent changes to Bear notes and removes the processing tag without built-in rollback.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install research-gif-enricher
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /research-gif-enricher 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release: auto-enrich Bear research notes with GIFs
元数据
Slug research-gif-enricher
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

research-gif-enricher 是什么?

Auto-enrich Bear research notes tagged 「待整理」 with topic-matched GIFs. Reads notes via grizzly, searches GIFs via gifgrep, appends media, and removes the tag.... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 23 次。

如何安装 research-gif-enricher?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install research-gif-enricher」即可一键安装,无需额外配置。

research-gif-enricher 是免费的吗?

是的,research-gif-enricher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

research-gif-enricher 支持哪些平台?

research-gif-enricher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 research-gif-enricher?

由 terrycarter1985(@terrycarter1985)开发并维护,当前版本 v0.1.0。

💬 留言讨论