当前位置: 首页 > Skill >

Agent Content Pipeline

Agent Content Pipeline

Agent Content Pipeline

Safe content workflow (drafts/reviewed/revised/approved/posted) with human-in-the-loop approval, plus CLI to list/move/review and post to LinkedIn/X. Use when setting up a content pipeline, drafting content, managing review threads, or posting approved content.

0.2.3 2026.11.27 155
获取Skill文件查看使用说明
作 者:苏宁 许可证: 更新时间:2026.11.27
本文目录展开

Content Pipeline Skill

Safe content automation with human-in-the-loop approval. Draft → Review → Approve → Post.

Setup

npm install -g agent-content-pipeline
content init . # Creates folders + global config (in current directory)

For cryptographic approval signatures (password-protected):

content init . --secure

This creates:

  • drafts/ — work in progress (one post per file)
  • reviewed/ — human reviewed, awaiting your revision
  • revised/ — you revised, ready for another look
  • approved/ — human-approved, ready to post
  • posted/ — archive after posting
  • templates/ — review and customize before use
  • .content-pipeline/threads/ — feedback thread logs (not posted)

Your Permissions

✅ Can do:

  • Write to drafts/
  • Read all content directories
  • Revise drafts based on feedback
  • Move revised files to revised/
  • Run content list to see pending content

❌ Cannot do:

  • Move files to approved/ (only the human can approve)
  • Post content
  • Set status: approved

Creating Content

One post per file. Each suggestion or draft should be a single post, not a collection.

File naming: YYYY-MM-DD-<platform>-<slug>.md

Use frontmatter:

---
platform: linkedin    # linkedin | x | reddit (experimental)
title: Optional Title
status: draft
subreddit: programming  # Required for Reddit
---

Your content here.

Tell the human: "Draft ready for review: content review <filename>"

The Review Loop

drafts/ → reviewed/ → revised/ → approved/ → posted/
              ↑          │
              └──────────┘
               more feedback
  1. You write draft to drafts/
  2. Human runs content review <file>:
    • With feedback → file moves to reviewed/, you get notified
    • No feedback → human is asked "Approve?" → moves to approved/
  3. If feedback: you revise and move to revised/
  4. Human reviews from revised/:
    • More feedback → back to reviewed/
    • Approve → moves to approved/
  5. Posting happens manually via content post

After Receiving Feedback

When you get review feedback:

  1. Read the file from reviewed/
  2. Apply the feedback
  3. Move the file to revised/
  4. Confirm what you changed
  5. (Optional) Add a note: content thread <file> --from agent

Platform Guidelines

LinkedIn

  • Professional but human
  • Idiomatic language (Dutch for NL audiences, don't be stiff)
  • 1-3 paragraphs ideal
  • End with question or CTA
  • 3-5 hashtags at end

X (Twitter)

  • 280 chars per tweet (unless paid account)
  • Punchy, direct
  • 1-2 hashtags max
  • Use threads sparingly
  • If Firefox auth fails, you can paste auth_token and ct0 manually

Manual cookie steps:

  1. Open x.com and log in
  2. Open DevTools → Application/Storage → Cookies → https://x.com
  3. Copy auth_token and ct0

Reddit (experimental)

  • Treat as experimental; API and subreddit rules can change
  • Requires subreddit: in frontmatter
  • Title comes from frontmatter title: (or first line if missing)
  • Match each subreddit's rules and tone

Commands Reference

content list                    # Show drafts and approved
content review <file>           # Review: feedback OR approve
content mv <dest> <file>        # Move file to drafts/reviewed/revised/approved/posted
content edit <file>             # Open in editor ($EDITOR or code)
content post <file>             # Post (prompts for confirmation)
content post <file> --dry-run   # Preview without posting
content thread <file>           # Add a note to the feedback thread

Security Model

The security model separates drafting (AI) from approval/posting (human):

  • ✅ Agent drafts content
  • ✅ Agent revises based on feedback
  • ❌ Agent cannot approve (human approves via content review)
  • ❌ Agent cannot post

Posting is handled manually via CLI — never by the agent directly.

Platform-specific security

Platform Auth Storage Encrypted? Password Required?
LinkedIn Browser profile ✅ Yes ✅ Yes
X/Twitter Firefox tokens ✅ Yes ✅ Yes

Both platforms require password to post. Tokens are extracted from Firefox and encrypted locally.

相关文章

更多
PHP集成Kafka实战:安装与生产消费示例

Kafka是由LinkedIn开发并贡献给Apache基金会的分布式日志系统,广泛应用于日志收集和消息服务。本文介绍如何在PHP项目中通过composer安装kafka-php依赖,并提供produce.php和consumer.php的代码结构,分别演示如何测试生产者和消费者的功能。

2026.04.23 466
Skill 文件
  • SKILL.md
    • Content Pipeline Skill
    • Setup
    • Your Permissions
    • Creating Content
    • The Review Loop
      • After Receiving Feedback
    • Platform Guidelines
      • LinkedIn
      • X (Twitter)
      • Reddit (experimental)
    • Commands Reference
    • Security Model
      • Platform-specific security
  • 项目或源文件

相关 Skill

更多
Content Repurposing Engine Pro Content Repurposing Engine Pro Transform long-form content into native LinkedIn posts, Twitter threads, emails, Instagram captions, or blog articles optimized for each platform’s style and...
Cold Outreach Pack Cold Outreach Pack 用于销售与人脉拓展的陌生邮件、LinkedIn拓展及跟进序列,含专业模板与最佳实践。
Social Copy Generator Social Copy Generator 一键生成多平台社媒文案,支持14个平台(Twitter/X、LinkedIn、Hacker News、Reddit、小红书、即刻等),专为产品发布优化。
Rss To Social Rss To Social 自动监控 RSS 并发布到社交媒体,安排发布时间、AI 生成帖子,发布至 Twitter/LinkedIn。