agentleFS
getcargohqgetcargohq/gtm-skills/linkedin-content/SKILL.md

linkedin-content

Skill2 starsChanged 25 days agoMITView on GitHub

Draft LinkedIn posts every week from your own proof points: each Monday three post drafts for one author land in your go-to-market repo as one pull request, built only from what context/ and the cadence log already say, each with its hook and the files it draws on; nothing is ever published. Triggers: "draft our founder''s LinkedIn posts every week", "weekly LinkedIn drafts from our proof points", "turn our wins and insights into LinkedIn posts", "keep a LinkedIn content pipeline", "ghostwrite LinkedIn posts from our context", "content calendar for the CEO on LinkedIn". Cargo project, defineAgent, harness claudeCode, GitHub, context/, cadence/content. Skip when: you want the company website and news read into context/, which is web-capture; or you want one post written now, in this chat, with nothing deployed.

9 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use content-repurposing.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • vivy-yiSkill

    content-repurposing

    Use when repurposing Xiaohongshu content, recycling existing posts, adapting content for different formats, maximizing content value, or creating content variations from core material

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Reconcile it with what is already declared: If the project already has a GitHub or Anthropic connector, rewire the imports to the existing …

    line 86
  2. Distinctive:

    Derive before you ask: Only the inputs marked _asked_ genuinely live in the operator's head.

    line 104
  3. Distinctive:

    every draft lists its sources, and every number, customer and quote in it appears in one of them

    line 154
  4. Very specific:

    no customer whose client/ file lacks reference permission is named

    line 155
  5. Distinctive:

    No connector action runs: the agent reads files in its checkout and opens a pull request through GitHub.

    line 161

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LinkedIn content

The outcome

The proof points, customer stories and lessons the team already wrote down stop sitting in a repo nobody outside GTM reads. Every Monday one agent reads context/ (positioning, proof, clients, insights, objections, alternatives) and the last two weeks of cadence/log/, and drafts three LinkedIn posts for one named author:

  1. One on a proof point: a result a customer got, from a proof/ file.
  2. One that answers an objection or a misconception buyers bring, without naming a competitor.
  3. One from this week: something the team learned, from a dated insight or log entry.

Each draft opens on a hook line, stays under LinkedIn's fold-friendly length, and ends with the files it draws on. A claim with no file behind it is cut. A customer without reference permission is described, never named.

The drafts land as cadence/content/<week>.md in one pull request, [linkedin-content] <week>. A re-run that week finds that pull request by its title, links it and stops; it never opens a second one. To redraft, close the pull request and run it again. The agent has no LinkedIn action at all: publishing is the author's act, done by hand, after review.

Example

Every Monday, draft three LinkedIn posts for our CEO, Dana Ruiz, from what's in context/.

Illustrative output, fictional records:

## 1. Proof point: routing fixed in a week

**Hook:** A 240-person freight-audit company stopped losing one inbound lead in six.

Their routing broke every time someone renamed a CRM field. Nobody noticed
until a quarter's pipeline review. We moved the rules into code with a test
on every field they read, and the leak closed in the first week...

**Sources:** context/proof/fabrikam-routing-leak.md, context/client/fabrikam.md

## 2. Objection: "we already have a CRM admin"

**Hook:** Your CRM admin is not the problem. The spreadsheet next to them is.
...
**Sources:** context/objection/already-have-admin.md, context/insight/2026-10-01-win-loss.md

Three drafts and six cited files landed in the "[linkedin-content] 2026-W41" pull request; nothing was posted anywhere.

Put it in your project

This folder is a worked example: real project resources written for some other company. The job is to end up with the code your company would have written, in your project, and an agent does the adapting. If the cargo-project skill is in your session it carries the long form of this; if not, this is enough.

  1. Install it — the CLI does the copy. From inside the project (the folder holding cargo.json), cargo-ai project add cookbook/linkedin-content writes this example to infra/linkedin-content/ and this procedure to .agents/skills/linkedin-content/. No project yet? cargo-ai project init <dir> --cookbook linkedin-content && cd <dir> && npm install does both. If you are reading this from the project's .claude/skills/, the install already happened — start at step 2.
  2. Reconcile it with what is already declared. If the project already has a GitHub or Anthropic connector, rewire the imports to the existing one and drop the copy; two resources with one slug is a collision at deploy.
  3. Name the author. Set CONTENT_AUTHOR in infra/agents/content-writer.ts to the person the posts are written as. The prompt refuses to run while it reads PLACEHOLDER. references/post.md (installed beside this file) is the draft shape.
  4. Adapt. Work the sections below in order: What should not change is what you argue back about (say what breaks, then do it if they still want it); What you can change is what you offer unprompted; What you will be asked is the floor, and you derive before you ask. Record what you changed and why under a ## Decisions section in your copy of this file.
  5. Check, then plan. node --import tsx evals/contract.mjs from this skill's folder, then npm run check && cargo-ai project plan from the project root. Show the diff, and deploy only on an explicit yes: cargo-ai project deploy. Never cargo-ai project init --force into a non-empty directory.
  6. Verify. Send the agent its trigger text once by hand (cargo-ai ai message create), and walk Done when line by line. Then send it again: it must update the same pull request.

What you will be asked

Derive before you ask. Only the inputs marked asked genuinely live in the operator's head.

InputKindHow it is answeredWhy it matters
CONTENT_AUTHOR (infra/agents/content-writer.ts)askedthe person the posts are written as, the way they sign their nameEvery draft is in the first person. A team name produces posts nobody can publish as themselves.
repository bindingvaluederived: leave repository without repository/defaultBranch/connector; plan fills them from the checkout's git origin. cargo-ai project check prints the binding.The drafts are read from and written to this repository. A hand-written owner/name opens the pull request against the wrong one.
what context/ holdsvaluederived: ls context/*/ before the first run. A repository with no proof/ or insight/ files gets drafts that say so.The agent can only draft what is written down. An empty proof/ is a reason to install call-capture or win-loss-review first, not to invent.
GitHub and Anthropic connectorsvaluederived: cargo-ai connection connector list; cargo-ai project add connector/github if missing. languageModel is a placeholder to set.GitHub is the agent's only write path. Anthropic is what every Monday is billed against.

Checked before moving on, not after the deploy:

  • cargo-ai project check prints agent:linkedin_content_writer bound to <your repo>#<branch> with no trailing infra/
  • context/ has at least one file under global/ and one under proof/ or insight/
  • node --import tsx evals/contract.mjs passes

What you can change

VariationWhen it is rightHowWhat it costs
more-or-fewerThe author posts daily, or once every two weeksChange POSTS_PER_WEEK in infra/agents/content-writer.prompt.tsPast three or four a week the drafts start repeating proof points; the eight-week look-back in §2 only partly holds that off.
two-authorsA founder and a head of sales both postA second agent with its own slug, CONTENT_AUTHOR and pull request title prefixTwo writers read the same context and can draft the same proof point the same week. Give each a different first kind in §3.
performance-reportThe author wants to know which posts landed before drafting the nextAdd LinkedIn's extractProfilePostActivity to uses with the author's profile URL locked in config, and a §2 step that reads last week's posts and writes their reactions into the fileIt is a paid action, billed per run (read its live price first), and it needs a LinkedIn connector. It is read-only; never add a write action to get it. Not the default because most teams want drafts before they want analytics.
slack-heads-upThe author lives in Slack, not in pull requestsAdd slack.actions.postMessage with a locked channelId and a closing step that posts the hooks and the pull request linkOne more connector and one post a week. The drafts still land only in the pull request.
another-dayThe team reviews on FridaysChange cron in infra/agents/content-writer.tsA run before web-capture's Monday run drafts from last week's web findings.

What should not change

  • Nothing on the agent can publish. (infra/agents/content-writer.ts) No LinkedIn action of any kind: no like, comment, connect, follow or message. An agent that can act on LinkedIn can speak as a person in public, and one bad draft becomes a post with the author's name on it. The contract fails if any of those lands on uses.
  • Every claim has a file. (infra/agents/content-writer.prompt.ts §3) A number with no source is the fastest way to have a customer correct the author in the comments. Cut it rather than soften it.
  • A customer without reference permission is not named. (§2) The client/ file's reference_permission is what the team agreed to. Naming a customer who did not agree is a relationship problem, not a content one.
  • One file and one pull request per week. (§1) The re-run check is what keeps a second Monday trigger, or a manual run, from opening a duplicate that a reviewer merges by mistake.
  • No context capability, and no writes under context/. (infra/agents/content-writer.ts) The drafts read the knowledge layer; they do not change it. A capability would be a write path that skips the review every other pipeline goes through.

Done when

  • node --import tsx evals/contract.mjs passes
  • cargo-ai project plan reports the agent, the two connectors and the folder
  • the first run opened one pull request, [linkedin-content] <week>, containing only cadence/content/<week>.md in the references/post.md shape
  • every draft lists its sources, and every number, customer and quote in it appears in one of them
  • no customer whose client/ file lacks reference permission is named
  • a second run the same week linked the open pull request, opened no second one and changed nothing
  • nothing was posted to LinkedIn or anywhere else

What it costs

No connector action runs: the agent reads files in its checkout and opens a pull request through GitHub. The recurring cost is the harness run itself, once a week, billed as LLM tokens through the Anthropic connector, and it scales with how much of context/ and cadence/ there is to read.

The performance-report variation adds one paid LinkedIn action per run. Before adding it, read its live price: cargo-ai orchestration action list extractProfilePostActivity --kind connector --integration-slug linkedin, and say it out loud.

Composes into

call-capture, win-loss-review and web-capture (they write the proof, insights and objections the drafts are built from), and standup (whose log entries are this week's material).

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.