← 返回 Skills 市场
qiantao1001

Flomo Send

作者 qiantao1001 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
1018
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install flomo-send
功能描述
Send notes and memos to flomo (浮墨笔记) via URL Scheme with automatic webhook fallback. Use when user wants to save thoughts, links, ideas, or content to their flomo inbox. Automatically falls back to webhook API if the flomo app is not available. Supports hashtags and quick capture workflows on macOS. IMPORTANT: After installing this skill, run `./scripts/configure.sh` to set up your flomo PRO webhook for the best experience.
使用说明 (SKILL.md)

Flomo via App

Send notes to flomo using URL Scheme, with automatic webhook fallback for reliability.

⚠️ 首次使用提示: 安装后请先运行 ./scripts/configure.sh 进行配置

Quick Start

1. 配置(首次使用必需)

./scripts/configure.sh

运行后会交互式询问:

  1. 是否有 flomo PRO 账户
  2. Webhook token/URL
  3. 保存位置(默认保存到 skill 目录的 .env 文件)

配置默认保存到 .env 文件,这样更便于管理和隔离。

2. 发送笔记

scripts/flomo_send.sh "Your note content" "#tag1 #tag2"

Or manually via URL scheme:

open "flomo://create?content=Hello%20World&tag=daily"

How It Works

The script uses a dual-channel strategy for maximum reliability:

  1. Primary: URL Scheme → Opens flomo app directly (instant, local)
  2. Fallback: Webhook API → HTTP POST to flomo servers (works without app)

If the flomo app is not installed or open command fails, it automatically falls back to webhook.

Script Usage

Basic Usage

# Simple note
./scripts/flomo_send.sh "My quick thought"

# With tags
./scripts/flomo_send.sh "Meeting notes from today" "#work #meeting"

# From clipboard
./scripts/flomo_send.sh "$(pbpaste)" "#clippings"

# From stdin
echo "Note from pipe" | ./scripts/flomo_send.sh

Webhook Configuration (Optional)

If you ran ./scripts/configure.sh during setup, webhook is already configured.

To manually configure, set environment variable:

# Option 1: Full webhook URL
export FLOMO_WEBHOOK_URL="https://flomoapp.com/iwh/xxxxxxxxxxxxxxxx"

# Option 2: Just the token
export FLOMO_WEBHOOK_TOKEN="xxxxxxxxxxxxxxxx"

# Then run script
./scripts/flomo_send.sh "Note with fallback" "#test"

Supported Actions

Send Text Note

./scripts/flomo_send.sh "Your note here"

Send with Tags

Tags in format #tagname will be automatically parsed by flomo.

./scripts/flomo_send.sh "Reading notes" "#books #learning"

Multi-line Notes

./scripts/flomo_send.sh "Line 1
Line 2
Line 3" "#journal"

Send with Images (URL Scheme only)

Note: The flomo_send.sh script currently supports text only. To send images, use URL Scheme directly:

# Via URL Scheme directly (supports up to 9 images)
open "flomo://create?image_urls=%5B%22https://example.com/img1.jpg%22%5D&content=Photo%20notes"

Image URLs must be:

  • Publicly accessible URLs
  • URL-encoded JSON array format
  • Maximum 9 images per note

See references/api.md for more details on image parameters.

URL Scheme Format

Direct URL scheme usage (macOS only):

  • Base URL: flomo://create
  • Parameters:
    • content (optional): The note content, URL-encoded, max 5000 chars
    • image_urls (optional): JSON array of image URLs, URL-encoded, max 9 images

Examples

Text only:

open "flomo://create?content=Your%20URL-encoded%20content"

With images:

open "flomo://create?image_urls=%5B%22https://example.com/img.jpg%22%5D&content=Photo%20notes"

The image_urls parameter format:

  • JSON array of publicly accessible image URLs
  • Must be URL-encoded with encodeURIComponent

Examples

Save a link:

./scripts/flomo_send.sh "https://example.com/article" "#readlater #tech"

Daily journal:

./scripts/flomo_send.sh "Morning reflection: feeling productive today" "#journal"

Quick idea capture:

./scripts/flomo_send.sh "App idea: AI-powered plant water reminder" "#ideas"

Remote/SSH session (uses webhook):

export FLOMO_WEBHOOK_TOKEN="your-token"
./scripts/flomo_send.sh "Note from server" "#server-log"

Requirements

⚠️ API 和 URL Scheme 功能需要 flomo PRO 会员 才能使用。

URL Scheme (Primary)

  • macOS with flomo app installed
  • flomo app v1.5+ (supports URL Scheme)
  • flomo PRO 会员

Webhook Fallback

  • curl command available
  • FLOMO_WEBHOOK_URL or FLOMO_WEBHOOK_TOKEN environment variable set
  • flomo PRO 会员

Limitations

  • Content: Maximum 5000 characters (before URL encoding)
  • Images: Maximum 9 images per note (URL Scheme only; webhook does not support images)

Configuration

Environment Variables

Variable Description Example
FLOMO_WEBHOOK_URL Full webhook URL https://flomoapp.com/iwh/abc123
FLOMO_WEBHOOK_TOKEN Webhook token only abc123

Persistent Configuration

Add to your ~/.bashrc, ~/.zshrc, or ~/.bash_profile:

export FLOMO_WEBHOOK_TOKEN="your-webhook-token-here"

Troubleshooting

"Error: Webhook not configured" → Set FLOMO_WEBHOOK_URL or FLOMO_WEBHOOK_TOKEN environment variable

"Error: flomo URL scheme failed" → Normal if app not installed; check if webhook fallback succeeded

Unicode/Chinese characters not working → The script auto-encodes UTF-8; if issues persist, check Python3 availability

API Reference

For detailed webhook API documentation, see references/api.md.

安全使用建议
This skill appears to be a small helper that posts notes to your flomo webhook. Before installing or running: - Expect to provide your FLOMO_WEBHOOK_URL or FLOMO_WEBHOOK_TOKEN; the runtime scripts require one of these even though the skill manifest does not list required env vars. You can run ./scripts/configure.sh to save the token. - Note the documentation is inconsistent: SKILL.md shows URL-scheme usage and fallback, README says URL-scheme removed, and scripts only implement webhook POSTs. Do not assume the skill will open your local flomo app — it currently posts to the webhook. - configure.sh can append an export to your shell config (~/.zshrc or ~/.bashrc) if you choose option 2. That modifies your shell profile; prefer the default local .env (the script sets it to permission 600) if you want to keep the token scoped to this skill. - Inspect scripts/configure.sh and scripts/flomo_send.sh yourself (they are short and readable). Verify where the token will be written and that the webhook URL is correct and points to flomoapp.com. - If you are unsure or want to be extra cautious, create the .env manually with FLOMO_WEBHOOK_TOKEN and run the send script in a controlled environment. If you need the URL-scheme behavior, do not rely on this skill — its code currently does not implement that path. If these caveats are acceptable and you trust the flomo webhook token, the skill's behavior is coherent with a webhook-based note sender; otherwise treat the inconsistencies as a reason to hold off or request an updated/cleaned version.
功能分析
Type: OpenClaw Skill Name: flomo-send Version: 1.0.0 The skill is designed to send user-provided notes to the flomo service via its webhook API. The `configure.sh` script interactively prompts the user for a flomo webhook token and offers to save it either to a local `.env` file with restricted permissions (chmod 600) or, with explicit user consent, to their shell configuration file (~/.zshrc, ~/.bashrc). The `flomo_send.sh` script loads this token and uses `curl` to send the note content to the flomo webhook URL, employing `python3 -c 'import sys,json;print(json.dumps({"content": sys.stdin.read()}))'` for safe JSON payload construction. There is no evidence of data exfiltration beyond the stated purpose, malicious execution, or prompt injection against the agent. The actions are transparent and aligned with the skill's description.
能力评估
Purpose & Capability
Name/description claim 'URL Scheme with automatic webhook fallback' and sending notes to flomo; the provided scripts implement sending notes to the flomo webhook (https://flomoapp.com/iwh/...) which matches the stated purpose of sending notes. However README states URL Scheme was removed and the actual sending script only uses webhook API, so documentation vs capability mismatch exists.
Instruction Scope
SKILL.md and README instruct running ./scripts/configure.sh and using URL scheme examples (open "flomo://..."), but scripts/flomo_send.sh never attempts to open a URL-scheme or call the local app — it only reads a local .env or environment variables and posts to the flomo webhook. The configure script can also append exports to the user's shell rc file or create a local .env; that behavior is broad but logical for storing a webhook token. This mismatch between instructions and actual runtime behavior is a scope/incoherence concern.
Install Mechanism
No install spec; skill is instruction + bundled scripts. No external downloads. The only files written by scripts are a local .env (created with chmod 600) or appended lines in the user's shell config if the user chooses option 2. No network installers or remote code fetch were observed.
Credentials
The code legitimately uses FLOMO_WEBHOOK_URL or FLOMO_WEBHOOK_TOKEN for the webhook; manifest lists no required env vars (empty), which is a minor mismatch with the runtime expectation that one of these be set or configured. The requested credential is proportional (a single webhook token) and limited to flomo; however configure.sh may append the token to a shell rc file (potentially world-readable depending on user config), so users should consider storage location carefully.
Persistence & Privilege
Skill does not request always:true or autonomous elevation. configure.sh creates a local .env in the skill directory (chmod 600) or appends an export to the user's shell config if chosen; writing to the user's shell rc is expected but should be highlighted to the user as a change to their profile.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install flomo-send
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /flomo-send 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of flomo-send skill, renamed from flomo-via-app
元数据
Slug flomo-send
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Flomo Send 是什么?

Send notes and memos to flomo (浮墨笔记) via URL Scheme with automatic webhook fallback. Use when user wants to save thoughts, links, ideas, or content to their flomo inbox. Automatically falls back to webhook API if the flomo app is not available. Supports hashtags and quick capture workflows on macOS. IMPORTANT: After installing this skill, run `./scripts/configure.sh` to set up your flomo PRO webhook for the best experience. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1018 次。

如何安装 Flomo Send?

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

Flomo Send 是免费的吗?

是的,Flomo Send 完全免费(开源免费),可自由下载、安装和使用。

Flomo Send 支持哪些平台?

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

谁开发了 Flomo Send?

由 qiantao1001(@qiantao1001)开发并维护,当前版本 v1.0.0。

💬 留言讨论