fix-failed-posts

fix-failed-posts is a skill for Claude Code, Codex from azeemkafridi/bulkpublish-api. It costs 54 tokens per session (607 once invoked), scanned A, original, MIT.

A troubleshooting workflow for social-media posts that failed completely or published only to some destinations. It reads each destination's error, identifies the cause, and retries only the destinations that failed.

In plain words
What is it for?
Use it to inspect failed or partly published posts, correct their content or account setup, and retry the unsuccessful destinations.
Why use it?
It helps distinguish expired accounts, invalid media, text limits, approval requirements, and temporary platform errors. This reduces duplicate publishing when some destinations already succeeded.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect failed or partly published posts, correct their content or account setup, and retry the unsuccessful destinations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/azeemkafridi/bulkpublish-api/fix-failed-posts
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 azeemkafridi/bulkpublish-api --skill fix-failed-posts
Clone the repo
git clone --depth 1 https://github.com/azeemkafridi/bulkpublish-api

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 fix-failed-posts

README.md
[![agentmods](https://agentmods.dev/badge/skills/azeemkafridi/bulkpublish-api/fix-failed-posts/github.svg)](https://agentmods.dev/skills/azeemkafridi/bulkpublish-api/fix-failed-posts)
Your own site
<a href="https://agentmods.dev/skills/azeemkafridi/bulkpublish-api/fix-failed-posts"><img src="https://agentmods.dev/badge/skills/azeemkafridi/bulkpublish-api/fix-failed-posts/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 fix-failed-posts

Your own site · 80×15
<a href="https://agentmods.dev/skills/azeemkafridi/bulkpublish-api/fix-failed-posts"><img src="https://agentmods.dev/badge/skills/azeemkafridi/bulkpublish-api/fix-failed-posts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 607 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.00054 $0.00607
Opus 5.5 $0.00022 $0.00243
Sonnet 5.5 $0.00011 $0.00121
Haiku 4.5 $0.00005 $0.00061

Measured 26d ago against content hash 6f00313794ad, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-failed-posts 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 26d 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.

skills/core-profile-skills/fix-failed-posts/SKILL.md · 51 lines

How it starts

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

BulkPublish — Fixing Failed Posts

A post's status is failed when no destination published and partial when some did. Each destination in get_post has its own status and error message.

Workflow

  1. list_posts with status: "failed", then status: "partial". For each, get_post and read every destination's status and error.
  2. Sort the causes before doing anything:
    • Disconnected account — list_channels shows tokenStatus: "expired". The user reconnects it in BulkPublish under Channels; nothing else helps.
    • Media the platform refused — wrong type, length or count for that post type (see the platform-reference skill).
    • Text over the limit for that platform.
    • A temporary platform error — usually fine to retry as is.
    • APPROVAL_REQUIRED — the role cannot publish; submit it for approval instead (post-approvals skill).
  3. Fix content with update_post (send ifUnmodifiedSince = the updatedAt you read). Editing a failed post returns it to draft, so schedule it again afterwards; a partial post stays partial, and scheduling it re-sends only the destinations that failed.
  4. retry_post re-sends only the destinations that failed, never the ones that published.

Unconfirmed destinations

A destination in status unconfirmed may already be live: the request reached the platform but its answer was lost. It is never retried on its own. If a post has unconfirmed destinations and no failed ones, retry_post answers 400 UNCONFIRMED_REQUIRES_REPUBLISH.

Ask the user to look at the account on the platform. Only when they confirm the post is NOT there, call retry_post with republish: true. Passing it any earlier can publish the post twice.

Rules

  • Show the user the plan (which posts, what changes, what is retried) and get a yes before retrying or editing anything.
  • Report what actually happened from the response, per destination; do not say a post "went out" until its destination shows it.
  • delete_post removes a post from BulkPublish only. A published destination stays live on its platform, so deleting is never a way to take one down.

Read the full file on GitHub · 51 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. 26d ago First seen · 51 lines · 54 tokens per session scan A 6f00313794ad

Subscribe to this mod's changes

fix-failed-posts is a skill published in the GitHub repository azeemkafridi/bulkpublish-api (4 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 607 once invoked, about $0.0002 per session on Opus 5.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-11-04.

Related

fix-failed-posts compared with skills from other repositories

fix-failed-posts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-failed-postsazeemkafridi/bulkpublish-apiSkill42d agoMITA54Claude Code, Codex
zerniozernio-dev/zernio-cliSkill337d agoMITA24Claude Code, Codex
schedule-social-postJackVitick/socialync-mcpSkill0yesterdayMITA87Claude Code
website-auditepicx-labs/keytomic-mcpSkill15d agoMITA53Claude Code
film-once-week-of-shortsJackVitick/socialync-mcpSkill0yesterdayMITA96Claude Code
blog-to-a-week-of-postsJackVitick/socialync-mcpSkill0yesterdayMITA100Claude Code
notes-to-carouselJackVitick/socialync-mcpSkill0yesterdayMITA89Claude Code