/content-ai:linked-in-post [topic or path to source content]from content-ai
Repackage a source document into ready-to-post LinkedIn content: a beginner-friendly, 3–5-minute newsletter article that explains essential technical terms in plain language and includes inline diagrams when useful (paste-ready HTML you open in a browser and copy → LinkedIn keeps the formatting), a ready-to-paste newsletter announcement, and an auto-generated cover image. Works on any document you reference; independent of the learn skill, though learn can trigger it. Triggers on: 'make a LinkedIn article', 'turn this into a LinkedIn post', 'create a summary post for X', 'publish X to LinkedIn'.
Ships in content-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Turn a finished document into ready-to-publish LinkedIn assets:
{DocName}-LinkedIn-Article.md (readable source) + {DocName}-LinkedIn-Article.html (the paste-ready file).{DocName}-LinkedIn-Announcement.md) — the short post text you paste into LinkedIn's publish box; publishing the newsletter attaches the article automatically, so it is your feed post (no separate post, no link in the comments).images/cover.png) — always generated, sized for LinkedIn.This skill is independent — it repackages whatever source content you point it at. learn can trigger it and hand over a reference, but you can also run it directly on any document.
LinkedIn's article editor is a Quill rich-text editor. It applies formatting only when the clipboard carries rich text (text/html) — exactly like pasting from Google Docs. This was verified end-to-end:
.html in a browser → Ctrl+A → Ctrl+C → paste into the article body. The browser copies the rendered page as text/html, and LinkedIn maps every element: <h2>→Heading, <h3>→Subheading, <strong>→bold, <em>→italic, <ul>/<ol>→lists, <blockquote>→quote, <a>→link, and <pre><code>→code block.<tags> (that's text/plain).**bold**, *italic*, [links](url) — never headings/lists/code.So the deliverable is an .html file, and the publish step is "open in a browser and copy." Two things are still done by hand (LinkedIn requires it): uploading the cover image and uploading any inline images (marked in the text).
You are given a reference to the source content — usually a path to a markdown/text document (e.g. a learn topic doc), or content pasted inline.
Derive a base name {DocName} from the source: the source document's file name without its extension (e.g. AgentMarketplaces.md → {DocName} = AgentMarketplaces). Prefix every output with it so the assets stay tied to their source.
Write everything next to the source document (same directory):
{DocName}-LinkedIn-Article.md — readable article source{DocName}-LinkedIn-Article.html — the paste-ready article body{DocName}-LinkedIn-Announcement.md — the newsletter announcement post textimages/ — cover.png plus any inline visualsIf content was given inline (no source path), derive {DocName} from the title (PascalCase, e.g. "Agent marketplaces" → AgentMarketplaces), create ./output/linkedin/{slug}/, and write the same {DocName}-… files there.
{DocName}-LinkedIn-Article.mdReframe the source for someone with no prior knowledge and no technical background: a 3–5-minute read (~550–750 words of readable text, including headings and the signature but excluding front matter and image markers). Let the material determine the article's shape: use headings where they help, not a prescribed number of sections or a fixed introduction, comparison, and takeaway. Focus on a clear thread instead of compressing every section of the source. Lead with a relatable question or payoff, not an unexplained term. Use a concrete example only when it genuinely makes the topic easier to grasp; do not invent one to fill space. Keep the technical terms a reader needs to understand that thread, including closely related terms the source distinguishes. No hashtags in articles.
Place [📷 images/{name}.png — {what the visual shows}] markers beside the passages a visual would genuinely clarify, not in predetermined slots or only at the end. Technical articles often benefit from one or two simple inline visuals, but a process or comparison diagram is not required unless it suits the topic. Step 3 must produce a real, readable PNG for each marker. Reference the cover as images/cover.png.
Write the article as the author's first-person account of figuring this out, not a neutral explainer. The reader should feel that a real person is teaching them what they learned, not that an agent generated a summary.
Match the author's known newsletter voice using the fixed identity in Step 7, and keep the Step 2 humanizer rules in mind as you draft: no em dashes, varied sentence rhythm, concrete detail.
Use this source format; the order of paragraphs, headings, and optional image markers follows the article, not this example:
---
title: {plain-language curiosity + benefit title — goes in LinkedIn's Title field}
cover: images/cover.png
---
*{one-sentence standfirst: a personal hook a newcomer can understand}*
{an opening a newcomer can follow}
# {a heading only where it helps the reader} (becomes LinkedIn "Heading")
{body prose in a natural order, defining essential terms when introduced}
[📷 images/{name}.png — {a useful visual placed beside the passage it clarifies, if applicable}]
{continue the explanation and close with a genuine personal takeaway}
*Written by Lior Zivi, AI Engineer. I build practical AI systems and share what I learn along the way.*
Use as many headings and image markers as the explanation needs; the sample above is syntax, not an outline to fill. Do not drop a useful inline visual just to avoid an extra upload, and do not invent one just to meet a count. Count the readable words and reread the result as a newcomer before moving on: if it runs long, narrow the thread; if it is short, clarify a useful point rather than adding filler; if an essential term is undefined, explain it rather than removing it.
{DocName}-LinkedIn-Article.mdRun the humanizer skill (from the remote-plugin-blader plugin) on {DocName}-LinkedIn-Article.md so it reads as human-written rather than AI-generated, then save the humanized text back to {DocName}-LinkedIn-Article.md. This must run before Step 4 — the paste-ready HTML is rendered from this file, so it needs to reflect the humanized text. Preserve the fixed final signature verbatim; if the humanizer changes, moves, or removes it, restore it as the article's final paragraph. If the humanizer skill isn't installed, apply its principles inline (cut AI tells and filler, vary sentence rhythm) and continue. Recheck the word count, plain-language definitions, and image markers after humanizing; keep the necessary technical names while removing unexplained jargon and filler. Preserve [📷 …] markers and their filenames verbatim even if the humanizer would otherwise change their punctuation.
Now that the article exists, create the images it references — directly from the content, no dependency on any deck/PPTX.
Image generator — prefer the ai-local-diffusion-invoker skill (local, free, on-GPU). Before generating raster visuals, check your available skills list for a skill named ai-local-diffusion-invoker (from the local-ai plugin; it may appear namespaced, e.g. local-ai:ai-local-diffusion-invoker). It generates images locally on the user's own NVIDIA GPU (FLUX text-to-image) — no cloud service, no paid API. When it is available, you MUST use it for the cover image and for every conceptual / illustrative / photographic inline visual. Invoke it with the prompt you write (see Prompting & art direction below), send its output into images/, and use the absolute path it returns (rename/resize it to the filename the article references). The model needs both dimensions as multiples of 16, so generate at a 16:9-friendly size like 1280 × 720 or 1344 × 768, then resize to the target spec. Never put text, words, or labels inside the image (diffusion renders lettering poorly).
Every prompt must be grounded in this specific article — read its title, standfirst, and section headings first, then translate the idea it argues into a concrete visual metaphor. In each prompt name the subject, composition, art style, color palette, mood, and lighting, and end with an aspect hint (e.g. 16:9).
a luminous city of floating modular structures linked by glowing data bridges at dawn, order emerging from complexity, cinematic wide shot, warm hopeful palette, volumetric light, 16:9a minimalist professional illustration of a layered cache as stacked translucent panes with one highlighted fast path, muted corporate palette, soft even lighting, clean background, 16:9User art direction (style — and any other prompt instructions). The user can shape the imagery when they invoke this skill, and not only its style. Treat anything they say about the images as art-direction overrides that take precedence over the defaults, and fold it into the prompt(s) it targets. They may pass:
anime / cel-shaded, Pixar-style 3D render, watercolor, flat vector / isometric, cinematic photo, oil painting, low-poly, cyberpunk, minimalist line art, …);Targeting: a direction with no target → the cover (plus conceptual inline visuals); "all images" / "the visuals" → every generated image; a named image → that one only. When a direction conflicts with a default (e.g. they want a playful cartoon cover), follow the user. Labeled diagrams stay Mermaid/SVG regardless. With no direction given, use the defaults above (artistic cover, professional inline).
images/cover.png at 1920 × 1080 px (16:9; LinkedIn's official article/newsletter cover spec), PNG/JPEG/WEBP — not GIF, < 5 MB; keep on-image text minimal (LinkedIn overlays UI on thumbnails). With the invoker: generate at 1280 × 720 (or 1344 × 768), then resize/pad to 1920 × 1080 and save as images/cover.png.[📷 images/{name}.png — …] marker's image at the point the article needs it; short technical articles often use one or two, but there is no fixed number or required diagram type:
ai-local-diffusion-invoker when it's available (professional style by default, or the user's override); otherwise use whatever image capability you have.
Verify that every generated PNG exists at the exact path in its marker and that the labels are readable, not clipped.[📷 …] markers as placeholders and report which visuals are missing; for the cover, if a PNG can't be rendered, write images/cover.svg (1920 × 1080) and tell the user to export it to PNG. Do not present placeholders as finished images.{DocName}-LinkedIn-Article.htmlConvert the source to an HTML body using EXACTLY this mapping (all verified to survive paste). This is the file the user copies from a browser.
| Markdown in source | HTML to emit | LinkedIn result |
|---|---|---|
# Heading | <h2>…</h2> | Heading |
## Subheading | <h3>…</h3> | Subheading |
| paragraph | <p>…</p> | Normal text |
**bold** | <strong>…</strong> | Bold |
*italic* | <em>…</em> | Italic |
`inline code` | <code>…</code> | Inline code |
fenced ``` block | <pre><code>…</code></pre> | Code block |
- item | <ul><li>…</li></ul> | Bulleted list |
1. item | <ol><li>…</li></ol> | Numbered list |
> quote | <blockquote>…</blockquote> | Quote |
[text](url) | <a href="url">text</a> | Link |
[📷 file — caption] | <p>[📷 file — caption]</p> (literal text) | Upload reminder |
Rules:
<head>'s <title> tag; Step 7 copies it from there into LinkedIn. Do not emit <h1> (it does not map cleanly).h2, h3, p, strong, em, code, pre, ul, ol, li, blockquote, a, br. No class, style, div, span, <img>, <hr>, tables, colors, or font-size — LinkedIn strips or breaks them.<img>: keep each image as the literal [📷 …] marker at the same point in the HTML as in the Markdown, so the user uploads it there. Before reporting completion, verify every marker in both versions matches a real PNG, or explicitly report a missing-image placeholder. The cover alone does not replace inline visuals.<body> with this exact final paragraph: <p><em>Written by Lior Zivi, AI Engineer. I build practical AI systems and share what I learn along the way.</em></p>. Do not emit any article content after it.<!doctype html>
<html><head><meta charset="utf-8"><title>{title}</title></head>
<body>
<p><em>I wondered why the same page sometimes loads faster the second time.</em></p>
<h2>The starting point</h2>
<p>The app asks for data and keeps a copy in a <strong>cache</strong>, a temporary place for recently used answers.</p>
<h2>What changes next time</h2>
<p>When the page opens again, the app checks that copy first instead of asking for the same data again.</p>
<h2>Why it matters</h2>
<p>Less waiting made caching much easier for me to understand.</p>
<p><em>Written by Lior Zivi, AI Engineer. I build practical AI systems and share what I learn along the way.</em></p>
</body></html>
{DocName}-LinkedIn-Announcement.mdThis is the text you paste into the share box of LinkedIn's newsletter publish flow (the "add your thoughts" field shown when you publish the article). Publishing the newsletter posts this text to the feed with the article attached as a card, so it is your feed post — you do not write a separate standalone post, and you do not put the article link in the body or in a first comment (the attached article already carries the click).
The feed has no rich text, so this stays plain text with Unicode bold/italic for emphasis. First 2 lines must hook above the "…see more" fold; short lines; 3–6 hashtags; 800–1,500 chars.
Write it to feel personal, not corporate: use first person, lead with your own angle — why this mattered to you, what surprised you, a genuine opinion or hot take — and keep the voice conversational, like you sharing something with your network rather than a press release. Avoid generic hype and AI-isms (the Step 6 humanizer pass reinforces this).
This announcement is the most personal of the three assets: it is you telling your network what you just learned and why it grabbed you. Lead from your own experience (what you noticed, what surprised you, what you went and dug into), and make the first two lines fascinating and inviting so people stop scrolling and want the full article. A single light, tasteful joke is welcome if it fits naturally.
Keep the announcement accessible to the same newcomer as the article: tease its one core question, and if you name a technical concept, immediately describe it in everyday words. Do not promise a broader technical survey than the article delivers.
Do not add any "link in the comments" line: because this is the newsletter's own publish-flow post, LinkedIn attaches the full article to it automatically, so the click is already there.
{𝗨𝗻𝗶𝗰𝗼𝗱𝗲-𝗯𝗼𝗹𝗱 personal hook line 1 — first person, from your own experience: a surprising realization or relatable tension that stops the scroll}
{hook line 2 that earns the "…see more" tap}
{2–4 short lines previewing the value, in your own voice}
𝗜𝗻𝘀𝗶𝗱𝗲 𝘁𝗵𝗲 𝗳𝘂𝗹𝗹 𝗶𝘀𝘀𝘂𝗲:
◈ {point 1}
◈ {point 2}
{one-line personal takeaway — what you think, or what you'd do with this}
♻️ Repost if it's useful to someone in your network.
#Hashtag1 #Hashtag2 #Hashtag3
Optional follow-up: to re-surface the piece later, you can write a separate feed post a day or two afterward — but give it a different angle/hook than this announcement, not the same words.
{DocName}-LinkedIn-Announcement.mdRun the humanizer skill (from the remote-plugin-blader plugin) on {DocName}-LinkedIn-Announcement.md so it sounds like a human wrote it, then save the humanized text back. If the humanizer skill isn't installed, apply its principles inline and continue.
The article author is always Lior Zivi, AI Engineer. Do not replace this identity or ask for an author name or role. The newsletter name is AI - Explained. Fill {Newsletter name} with this exact name and do not ask for it again. Optionally open the HTML in the user's browser for them (e.g. Start-Process msedge "file:///<abs-path>/{DocName}-LinkedIn-Article.html"). Then report this exact flow:
Article
images/cover.png (1920 × 1080).<title>…</title> tag in the <head> of {DocName}-LinkedIn-Article.html, and paste it into LinkedIn's Title field.{DocName}-LinkedIn-Article.html in a browser — paste its file:///… path into the address bar (do NOT open it in a code editor). Ctrl+A → Ctrl+C on the rendered page, click the article body, Ctrl+V. Headings, subheadings, bold, italic, lists, quotes, code blocks, and links all carry over.[📷 …] marker, click the image button and upload the named file from images/, then delete the marker text.Newsletter announcement (same publish action — not a separate post)
6. When you click Publish, LinkedIn shows a share-to-feed box. Paste {DocName}-LinkedIn-Announcement.md there. Publishing posts it to your feed with the article attached as a card — so there's no separate feed post to write, and no link to drop in the comments.
Report: the title, cover path, all output file locations, the visuals generated (note the art style used — default or the user's override) or placeholders, and the steps above.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
2 skills in this plugin
npx claudepluginhub liorzivi/zividevelopmentmarketplace --plugin content-ai