← 返回 Skills 市场
giraffe-tree

flomo-add

作者 GiraffeTree · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
485
总下载
2
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install flomo-add
功能描述
通过 Python requests 向 flomo webhook URL 新增一条 memo。使用 scripts/flomo-add.py 从 .flomo.config 读取 url 并发起 POST 请求,支持在 macOS 与 Windows 环境下添加 flomo 笔记。用户需要快速新增 flomo...
使用说明 (SKILL.md)

flomo-add

向 flomo 新增一条 memo(单条写入)。

前置入参要求(必须)

执行本技能前,必须先明确并拿到以下入参:

  • 当前项目主路径(绝对路径),例如 /Users/xxx/project-name
  • memo 文本内容(即本次要写入 flomo 的 content

必须在“当前项目主路径”下存在 .flomo.config,并且包含 url=\x3Cflomo webhook url>

配置(必须)

在项目主路径下创建 .flomo.config,并包含 url=\x3Cflomo webhook url>

.flomo.config 格式说明

  • 通用规则:一行一个 key=value;以 # 开头的行为注释;空行忽略。
  • flomo-add 所需url=\x3Cflomo webhook url>
    示例:url=https://flomoapp.com/iwh/M000000/abcdefg0000000000000000000000000/
    该 URL 需在 flomo 的「扩展中心 & API」中生成并妥善保管。
  • 同一文件可同时包含 token= 供 flomo-sync 使用(与 flomo-sync 共用一配置文件)。

快速开始

1) 使用 Python 脚本(推荐,内部调用 requests)

# 在项目主路径下执行
python skills/flomo-add/scripts/flomo-add.py --content "Hello, #flomo https://flomoapp.com"

可选参数:

  • --config:指定配置文件路径(默认 .flomo.config
  • --url:临时覆盖配置里的 url
  • --dry-run:只打印将发送的请求信息,不真正发送

2) 直接使用 curl(macOS / Linux)

curl -X POST "https://flomoapp.com/iwh/M000000/abcdefg0000000000000000000000000/" \
  -H "Content-Type: application/json" \
  --data-binary '{"content":"Hello, #flomo https://flomoapp.com"}'

3) 直接使用 curl(Windows PowerShell)

$url = "https://flomoapp.com/iwh/M000000/abcdefg0000000000000000000000000/"
$body = '{"content":"Hello, #flomo https://flomoapp.com"}'
curl.exe -X POST $url -H "Content-Type: application/json" --data-binary $body

预期行为

  • 成功时:返回 flomo API 响应并退出码为 0
  • 失败时:脚本打印错误原因(缺少配置、requests 依赖缺失、HTTP 失败等)并退出非 0

文件说明

skills/flomo-add/
├── SKILL.md
├── scripts/
│   └── flomo-add.py
└── assets/   # 预留
安全使用建议
This skill appears to do exactly what it says: read a local .flomo.config for url and POST the provided content to that webhook. Before installing or running: ensure you run it in a directory that contains your .flomo.config (and avoid committing that file to public repos), make sure Python and the 'requests' package are installed, and verify the webhook URL is correct — anyone with that URL can post to your flomo, so treat it as a secret. If you permit automated agent invocation, be aware the agent could send memos automatically if it chooses to run this skill with content you provide or that it generates.
功能分析
Type: OpenClaw Skill Name: flomo-add Version: 1.0.1 The skill bundle is designed to add memos to Flomo via a webhook URL. The `SKILL.md` provides clear instructions and configuration details without any prompt injection attempts. The `flomo-add.py` script correctly implements this functionality using the `requests` library, reading the webhook URL from a user-specified `.flomo.config` file or command-line argument, and sending user-provided content. There is no evidence of intentional malicious behavior such as unauthorized data exfiltration, remote code execution, persistence mechanisms, or obfuscation. The script's actions are entirely aligned with its stated purpose.
能力评估
Purpose & Capability
Name/description, SKILL.md and the included script all align: the script reads a local .flomo.config for url and POSTs a JSON payload with the provided content to that URL. No unrelated services, credentials, or binaries are requested.
Instruction Scope
Runtime instructions limit behavior to reading the specified .flomo.config and sending a POST to the configured webhook (or using an explicit --url). The SKILL.md also documents dry-run and curl alternatives. The instructions do not read other system files, environment variables, or send data to unexpected endpoints.
Install Mechanism
This is an instruction-only skill with no install spec (low risk). The script depends on the Python 'requests' package but does not install it — SKILL.md and the script mention dependency failures if requests is missing. Users must ensure Python and requests are available.
Credentials
No environment variables or external credentials are requested. The only configuration read is a local .flomo.config containing the flomo webhook URL, which is appropriate and proportionate for the stated purpose.
Persistence & Privilege
Skill is not force-installed (always:false). It does not modify other skills or global agent settings. Autonomous invocation is allowed by default but is not a special privilege here and does not introduce additional incoherence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install flomo-add
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /flomo-add 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Version 1.0.1 of flomo-add has no code or documentation changes. - No file or documentation changes detected compared to the previous version.
v1.0.0
- Initial release of flomo-add skill. - Add memos to flomo via Python or curl using a webhook URL. - Supports both macOS and Windows environments. - Reads configuration from .flomo.config in project root. - Command-line script with options for config path, URL override, and dry-run mode. - Provides clear error handling and quick-start instructions.
元数据
Slug flomo-add
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

flomo-add 是什么?

通过 Python requests 向 flomo webhook URL 新增一条 memo。使用 scripts/flomo-add.py 从 .flomo.config 读取 url 并发起 POST 请求,支持在 macOS 与 Windows 环境下添加 flomo 笔记。用户需要快速新增 flomo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 485 次。

如何安装 flomo-add?

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

flomo-add 是免费的吗?

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

flomo-add 支持哪些平台?

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

谁开发了 flomo-add?

由 GiraffeTree(@giraffe-tree)开发并维护,当前版本 v1.0.1。

💬 留言讨论