content-publisher

content-publisher is a skill for Claude Code from oyi77/1ai-skills. It costs 29 tokens per session (1,204 once invoked), scanned A, original, MIT.

A workflow for drafting and publishing articles on Substack and Medium, with search-engine optimisation and an editorial calendar. Substack and Medium are online publishing platforms.

In plain words
What is it for?
Use it to plan articles, draft them, publish them to Substack and Medium, and distribute the same content across platforms.
Why use it?
It reduces repeated manual work when preparing and distributing articles across both platforms. It is intended for recurring publishing workflows rather than isolated posts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the 1ai-skills plugin — 209 skills, 4 commands shipped together

Good fit Use it to plan articles, draft them, publish them to Substack and Medium, and distribute the same content across platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oyi77/1ai-skills/content-publisher
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add oyi77/1ai-skills --skill content-publisher
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 209 skills, 4 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for content-publisher

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/content-publisher/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/content-publisher)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/content-publisher"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/content-publisher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for content-publisher

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/content-publisher"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/content-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,204 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 84
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 87
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 87
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00029 $0.01204
Opus 5 $0.00015 $0.00602
Sonnet 5 $0.00006 $0.00241
Haiku 4.5 $0.00003 $0.00120

Measured 12d ago against content hash 64649da0901c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

content-publisher scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

user = requests.get("https://api.medium.com/v1/me", headers=headers).json()["data"]["id"]
automation/content-publisher/SKILL.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Content Publisher

When to Use

Trigger phrases:

  • "content publisher"
  • "Help me with content publisher"

Use cases:

  • When the task matches this skill's domain expertise

When NOT to use:

  • For tasks outside this skill's scope

Automates drafting and publishing articles to Substack and Medium with workflow automation.

When NOT to Use

  • For one-off tasks that will never repeat
  • When the process requires human judgment at every step
  • When the cost of automation exceeds the cost of manual execution

Overview

Content Publisher automates workflow automation to reduce manual effort and increase reliability.

Workflow

# Example: Workflow automation
import schedule
import time

def run_workflow():
    data = fetch_data()
    processed = transform(data)
    deliver(processed)

schedule.every().hour.do(run_workflow)
while True:
    schedule.run_pending()
    time.sleep(60)
  1. Define triggers — Set up events or schedules that initiate the automation
  2. Configure inputs — Specify data sources and parameters
  3. Design pipeline — Define the sequence of automated steps
  4. Add error handling — Set up retries, alerts, and fallback paths
  5. Test end-to-end — Validate the full automation with realistic data
  6. Deploy and monitor — Activate and track performance

Code Examples

Python: Medium Draft

import os, requests

def publish_medium(title, body, tags):
    token = os.environ["MEDIUM_TOKEN"]
    headers = {"Authorization": f"Bearer {token}", "Content-Type": "application/json"}
    user = requests.get("https://api.medium.com/v1/me", headers=headers).json()["data"]["id"]
    payload = {"title": title, "contentFormat": "markdown", "content": body,
               "tags": tags[:5], "publishStatus": "draft"}
    resp = requests.post(f"https://api.medium.com/v1/users/{user}/posts", headers=headers, json=payload)
    resp.raise_for_status()
    return resp.json()["data"]["url"]

Node.js: WordPress Post

export async function publishWP(title, content, tags) {
  const auth = Buffer.from(`${process.env.WP_USER}:${process.env.WP_APP_PASSWORD}`).toString("base64");
  const resp = await fetch(`${process.env.WP_URL}/wp-json/wp/v2/posts`, {
    method: "POST", headers: { Authorization: `Basic ${auth}`, "Content-Type": "application/json" },
    body: JSON.stringify({ title, content, status: "draft", tags }),
  });
  if (!resp.ok) throw new Error(`WP ${resp.status}`);
  return (await resp.json()).link;
}

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 156 lines · 29 tokens per session scan A 64649da0901c

Subscribe to this mod's changes

content-publisher is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed yesterday), licensed MIT. It adds 29 tokens to every session and 1,204 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.