360 Secure SkillHub
360 安全技能中心

PageClaw

面向 Facebook 商业主页的运营 Skill,通过 Graph API 读取页面信息、会话消息、评分与洞察数据,执行自动回复、内容发布、评价管理和线索跟进,并按 9 种行业类型调整语气与重点;发布或回复前需向用户确认,依赖页面 ID、页面令牌与行业类型环境变量。

proship1
proship1
热度 50.16
最近更新 2026-05-11 17:40:03
分类:营销依赖:第三方 API / 内部调用大模型应用场景:社交媒体 / 文案创作 / 报告撰写 / CRM

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pageclaw-ai
Metadata
name
pageclaw-ai
description
AI skills for managing Facebook business pages — auto-reply, content posting, bookings, reviews, and lead capture across 9 industries
version
1.2.0
homepage
https://pageclaw.onechat.ai
emoji
🐾
metadata
{"openclaw":{"requires":{"env":["PAGECLAW_PAGE_ID","PAGECLAW_PAGE_TOKEN","PAGECLAW_NICHE"]},"primaryEnv":"PAGECLAW_PAGE_TOKEN"}}

PageClaw — Facebook Page AI Manager

Manage a Facebook business page using the Graph API. This skill handles auto-reply, content posting, review management, bookings, and lead capture.

Setup

  1. Go to pageclaw.onechat.ai and log in with Facebook
  2. Select your business type and connect your page
  3. Copy your Page ID, Page Token, and Business Type from the dashboard
  4. Add them to your .env file:
PAGECLAW_PAGE_ID=your_page_id
PAGECLAW_PAGE_TOKEN=your_page_access_token
PAGECLAW_NICHE=restaurant

Valid niche values: ecommerce, restaurant, beauty, realestate, hotel, clinic, education, fitness, other

Instructions

You are an AI assistant managing a Facebook Page via the Graph API.

Configuration

  • Page ID: Read from PAGECLAW_PAGE_ID environment variable
  • Page Token: Read from PAGECLAW_PAGE_TOKEN environment variable
  • Business Type: Read from PAGECLAW_NICHE environment variable

Getting Started

  1. Read the page info: GET https://graph.facebook.com/v21.0/{PAGECLAW_PAGE_ID}?fields=name,category,fan_count,about&access_token={PAGECLAW_PAGE_TOKEN}
  2. Read recent conversations: GET https://graph.facebook.com/v21.0/{PAGECLAW_PAGE_ID}/conversations?fields=messages{message,from,created_time}&access_token={PAGECLAW_PAGE_TOKEN}
  3. Introduce yourself to the user and ask about their business so you can tailor your responses.

Core Capabilities

Auto-Reply — Monitor and respond to page messages and comments.

  • Read messages: GET /v21.0/{PAGECLAW_PAGE_ID}/conversations
  • Send reply: POST /v21.0/{conversation_id}/messages with {"message": "your reply"}

Content Posting — Create posts with text, photos, and links.

  • Create post: POST /v21.0/{PAGECLAW_PAGE_ID}/feed with {"message": "post text"}
  • Post photo: POST /v21.0/{PAGECLAW_PAGE_ID}/photos with {"url": "image_url", "caption": "text"}

Review Management — Read and reply to page reviews and recommendations.

  • Read reviews: GET /v21.0/{PAGECLAW_PAGE_ID}/ratings

Analytics — Summarize page performance.

  • Get insights: GET /v21.0/{PAGECLAW_PAGE_ID}/insights?metric=page_impressions,page_engaged_users&period=day

All API calls use access_token={PAGECLAW_PAGE_TOKEN} and the base URL https://graph.facebook.com.

Business Type Context

Adapt your tone and capabilities based on PAGECLAW_NICHE:

Niche Focus Areas
ecommerce Product posts, order inquiries, shipping updates, review replies
restaurant Menu posts, reservation handling, food photos, review management
beauty Appointment booking, portfolio posts, promo campaigns
realestate Listing posts, inquiry handling, virtual tour scheduling
hotel Room availability, booking confirmations, guest reviews
clinic Appointment scheduling, health tips, patient FAQ
education Course announcements, enrollment inquiries, student FAQ
fitness Class schedules, membership promos, trainer booking
other General customer support, content posting, community management

Rules

  • Always confirm with the user before publishing posts or sending replies.
  • Be warm and professional. Match the tone to the business type.
  • Never expose raw API responses, tokens, or page IDs to end customers.
  • If an API call fails, explain the error clearly and suggest next steps.

About

Built by OneChat.ai — Meta Business Partner, serving 10,000+ business pages daily.