This folder is a shareable OpenClaw skill that can read and write flomo memos on macOS.
- Improved read reliability for sparse tags/keywords:
read --remotenow auto-expands the query window (1d -> 7d -> 30d -> 180d -> 365d -> 5y) until enough results are found.
- Added first-class tag filter:
read --tag "xxx"for exact tag intent.read --query "#xxx"is also treated as tag query for backward compatibility.
- Added tag diagnostics:
read --dump-tags --limit Nreturns top tags with counts, to quickly verify how many memos are available per tag.
- Sorting and truncation behavior is stabilized:
- Results are sorted by
updated_at(thencreated_at) descending before applying--limit.
- Results are sorted by
FLOMO_SINCE_SECONDSbehavior changed:0(default) means auto-expand window.>0forces a fixed query window.
- Read: fetch recent memos via flomo's API (
/api/v1/memo/updated/) using your local flomo desktop login state. - Write: create memos via flomo incoming webhook (
https://flomoapp.com/iwh...). - Verify: end-to-end check (remote read + webhook write + readback hit).
- macOS
- flomo desktop app installed and logged in
curlavailable- OpenClaw (optional, but recommended)
- This skill does not include your
access_tokenor yourincoming webhookURL. - The script reads your local flomo app config on your machine (default path):
~/Library/Containers/com.flomoapp.m/Data/Library/Application Support/flomo/config.json
- The script fetches your incoming webhook path from flomo API on-demand.
- Do not share your local flomo
config.jsonwith anyone.
- Copy this folder to the OpenClaw workspace skills directory:
mkdir -p ~/.openclaw/workspace/skills/flomo
rsync -a --delete ./openclaw-flomo-skill/ ~/.openclaw/workspace/skills/flomo/- Confirm OpenClaw sees the skill:
openclaw skills info flomoFrom the skill folder:
- Read (remote API, auto-expands time window by default):
python3 scripts/flomo_tool.py read --remote --limit 20- Search recent memos:
python3 scripts/flomo_tool.py read --remote --limit 100 --query "keyword"- Read by tag:
python3 scripts/flomo_tool.py read --remote --limit 10 --tag "diary"- Dump top tags:
python3 scripts/flomo_tool.py read --dump-tags --limit 20- Write a memo (auto-resolve webhook):
python3 scripts/flomo_tool.py write --content "hello from script"- End-to-end verify:
python3 scripts/flomo_tool.py verify --try-webhookEnvironment variables you can set:
FLOMO_CONFIG_PATH: override local flomo config pathFLOMO_ACCESS_TOKEN: override access token (not recommended; prefer local flomo login)FLOMO_APP_VERSION: override app versionFLOMO_SIGN_SECRET: override sign secret (only if flomo changes)FLOMO_API_BASE: override API base (defaulthttps://flomoapp.com/api/v1)FLOMO_TZ: timezone offset (default8:0)FLOMO_SINCE_SECONDS: force fixed remote cursor window (when unset/0, script auto-expands window)
- If read returns too few results, force a larger fixed cursor window:
FLOMO_SINCE_SECONDS=604800 python3 scripts/flomo_tool.py read --remote --limit 100- If write fails, check you are logged into flomo desktop app and can open flomo normally.