AI Skill

Claude Facebook + LinkedIn Skill

A specialized AI skill for the two B2B-leaning platforms — Facebook Pages and LinkedIn personal/Company. Covers the Page-only constraint on Facebook (Personal profiles unsupported by Meta API), LinkedIn's dual endpoint model (UGC posts vs Organization shares routed via linkedin_page_id presence), and document carousels (PDF up to 300 pages on LinkedIn).

FacebookLinkedIn

Best for:B2B teams, agencies managing Company Pages, multi-platform announcements that include LinkedIn, document/PDF marketers.

What this skill teaches the LLM

The skill is a markdown file the LLM reads when activating. Below is the focused context this skill bakes in — so Claude/ChatGPT/Cursor doesn't have to learn from API errors.

  • Facebook: Personal profiles NOT supported by Meta API. Must connect a Facebook Page where user has admin or content-creator role.
  • Facebook Reels: vertical 9:16, max 90 sec, set facebook_media_type=reel
  • Facebook text format: up to 63,206 chars (effectively unlimited), engagement drops sharply over ~500 chars
  • LinkedIn dual endpoint: omit linkedin_page_id → UGC post (personal profile). Set linkedin_page_id=Org URN → Organization share (Company Page)
  • LinkedIn Page admin requirement: must be Page admin or content admin to post to a Company Page (Viewer/Analyst roles can't publish)
  • LinkedIn supported types: text, image (single or multi-image carousel up to 9 personal / tiled differently on Pages), video (max 5 GB, 10 min), document (PDF carousel up to 300 pages)
  • LinkedIn rate limits: 100 calls/user/day for personal UGC, separate 100/day per Organization for Company Page shares
  • GIFs not supported by LinkedIn — convert to MP4

Example prompts

These are real prompts you can give an AI client with this skill installed. The skill provides the LLM with the right tool calls, parameter names, and platform-specific quirks so the response is correct on the first try.

1

Post our Q3 announcement to our LinkedIn Company Page.

What the LLM does

Claude asks for the Company Page ID (or finds it from list_profiles), then calls create_post with linkedin_page_id set to the Org URN. Routes to Organization shares endpoint automatically.

2

Cross-post our blog announcement to Facebook Page + LinkedIn personal + LinkedIn Company.

What the LLM does

Claude makes two create_post calls — one for personal LI (no linkedin_page_id) + one with linkedin_page_id for Company Page + one for Facebook Page (linkedin_page_id is irrelevant for FB).

3

Upload this 50-page PDF as a LinkedIn document carousel.

What the LLM does

Claude calls create_post with post_type=document, media_urls=[pdf_url] — LinkedIn handles the carousel rendering for documents up to 300 pages.

Install in 2 steps

The skill itself is a markdown file. The MCP server is the runtime. Install both for the full experience.

  1. 1Configure MCP server in your AI client

    Paste this configuration into Claude Desktop / Cursor / Zed's MCP config file. Replace cdv_your_api_key with your real key from pricing.

    {
      "mcpServers": {
        "codivupload": {
          "command": "npx",
          "args": ["-y", "codivupload-mcp"],
          "env": {
            "CODIVUPLOAD_API_KEY": "cdv_your_api_key"
          }
        }
      }
    }
  2. 2Add the skill markdown

    Download npmjs/skills/facebook-linkedin/SKILL.md from the GitHub repo and place it under ~/.claude/skills/codivupload-facebook-linkedin/SKILL.md (Claude Desktop) or your project's .claude/skills/ directory.

    For ChatGPT: paste the SKILL.md content into a Custom GPT's Instructions field at gpts.openai.com/editor.

    github.com/Codivion

Frequently asked

Why doesn't my Personal Facebook profile work?+

Meta's API doesn't allow third-party tools to post to Personal Facebook profiles. You must connect a Facebook Page where you have admin or content-creator role. The skill explains this and points to the connect flow in CodivUpload Dashboard.

How does the LinkedIn dual endpoint routing work?+

If you set linkedin_page_id in the payload, CodivUpload routes the call to LinkedIn's Organization shares endpoint (posts to Company Page). If you omit linkedin_page_id, CodivUpload uses the UGC posts endpoint (posts to the connected user's personal profile). Single platforms entry, two routing paths.

Can the skill help with LinkedIn document carousels?+

Yes — explains the post_type=document path, PDF format requirements, and the up-to-300-pages limit. LinkedIn renders documents as swipeable carousels.

Ready to give your AI agent posting tools?

Free CodivUpload plan covers 30 posts/month. Skills are MIT licensed.

Get an API key