Agent content pipeline

From lxyeternal/MalSkillBench · View interactive version

Agent content pipeline is an AI agent skill from the GitHub repository lxyeternal/MalSkillBench. 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.

How to use this skill

Skill file

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:

Your Permissions

✅ Can do:

❌ Cannot do:

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>:
  1. If feedback: you revise and move to revised/
  2. Human reviews from revised/:
  1. 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

X (Twitter)

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)

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):

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.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.