{"id":"business-contact-social-links-skill","name":"business-contact-social-links-skill","summary":"このスキルは、ユーザーが公式ウェブサイトやソーシャルメディアのプロフィールを自動的に抽出するのに役立ちます。","body":"# Business Contact & Social Links Extractor Skill\n\n## 📖 Brief\nThis skill integrates two BrowserAct templates to cover two common scenarios. When the user provides a **company name**, it searches Google to extract the company's official website and social media channels. When the user provides a **website URL**, it scrapes the site to extract social media profile links (LinkedIn, Facebook, X/Twitter, Instagram, YouTube, TikTok). The script auto-detects the input type and routes to the correct template.\n\n## ✨ Features\n1. **No Hallucinations**: Pre-set workflows avoid AI generative hallucinations, ensuring stable and precise data extraction.\n2. **No Captcha Issues**: No need to handle reCAPTCHA or other verification challenges.\n3. **No IP Restrictions**: No need to handle regional IP restrictions or geofencing.\n4. **Faster Execution**: Tasks execute faster compared to pure AI-driven browser automation solutions.\n5. **Cost-Effective**: Significantly lowers data acquisition costs compared to high-token-consuming AI solutions.\n\n## 🔑 API Key Setup\nBefore running, check the `BROWSERACT_API_KEY` environment variable. If not set, do not take other measures; ask and wait for the user to provide it.\n**Agent must inform the user**:\n> \"Since you haven't configured the BrowserAct API Key yet, please visit the [BrowserAct Console](https://www.browseract.com/reception/integrations) to get your Key.\"\n\n## 🛠️ Input Parameters\nThe agent should determine whether the input is a company name or a website URL and pass it to the script. The script automatically routes the request to the correct template.\n\n1. **Target (Company Name or Website URL)**\n   - **Required**: Yes\n   - **Type**: `string`\n   - **Description**: The name of the company to search for, or the direct website URL to scrape social links from.\n   - **Example**: `OpenAI` or `https://www.rotorooter.com/`\n\n## 🚀 Invocation Method\nAgent should execute the following command to invoke the skill:\n\n```bash\n# Search by company name\npython -u ./scripts/business_contact_social_links.py \"OpenAI\"\n\n# Scrape by website URL\npython -u ./scripts/business_contact_social_links.py \"https://www.rotorooter.com/\"\n```\n\n### ⏳ Execution Monitoring\nSince this task involves automated browser operations, it may take several minutes. The script outputs **timestamped status logs** continuously (e.g., `[14:30:05] Task Status: running`).\n**Agent guidelines**:\n- Monitor the terminal output while waiting.\n- As long as new status logs appear, the task is running normally; do not misjudge it as frozen.\n- Only consider triggering retry if the status remains unchanged for a long time or output stops without a final result.\n\n## 📊 Data Output\nUpon successful execution, the script prints structured JSON data extracted from the API response.\n\n**If a Company Name was provided**, the output includes:\n- `Company Name`: The official name of the company.\n- `Current Page URL`: The official website URL.\n- `Social Media Information`: A consolidated list of discovered social media profiles.\n\n**If a Website URL was provided**, the output includes an array of objects:\n- `platform`: Platform name (e.g., LinkedIn, YouTube).\n- `url`: Canonical URL of the external profile.\n\n## ⚠️ Error Handling & Retry\nIf an error occurs during script execution (e.g., network fluctuations or task failure), the Agent should follow this logic:\n\n1. **Check Output Content**:\n   - If the output **contains** `\"Invalid authorization\"`, it means the API Key is invalid or expired. **Do not retry**; guide the user to re-check and provide the correct API Key.\n   - If the output **contains** `\"concurrent\"` or `\"too many running tasks\"`, it means the concurrent task limit has been reached. **Do not retry**; guide the user to upgrade their plan.\n     **Agent must inform the user**:\n     > \"The current task cannot be executed because your BrowserAct account has reached the concurrent task limit. Please visit the [BrowserAct Plan Upgrade Page](https://www.browseract.com/reception/recharge) to upgrade your plan.\"\n   - If the output **does not contain the above error keywords** but the task failed (e.g., output starts with `Error:` or returns empty results), the Agent should **automatically re-execute the script once**.\n\n2. **Retry Limit**:\n   - Automatic retry is limited to **one time**. If the second attempt fails, stop retrying and report the specific error to the user.\n\n## 🌟 Typical Use Cases\n1. **Sales Lead Enrichment**: Find the official website and social channels for a list of company names.\n2. **Influencer Outreach**: Extract all social media profiles from a creator's personal website.\n3. **Competitor Analysis**: Discover which social media platforms a rival company prioritizes.\n4. **CRM Data Cleaning**: Verify and populate missing social links and official URLs for existing leads.\n5. **Multi-Channel Marketing**: Build targeted lists of businesses with active social media presence.\n6. **Social Listening Setup**: Quickly gather official handles to monitor brand mentions.\n7. **B2B Prospecting**: Combine with Yellow Pages data to build complete business intelligence profiles.\n8. **Partner Vetting**: Evaluate the digital footprint of a potential business partner using just their name.\n9. **Directory Building**: Automate the collection of website and social links for a local business directory.\n10. **Brand Tracking**: Track all official contact channels of specific brands across the web.","author":"@browser-act","ownerProfile":null,"authorContacts":null,"sourceUrl":"https://github.com/browser-act/skills/tree/main/solutions/lead-generation/business-contact-social-links-skill","license":"MIT","category":null,"lang":"en","tokens":1196,"stars":0,"calls30d":2,"claimed":false,"visibility":"public","origin":"crawler","version":"0.1.0","createdAt":"2026-08-22","updatedAt":"2026-08-22","files":[{"path":"scripts/business_contact_social_links.py","size":5416,"sha256":"39381a69fcc1e6a6e5fe4e426d64bc1a036196a2e002a22ee4c4f75edededdd8"}],"requires":{"mcp":[],"tools":[]},"safety":{"flags":[{"code":"net.endpoints","kind":"exfiltration","excerpt":"api.browseract.com, www.browseract.com, www.rotorooter.com","message":"bundled scripts reach 3 external host(s)","severity":"warn"}],"scannedAt":"2026-08-22","hasScripts":true,"networkEndpoints":["api.browseract.com","www.browseract.com","www.rotorooter.com"]}}