| name | agent-content-pipeline |
| description | Safe content workflow (drafts/reviewed/revised/approved/posted) with human-in-the-loop approval. pi rewrites drafts automatically on feedback. Post to LinkedIn, X, Reddit, dev.to, and Hashnode. Use when setting up a content pipeline, drafting content, managing review threads, or posting approved content. |
Content Pipeline Skill
Safe content automation with human-in-the-loop approval. Draft → Review → Revise (via pi) → Approve → Post.
Setup
npm install -g agent-content-pipeline
content init .
This creates:
drafts/ — write your drafts here
reviewed/ — human reviewed, pi is rewriting
revised/ — rewritten, ready for another look
approved/ — human-approved, ready to post
posted/ — archive after posting
templates/ — platform templates
Your Permissions
✅ Can do:
- Write to
drafts/
- Read all content directories
- Add notes:
content thread <file> --from agent
- Run
content list to see pending content
❌ Cannot do:
- Move files between folders (the pipeline does this automatically)
- Move files to
approved/ or posted/ (human only)
- Post content
- Set
status: approved
How the Pipeline Works
When the human reviews a draft and gives feedback, pi automatically rewrites the draft and moves it to revised/. You do not need to revise drafts yourself.
drafts/ → reviewed/ → revised/ → approved/ → posted/
you human pi human human
write reviews rewrites approves posts
Your job is to write good initial drafts. The rewrite loop is handled automatically.
Creating a Draft
File naming: YYYY-MM-DD-<platform>-<slug>.md
---
platform: linkedin
title: "Required for reddit, devto, hashnode"
status: draft
subreddit: programming
tags: [tag1, tag2]
---
Your content here.
Platform Guidelines
LinkedIn
- Professional but human
- 1-3 paragraphs ideal
- End with question or CTA
- 3-5 hashtags at end
X (Twitter)
- 280 chars per tweet
- Use
--- to separate tweets in a thread
- Punchy, direct
- 1-2 hashtags max
Reddit (experimental)
- Title required in frontmatter
- Match each subreddit's rules and tone
dev.to / Hashnode
- Full markdown article
- Title required in frontmatter
- Tags as array of slugs
Commands Reference
content list
content review <file>
content edit <file>
content post <file>
content post <file> --dry-run
content thread <file>
content platforms
Security Model
- ✅ Agent drafts content
- ❌ Agent cannot approve or post (human only)
Posting is handled manually via CLI.