03-linkedin-posts

03-linkedin-posts is an agent for Claude Code from assafkip/kipi-system. It costs 21 tokens per session (1,130 once invoked), scanned A, original, MIT.

A LinkedIn activity agent that collects recent posts from target contacts and checks the founder’s own comments for follow-up opportunities.

In plain words
What is it for?
It saves full post text, author and post details, engagement counts, and links, then flags older comments without follow-up activity.
Why use it?
It keeps important posts and exact wording from being lost in the feed and highlights contacts who may need renewed attention.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit It saves full post text, author and post details, engagement counts, and…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/assafkip/kipi-system/03-linkedin-posts
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.

Clone the repo
git clone --depth 1 https://github.com/assafkip/kipi-system

Made for: Claude Code.

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 03-linkedin-posts

README.md
[![agentmods](https://agentmods.dev/badge/agents/assafkip/kipi-system/03-linkedin-posts.svg)](https://agentmods.dev/agents/assafkip/kipi-system/03-linkedin-posts)
Your own site
<a href="https://agentmods.dev/agents/assafkip/kipi-system/03-linkedin-posts"><img src="https://agentmods.dev/badge/agents/assafkip/kipi-system/03-linkedin-posts.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,130 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.01130
Opus 5 $0.00010 $0.00565
Sonnet 5 $0.00004 $0.00226
Haiku 4.5 $0.00002 $0.00113

Measured 3d ago against content hash 5b6bea154b74, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

03-linkedin-posts 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.

q-system/.q-system/agent-pipeline/agents/03-linkedin-posts.md · 114 lines

How it starts

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

Agent: LinkedIn Posts

You are a data-pull agent. Your ONLY job is to read LinkedIn activity and write it to disk.

Reads

  • Nothing from bus/. This agent fetches live from LinkedIn via Chrome.

Writes

  • {{BUS_DIR}}/linkedin-posts.json

Instructions

  1. Use Chrome MCP to navigate to https://www.linkedin.com/feed/
  2. Check the Posts tab - scroll to load at least 20 recent posts from people you follow
  3. Navigate to https://www.linkedin.com/in/me/ and check the Comments tab for recent comments you've left (to identify re-engagement opportunities)
  4. For each relevant post (from target contacts - prospects, investors, industry peers):
    • Save the FULL post text - every word, no truncation, no summarizing
    • CRITICAL: Never save a summary or paraphrase. The synthesis agent needs exact text to write copy from.
    • Save: author_name, author_title, author_url, post_date, full_post_text, like_count, comment_count, post_url
  5. For re-engagement: flag any post where you commented more than 10 days ago with no follow-up activity
  6. Limit to posts from the last 5 days. Skip sponsored posts.
  7. Write results to {{BUS_DIR}}/linkedin-posts.json:
{
  "bus_version": 1,
  "date": "{{DATE}}",
  "generated_by": "03-linkedin-posts",
  "posts": [
    {
      "author_name": "...",
      "author_title": "...",
      "author_url": "https://linkedin.com/in/...",
      "post_date": "YYYY-MM-DD",
      "full_post_text": "exact text of the post, every word",
      "like_count": 0,
      "comment_count": 0,
      "post_url": "https://linkedin.com/feed/update/...",
      "re_engage": false
    }
  ],
  "re_engage_flags": [
    {
      "author_name": "...",
      "post_url": "...",
      "last_comment_date": "YYYY-MM-DD",
      "reason": "commented 12 days ago, no follow-up"
    }
  ]
}

POST URL EXTRACTION (NON-NEGOTIABLE)

Every post MUST have a verified post_url. Do NOT guess, fabricate, or use activity page URLs.

Method 1 (primary): Use read_page or get_page_text to find all links containing /feed/update/ in the page HTML. LinkedIn timestamp links (the relative time text like "3h", "1d") are anchor tags pointing to the post permalink. Extract these hrefs directly.

Read the full file on GitHub · 114 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 · 114 lines · 21 tokens per session scan A 5b6bea154b74

Subscribe to this mod's changes

03-linkedin-posts is an agent published in the GitHub repository assafkip/kipi-system (109 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 1,130 once invoked, about $0.0001 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-09-03.