pre-publish-post-assistant

pre-publish-post-assistant is a skill for Claude Code, Codex from nicepkg/ai-workflow. It costs 73 tokens per session (1,495 once invoked), scanned A, original, MIT.

A writing assistant for preparing a new blog post for publication. It suggests categories, tags, and SEO fields such as the search title, description, and focus keyphrase from a draft, URL, or text.

In plain words
What is it for?
Use it when publishing a WordPress post and you need category and tag suggestions or SEO recommendations. It is designed for drafts and existing site taxonomies.
Why use it?
It reduces the manual work of classifying posts and preparing their search metadata. It also explains the reasoning behind its suggestions and uses the site's existing categories and tags.

Skill for Claude CodeCodex

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 skills/nicepkg/ai-workflow/pre-publish-post-assistant
Any agent
npx skills add nicepkg/ai-workflow --skill pre-publish-post-assistant
Clone the repo
git clone --depth 1 https://github.com/nicepkg/ai-workflow

Made for: Claude Code, Codex.

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 pre-publish-post-assistant

README.md
[![agentmods](https://agentmods.dev/badge/skills/nicepkg/ai-workflow/pre-publish-post-assistant.svg)](https://agentmods.dev/skills/nicepkg/ai-workflow/pre-publish-post-assistant)
Your own site
<a href="https://agentmods.dev/skills/nicepkg/ai-workflow/pre-publish-post-assistant"><img src="https://agentmods.dev/badge/skills/nicepkg/ai-workflow/pre-publish-post-assistant.svg" alt="Measured on agentmods" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,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.00073 $0.01495
Opus 5 $0.00036 $0.00747
Sonnet 5 $0.00015 $0.00299
Haiku 4.5 $0.00007 $0.00150

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

Security

Grade A, and why

pre-publish-post-assistant 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 5d 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.

workflows/content-creator-workflow/.claude/skills/pre-publish-post-assistant/SKILL.md · 212 lines

How it starts

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

Pre-publish Post Assistant Skill

Purpose

This skill helps prepare blog posts for publication by providing intelligent suggestions for:

  1. Categories - From existing site categories, with distribution awareness
  2. Tags - From existing tags, avoiding tag pollution
  3. SEO Metadata - Title, meta description, and focus keyphrase

All suggestions include rationale explaining the reasoning.

When to Use This Skill

  • User says "classify this post" or "suggest categories/tags"
  • User asks to "prepare this post for publishing"
  • User wants "SEO suggestions" for a draft
  • User provides a draft post and asks for taxonomy suggestions
  • User mentions "new blog post" and needs categorization help

Key Principles

Category Selection

  • Limit to 1-2 categories per post (primary + optional secondary)
  • Prefer categories with moderate post counts (avoid over/under-populated)
  • Match content theme, not just keywords
  • Consider category hierarchy if applicable

Tag Selection

  • Limit to 3-5 tags per post
  • Only use existing tags (no new tag creation unless explicitly requested)
  • Avoid tag pollution (tags with only 1-2 posts are low value)
  • Prefer tags that group related content meaningfully
  • Consider tag search potential

SEO Metadata

  • Title: 50-60 characters, include primary keyword, compelling
  • Meta Description: 150-160 characters, summarize value proposition, include CTA
  • Focus Keyphrase: 2-4 words, searchable, relevant to content

Input Formats

The skill accepts draft content in multiple formats:

# File path
"Classify this post: /path/to/draft.md"

# URL (for already-published posts needing optimization)
"Suggest tags for https://example.com/my-post/"

# Inline text
"Here's my draft: [content]... What categories fit?"

Data Sources

Categories and Tags

Can be retrieved from:

  1. WordPress GraphQL - Live data from WP
  2. Static dist folder - Parse from built site (/category/, /tag/ pages)
  3. Cached taxonomy file - Pre-generated taxonomy.json

Read the full file on GitHub · 212 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. 5d ago First seen · 212 lines · 73 tokens per session scan A 2684be8f2c09

Subscribe to this mod's changes

pre-publish-post-assistant is a skill published in the GitHub repository nicepkg/ai-workflow (283 stars, last pushed 7mo ago), licensed MIT. It adds 73 tokens to every session and 1,495 once invoked, about $0.0004 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.