adapto-publish

adapto-publish is a skill for Claude Code from adaptocms/adapto-cms-agent-skills. It costs 58 tokens per session (1,487 once invoked), scanned A, original, MIT.

A publishing tool for moving reviewed Articles, Pages, and collection items from draft to published, or from published back to archived.

In plain words
What is it for?
Use it to find publishable drafts, select them by type or language, publish or archive them, and update the content ledger and calendar.
Why use it?
It completes a draft-first content process without requiring the agent to remember a previous session.

Skill for Claude Code

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

Part of the adapto plugin — 16 skills, 3 agents, 1 hook shipped together

Good fit Use it to find publishable drafts, select them by type or language, publish or archive them, and update the content ledger and calendar.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/adaptocms/adapto-cms-agent-skills/adapto-publish
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 adaptocms/adapto-cms-agent-skills --skill adapto-publish
Clone the repo
git clone --depth 1 https://github.com/adaptocms/adapto-cms-agent-skills

Made for: Claude Code.

Or install adapto, the plugin that ships this one along with the rest of its 16 skills, 3 agents, 1 hook.

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 adapto-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/adaptocms/adapto-cms-agent-skills/adapto-publish/github.svg)](https://agentmods.dev/skills/adaptocms/adapto-cms-agent-skills/adapto-publish)
Your own site
<a href="https://agentmods.dev/skills/adaptocms/adapto-cms-agent-skills/adapto-publish"><img src="https://agentmods.dev/badge/skills/adaptocms/adapto-cms-agent-skills/adapto-publish/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 adapto-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/adaptocms/adapto-cms-agent-skills/adapto-publish"><img src="https://agentmods.dev/badge/skills/adaptocms/adapto-cms-agent-skills/adapto-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,487 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00058 $0.01487
Opus 5 $0.00029 $0.00744
Sonnet 5 $0.00012 $0.00297
Haiku 4.5 $0.00006 $0.00149

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

Security

Grade A, and why

adapto-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 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.

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.

plugin/skills/adapto-publish/SKILL.md · 99 lines

How it starts

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

adapto:publish

The terminal step of the draft-first loop: every other skill writes draft content; this one takes the reviewed drafts live (draft → published), or archives them back (published → archived) as a walk-back. It's stateless — it discovers what's publishable rather than remembering a session.

When to use

  • "Publish", "publish my drafts", "take it live", "go live", "unpublish/archive this" — typically after reviewing the seeded/translated drafts on the dev server.

When not to use

  • Creating or editing content → the content pipeline (content-createcontent-upload) or adapto:translate.
  • Just checking the environment → adapto:doctor.

Inputs

  • Mode: publish (default) or archive (the inverse / walk-back).
  • Optional filters: type (Articles / Pages / collection items), language, or a specific collection / item set.
  • Collections enumerated from .adapto/schema.json (if present) or adapto collections list --json.

Outputs

  • The selected Articles / Pages / collection items moved draft → published (or published → archived).
  • The ledger updated (acted-on pieces → published) and .adapto/calendar.md refreshed.
  • A report of acted-on + skipped, with ids.
  • Next step: the cycle is complete — suggest the next content cycle (adapto:content-research) or adapto:translate to localize what just went live.

Preconditions

  • Preflight with the adapto:doctor checks.
  • Hard-block on an authenticated CLI (adapto auth me) and a selected tenant — this skill writes. Confirm the working tenant first; never assume the active one.
  • adapto CLI >= 0.1.3.

Plan phase

  1. Discover candidates in the relevant status (publish → draft; archive → published):
    adapto articles list --status draft --json [--language <lang>]
    adapto pages list --status draft --json [--language <lang>]
    adapto collections list --json                                  # enumerate collections (or read .adapto/schema.json)
    adapto collections items list <collection_id> --status draft --json
    
  2. Present them as type · title · slug · language · status.
  3. Let the user selectall or a subset (by type, language, or specific items). "Publish everything I just seeded" = select all; targeted = pick a few.
  4. Print a machine-parseable plan: the exact set to act on (count, per type, titles/slugs, languages) and the transition (draft → published or published → archived). List items already in the target state as skipped. Wait for an explicit approve. No cost/token figures. Nothing to act on → say so and stop.

Read the full file on GitHub · 99 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 · 99 lines · 58 tokens per session scan A 599e0c9242a3

Subscribe to this mod's changes

adapto-publish is a skill published in the GitHub repository adaptocms/adapto-cms-agent-skills (1 stars, last pushed 1mo ago), licensed MIT. It adds 58 tokens to every session and 1,487 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

invest

First-time fork users: run the invest-setup skill first to initialize. The main flow lives in this skill (the AI agent uses the CLI/MCP to view the portfolio / run the committee / replay decision history). The Web GUI has been retired (2026-07) — every capability is exposed via CLI subcommands / MCP tools. The backend…

longsizhuo/openInvest · 261 tokens

invest-setup

A first-time setup workflow for openInvest, a system for tracking investments and running portfolio analysis.

longsizhuo/openInvest · 105 tokens

okf-frontmatter

Maintain openInvest's docs (docs/wiki chapters + docs/wiki/adr) under Google's Open Knowledge Format (OKF). Two jobs. (1) Teach agents to maintain docs the OKF way — every doc carries a small YAML frontmatter block as the single source of truth (type, title, tags, intent, schemasource, documents); schema details link…

longsizhuo/openInvest · 243 tokens

invest-backup

Back up / restore openInvest's local state — memory/ (holdings, strategy, user profile, committee records, dream logs) + db/ (trade ledger, job run history, market-data cache) + .env (SMTP/API credentials) + userprofile.json. All of this data is .gitignore'd with no historical versions in git, so a single accidental…

longsizhuo/openInvest · 202 tokens

yield-xyz-agentkit-builder

Build applications that integrate with the Yield.xyz APIs — staking, lending, vaults, and RWA across 80+ networks. Generates code covering REST API integration, transaction signing, wallet connection, and fee monetization. Use when user wants to build an app, integrate yield, generate code, or set up a project using…

stakekit/agentkit · 75 tokens

yield-xyz-agentkit-privy

The Privy connector for the Yield.xyz AgentKit — signs and broadcasts via Privy agentic wallets. Extends the yield-xyz-agentkit skill — that skill discovers yields and builds the unsigned transactions; this one adds Privy wallet creation, policy enforcement, signing, and broadcasting, in autonomous and semi-autonomous…

stakekit/agentkit · 124 tokens