Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseOpenClawOpenClaw+21 more

    wordpress auto publisher pipeline

    1

    Automate WordPress content publishing with REST API, Gutenberg blocks, SEO metadata, and paywall injection.

    $12

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    wordpress auto publisher pipeline

    wordpress auto publisher pipeline

    Example session with this skill installed

    I need a Python script to push an article to WordPress. It should include Yoast SEO descriptions, be marked as premium for Google Reader Revenue Manager, and have an ad block after the second paragraph.

    • Read your context and instructions
    • Compiled the wordpress auto publisher

    I have generated a Python publishing script that handles the REST API connection, Gutenberg block wrapping for the ad injection, and the specific metadata keys for Yoast SEO and Google Reader Revenue Manager.

    WordPress Automation Pipeline Script

    import os
    import requests
    from base64 import b64encode
    from dotenv import load_dotenv
    
    # Load credentials from .env
    load_dotenv()
    WP_URL = os.getenv("WP_URL")
    WP_USER = os.getenv("WP_USER")
    WP_APP_PASS = os.getenv("WP_APP_PASS")
    
    def publish_premium_content(title, paragraphs, seo_desc):
        endpoint = f"{WP_URL}/wp-json/wp/v2/posts"
        auth = b64encode(f"{WP_USER}:{WP_APP_PASS}".encode()).decode()
        
        # Inject Ad Block after paragraph 2
        if len(paragraphs) > 2:
            ad_block = '<!-- wp:html -->\n<div class="ad-slot">[AD_CODE_HERE]</div>\n<!-- /wp:html -->'
            paragraphs.insert(2, ad_block)
        
        # Wrap in Reader Revenue Manager premium tags
        content_body = "\n".join(paragraphs)
        premium_content = f'<!-- wp:html --><div class="subscriptions-section"><!-- /wp:html -->{content_body}<!-- wp:html --></div><!-- /wp:html -->'
        
        payload = {
            "title": title,
            "content": premium_content,
            "status": "publish",
            "meta": {
                "_yoast_wpseo_metadesc": seo_desc
            }
        }
        
        headers = {"Authorization": f"Basic {auth}", "Content-Type": "application/json"}
        res = requests.post(endpoint, json=payload, headers=headers)
        
        if res.status_code == 201:
            print(f"Published: {res.json()['link']}")
        else:
            print(f"Error: {res.status_code} - {res.text}")
    
    # Example execution
    article_paras = [
        "<h2>Introduction</h2><p>First paragraph content.</p>",
        "<p>Second paragraph content.</p>",
        "<p>Third paragraph that appears after the ad.</p>"
    ]
    publish_premium_content("Automated Premium Post", article_paras, "Custom SEO meta description for Google.")
    

    Next steps

    1. Create a .env file with your WP_URL, WP_USER, and WP_APP_PASS.
    2. Ensure the subscriptions-section CSS class is defined in your WordPress theme or via a plugin.
    3. Test a draft post by changing "status": "publish" to "status": "draft" in the payload.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Automate bulk publishing of articles with Gutenberg block formatting.Inject ad placeholders and paywall tags into automated content streams.Sync Yoast or RankMath SEO metadata via REST API payloads.Manage media uploads and featured image assignments programmatically.

    About this skill

    The problem

    Manually uploading content to WordPress is slow and prone to formatting errors, especially when dealing with complex Gutenberg blocks, SEO metadata, and ad placements. Standard copy-pasting often breaks paywall tags and internal tracking codes.

    What it does

    • Automates content delivery via WordPress REST API using Application Passwords or JWT.
    • Converts raw text into Gutenberg-compatible HTML with correct heading hierarchies.
    • Injects ad-network placeholders and Google Reader Revenue Manager paywall tags mid-article.
    • Syncs SEO metadata including Yoast/RankMath titles, descriptions, and featured image IDs.
    • Handles media uploads and links them to post payloads dynamically.

    Frameworks & tools

    WordPress REST API, Python, PHP, Node.js, Yoast SEO, RankMath, and Google Reader Revenue Manager.

    Why this beats prompting it yourself

    Generic prompts often fail to wrap Gutenberg blocks correctly, leading to "This block contains unexpected or invalid content" errors in the editor. This skill enforces specific HTML comment structures and metadata schemas required for production-grade publishing pipelines.

    Use cases

    • Building automated news aggregators that publish directly to WordPress sites.
    • Converting large batches of Markdown files into SEO-optimized WordPress posts.
    • Scaling niche sites by automating ad injection and paywall implementation.

    Known limitations

    Requires an active WordPress installation with REST API enabled and Application Password support (WP 5.6+). High-frequency publishing may require WAF tuning to avoid rate limiting.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 6 days ago

    • Passed all security checks, Safe to install

    Listed6 days ago

    What's inside

    Frequently Asked Questions