/cm:cm-auto-publisherfrom cm
Automates publishing markdown articles with rich media to Astro sites via the Content Factory Router API. Handles content extraction, media mapping, and API payload construction.
Ships in cm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
44 skills in this plugin
/cm-ads-trackerEnd-to-end ad conversion tracking: Meta Pixel+CAPI, TikTok Events API, Google Ads Enhanced Conversions, GTM, attribution. Auto-detects industry, maps standard events, outputs a developer-ready implementation doc. Use for pixels, GTM, CAPI, ROAS, or 'set up tracking' requests./cm-autopilotEasy-to-use conversational CLI (Claude Code style) for non-technical users to spawn parallel AI tasks supervised by a visual web dashboard./cm-booking-calendarBooking & Calendar CRO Engine — Packages all booking, scheduling, .ics download, and Google Calendar integration into a revenue-boosting system.
Auto-detect industry → select matching pattern → generate calendar engine + booking UI + export logic.
Integrates with cm-google-form (form → sheet) and cm-ads-tracker (conversion events).
ALWAYS trigger for: booking, appointment, calendar, reminder,
download ics, google calendar, add to calendar, book appointment, schedule,
"create booking", "add scheduling", "appointment reminder system", "calendar CRO", "reduce no-show"
/cm-brainstorm-ideaStrategic analysis gate for existing products — multi-dimensional evaluation (tech, product, design, business) using Design Thinking + 9 Windows (TRIZ) + Double Diamond. Outputs 2-3 qualified options with recommendations. Use BEFORE cm-planning for complex initiatives and enhancements on existing codebases./cm-browseFallback local Playwright daemon for real-browser visual QA / screenshots / smoke. Use ONLY when the host platform has no native browser mode — prefer the host browser first./cm-clean-codeCode hygiene gate — detect and eliminate dead code, duplicates, naming mess, and code smells. TRIZ-powered. Run after features, before PRs, during debt sprints.npx claudepluginhub tody-agent/codymaster --plugin cmOther plugins' skills for the same job