linkedin-content-engine CLAUDE.md

linkedin-content-engine CLAUDE.md is an instructions file for coding agents from mdbailin/linkedin-content-engine. It costs 1,015 tokens per session, scanned A, original, MIT.

Project instructions for a LinkedIn Content Engine that turns content ideas into LinkedIn posts or carousel plans, creates images, uploads files, and prepares Buffer drafts or approved schedules.

In plain words
What is it for?
Use it when building or maintaining a TypeScript/Node.js Claude Code plugin and local MCP server for LinkedIn content workflows.
Why use it?
It defines how writing, image creation, file storage, and publishing approval should work together while keeping provider details and secrets controlled.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/mdbailin/linkedin-content-engine/claude-md
Clone the repo
git clone --depth 1 https://github.com/mdbailin/linkedin-content-engine

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for linkedin-content-engine CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/mdbailin/linkedin-content-engine/claude-md.svg)](https://agentmods.dev/instructions/mdbailin/linkedin-content-engine/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/mdbailin/linkedin-content-engine/claude-md"><img src="https://agentmods.dev/badge/instructions/mdbailin/linkedin-content-engine/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,015 This file is loaded in full into every session.
When invoked 1,015 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01015 $0.01015
Opus 5 $0.00508 $0.00508
Sonnet 5 $0.00203 $0.00203
Haiku 4.5 $0.00102 $0.00102

Measured 3d ago against content hash de8ded5a7f54, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

linkedin-content-engine CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude implementation brief

You are implementing a production-quality Claude Code plugin and local MCP server called LinkedIn Content Engine.

Goal

Turn a user's content idea into a polished LinkedIn text post or carousel workflow:

  1. Claude writes the post using the bundled skill and brand profile.
  2. Claude prepares an image/carousel creative brief.
  3. The MCP server generates images using OpenAI GPT Image 2.
  4. Generated assets are uploaded to Cloudinary.
  5. Carousel slide images are assembled into a PDF when needed.
  6. The PDF and thumbnail are uploaded to Cloudinary.
  7. Buffer stores the prepared post as a draft by default.
  8. Only after explicit user approval may the system add the post to the Buffer queue or schedule a custom publication time.

Architecture constraints

  • TypeScript / Node.js.
  • Keep API providers behind adapters.
  • MCP tools must have narrow, typed schemas.
  • Do not let the MCP layer author marketing copy. Claude/the skill is the copywriter.
  • Separate pure planning functions from side-effect functions.
  • Prefer explicit return values containing IDs, URLs, status, and provider error details.
  • Never log secrets or full Authorization headers.
  • Never commit .env.
  • Mark Buffer-created posts as AI-assisted when the API supports it.
  • Default Buffer write action to saveToDraft: true.
  • Queue/schedule requires an explicit approved: true argument and the skill must ask for approval first.
  • Support dry-run mode for every side-effecting workflow.

Required MCP tools

Implement these tools (exact names preferred):

read_brand_profile

Loads and validates the active brand profile.

generate_creative

Inputs: creative brief, aspect ratio/size, number of outputs, optional reference asset URLs. Output: local generated file paths + generation metadata. Provider: OpenAI GPT Image 2.

upload_asset

Inputs: local path, asset kind, logical folder, tags. Output: Cloudinary public ID, secure URL, resource type, format, bytes.

Read the full file on GitHub · 120 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 120 lines · 1,015 tokens per session scan A de8ded5a7f54

Subscribe to this mod's changes

linkedin-content-engine CLAUDE.md is an instructions file published in the GitHub repository mdbailin/linkedin-content-engine (0 stars, last pushed 11d ago), licensed MIT. It adds 1,015 tokens to every session, about $0.0051 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.