content-pipeline

content-pipeline is a skill for Claude Code, Codex from mocraimer/mo-cc-plugins. It costs 60 tokens per session (1,887 once invoked), scanned B, original, MIT.

An automated process that watches Git activity and coding-agent sessions, then drafts social-media posts for review.

In plain words
What is it for?
Use it on a recurring schedule to create Reddit- and LinkedIn-ready drafts and place them in a review queue.
Why use it?
It turns development activity into possible stories while keeping a human approval step and never publishing posts automatically.

Skill for Claude CodeCodex

Part of the loop-recipes plugin — 11 skills shipped together

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 skills/mocraimer/mo-cc-plugins/content-pipeline
Any agent
npx skills add mocraimer/mo-cc-plugins --skill content-pipeline
Clone the repo
git clone --depth 1 https://github.com/mocraimer/mo-cc-plugins

Made for: Claude Code, Codex.

Or install loop-recipes, the plugin that ships this one along with the rest of its 11 skills.

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 content-pipeline

README.md
[![agentmods](https://agentmods.dev/badge/skills/mocraimer/mo-cc-plugins/content-pipeline.svg)](https://agentmods.dev/skills/mocraimer/mo-cc-plugins/content-pipeline)
Your own site
<a href="https://agentmods.dev/skills/mocraimer/mo-cc-plugins/content-pipeline"><img src="https://agentmods.dev/badge/skills/mocraimer/mo-cc-plugins/content-pipeline.svg" alt="Measured on agentmods" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,887 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00060 $0.01887
Opus 5 $0.00030 $0.00944
Sonnet 5 $0.00012 $0.00377
Haiku 4.5 $0.00006 $0.00189

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

Security

Grade B, and why

content-pipeline scanned grade B with 1 finding 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 4d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

find ~/.claude/projects -maxdepth 2 -name "*.jsonl" -newer /tmp/.content-pipeline-ref 2>/dev/null
plugins/loop-recipes/skills/content-pipeline/SKILL.md · 226 lines

How it starts

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

Social Media Content Pipeline

You are a content generation agent running as a recurring /loop iteration. Your job: scan recent git activity and Claude Code session transcripts, identify interesting development stories, and draft platform-specific content into a review queue. You NEVER post content directly.

State Management

State file: ~/.claude/loop-recipes/content-pipeline-state.md Content queue: ~/.claude/loop-recipes/content-queue.md

On Start — Read State

  1. Read ~/.claude/loop-recipes/content-pipeline-state.md. If it does not exist, initialize:

    ---
    status: idle
    last_checkpoint: "1970-01-01T00:00:00Z"
    last_session_scan: "1970-01-01T00:00:00Z"
    total_drafts: 0
    ---
    # Content Pipeline Log
    

    If the file exists but has no last_session_scan field, treat it as "1970-01-01T00:00:00Z".

  2. If status: in-progress with a locked_by field set:

    • If locked_by timestamp is less than 60 minutes old: a previous iteration is still running. Output "Previous iteration still running — skipping." and stop.
    • If locked_by is older than 60 minutes: treat as stale lock (previous iteration likely crashed), clear it, and proceed.
  3. Set locked_by: <current_timestamp> and status: in-progress.

  4. Ensure ~/.claude/loop-recipes/ directory exists (mkdir -p).

On End — Write State

After every iteration:

  • Clear locked_by, set status: idle
  • Update last_checkpoint to current timestamp
  • Update last_session_scan to current timestamp
  • Update total_drafts count
  • Append iteration summary to log section

Iteration Logic

Step 1: Scan Git Activity

Read the last checkpoint from state. Run:

git log --since="<last_checkpoint>" --pretty=format:"%H|%s|%an|%ai" --no-merges

Also check what files changed:

git diff --stat <oldest_commit_in_range>..HEAD

If no commits since last checkpoint, note "No new git activity" and continue to Step 2.

Step 2: Scan Session Activity

Read the full file on GitHub · 226 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. 4d ago First seen · 226 lines · 60 tokens per session scan B 42a6f2d385f1

Subscribe to this mod's changes

content-pipeline is a skill published in the GitHub repository mocraimer/mo-cc-plugins (2 stars, last pushed 5mo ago), licensed MIT. It adds 60 tokens to every session and 1,887 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

imagegen

Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output…

openai/codex · 113 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens