Comprehensive publishing automation skill bridging AI agents (OpenClaw, Manus, Claude) to the Content Factory Router. Uses the Router API to publish markdown articles with rich media to any connected Astro site natively.
From cmnpx claudepluginhub tody-agent/codymaster --plugin cmThis skill uses the workspace's default tool permissions.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Generates incident runbook templates for service outages, database issues, and escalations with triage steps, mitigation procedures, severity levels, and communication plans.
Goal: Take unstructured input (links, ideas, raw text), write a highly engaging article following Content Factory rules, and instantly publish it via the Content Factory Router API.
ALWAYS when:
read_url_content (or your browsing tool) to read the source. If given images or Youtube links, extract them.##, ###).<YouTube id="VIDEO_ID" />..Identify all external images that need to be published with the article.
DO NOT try to download them to the local disk using bash commands. The Content Factory Router will handle this.
Instead, build a media array mapping the original URLs to the desired clean filenames.
"media": [
{
"url": "https://source.com/raw-image-123.jpg",
"filename": "clean-seo-friendly-name.jpg"
}
]
Construct the JSON payload matching the target site's schema.
Standard Target: cody-master (mapped to tody-agent/todyle-web).
{
"site_id": "cody-master",
"title": "[Engaging Title]",
"description": "[1-2 sentence SEO meta description]",
"category": "news", // or "guide", "use-case"
"readingTime": "5 min read",
"tags": ["AI", "Vibe Coding", "Automation"],
"content": "The raw markdown content here...",
"media": [ ... ]
}
Send the payload to the Cloudflare Worker via a standard fetch or curl command.
.env file or ask the user for the PUBLISHER_API_KEY.# Example curl (assuming the payload is saved to payload.json)
curl -X POST https://content-factory-router.<YOUR-CLOUDFLARE-ACCOUNT>.workers.dev/publish \
-H "Content-Type: application/json" \
-H "Authorization: Bearer <API_KEY>" \
-d @payload.json
{"success": true, "message": "Published...", "commit_sha": "..."}..mdx files in src/content/articles/ and run git push if using this skill! Let the Router API handle the Git history and image blob creation to ensure data consistency.cat or echo to build complex JSON payloads in bash. Save the payload to a .json file using your file writing tool, then pass it to curl.