[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77ESJZ7ZNYPG18330YGV4EB":3,"skill-same:01M77ESJZ7ZNYPG18330YGV4EB":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M77ESJZ7ZNYPG18330YGV4EB","facebook-account-operations",null,"Operating doctrine for Facebook Page automation — careful brand-page pattern via Meta Business Suite, role separation, page-vs-profile-vs-group surface awareness, comment + Messenger ops (Playwright click + type + Enter), moderation discipline (hide vs delete vs ban), and recovery patterns. Use this for any scheduled FB activity (cron, agent, recurring task) where account \u002F page safety and reach matter more than raw output.","Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ff\u002Ffacebook-account-operations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: facebook-account-operations\ndescription: Operating doctrine for Facebook Page automation — careful brand-page pattern via Meta Business Suite, role separation, page-vs-profile-vs-group surface awareness, comment + Messenger ops (Playwright click + type + Enter), moderation discipline (hide vs delete vs ban), and recovery patterns. Use this for any scheduled FB activity (cron, agent, recurring task) where account \u002F page safety and reach matter more than raw output.\n---\n\n# Facebook Account Operations\n\nThis skill is the operating doctrine for every Facebook automation run on a brand **Page** (recommended), professional or personal account.\n\n**The goal is not to comment fast. The goal is to operate Facebook like a careful, helpful human community manager: stable browser, correct context (Meta Business Suite), useful action, no page restrictions, no reputational risk.**\n\nDrop-in for any niche (legal, medical, software, finance, creator, ecommerce). Replace the placeholders in section 0 with your own values.\n\n---\n\n## 0. Configure for your brand\n\nBefore running anything, fill these placeholders in your local copy or your agent's memory:\n\n| Placeholder | Example | Your value |\n|---|---|---|\n| `\u003CBRAND_NAME>` | \"Acme Studio\" | — |\n| `\u003CBRAND_DOMAIN>` | \"acme.studio\" | — |\n| `\u003CFB_PAGE_NAME>` | \"Acme Studio\" (the public Page name) | — |\n| `\u003CFB_PAGE_ID>` | numeric ID of the Page | — |\n| `\u003CMETA_BUSINESS_ID>` | numeric ID from business.facebook.com → Settings | — |\n| `\u003CMETA_ASSET_ID>` | numeric ID of the FB Page asset in MBS | — |\n| `\u003CBROWSER_PROFILE>` | \"facebook-live\" | — |\n| `\u003CBROWSER_PORT>` | \"18803\" | — |\n| `\u003CNICHE_KEYWORDS>` | \"lost license OR speeding ticket\" | — |\n| `\u003CPRIMARY_CTA>` | \"WhatsApp \u002F form \u002F app — pick ONE\" | — |\n| `\u003CWORKSPACE_DIR>` | \"~\u002F.openclaw\u002Fworkspace\u002Ffacebook-\u003Cbrand>\" | — |\n\nAll shell snippets below assume an [OpenClaw](https:\u002F\u002Fopenclaw.ai) browser CLI bound by CDP, but the doctrine works with any browser-automation stack (Playwright, Puppeteer, Chrome MCP). Swap the CLI calls for your own.\n\n### Quick config (copy-paste YAML)\n\n```yaml\nbrand:\n  name: \u003CBRAND_NAME>\n  domain: \u003CBRAND_DOMAIN>\n\nfacebook:\n  page_name: \u003CFB_PAGE_NAME>\n  page_id: \u003CFB_PAGE_ID>\n  browser_profile: \u003CBROWSER_PROFILE>\n  browser_port: \u003CBROWSER_PORT>\n\nmeta_business_suite:\n  business_id: \u003CMETA_BUSINESS_ID>\n  asset_id: \u003CMETA_ASSET_ID>\n  base_url: https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\n\ndiscovery:\n  niche_keywords: \u003CNICHE_KEYWORDS>\n\ncta:\n  primary: \u003CPRIMARY_CTA>\n\nworkspace:\n  dir: \u003CWORKSPACE_DIR>\n\nalerts:\n  channel: telegram | slack | discord\n  webhook: \u003CYOUR_WEBHOOK_URL>\n\nschedule:\n  timezone: Europe\u002FParis\n  windows:\n    dm_check:      \"6,21,36,51 9-22 * * *\"\n    comment_check: \"9,24,39,54 9-22 * * *\"\n    browser_health: \"0 * * * *\"\n    daily_recap:   \"21:00\"\n```\n\n### Compatibility\n\n| Stack | Skill install path |\n|---|---|\n| [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode) | `~\u002F.claude\u002Fskills\u002Ffacebook-account-operations\u002F` |\n| [OpenClaw](https:\u002F\u002Fopenclaw.ai) | `~\u002F.openclaw\u002Fskills\u002Ffacebook-account-operations\u002F` |\n| ClawHub-published | one-click install via [clawhub.ai](https:\u002F\u002Fclawhub.ai) |\n| Cursor \u002F Copilot CLI | drop `SKILL.md` into your project's `.cursorrules` or `AGENTS.md` |\n| Any LLM agent reading markdown rules | concatenate `SKILL.md` into your system prompt |\n\n---\n\n## 1. Pages vs personal profile vs groups\n\nDoctrine for brand automation:\n\n- **Page** = the only sanctioned surface for brand activity. Page admins post as the Page, reply as the Page, and the Page has its own analytics + ad surface.\n- **Personal profile** = never automate. Personal profiles are governed by Facebook's \"authentic identity\" policy; automating one is a fast path to a permanent ban.\n- **Groups** = automation is allowed only if the brand **owns** the group (Page is the admin). Replying as the Page on third-party groups requires the group to allow Page comments — most do not. Default: do not automate group activity.\n\nThis skill covers the **Page surface** exclusively.\n\n### The Meta Business Suite is the canonical surface (same as Instagram)\n\nEverything goes through `business.facebook.com`. Never automate against `facebook.com` directly — the personal-profile DOM is unstable, IP-throttled, and any anti-automation trigger there can poison the Page-admin's personal account.\n\n### Physical profile\n\nA single browser profile per Page-admin account:\n\n- `\u003CBROWSER_PROFILE>` (CDP direct, attached to `http:\u002F\u002F127.0.0.1:\u003CBROWSER_PORT>`)\n\n```bash\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> status\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> navigate https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\u002Fall\u002F?business_id=\u003CMETA_BUSINESS_ID>&asset_id=\u003CMETA_ASSET_ID>\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> snapshot --limit 200\n```\n\n### Canonical URLs (per tab)\n\n| Tab | URL fragment |\n|---|---|\n| All messages (Messenger + IG DMs if cross-linked) | `\u002Flatest\u002Finbox\u002Fall?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Messenger only (Page DMs) | `\u002Flatest\u002Finbox\u002Fmessenger?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Facebook Page comments | `\u002Flatest\u002Finbox\u002Ffacebook?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Page Insights | `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finsights\u002Fall_tools?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Page Posts | `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Fposts?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n\n### Roles (mental separation, single physical profile)\n\n#### Role: `fb-post`\n\nPage cockpit (acting AS THE PAGE, not as the admin's personal account). Use for:\n- Messenger DM replies in MBS.\n- Page comment replies in MBS.\n- Page posts (text, photo, link) via MBS Publishing Tools.\n- Page Insights snapshots.\n\nDefault page: MBS `inbox\u002Fall`.\n\n#### Role: `fb-engage`\n\nDiscovery. Use for:\n- Reading comments under your own Page posts (in MBS).\n- Inspecting a candidate user's profile before replying (open `facebook.com\u002F\u003Cuser>` in a separate tab — DO NOT act from there).\n\nDefault page: MBS `inbox\u002Ffacebook` (comments).\n\n#### Role: `fb-stealth`\n\nQuiet maintenance. Use for:\n- Checking Page Quality (MBS → Page → Page Quality).\n- Reading audience demographics.\n- Page-level settings (admin roles, page restrictions).\n\nDefault page: MBS dashboard.\n\n### Operational law\n\n- `fb-post` = act AS THE PAGE via MBS.\n- `fb-engage` = discover, never act outside MBS.\n- `fb-stealth` = maintain quietly.\n- Stability matters more than speed.\n- After every run, return to MBS `inbox\u002Fall`.\n\n---\n\n## 2. Session check (run first on every cron)\n\nSame as Instagram — see `instagram-account-operations` §2. The MBS session covers both IG and FB assets when both are linked to the same `\u003CMETA_BUSINESS_ID>`.\n\nIf you only manage a FB Page (no IG asset), the same login + navigation pattern applies; replace `inbox\u002Fall` with `inbox\u002Fmessenger` for the smoke test.\n\n---\n\n## 3. Phase gating (Page restrictions awareness)\n\nFacebook Pages do not have karma; they have:\n- **Page Quality** score (MBS → Page → Page Quality): green \u002F yellow \u002F red.\n- **Restrictions** — applied at Page level. A restricted Page cannot run ads, cannot use Messenger templates, sometimes cannot post.\n- **Standard account-level holds** (very young Page-admin account, recent guidelines violations).\n\nPhases:\n\n- **Phase A** (Page \u003C 30 d, OR last 30 d had a Page-level warning \u002F Restriction, OR \u003C 100 followers): inbound DM\u002Fcomment replies inside MBS only. No outbound DMs. No comment-on-other-Pages. No new ads.\n- **Phase B** (Page ≥ 30 d, Page Quality = green, ≥ 100 followers, admin account in good standing): all crons authorized.\n\nAlways read `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-state.md` at start.\n\n### Manual override (advanced)\n\nSame as IG — append `YYYY-MM-DD - phase=B (manual override)` to `fb-state.md` for grandfathered, verified Pages. Document the rationale in `fb-learnings.md`.\n\n---\n\n## 4. Qualification of an inbound DM or comment\n\nA DM or comment is repliable only if **all** of:\n\n- The thread has at least one user-authored message.\n- The user is not banned from your Page (`fb-banned-users.md`).\n- The comment is on a Page post (not on a shared link to your Page).\n- Phase B authorized for brand-mentioning replies.\n- The message is a real question or intent in your domain.\n- Same user not already replied-to in the last 7 days (`fb-reply-log.md`).\n\nIf any check fails: skip.\n\n### Special: existing client recognized\n\nIf the user is in `fb-clients-known.md`, redirect to your client support channel (NOT `\u003CPRIMARY_CTA>` for prospects).\n\n### Special: a public testimonial \u002F positive comment\n\nDo **NOT** redirect to `\u003CPRIMARY_CTA>`. Reply with a public thank-you. No CTA, no link.\n\n---\n\n## 5. Reply templates\n\n### Phase A\n\nPlain, helpful, no brand mention, no link.\n\n### Phase B\n\nDM reply structure:\n```\n[Acknowledge the situation in 1 sentence, neutral tone.]\n\n[General framework in 2-3 short paragraphs.]\n\n[Concrete next step — point to \u003CPRIMARY_CTA>. ONE channel only.]\n```\n\nPage-comment reply structure (Page comments are public — keep them short and bold-typo-free):\n```\n@\u003CUserName> [contextual acknowledgement]. [Indirect signal — \"DM us\" or \"form on Page\"].\n```\n\n### Brand link policy\n\n- Comment body: NO URL. \"DM us\" or \"form on Page\" only.\n- DM body: max ONE URL, ONE channel (`\u003CPRIMARY_CTA>`).\n- Never shorteners — FB marks them as spam and Page Quality drops.\n\n---\n\n## 6. Original posting cadence\n\nOut of scope for the live reactive crons. Recommended rhythm for a Phase B Page:\n\n- **3-5 posts\u002Fweek**. Mix: 1 text-only (high reach if good), 2 image\u002Fcarousel, 1 video.\n- **No \"post & ghost\"** — every Page post gets replies within 2 hours of going live.\n- **Avoid burst posting** (> 3 posts within 24 h). Reach gets distributed across same-day posts.\n- **Pin your evergreen content** to the top of the Page (one Pin slot).\n\n### Boost vs ads\n\n- **Boost** = the simple, in-feed promotion button. Use for an isolated organic post that is over-performing.\n- **Ads (Ads Manager)** = full targeting + creative + funnel. Use for systematic acquisition. Out of scope here.\n\nNever boost a comment-reply. Boost only top-level Page posts.\n\n---\n\n## 7. Quotas (hard limits)\n\n| Action | Phase A limit | Phase B limit |\n|--------|---------------|---------------|\n| DMs handled \u002F 24 h | 20 | 80 |\n| DMs handled \u002F cron run | 4 | 10 |\n| Comment replies handled \u002F 24 h | 30 | 120 |\n| Comment replies handled \u002F cron run | 5 | 12 |\n| Outbound DMs \u002F day (proactive) | 0 | 0 — Page Messenger outbound is heavily restricted; rely on templates with opt-in only |\n| Page posts \u002F day | 1 | 3 |\n| Comments on other Pages | 0 | 5 (sober, on-topic, no link) |\n| Actions in same conversation | min 60 s apart | min 30 s apart |\n| Actions globally | min 30 s apart | min 15 s apart |\n\nQuota tracking: read `fb-reply-log.md` at start of every run.\n\n---\n\n## 8. Anti-spam triggers\n\n### Content\n\n| Avoid | Use instead |\n|-------|-------------|\n| `\u003CBRAND_NAME>` more than once per reply | (max one mention) |\n| URLs in comment bodies | (never) |\n| Multiple URLs in a single DM | (max 1) |\n| \"Click here\", \"DM me\", \"WhatsApp me\" all together | (one CTA, one channel) |\n| Emojis in regulated niches | (drop them) |\n| All caps for emphasis | (use sparingly) |\n| Shorteners (bit.ly \u002F tinyurl) | (use the canonical URL) |\n| Tagging unrelated Pages | (never — it spams the tagged Page) |\n\n### Behavioral\n\n- Replying within 15 s of a comment landing → bot-like; wait ≥ 1 min.\n- Same opening phrase across multiple replies → flagged. Vary openings.\n- > 12 actions in 10 min → rate limit.\n- Identical DM body to > 3 users in 24 h → near-instant Page restriction.\n- Page admin acting from the personal profile (instead of \"as Page\") under a Page post → \"this comment looks like spam\" toast.\n\n---\n\n## 9. Operational flow inside Meta Business Suite\n\nSame backbone as Instagram §9. FB-specific notes below.\n\n### DM (Messenger) check \u002F reply (validated)\n\nURL: `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\u002Fmessenger?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>`\n\nThe flow is identical to the IG-DM flow in `instagram-account-operations` §9 (Playwright `click + type + press Enter`). Differences:\n\n- Messenger threads include the user's **Facebook profile** in the right sidebar — useful for the qualification step (see §4).\n- The \"Mark as Done\" button under the Messenger thread is a useful workflow signal — click it after a reply to keep the inbox clean and improve next-cron-run targeting.\n- **24h customer-service window**: Page Messenger has a 24h reply window — after 24 h of user silence, only message-tag templates can be sent (`HUMAN_AGENT`, `CONFIRMED_EVENT_UPDATE`, etc.). Out of scope for this skill — if you need post-24h outbound, use the Conversations API with an approved tag.\n\n### Page comment reply (validated — with workaround)\n\nURL: `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\u002Ffacebook?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>`\n\nSame SPA bug as IG comments: clicking the per-comment \"Reply\" link sometimes navigates the right pane to a different post. Same workaround:\n\n1. Find the page-level comment textarea **at the bottom** of the right pane.\n2. Type `@\u003CUserName> your reply`.\n3. Click the send-arrow button (not Enter).\n\nThis posts a top-level comment under the same post but tagged at the parent — which is sufficient for visibility and notification.\n\n### Page moderation: hide vs delete vs ban\n\nWhen a comment is offensive, spammy, or off-topic:\n\n| Action | Effect | When |\n|---|---|---|\n| **Hide** | Comment stays visible to the author + their friends, invisible to everyone else | Default for most low-quality comments — author doesn't notice, no escalation |\n| **Delete** | Comment removed | Only for clearly offensive content or doxxing |\n| **Ban user from Page** | User can no longer comment or DM the Page | Only for repeated harassment after a Hide |\n\nDoctrine: **prefer Hide over Delete**. Hidden comments don't trigger the author to recomment angrily.\n\nMaintain `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-banned-users.md` with one row per ban, the date, and the trigger comment URL.\n\n### Selectors quick-reference (FB-specific)\n\n| Element | Selector |\n|---|---|\n| Messenger DM textbox | `[contenteditable='true']` |\n| Messenger DM send | `press Enter` |\n| Messenger \"Mark as Done\" | `[aria-label*='Mark as done'], [aria-label*='Marquer comme termin']` |\n| Page-comment textarea | `textarea[placeholder*='comment'], textarea[placeholder*='commentaire']` |\n| Page-comment send | the SVG arrow button to the right of the textarea |\n| Comment \"Hide\" | `[aria-label*='Hide'], [aria-label*='Masquer']` (in the comment overflow menu) |\n| Comment \"Delete\" | `[aria-label*='Delete'], [aria-label*='Supprimer']` |\n| Ban user from Page | per-user overflow → \"Ban\" \u002F \"Bloquer\" |\n\n### Exit codes (recommended convention)\n\nSame as `instagram-account-operations` §9.\n\n### Gotchas\n\n- **Page Quality drop after a single misstep**: FB is more aggressive on Pages than on IG accounts. A handful of hidden-by-FB-automod comments can drop Page Quality from green to yellow within 24 h. Audit weekly.\n- **Localized labels**: `Reply` \u002F `Répondre`, `Hide` \u002F `Masquer`, `Delete` \u002F `Supprimer` — maintain a label map.\n- **MBS \"as Page\" indicator**: a tiny chip at the top-right shows you're replying as the Page (not as your personal admin account). Verify on every cron — sometimes MBS reverts to the personal account after a session refresh.\n- **Cron timeout**: ≥ 1200 s — MBS pages on FB-comments tab can take 5-8 s to render fully.\n\n---\n\n## 10. Page state management\n\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-state.md`\n\nFor each day:\n- Phase (A \u002F B).\n- Followers count.\n- Page Quality score (green\u002Fyellow\u002Fred).\n- Last Page-level warning \u002F Restriction.\n- Posts published today.\n\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-banned-users.md`\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-clients-known.md`\n\nUpdate at the end of every run that touched a moderation action.\n\n---\n\n## 11. Recovery & blockers\n\n| Issue | Action |\n|-------|--------|\n| `status: stopped` | Report, stop. |\n| Login form on MBS | Session expired, alert, stop. |\n| Page Quality drops to yellow | Flip to Phase A. Alert. Audit hidden \u002F deleted comments. |\n| Page Quality drops to red | Stop all crons. Manual review. Likely a posting policy violation. |\n| \"Page restricted\" banner | Stop all outbound activity. Inbound DM reply only if MBS allows. Alert. |\n| MBS \"Something went wrong\" | Refresh once. Persist → stop and alert. |\n| Comment \"Reply\" causes page navigation | Use `@username` workaround. |\n| Personal admin account in \"review\" status | Stop. Pages are admin-owned — if the admin is restricted, the Page is at risk. |\n\n---\n\n## 12. Mandatory recap (alert channel + memory)\n\nSame format as `instagram-account-operations` §12, with `Page Quality: green\u002Fyellow\u002Fred` added to the recap line.\n\n---\n\n## 13. Memory files inventory\n\n| File | Purpose | Update cadence |\n|------|---------|----------------|\n| `fb-recaps.md` | Per-run logs | Every cron run |\n| `fb-post-log.md` | Page posts (URL, type, date, reach) | Each posting run |\n| `fb-reply-log.md` | DM + comment replies sent | Each reply pass |\n| `fb-state.md` | Daily phase + Page Quality + warnings | Daily Metrics Recap |\n| `fb-banned-users.md` | Users banned from the Page | Each ban |\n| `fb-clients-known.md` | Existing clients to NEVER pitch | Ad hoc |\n| `fb-ideas.md` | Content backlog | Weekly Planning |\n| `fb-learnings.md` | Patterns (what reached, what got hidden) | Weekly + ad hoc |\n| `fb-alerts-sent.md` | Anti-doublon hot-lead alerts | Each alert |\n\n---\n\n## 14. Account identity guardrails\n\n- The Page persona is the brand — speak as the brand, sign as the brand.\n- Page admins: never reply from the personal profile under a Page post. Always switch the \"Posting as\" dropdown to the Page.\n- Bio (Page About): one paragraph + the single `\u003CPRIMARY_CTA>` link. No emoji walls.\n- Never reply to a DM that asks for expert-grade advice on a specific case — redirect to `\u003CPRIMARY_CTA>`.\n- Never share private client details on a public comment.\n- Never reuse strict CRM templates as Page content.\n- Never promise an outcome.\n- Never charge or solicit payment via Page Messenger (compliance + Page restrictions).\n- If asked \"are you a bot?\": sober ambiguous line + redirect.\n\n---\n\n## 15. Phase A → Phase B transition\n\nWhen the Daily Metrics Recap detects (page_age_days ≥ 30) AND (followers ≥ 100) AND (page_quality = green) AND (no warning in 30 d):\n\n1. Append to `fb-state.md`: `YYYY-MM-DD - phase=A - PHASE_B_THRESHOLD_REACHED`.\n2. Send a distinct alert: `🎉 FB Page ready for Phase B — flip outbound crons manually after review`.\n3. Manual user flip.\n4. First week of Phase B: cap reply pass at **4 replies\u002Frun**.\n5. Daily check on Page Quality. Any drop reverts to Phase A.\n\n---\n\n## 16. Stability discipline\n\n- Read the UI before clicking.\n- Verify \"Posting as: \u003CPage>\" on every cron run.\n- One click → verify with a snapshot.\n- Close stale tabs at the end of every run.\n- Never fake a successful reply.\n\n**Better silence than spam. Better a blockage report than a fake success.**\n\n---\n\n## 17. First-run checklist\n\n- [ ] Section 0 placeholders filled.\n- [ ] FB Page created, classified correctly (Business, Local Business, Professional Service, etc.).\n- [ ] Page linked to a Meta Business asset (MBS → Business Settings → Pages → Add).\n- [ ] `\u003CMETA_BUSINESS_ID>`, `\u003CMETA_ASSET_ID>`, `\u003CFB_PAGE_ID>` extracted.\n- [ ] Page About + intro: one paragraph + single `\u003CPRIMARY_CTA>` link.\n- [ ] Browser profile launched, logged into facebook.com.\n- [ ] Navigating to MBS `inbox\u002Fmessenger` renders the conversation list.\n- [ ] Page Quality score = green.\n- [ ] `\u003CWORKSPACE_DIR>\u002Fmemory\u002F` exists with the 9 memory files.\n- [ ] Alert channel webhook tested.\n- [ ] Phase A confirmed: only inbound DM cron enabled.\n- [ ] At least 14 days of manual posting + replies before turning on the cron.\n\nInit memory:\n\n```bash\nmkdir -p \"\u003CWORKSPACE_DIR>\u002Fmemory\" && cd \"$_\" && touch fb-recaps.md fb-post-log.md fb-reply-log.md fb-state.md fb-banned-users.md fb-clients-known.md fb-ideas.md fb-learnings.md fb-alerts-sent.md\n```\n\n---\n\n## 18. FAQ\n\n**Q: Do I need OpenClaw to use this skill?**\nA: No. OpenClaw browser CLI is the example stack — the doctrine works with Playwright, Puppeteer, Chrome MCP, or any CDP-capable tool.\n\n**Q: Can I use the Facebook Pages API instead?**\nA: Partially. The Pages API + Conversations API covers Messenger sending (within and outside the 24h window via message tags), comment moderation, and Page posting. The doctrine in this skill is the **fallback for accounts without API access, or for cases where MBS UI features are essential** (Page Quality dashboard, link previews, audience insights).\n\n**Q: My Page got restricted during testing. What now?**\nA: Stop everything. Manual review of the last 50 actions in `fb-reply-log.md`. Wait for the restriction to expire (or appeal manually). Once cleared, restart at Phase A with stricter quotas.\n\n**Q: Does this cover Facebook Groups?**\nA: Only if you own the group (the Page is the admin). Replying as the Page in a third-party group requires the group setting \"Allow Pages to post\" — most groups do not allow this. Default: skip groups.\n\n**Q: What about Marketplace \u002F Events \u002F Shop?**\nA: Out of scope. Marketplace and Shop have separate UIs and separate sanction patterns; Events run through the standard Page + Ads stack but with a manual posting cadence.\n\n**Q: Boost vs Ads Manager — which does this skill cover?**\nA: Neither. Both are out of scope. This skill is organic + reactive ops only.\n\n**Q: What if my admin account is suspended (not just the Page)?**\nA: Stop everything. A suspended admin account puts the Page at risk. Manual review only. Document the last 20 admin-account actions, not just Page actions, in `fb-learnings.md`.\n","# Facebook Account Operations\n\nThis skill is the operating doctrine for every Facebook automation run on a brand **Page** (recommended), professional or personal account.\n\n**The goal is not to comment fast. The goal is to operate Facebook like a careful, helpful human community manager: stable browser, correct context (Meta Business Suite), useful action, no page restrictions, no reputational risk.**\n\nDrop-in for any niche (legal, medical, software, finance, creator, ecommerce). Replace the placeholders in section 0 with your own values.\n\n---\n\n## 0. Configure for your brand\n\nBefore running anything, fill these placeholders in your local copy or your agent's memory:\n\n| Placeholder | Example | Your value |\n|---|---|---|\n| `\u003CBRAND_NAME>` | \"Acme Studio\" | — |\n| `\u003CBRAND_DOMAIN>` | \"acme.studio\" | — |\n| `\u003CFB_PAGE_NAME>` | \"Acme Studio\" (the public Page name) | — |\n| `\u003CFB_PAGE_ID>` | numeric ID of the Page | — |\n| `\u003CMETA_BUSINESS_ID>` | numeric ID from business.facebook.com → Settings | — |\n| `\u003CMETA_ASSET_ID>` | numeric ID of the FB Page asset in MBS | — |\n| `\u003CBROWSER_PROFILE>` | \"facebook-live\" | — |\n| `\u003CBROWSER_PORT>` | \"18803\" | — |\n| `\u003CNICHE_KEYWORDS>` | \"lost license OR speeding ticket\" | — |\n| `\u003CPRIMARY_CTA>` | \"WhatsApp \u002F form \u002F app — pick ONE\" | — |\n| `\u003CWORKSPACE_DIR>` | \"~\u002F.openclaw\u002Fworkspace\u002Ffacebook-\u003Cbrand>\" | — |\n\nAll shell snippets below assume an [OpenClaw](https:\u002F\u002Fopenclaw.ai) browser CLI bound by CDP, but the doctrine works with any browser-automation stack (Playwright, Puppeteer, Chrome MCP). Swap the CLI calls for your own.\n\n### Quick config (copy-paste YAML)\n\n```yaml\nbrand:\n  name: \u003CBRAND_NAME>\n  domain: \u003CBRAND_DOMAIN>\n\nfacebook:\n  page_name: \u003CFB_PAGE_NAME>\n  page_id: \u003CFB_PAGE_ID>\n  browser_profile: \u003CBROWSER_PROFILE>\n  browser_port: \u003CBROWSER_PORT>\n\nmeta_business_suite:\n  business_id: \u003CMETA_BUSINESS_ID>\n  asset_id: \u003CMETA_ASSET_ID>\n  base_url: https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\n\ndiscovery:\n  niche_keywords: \u003CNICHE_KEYWORDS>\n\ncta:\n  primary: \u003CPRIMARY_CTA>\n\nworkspace:\n  dir: \u003CWORKSPACE_DIR>\n\nalerts:\n  channel: telegram | slack | discord\n  webhook: \u003CYOUR_WEBHOOK_URL>\n\nschedule:\n  timezone: Europe\u002FParis\n  windows:\n    dm_check:      \"6,21,36,51 9-22 * * *\"\n    comment_check: \"9,24,39,54 9-22 * * *\"\n    browser_health: \"0 * * * *\"\n    daily_recap:   \"21:00\"\n```\n\n### Compatibility\n\n| Stack | Skill install path |\n|---|---|\n| [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode) | `~\u002F.claude\u002Fskills\u002Ffacebook-account-operations\u002F` |\n| [OpenClaw](https:\u002F\u002Fopenclaw.ai) | `~\u002F.openclaw\u002Fskills\u002Ffacebook-account-operations\u002F` |\n| ClawHub-published | one-click install via [clawhub.ai](https:\u002F\u002Fclawhub.ai) |\n| Cursor \u002F Copilot CLI | drop `SKILL.md` into your project's `.cursorrules` or `AGENTS.md` |\n| Any LLM agent reading markdown rules | concatenate `SKILL.md` into your system prompt |\n\n---\n\n## 1. Pages vs personal profile vs groups\n\nDoctrine for brand automation:\n\n- **Page** = the only sanctioned surface for brand activity. Page admins post as the Page, reply as the Page, and the Page has its own analytics + ad surface.\n- **Personal profile** = never automate. Personal profiles are governed by Facebook's \"authentic identity\" policy; automating one is a fast path to a permanent ban.\n- **Groups** = automation is allowed only if the brand **owns** the group (Page is the admin). Replying as the Page on third-party groups requires the group to allow Page comments — most do not. Default: do not automate group activity.\n\nThis skill covers the **Page surface** exclusively.\n\n### The Meta Business Suite is the canonical surface (same as Instagram)\n\nEverything goes through `business.facebook.com`. Never automate against `facebook.com` directly — the personal-profile DOM is unstable, IP-throttled, and any anti-automation trigger there can poison the Page-admin's personal account.\n\n### Physical profile\n\nA single browser profile per Page-admin account:\n\n- `\u003CBROWSER_PROFILE>` (CDP direct, attached to `http:\u002F\u002F127.0.0.1:\u003CBROWSER_PORT>`)\n\n```bash\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> status\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> navigate https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\u002Fall\u002F?business_id=\u003CMETA_BUSINESS_ID>&asset_id=\u003CMETA_ASSET_ID>\nopenclaw browser --browser-profile \u003CBROWSER_PROFILE> snapshot --limit 200\n```\n\n### Canonical URLs (per tab)\n\n| Tab | URL fragment |\n|---|---|\n| All messages (Messenger + IG DMs if cross-linked) | `\u002Flatest\u002Finbox\u002Fall?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Messenger only (Page DMs) | `\u002Flatest\u002Finbox\u002Fmessenger?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Facebook Page comments | `\u002Flatest\u002Finbox\u002Ffacebook?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Page Insights | `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finsights\u002Fall_tools?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n| Page Posts | `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Fposts?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>` |\n\n### Roles (mental separation, single physical profile)\n\n#### Role: `fb-post`\n\nPage cockpit (acting AS THE PAGE, not as the admin's personal account). Use for:\n- Messenger DM replies in MBS.\n- Page comment replies in MBS.\n- Page posts (text, photo, link) via MBS Publishing Tools.\n- Page Insights snapshots.\n\nDefault page: MBS `inbox\u002Fall`.\n\n#### Role: `fb-engage`\n\nDiscovery. Use for:\n- Reading comments under your own Page posts (in MBS).\n- Inspecting a candidate user's profile before replying (open `facebook.com\u002F\u003Cuser>` in a separate tab — DO NOT act from there).\n\nDefault page: MBS `inbox\u002Ffacebook` (comments).\n\n#### Role: `fb-stealth`\n\nQuiet maintenance. Use for:\n- Checking Page Quality (MBS → Page → Page Quality).\n- Reading audience demographics.\n- Page-level settings (admin roles, page restrictions).\n\nDefault page: MBS dashboard.\n\n### Operational law\n\n- `fb-post` = act AS THE PAGE via MBS.\n- `fb-engage` = discover, never act outside MBS.\n- `fb-stealth` = maintain quietly.\n- Stability matters more than speed.\n- After every run, return to MBS `inbox\u002Fall`.\n\n---\n\n## 2. Session check (run first on every cron)\n\nSame as Instagram — see `instagram-account-operations` §2. The MBS session covers both IG and FB assets when both are linked to the same `\u003CMETA_BUSINESS_ID>`.\n\nIf you only manage a FB Page (no IG asset), the same login + navigation pattern applies; replace `inbox\u002Fall` with `inbox\u002Fmessenger` for the smoke test.\n\n---\n\n## 3. Phase gating (Page restrictions awareness)\n\nFacebook Pages do not have karma; they have:\n- **Page Quality** score (MBS → Page → Page Quality): green \u002F yellow \u002F red.\n- **Restrictions** — applied at Page level. A restricted Page cannot run ads, cannot use Messenger templates, sometimes cannot post.\n- **Standard account-level holds** (very young Page-admin account, recent guidelines violations).\n\nPhases:\n\n- **Phase A** (Page \u003C 30 d, OR last 30 d had a Page-level warning \u002F Restriction, OR \u003C 100 followers): inbound DM\u002Fcomment replies inside MBS only. No outbound DMs. No comment-on-other-Pages. No new ads.\n- **Phase B** (Page ≥ 30 d, Page Quality = green, ≥ 100 followers, admin account in good standing): all crons authorized.\n\nAlways read `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-state.md` at start.\n\n### Manual override (advanced)\n\nSame as IG — append `YYYY-MM-DD - phase=B (manual override)` to `fb-state.md` for grandfathered, verified Pages. Document the rationale in `fb-learnings.md`.\n\n---\n\n## 4. Qualification of an inbound DM or comment\n\nA DM or comment is repliable only if **all** of:\n\n- The thread has at least one user-authored message.\n- The user is not banned from your Page (`fb-banned-users.md`).\n- The comment is on a Page post (not on a shared link to your Page).\n- Phase B authorized for brand-mentioning replies.\n- The message is a real question or intent in your domain.\n- Same user not already replied-to in the last 7 days (`fb-reply-log.md`).\n\nIf any check fails: skip.\n\n### Special: existing client recognized\n\nIf the user is in `fb-clients-known.md`, redirect to your client support channel (NOT `\u003CPRIMARY_CTA>` for prospects).\n\n### Special: a public testimonial \u002F positive comment\n\nDo **NOT** redirect to `\u003CPRIMARY_CTA>`. Reply with a public thank-you. No CTA, no link.\n\n---\n\n## 5. Reply templates\n\n### Phase A\n\nPlain, helpful, no brand mention, no link.\n\n### Phase B\n\nDM reply structure:\n```\n[Acknowledge the situation in 1 sentence, neutral tone.]\n\n[General framework in 2-3 short paragraphs.]\n\n[Concrete next step — point to \u003CPRIMARY_CTA>. ONE channel only.]\n```\n\nPage-comment reply structure (Page comments are public — keep them short and bold-typo-free):\n```\n@\u003CUserName> [contextual acknowledgement]. [Indirect signal — \"DM us\" or \"form on Page\"].\n```\n\n### Brand link policy\n\n- Comment body: NO URL. \"DM us\" or \"form on Page\" only.\n- DM body: max ONE URL, ONE channel (`\u003CPRIMARY_CTA>`).\n- Never shorteners — FB marks them as spam and Page Quality drops.\n\n---\n\n## 6. Original posting cadence\n\nOut of scope for the live reactive crons. Recommended rhythm for a Phase B Page:\n\n- **3-5 posts\u002Fweek**. Mix: 1 text-only (high reach if good), 2 image\u002Fcarousel, 1 video.\n- **No \"post & ghost\"** — every Page post gets replies within 2 hours of going live.\n- **Avoid burst posting** (> 3 posts within 24 h). Reach gets distributed across same-day posts.\n- **Pin your evergreen content** to the top of the Page (one Pin slot).\n\n### Boost vs ads\n\n- **Boost** = the simple, in-feed promotion button. Use for an isolated organic post that is over-performing.\n- **Ads (Ads Manager)** = full targeting + creative + funnel. Use for systematic acquisition. Out of scope here.\n\nNever boost a comment-reply. Boost only top-level Page posts.\n\n---\n\n## 7. Quotas (hard limits)\n\n| Action | Phase A limit | Phase B limit |\n|--------|---------------|---------------|\n| DMs handled \u002F 24 h | 20 | 80 |\n| DMs handled \u002F cron run | 4 | 10 |\n| Comment replies handled \u002F 24 h | 30 | 120 |\n| Comment replies handled \u002F cron run | 5 | 12 |\n| Outbound DMs \u002F day (proactive) | 0 | 0 — Page Messenger outbound is heavily restricted; rely on templates with opt-in only |\n| Page posts \u002F day | 1 | 3 |\n| Comments on other Pages | 0 | 5 (sober, on-topic, no link) |\n| Actions in same conversation | min 60 s apart | min 30 s apart |\n| Actions globally | min 30 s apart | min 15 s apart |\n\nQuota tracking: read `fb-reply-log.md` at start of every run.\n\n---\n\n## 8. Anti-spam triggers\n\n### Content\n\n| Avoid | Use instead |\n|-------|-------------|\n| `\u003CBRAND_NAME>` more than once per reply | (max one mention) |\n| URLs in comment bodies | (never) |\n| Multiple URLs in a single DM | (max 1) |\n| \"Click here\", \"DM me\", \"WhatsApp me\" all together | (one CTA, one channel) |\n| Emojis in regulated niches | (drop them) |\n| All caps for emphasis | (use sparingly) |\n| Shorteners (bit.ly \u002F tinyurl) | (use the canonical URL) |\n| Tagging unrelated Pages | (never — it spams the tagged Page) |\n\n### Behavioral\n\n- Replying within 15 s of a comment landing → bot-like; wait ≥ 1 min.\n- Same opening phrase across multiple replies → flagged. Vary openings.\n- > 12 actions in 10 min → rate limit.\n- Identical DM body to > 3 users in 24 h → near-instant Page restriction.\n- Page admin acting from the personal profile (instead of \"as Page\") under a Page post → \"this comment looks like spam\" toast.\n\n---\n\n## 9. Operational flow inside Meta Business Suite\n\nSame backbone as Instagram §9. FB-specific notes below.\n\n### DM (Messenger) check \u002F reply (validated)\n\nURL: `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\u002Fmessenger?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>`\n\nThe flow is identical to the IG-DM flow in `instagram-account-operations` §9 (Playwright `click + type + press Enter`). Differences:\n\n- Messenger threads include the user's **Facebook profile** in the right sidebar — useful for the qualification step (see §4).\n- The \"Mark as Done\" button under the Messenger thread is a useful workflow signal — click it after a reply to keep the inbox clean and improve next-cron-run targeting.\n- **24h customer-service window**: Page Messenger has a 24h reply window — after 24 h of user silence, only message-tag templates can be sent (`HUMAN_AGENT`, `CONFIRMED_EVENT_UPDATE`, etc.). Out of scope for this skill — if you need post-24h outbound, use the Conversations API with an approved tag.\n\n### Page comment reply (validated — with workaround)\n\nURL: `https:\u002F\u002Fbusiness.facebook.com\u002Flatest\u002Finbox\u002Ffacebook?asset_id=\u003CMETA_ASSET_ID>&business_id=\u003CMETA_BUSINESS_ID>`\n\nSame SPA bug as IG comments: clicking the per-comment \"Reply\" link sometimes navigates the right pane to a different post. Same workaround:\n\n1. Find the page-level comment textarea **at the bottom** of the right pane.\n2. Type `@\u003CUserName> your reply`.\n3. Click the send-arrow button (not Enter).\n\nThis posts a top-level comment under the same post but tagged at the parent — which is sufficient for visibility and notification.\n\n### Page moderation: hide vs delete vs ban\n\nWhen a comment is offensive, spammy, or off-topic:\n\n| Action | Effect | When |\n|---|---|---|\n| **Hide** | Comment stays visible to the author + their friends, invisible to everyone else | Default for most low-quality comments — author doesn't notice, no escalation |\n| **Delete** | Comment removed | Only for clearly offensive content or doxxing |\n| **Ban user from Page** | User can no longer comment or DM the Page | Only for repeated harassment after a Hide |\n\nDoctrine: **prefer Hide over Delete**. Hidden comments don't trigger the author to recomment angrily.\n\nMaintain `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-banned-users.md` with one row per ban, the date, and the trigger comment URL.\n\n### Selectors quick-reference (FB-specific)\n\n| Element | Selector |\n|---|---|\n| Messenger DM textbox | `[contenteditable='true']` |\n| Messenger DM send | `press Enter` |\n| Messenger \"Mark as Done\" | `[aria-label*='Mark as done'], [aria-label*='Marquer comme termin']` |\n| Page-comment textarea | `textarea[placeholder*='comment'], textarea[placeholder*='commentaire']` |\n| Page-comment send | the SVG arrow button to the right of the textarea |\n| Comment \"Hide\" | `[aria-label*='Hide'], [aria-label*='Masquer']` (in the comment overflow menu) |\n| Comment \"Delete\" | `[aria-label*='Delete'], [aria-label*='Supprimer']` |\n| Ban user from Page | per-user overflow → \"Ban\" \u002F \"Bloquer\" |\n\n### Exit codes (recommended convention)\n\nSame as `instagram-account-operations` §9.\n\n### Gotchas\n\n- **Page Quality drop after a single misstep**: FB is more aggressive on Pages than on IG accounts. A handful of hidden-by-FB-automod comments can drop Page Quality from green to yellow within 24 h. Audit weekly.\n- **Localized labels**: `Reply` \u002F `Répondre`, `Hide` \u002F `Masquer`, `Delete` \u002F `Supprimer` — maintain a label map.\n- **MBS \"as Page\" indicator**: a tiny chip at the top-right shows you're replying as the Page (not as your personal admin account). Verify on every cron — sometimes MBS reverts to the personal account after a session refresh.\n- **Cron timeout**: ≥ 1200 s — MBS pages on FB-comments tab can take 5-8 s to render fully.\n\n---\n\n## 10. Page state management\n\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-state.md`\n\nFor each day:\n- Phase (A \u002F B).\n- Followers count.\n- Page Quality score (green\u002Fyellow\u002Fred).\n- Last Page-level warning \u002F Restriction.\n- Posts published today.\n\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-banned-users.md`\nFile: `\u003CWORKSPACE_DIR>\u002Fmemory\u002Ffb-clients-known.md`\n\nUpdate at the end of every run that touched a moderation action.\n\n---\n\n## 11. Recovery & blockers\n\n| Issue | Action |\n|-------|--------|\n| `status: stopped` | Report, stop. |\n| Login form on MBS | Session expired, alert, stop. |\n| Page Quality drops to yellow | Flip to Phase A. Alert. Audit hidden \u002F deleted comments. |\n| Page Quality drops to red | Stop all crons. Manual review. Likely a posting policy violation. |\n| \"Page restricted\" banner | Stop all outbound activity. Inbound DM reply only if MBS allows. Alert. |\n| MBS \"Something went wrong\" | Refresh once. Persist → stop and alert. |\n| Comment \"Reply\" causes page navigation | Use `@username` workaround. |\n| Personal admin account in \"review\" status | Stop. Pages are admin-owned — if the admin is restricted, the Page is at risk. |\n\n---\n\n## 12. Mandatory recap (alert channel + memory)\n\nSame format as `instagram-account-operations` §12, with `Page Quality: green\u002Fyellow\u002Fred` added to the recap line.\n\n---\n\n## 13. Memory files inventory\n\n| File | Purpose | Update cadence |\n|------|---------|----------------|\n| `fb-recaps.md` | Per-run logs | Every cron run |\n| `fb-post-log.md` | Page posts (URL, type, date, reach) | Each posting run |\n| `fb-reply-log.md` | DM + comment replies sent | Each reply pass |\n| `fb-state.md` | Daily phase + Page Quality + warnings | Daily Metrics Recap |\n| `fb-banned-users.md` | Users banned from the Page | Each ban |\n| `fb-clients-known.md` | Existing clients to NEVER pitch | Ad hoc |\n| `fb-ideas.md` | Content backlog | Weekly Planning |\n| `fb-learnings.md` | Patterns (what reached, what got hidden) | Weekly + ad hoc |\n| `fb-alerts-sent.md` | Anti-doublon hot-lead alerts | Each alert |\n\n---\n\n## 14. Account identity guardrails\n\n- The Page persona is the brand — speak as the brand, sign as the brand.\n- Page admins: never reply from the personal profile under a Page post. Always switch the \"Posting as\" dropdown to the Page.\n- Bio (Page About): one paragraph + the single `\u003CPRIMARY_CTA>` link. No emoji walls.\n- Never reply to a DM that asks for expert-grade advice on a specific case — redirect to `\u003CPRIMARY_CTA>`.\n- Never share private client details on a public comment.\n- Never reuse strict CRM templates as Page content.\n- Never promise an outcome.\n- Never charge or solicit payment via Page Messenger (compliance + Page restrictions).\n- If asked \"are you a bot?\": sober ambiguous line + redirect.\n\n---\n\n## 15. Phase A → Phase B transition\n\nWhen the Daily Metrics Recap detects (page_age_days ≥ 30) AND (followers ≥ 100) AND (page_quality = green) AND (no warning in 30 d):\n\n1. Append to `fb-state.md`: `YYYY-MM-DD - phase=A - PHASE_B_THRESHOLD_REACHED`.\n2. Send a distinct alert: `🎉 FB Page ready for Phase B — flip outbound crons manually after review`.\n3. Manual user flip.\n4. First week of Phase B: cap reply pass at **4 replies\u002Frun**.\n5. Daily check on Page Quality. Any drop reverts to Phase A.\n\n---\n\n## 16. Stability discipline\n\n- Read the UI before clicking.\n- Verify \"Posting as: \u003CPage>\" on every cron run.\n- One click → verify with a snapshot.\n- Close stale tabs at the end of every run.\n- Never fake a successful reply.\n\n**Better silence than spam. Better a blockage report than a fake success.**\n\n---\n\n## 17. First-run checklist\n\n- [ ] Section 0 placeholders filled.\n- [ ] FB Page created, classified correctly (Business, Local Business, Professional Service, etc.).\n- [ ] Page linked to a Meta Business asset (MBS → Business Settings → Pages → Add).\n- [ ] `\u003CMETA_BUSINESS_ID>`, `\u003CMETA_ASSET_ID>`, `\u003CFB_PAGE_ID>` extracted.\n- [ ] Page About + intro: one paragraph + single `\u003CPRIMARY_CTA>` link.\n- [ ] Browser profile launched, logged into facebook.com.\n- [ ] Navigating to MBS `inbox\u002Fmessenger` renders the conversation list.\n- [ ] Page Quality score = green.\n- [ ] `\u003CWORKSPACE_DIR>\u002Fmemory\u002F` exists with the 9 memory files.\n- [ ] Alert channel webhook tested.\n- [ ] Phase A confirmed: only inbound DM cron enabled.\n- [ ] At least 14 days of manual posting + replies before turning on the cron.\n\nInit memory:\n\n```bash\nmkdir -p \"\u003CWORKSPACE_DIR>\u002Fmemory\" && cd \"$_\" && touch fb-recaps.md fb-post-log.md fb-reply-log.md fb-state.md fb-banned-users.md fb-clients-known.md fb-ideas.md fb-learnings.md fb-alerts-sent.md\n```\n\n---\n\n## 18. FAQ\n\n**Q: Do I need OpenClaw to use this skill?**\nA: No. OpenClaw browser CLI is the example stack — the doctrine works with Playwright, Puppeteer, Chrome MCP, or any CDP-capable tool.\n\n**Q: Can I use the Facebook Pages API instead?**\nA: Partially. The Pages API + Conversations API covers Messenger sending (within and outside the 24h window via message tags), comment moderation, and Page posting. The doctrine in this skill is the **fallback for accounts without API access, or for cases where MBS UI features are essential** (Page Quality dashboard, link previews, audience insights).\n\n**Q: My Page got restricted during testing. What now?**\nA: Stop everything. Manual review of the last 50 actions in `fb-reply-log.md`. Wait for the restriction to expire (or appeal manually). Once cleared, restart at Phase A with stricter quotas.\n\n**Q: Does this cover Facebook Groups?**\nA: Only if you own the group (the Page is the admin). Replying as the Page in a third-party group requires the group setting \"Allow Pages to post\" — most groups do not allow this. Default: skip groups.\n\n**Q: What about Marketplace \u002F Events \u002F Shop?**\nA: Out of scope. Marketplace and Shop have separate UIs and separate sanction patterns; Events run through the standard Page + Ads stack but with a manual posting cadence.\n\n**Q: Boost vs Ads Manager — which does this skill cover?**\nA: Neither. Both are out of scope. This skill is organic + reactive ops only.\n\n**Q: What if my admin account is suspended (not just the Page)?**\nA: Stop everything. A suspended admin account puts the Page at risk. Manual review only. Document the last 20 admin-account actions, not just Page actions, in `fb-learnings.md`.\n",{"name":5,"description":7},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Ff\u002Ffacebook-account-operations",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill facebook-account-operations",{"tool":39,"command":40},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill facebook-account-operations",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill facebook-account-operations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Ff\u002Ffacebook-account-operations\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":19},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]