publish

publish is a command for coding agents from indranilbanerjee/contentforge. It costs 18 tokens per session (495 once invoked), scanned A, original, MIT.

A command for sending finished content to Webflow or WordPress, which are systems for managing and publishing website content. It supports previewing and checking the content before delivery.

In plain words
What is it for?
Use it to load content from Google Drive, a local file, or a requirement ID, then prepare it as a draft, scheduled item, or published page. It can also handle collection or category details, images, authors, tags, and URL slugs.
Why use it?
It prevents incomplete or insufficiently reviewed content from being published automatically. It also gathers the platform, publication status, and other details needed for the upload.

Command

Part of the contentforge plugin — 22 skills, 9 commands, 13 agents shipped together

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.

agentmods
npx agentmods add commands/indranilbanerjee/contentforge/publish
Clone the repo
git clone --depth 1 https://github.com/indranilbanerjee/contentforge

Or install contentforge, the plugin that ships this one along with the rest of its 22 skills, 9 commands, 13 agents.

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 publish

README.md
[![agentmods](https://agentmods.dev/badge/commands/indranilbanerjee/contentforge/publish.svg)](https://agentmods.dev/commands/indranilbanerjee/contentforge/publish)
Your own site
<a href="https://agentmods.dev/commands/indranilbanerjee/contentforge/publish"><img src="https://agentmods.dev/badge/commands/indranilbanerjee/contentforge/publish.svg" alt="Measured on agentmods" height="20"></a>
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 495 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.00495
Opus 5 $0.00009 $0.00247
Sonnet 5 $0.00004 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 4d ago against content hash 59870d40768c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

publish scanned grade A with 0 findings 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 4d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

  • publish — 100% identical, 0 lines differ
commands/publish.md · 47 lines

What it actually says

Publish

This command is a thin wrapper. The complete publishing procedure lives in skills/cf-publish/SKILL.md — read that file and execute it end to end. Do not improvise a different flow from this wrapper.

Trigger

User runs /contentforge:publish or asks to publish, push, or deploy content to a CMS platform.

Gather inputs

If not provided in the arguments, ask before proceeding:

  1. Content source — Google Drive URL, local file path, or requirement ID (e.g., REQ-001)
  2. Platformwebflow or wordpress
  3. Publish statusdraft, publish, or schedule (schedule requires an ISO date, e.g. 2026-08-15T09:00:00)
  4. Optional — collection/category, featured image, author override, tags, custom URL slug

Prerequisites (gate check)

  • Content must have Phase 7 (Reviewer) approval — composite score >= 7.0 — AND Phase 8 (Output Manager) complete
  • Content scoring below 5.0 is flagged for human review and cannot be auto-published

Execute

Follow skills/cf-publish/SKILL.md in full: connector verification → load & validate → platform formatting → preview → AI disclosure & provenance check (EU AI Act Article 50, applicable from 2 Aug 2026) → publish/schedule/draft → post-publish verification → tracking update. If no CMS connector is available, use the skill's HTML export fallback.

To set up a missing connector: /contentforge:cf-connect webflow or /contentforge:cf-connect wordpress.

After publishing

Ask: "Would you like me to:

  • Create social media posts to promote this? (/contentforge:social-adapt)
  • Publish to another platform?
  • Add this piece to the next freshness/performance audit cycle? (/contentforge:cf-audit)
  • Schedule the next content piece? (/contentforge:cf-calendar)"
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. 4d ago First seen · 47 lines · 18 tokens per session scan A 59870d40768c

Subscribe to this mod's changes

publish is a command published in the GitHub repository indranilbanerjee/contentforge (26 stars, last pushed 17d ago), licensed MIT. It adds 18 tokens to every session and 495 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories

engagement

Run a marketing engagement using the 12-Part methodology. Subcommands: start, next, status, validate, re-run-decision, update-back, lif-show, file-tree, list-engagements, four-core, growth-plan, yearly-planner, loop.

indranilbanerjee/digital-marketing-pro · 53 tokens

resume

Resume a long-running DMP workflow (engagement / campaign-plan / content-engine / seo-audit / competitor-analysis / campaign-audit / launch-campaign) that was interrupted partway through.

indranilbanerjee/digital-marketing-pro · 38 tokens

execute-action

Actually fire a campaign-audit / launch-campaign action against its real API (vs returning a manifest). Reads credentials from env vars (no OAuth flow). Read ops auto-execute with --execute; write ops require --confirm. Logs every execution to the audit trail.

indranilbanerjee/digital-marketing-pro · 54 tokens

output-folder

Print + open the user-visible DMP output folder for a brand (/Documents/DigitalMarketingPro/{brand}/). Direct answer to "where did my engagement deliverables save?".

indranilbanerjee/digital-marketing-pro · 36 tokens

check

Run the unified pre-publish quality gate on marketing content (hallucination + brand voice + structure + claims). Use before publishing any marketing copy.

indranilbanerjee/digital-marketing-pro · 30 tokens

doctor

Per-action readiness diagnostic. Shows which campaign-audit and launch-campaign actions are live (manifest-ready) vs blocked (stub-unconfigured) in the current environment, with one-step setup hints for the blocked ones. Now includes model-registry freshness + Cowork+Drive routing status.

indranilbanerjee/digital-marketing-pro · 57 tokens