[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EFCCZSNNAHBH0KSPP579F0":3,"skill-same:01M6EFCCZSNNAHBH0KSPP579F0":58},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":27,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":33,"frontMatter":34,"refName":35,"commitSha":36,"skillDirectory":37,"forksCount":38,"repositoryHtmlUrl":39,"repositoryHomepageUrl":40,"ownerHtmlUrl":41,"ownerBlogUrl":6,"ownerDescription":42,"updatedAt":43,"install":44,"resources":57},"01M6EFCCZSNNAHBH0KSPP579F0","linkedin-marketing",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Flinkedin-marketing\u002FSKILL.md",[17,22],{"categoryNo":18,"categoryName":19,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000019","营销推广","SCENARIO","使用场景",{"categoryNo":23,"categoryName":24,"taxonomyType":25,"taxonomyTypeDesc":26},"01JBSEEDCAT000000000000035","市场营销","PROFESSION","适用职业",[28,29,30],"marketing","linkedin","linkedin marketing","2026-11-10 10:12:30",false,"# LinkedIn Marketing\n\n## Overview\n\nThis skill helps AI agents create high-performing LinkedIn content and integrate with the LinkedIn API. It covers platform-specific content rules, post formatting, carousel creation, API-based publishing, analytics tracking, and growth strategies tailored to LinkedIn's algorithm and audience behavior.\n\n## Instructions\n\n### Platform Rules & Algorithm\n\nLinkedIn's algorithm in 2025-2026 prioritizes:\n\n- **Dwell time** — how long people spend reading your post (long-form > short)\n- **Early engagement** — first 60-90 minutes are critical for distribution\n- **Comments > reactions** — comments weight 5-8x more than likes\n- **Native content** — no external links in post body (kills reach 40-50%)\n- **Relevance** — content shown to people interested in the topic, not just connections\n- **Consistency** — 3-5 posts\u002Fweek beats 1 viral post\u002Fmonth\n\nWhat kills reach:\n- External links in post body (put in comments instead)\n- Editing post within first hour\n- Engagement pods (LinkedIn detects and suppresses)\n- Hashtag stuffing (3-5 max)\n- Tagging people who don't engage back\n\n### Content Formats & Best Practices\n\n#### Text Posts (Highest organic reach)\n```\n[Hook — first 2 lines are everything, must stop the scroll]\n\n[Line break after every 1-2 sentences for mobile readability]\n\n[Body — story, insight, or framework. 800-1300 characters optimal]\n\n[Each paragraph is 1-3 short sentences max]\n\n[CTA — question to drive comments, not \"like if you agree\"]\n\n[3-5 relevant hashtags at the bottom]\n```\n\n**Formatting rules:**\n- First 2 lines show before \"...see more\" — make them irresistible\n- Use line breaks aggressively — wall of text = scroll past\n- 800-1300 characters is the sweet spot (long enough for dwell time, short enough to finish)\n- Emojis sparingly as bullet markers (?, →, ✅), not decoration\n- No markdown — LinkedIn doesn't render it. Use CAPS or emojis for emphasis\n- End with a question to drive comments (open-ended, not yes\u002Fno)\n\n#### Carousels (PDF documents — highest save rate)\n- Upload as PDF (each page is a slide)\n- Slide size: 1080x1350px (4:5 ratio) or 1080x1080px (1:1)\n- 8-12 slides optimal\n- First slide = hook\u002Ftitle (bold, minimal text)\n- Last slide = CTA + profile summary\n- One idea per slide, large text (24-32pt minimum)\n- Brand colors and consistent design\n- File size: under 100MB, max 300 pages\n\n#### Polls (High engagement, low effort)\n- 2 weeks duration optimal\n- 3-4 options (not 2 — too binary)\n- Add context in the post body explaining why you're asking\n- Follow up with results analysis post\n\n#### Articles & Newsletters\n- Articles: 1000-2000 words, SEO-indexed by Google\n- Newsletters: subscribers get email + in-app notification\n- Good for long-form thought leadership\n- Lower viral potential but higher authority building\n- Include images every 300-400 words\n\n#### Video\n- Native video (not YouTube links)\n- Vertical (9:16) or square (1:1) — NOT widescreen\n- Under 2 minutes for feed (30-90s optimal)\n- Captions mandatory (80%+ watch without sound)\n- Hook in first 3 seconds\n- Max file size: 5GB, max duration: 15 minutes\n\n### LinkedIn API Integration\n\n#### Authentication (OAuth 2.0)\n```typescript\n\u002F\u002F LinkedIn uses OAuth 2.0 with 3-legged flow\nconst LINKEDIN_AUTH_URL = 'https:\u002F\u002Fwww.linkedin.com\u002Foauth\u002Fv2\u002Fauthorization';\nconst LINKEDIN_TOKEN_URL = 'https:\u002F\u002Fwww.linkedin.com\u002Foauth\u002Fv2\u002FaccessToken';\n\n\u002F\u002F Step 1: Redirect user to authorize\nconst authUrl = new URL(LINKEDIN_AUTH_URL);\nauthUrl.searchParams.set('response_type', 'code');\nauthUrl.searchParams.set('client_id', process.env.LINKEDIN_CLIENT_ID);\nauthUrl.searchParams.set('redirect_uri', process.env.LINKEDIN_REDIRECT_URI);\nauthUrl.searchParams.set('scope', 'openid profile email w_member_social');\n\u002F\u002F Redirect user to authUrl.toString()\n\n\u002F\u002F Step 2: Exchange code for token\nconst tokenResponse = await fetch(LINKEDIN_TOKEN_URL, {\n  method: 'POST',\n  headers: { 'Content-Type': 'application\u002Fx-www-form-urlencoded' },\n  body: new URLSearchParams({\n    grant_type: 'authorization_code',\n    code: authorizationCode,\n    client_id: process.env.LINKEDIN_CLIENT_ID,\n    client_secret: process.env.LINKEDIN_CLIENT_SECRET,\n    redirect_uri: process.env.LINKEDIN_REDIRECT_URI,\n  }),\n});\nconst { access_token, expires_in } = await tokenResponse.json();\n\u002F\u002F Token valid for 60 days, refresh before expiry\n```\n\n#### Post Content via API\n```typescript\n\u002F\u002F Get user profile URN\nconst profileRes = await fetch('https:\u002F\u002Fapi.linkedin.com\u002Fv2\u002Fuserinfo', {\n  headers: { Authorization: `Bearer ${access_token}` },\n});\nconst { sub: personUrn } = await profileRes.json();\n\n\u002F\u002F Create a text post\nconst postRes = await fetch('https:\u002F\u002Fapi.linkedin.com\u002Fv2\u002Fposts', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${access_token}`,\n    'Content-Type': 'application\u002Fjson',\n    'X-Restli-Protocol-Version': '2.0.0',\n    'LinkedIn-Version': '202401',\n  },\n  body: JSON.stringify({\n    author: `urn:li:person:${personUrn}`,\n    commentary: 'Your post text here...',\n    visibility: 'PUBLIC',\n    distribution: {\n      feedDistribution: 'MAIN_FEED',\n      targetEntities: [],\n      thirdPartyDistributionChannels: [],\n    },\n    lifecycleState: 'PUBLISHED',\n  }),\n});\n\n\u002F\u002F Create a post with image\n\u002F\u002F Step 1: Initialize upload\nconst uploadRes = await fetch('https:\u002F\u002Fapi.linkedin.com\u002Fv2\u002Fimages?action=initializeUpload', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${access_token}`,\n    'Content-Type': 'application\u002Fjson',\n  },\n  body: JSON.stringify({\n    initializeUploadRequest: {\n      owner: `urn:li:person:${personUrn}`,\n    },\n  }),\n});\nconst { value: { uploadUrl, image: imageUrn } } = await uploadRes.json();\n\n\u002F\u002F Step 2: Upload image binary\nawait fetch(uploadUrl, {\n  method: 'PUT',\n  headers: { 'Content-Type': 'image\u002Fpng' },\n  body: imageBuffer,\n});\n\n\u002F\u002F Step 3: Create post with image\nawait fetch('https:\u002F\u002Fapi.linkedin.com\u002Fv2\u002Fposts', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${access_token}`,\n    'Content-Type': 'application\u002Fjson',\n    'LinkedIn-Version': '202401',\n  },\n  body: JSON.stringify({\n    author: `urn:li:person:${personUrn}`,\n    commentary: 'Post with image...',\n    visibility: 'PUBLIC',\n    distribution: {\n      feedDistribution: 'MAIN_FEED',\n    },\n    content: {\n      media: {\n        id: imageUrn,\n        title: 'Image title',\n      },\n    },\n    lifecycleState: 'PUBLISHED',\n  }),\n});\n```\n\n#### Company Page Posting\n```typescript\n\u002F\u002F Post as company page (requires r_organization_admin + w_organization_social)\nawait fetch('https:\u002F\u002Fapi.linkedin.com\u002Fv2\u002Fposts', {\n  method: 'POST',\n  headers: {\n    Authorization: `Bearer ${access_token}`,\n    'Content-Type': 'application\u002Fjson',\n    'LinkedIn-Version': '202401',\n  },\n  body: JSON.stringify({\n    author: 'urn:li:organization:12345678',\n    commentary: 'Company update...',\n    visibility: 'PUBLIC',\n    distribution: { feedDistribution: 'MAIN_FEED' },\n    lifecycleState: 'PUBLISHED',\n  }),\n});\n```\n\n#### Analytics\n```typescript\n\u002F\u002F Get post analytics (requires r_organization_social scope for org posts)\nconst analyticsRes = await fetch(\n  `https:\u002F\u002Fapi.linkedin.com\u002Fv2\u002ForganizationalEntityShareStatistics?q=organizationalEntity&organizationalEntity=urn:li:organization:12345678&timeIntervals.timeGranularityType=DAY&timeIntervals.timeRange.start=1704067200000&timeIntervals.timeRange.end=1706745600000`,\n  { headers: { Authorization: `Bearer ${access_token}` } }\n);\n\n\u002F\u002F Personal post metrics via ugcPosts\nconst ugcRes = await fetch(\n  `https:\u002F\u002Fapi.linkedin.com\u002Fv2\u002FsocialMetadata\u002F${postUrn}`,\n  { headers: { Authorization: `Bearer ${access_token}` } }\n);\n```\n\n### Growth Strategy\n\n**Posting schedule:** 3-5x\u002Fweek (Tue-Thu peak engagement, 8-10 AM local time)\n\n**Content mix:**\n- 40% educational (frameworks, how-tos, lessons learned)\n- 25% stories (personal experiences, behind-the-scenes)\n- 20% opinion\u002Fcontrarian takes (drives comments)\n- 10% engagement posts (polls, questions)\n- 5% promotional (product, hiring, announcements)\n\n**Comment strategy:**\n- Reply to every comment on your posts within 2 hours\n- Leave 5-10 thoughtful comments\u002Fday on posts in your niche\n- Comments on big accounts get you visibility to their audience\n- Ask follow-up questions in comments to extend threads\n\n## Examples\n\n### Example 1: Write a LinkedIn post announcing a product launch\n**User prompt:** \"Write a LinkedIn post for me. I'm the CTO of Meridian Analytics and we just launched a real-time data pipeline product called StreamFlow that processes 2 million events per second. Target audience is engineering leaders at mid-size SaaS companies.\"\n\nThe agent will draft a LinkedIn text post optimized for the algorithm. The first two lines hook with: \"We spent 14 months building something we couldn't find anywhere else.\\n\\nToday we're launching StreamFlow — a real-time data pipeline that handles 2M events\u002Fsec with sub-10ms latency.\" The body tells the story of the problem (batch processing delays costing customers $40K\u002Fmonth in stale dashboards), the solution, and early results from beta customers. It ends with an open-ended question: \"What's the biggest bottleneck in your data pipeline today?\" followed by 4 hashtags: #DataEngineering #RealTimeAnalytics #SaaS #ProductLaunch. The link to the product page goes in a separate first comment, not in the post body.\n\n### Example 2: Automate posting to a LinkedIn company page via API\n**User prompt:** \"Build a TypeScript function that posts a weekly engineering blog summary to our LinkedIn company page (Meridian Analytics, org ID 91847362) every Monday at 9 AM EST.\"\n\nThe agent will create a TypeScript module that authenticates with LinkedIn OAuth 2.0 using `LINKEDIN_CLIENT_ID` and `LINKEDIN_CLIENT_SECRET` from environment variables, obtains an access token with `w_organization_social` scope, then calls `POST \u002Fv2\u002Fposts` with `author: \"urn:li:organization:91847362\"`, the formatted blog summary as `commentary`, `visibility: \"PUBLIC\"`, and `lifecycleState: \"PUBLISHED\"`. The function is wrapped in a cron scheduler using `node-cron` with the pattern `0 9 * * 1` (Mondays at 9 AM). It includes token refresh logic to handle the 60-day expiry and logs each post's success or failure to a `linkedin-posts.log` file.\n\n## Guidelines\n\n- Put links in the FIRST COMMENT, never in the post body\n- Write for mobile — 60%+ of LinkedIn users are on phones\n- Don't edit posts in the first hour — it resets distribution\n- Use \"I\" not \"we\" for personal posts — LinkedIn is personal-first\n- Tag max 3-5 people per post, only if they'll actually engage\n- Post consistently at the same times — your audience learns when to expect you\n- Repurpose high-performing posts after 3-4 months — new followers haven't seen them\n- Save carousels as PDF at 1080x1350px for optimal mobile display\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Flinkedin-marketing",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill linkedin-marketing",{"tool":50,"command":51},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill linkedin-marketing",{"tool":53,"command":54},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill linkedin-marketing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Flinkedin-marketing\u002FSKILL.md",true,[],[59,71,81,90,96,103],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":67,"publishedAt":31},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[64],{"categoryNo":65,"categoryName":66,"taxonomyType":20,"taxonomyTypeDesc":21},"01JBSEEDCAT000000000000023","Skill与智能体开发",[68,69,70],"model","model hierarchy","model hierarchy skill",{"skillNo":72,"name":73,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":77,"publishedAt":31},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[76],{"categoryNo":65,"categoryName":66,"taxonomyType":20,"taxonomyTypeDesc":21},[78,79,80],"MCP","zoom","zoom mcp",{"skillNo":82,"name":83,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":31},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[87,88,89,79],"sdk","zoom apps sdk","apps",{"skillNo":91,"name":92,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":31},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[92],{"skillNo":97,"name":98,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":102,"publishedAt":31},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[101],{"categoryNo":65,"categoryName":66,"taxonomyType":20,"taxonomyTypeDesc":21},[98],{"skillNo":104,"name":105,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":31},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[105]]