Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器clawhub未标认证来源可访问clear审计通过

facebook-group-monitor脸书群组监控

Agent Skill

facebook-group-monitor 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

13,104

周安装

546

GitHub Stars

1

下载量

4,368
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:facebook-group-monitor(脸书群组监控)
来源仓库:https://github.com/phuc-nt/facebook-group-monitor
安装命令:
openclaw skills install facebook-group-monitor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install facebook-group-monitor

简介

用于处理浏览器自动化和网页信息提取。facebook-group-monitor 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

  • 适合监控 Facebook 群组新帖和抓取提要。
  • 使用 Playwright 隐身模式保持登录会话。
  • 使用时需确保符合平台政策和隐私要求。
  • 安装前建议检查维护状态和是否会触发网络请求。

SKILL.md

name
facebook-group-monitor
description
>-
Triggers
check Facebook group', 'scrape FB posts', 'new posts in group',
metadata
openclaw
category
social
shared
true

Facebook Group Monitor Skill

Overview

Playwright-based headless browser scraper for Facebook groups. Default behavior: captures a stitched "feed strip" (scrolls 3× viewport, crops to feed column, stitches into 1 JPEG) → agent calls vision model once with a custom prompt to extract and interpret all new posts in a single LLM call.

Requires one-time manual login via terminal to establish a persistent browser session.

Setup

See references/SETUP.md for installation and first-time login instructions.

File Locations (after install)

  • Script: scripts/fb-group-monitor.py
  • Shell wrapper: scripts/fb-group-monitor.sh
  • Browser session: auto-created at scripts/.browser-data/ (persistent login)
  • Seen posts: auto-created at scripts/.seen-posts.json (dedup tracking)
  • Screenshots: scripts/screenshots/ or custom --shots-dir

Commands

1. Check login session

scripts/fb-group-monitor.sh status

Output:

{"success": true, "action": "status", "message": "Session active — logged in to Facebook."}

2. Scrape new posts (with feed strip screenshot)

scripts/fb-group-monitor.sh scrape <GROUP_URL> [--limit N] [--shots-dir <PATH>]

Parameters:

  • GROUP_URL: Full URL (https://www.facebook.com/groups/123456) or just group ID
  • --limit N: Max posts to scrape (default: 10)
  • --shots-dir <PATH>: ⚠️ REQUIRED for vision — save screenshots in agent workspace so image tool can read them
  • --no-shots: Skip screenshots (faster, text-only mode)

Example:

scripts/fb-group-monitor.sh scrape "https://www.facebook.com/groups/123456789" --limit 10 --shots-dir ./temp-screenshots

Output JSON (with feed strip screenshot):

{
  "success": true,
  "action": "scrape",
  "group_name": "Example Group Name",
  "group_url": "https://www.facebook.com/groups/123456789",
  "total_scraped": 6,
  "new_count": 3,
  "feed_screenshot": "/path/to/temp-screenshots/feed_abc12345_1741800000.jpg",
  "posts": [
    {
      "author": "Poster Name",
      "text": "Post content (may be truncated by Facebook's 'See more')...",
      "url": "https://facebook.com/groups/123456/posts/789",
      "images": 3
    },
    {
      "author": "Another Poster",
      "text": "Text-only post, no images...",
      "url": "https://facebook.com/groups/123456/posts/790",
      "images": 0
    }
  ],
  "message": "Found 3 new posts / 6 total."
}
Note: feed_screenshot is a single stitched JPEG covering the full feed (3 viewport scrolls). Individual posts no longer have a screenshot_path — use feed_screenshot (top-level) instead.

3. Clean old screenshots

scripts/fb-group-monitor.sh clean-shots

Auto-removes screenshots older than 48h and caps at 100 max. Script also auto-cleans before each scrape.

4. Login (one-time, from terminal)

scripts/fb-group-monitor.sh login

Opens browser, login manually, press Enter to save session. Session lasts weeks/months.

Agent Workflow

When triggered by cron or user request to check a group:

Step 1: Scrape

scripts/fb-group-monitor.sh scrape "<GROUP_URL>" --limit 10 --shots-dir ./temp-screenshots
⚠️ Use --shots-dir pointing to a path within the workspace so the image tool can access screenshots.

Step 2: Analyze feed screenshot + combine with text

If feed_screenshot is present (1 stitched image covering the full feed):

  • Compose a dynamic prompt using the author list from the JSON, so vision focuses on the correct new posts (the feed strip also contains already-seen posts)
  • Call image tool with both image and prompt parameters:
  image tool:
    image: <feed_screenshot path>
    prompt: "Facebook group feed. Find and analyze posts by these people (new posts to process):
    - [Author 1]: "[first few words of text from JSON]" — N images
    - [Author 2]: "[first few words of text from JSON]"
    ...
    For EACH post, do 2 things:
    1. EXTRACT: book/product name, author/publisher (read from cover), price (including handwritten prices), condition (new/used/marked/yellowed).
    2. INTERPRET: is the deal worth it (price vs market if known), is the item rare/valuable, actual condition assessment from photos."
  • ⚠️ NEVER call image tool with empty {} — default prompt just describes the image generically
  • ⚠️ Feed strip includes old posts — always include author + text snippet so vision targets the right posts
  • After getting vision result: match by author, add url from JSON
  • Prioritize image content over truncated text field ("see more" posts)

If feed_screenshot is absent (screenshot failed):

  • Read directly from text field of each post
  • Summarize available information, note "no screenshot available"

Step 3: Report to user

MUST include the original post link in each item for verification.

Format per new post:

📌 *[Title/Summary]*
👤 Author: [author]
💰 Price: [price or "unknown"]
📝 Condition: [description]
💡 Note: [deal assessment or insight, if any]
🔗 [post URL]

Step 4: If no new posts → stay silent (no notification)

Step 5: If success == false → report error briefly

⚠️ Anti-duplicate rule

  • Send Telegram only ONCE per run, regardless of whether vision succeeded or failed
  • If message tool returns an error → report once and stop, do NOT retry
  • If vision fails → fallback to text, send once with note "⚠️ Vision unavailable, text only"

Important Notes

  • Rate limiting: Recommended cron interval ≥ 2 hours — safe for Facebook
  • Session expired: If error "Not logged in" → run login from terminal
  • UI changes: Facebook updates DOM frequently → selectors may need updates
  • "See more": Text is truncated — feed strip screenshot usually has complete content
  • Feed strip: Scrolls 3× viewport height, crops to feed column, stitches 1 JPEG — reduces vision calls from N to 1
  • Screenshot quality: JPEG 82% — sufficient for LLM vision to read text and identify product images
  • Vision model: Use a vision-capable model (e.g. Gemini Flash) for the image tool call

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

76.96%
按下载量换算3,362

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills