[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75EZ8P0FZNEM5QHCMT9HTMF":3,"skill-same:01M75EZ8P0FZNEM5QHCMT9HTMF":54},{"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":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":37,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":6,"updatedAt":40,"install":41,"resources":53},"01M75EZ8P0FZNEM5QHCMT9HTMF","social_ingestion_facebook",null,"Automatically scrape, extract, and structure content from Facebook posts, pages, and groups for knowledge ingestion.","LongLeo287\u002FSEOSONA-OS","LongLeo287","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141803367?v=4","01M6JK75C62VCNZKR5BRZ386YV","LongLeo","01M75CK60XQGYJY3YDGGFJQDYT",2,"MIT","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fcontent_ingestion\u002Fsocial_ingestion_facebook\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: \"social_ingestion_facebook\"\ndescription: \"Automatically scrape, extract, and structure content from Facebook posts, pages, and groups for knowledge ingestion.\"\nversion: \"1.0.0\"\nauthor: \"SEOSONA OS\"\ntags: [\"social-media\", \"facebook\", \"content-ingestion\", \"marketing\"]\nmcp_compatible: true\n---\n\n# 🛠️ Skill: Facebook Content Ingestion\n\n> **Purpose**: Extracts post content, images, and engagement metrics from Facebook to populate the SEOSONA Knowledge Base. Overcomes common scraping blocks using Firecrawl MCP and specialized DOM parsing.\n\n## 📥 Inputs & Requirements\n- **Dependencies**: Firecrawl MCP Server, Apify Facebook Scraper (fallback).\n- **Input Format**: `{ \"url\": \"https:\u002F\u002Ffacebook.com\u002F...\", \"extract_comments\": boolean }`\n\n## 🧠 Execution Steps (The Method)\n1. **Validation**: Check if URL is a valid public Facebook post, page, or group link.\n2. **Scraping Phase**: \n   - Attempt Firecrawl MCP to grab the raw HTML\u002FMarkdown.\n   - If blocked by auth-wall, fallback to headless browser via Playwright (with active session cookies) or Apify.\n3. **Data Extraction**:\n   - Extract primary post text.\n   - Extract image URLs and send to `vision_analysis` skill for alt-text generation.\n   - Extract engagement metrics (Likes, Shares, Comments count).\n4. **Knowledge Structuring**: Convert the extracted data into a unified Markdown\u002FJSON format compatible with `3_MEMORY\u002Fknowledge_items\u002F`.\n\n## 🛡️ Cognitive Guardrails\n- **DO NOT**: Attempt to scrape private profiles or closed groups without valid session cookies.\n- **DO NOT**: Store Personally Identifiable Information (PII) of commenters. Strip all regular user names; only keep brand\u002Fpage names.\n- **FALLBACK**: If direct scraping fails, instruct the user to provide the raw HTML source of the page.\n\n## ✅ Quality Validation Criteria (MANDATORY)\n*Before outputting \"TASK COMPLETED\", the agent MUST self-verify against these criteria:*\n- [ ] Criteria 1: Output matches the standard Knowledge Base `.md` schema.\n- [ ] Criteria 2: No placeholder text left in the extracted content.\n- [ ] Criteria 3: Data privacy guardrails respected (no user PII).\n- [ ] Criteria 4: Engagement metrics are accurately captured or explicitly marked as \"N\u002FA\".\n\n## 💻 Example Invocation (System Prompt Fragment)\n```markdown\n\u003Cskill_usage_example>\nUser: \"Cào nội dung bài viết này giúp mình: https:\u002F\u002Ffacebook.com\u002Fseosona\u002Fposts\u002F123\"\nAction: Execute `social_ingestion_facebook` with input `{ \"url\": \"https:\u002F\u002Ffacebook.com\u002Fseosona\u002Fposts\u002F123\", \"extract_comments\": false }`\nResult: \"[Knowledge Item created in 3_MEMORY]\"\n\u003C\u002Fskill_usage_example>\n```\n","# 🛠️ Skill: Facebook Content Ingestion\n\n> **Purpose**: Extracts post content, images, and engagement metrics from Facebook to populate the SEOSONA Knowledge Base. Overcomes common scraping blocks using Firecrawl MCP and specialized DOM parsing.\n\n## 📥 Inputs & Requirements\n- **Dependencies**: Firecrawl MCP Server, Apify Facebook Scraper (fallback).\n- **Input Format**: `{ \"url\": \"https:\u002F\u002Ffacebook.com\u002F...\", \"extract_comments\": boolean }`\n\n## 🧠 Execution Steps (The Method)\n1. **Validation**: Check if URL is a valid public Facebook post, page, or group link.\n2. **Scraping Phase**: \n   - Attempt Firecrawl MCP to grab the raw HTML\u002FMarkdown.\n   - If blocked by auth-wall, fallback to headless browser via Playwright (with active session cookies) or Apify.\n3. **Data Extraction**:\n   - Extract primary post text.\n   - Extract image URLs and send to `vision_analysis` skill for alt-text generation.\n   - Extract engagement metrics (Likes, Shares, Comments count).\n4. **Knowledge Structuring**: Convert the extracted data into a unified Markdown\u002FJSON format compatible with `3_MEMORY\u002Fknowledge_items\u002F`.\n\n## 🛡️ Cognitive Guardrails\n- **DO NOT**: Attempt to scrape private profiles or closed groups without valid session cookies.\n- **DO NOT**: Store Personally Identifiable Information (PII) of commenters. Strip all regular user names; only keep brand\u002Fpage names.\n- **FALLBACK**: If direct scraping fails, instruct the user to provide the raw HTML source of the page.\n\n## ✅ Quality Validation Criteria (MANDATORY)\n*Before outputting \"TASK COMPLETED\", the agent MUST self-verify against these criteria:*\n- [ ] Criteria 1: Output matches the standard Knowledge Base `.md` schema.\n- [ ] Criteria 2: No placeholder text left in the extracted content.\n- [ ] Criteria 3: Data privacy guardrails respected (no user PII).\n- [ ] Criteria 4: Engagement metrics are accurately captured or explicitly marked as \"N\u002FA\".\n\n## 💻 Example Invocation (System Prompt Fragment)\n```markdown\n\u003Cskill_usage_example>\nUser: \"Cào nội dung bài viết này giúp mình: https:\u002F\u002Ffacebook.com\u002Fseosona\u002Fposts\u002F123\"\nAction: Execute `social_ingestion_facebook` with input `{ \"url\": \"https:\u002F\u002Ffacebook.com\u002Fseosona\u002Fposts\u002F123\", \"extract_comments\": false }`\nResult: \"[Knowledge Item created in 3_MEMORY]\"\n\u003C\u002Fskill_usage_example>\n```\n",{"name":5,"tags":24,"author":29,"version":30,"description":7,"mcp_compatible":31},[25,26,27,28],"social-media","facebook","content-ingestion","marketing","SEOSONA OS","1.0.0",true,"main","4fd50b1281e8cd978866b6b4556242605cabf708","2_KNOWLEDGE\u002Fskills\u002Fcontent_ingestion\u002Fsocial_ingestion_facebook",1,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS","https:\u002F\u002Fseosona-os.vercel.app","https:\u002F\u002Fgithub.com\u002FLongLeo287","https:\u002F\u002Fwww.facebook.com\u002FResourceRookie2023","2026-10-09 15:14:13",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":31},[43,46,49],{"tool":44,"command":45},"npx","npx skills add LongLeo287\u002FSEOSONA-OS --skill social_ingestion_facebook",{"tool":47,"command":48},"bunx","bunx skills add LongLeo287\u002FSEOSONA-OS --skill social_ingestion_facebook",{"tool":50,"command":51},"pnpm","pnpm dlx skills add LongLeo287\u002FSEOSONA-OS --skill social_ingestion_facebook","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fcontent_ingestion\u002Fsocial_ingestion_facebook\u002FSKILL.md",[],[55,62,69,76,83,90],{"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},"01M75F0T3V3W7JQQ05X26NNN2T","web_crawler_katana","High-speed web crawling using Katana patterns for deep site mapping, URL discovery, and content extraction.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fweb_crawler_katana\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},"01M75F0Q2QJXDGAFKC7D84GT88","server_log_analyzer","Analyzes Nginx\u002FApache server logs to identify Googlebot crawl patterns, errors, and performance bottlenecks.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fserver_log_analyzer\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},"01M75F0KZP6D8R8XPN2YT35BAJ","schema_markup_generator","Auto-generates JSON-LD structured data for any page type (Article, Product, FAQ, LocalBusiness, etc.).","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fschema_markup_generator\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},"01M75F0G3KX4Y86AXJXTKXVEVA","internal_linking_optimizer","Analyzes and optimizes the internal link graph of a website for SEO authority distribution.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Finternal_linking_optimizer\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},"01M75F0CS1RYX4YPJC7N6RAAQJ","google_trends_analyzer","Detects trending topics and seasonal patterns using Google Trends data for content planning and keyword strategy.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fgoogle_trends_analyzer\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M75F0ASMQ1GKPFX82D19SRTN","brand_context_analyzer","Tracks brand mentions, sentiment, and online reputation across web sources.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FSEOSONA-OS\u002Fblob\u002Fmain\u002F2_KNOWLEDGE\u002Fskills\u002Fseo_technical\u002Fbrand_context_analyzer\u002FSKILL.md",[],[]]