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.
npx skills add azeemkafridi/bulkpublish-api --skill fix-failed-postsgit clone --depth 1 https://github.com/azeemkafridi/bulkpublish-apiWrote 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.
[](https://agentmods.dev/skills/azeemkafridi/bulkpublish-api/fix-failed-posts)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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
list_postswithstatus: "failed", thenstatus: "partial". For each,get_postand read every destination's status and error.- Sort the causes before doing anything:
- Disconnected account —
list_channelsshowstokenStatus: "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).
- Disconnected account —
- Fix content with
update_post(sendifUnmodifiedSince= theupdatedAtyou read). Editing a failed post returns it todraft, so schedule it again afterwards; a partial post stays partial, and scheduling it re-sends only the destinations that failed. retry_postre-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_postremoves a post from BulkPublish only. A published destination stays live on its platform, so deleting is never a way to take one down.
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.
- 26d ago First seen · 51 lines · 54 tokens per session scan A 6f00313794ad
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.
fix-failed-posts compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| fix-failed-postsazeemkafridi/bulkpublish-api | Skill | 4 | 2d ago | MIT | A | 54 | Claude Code, Codex |
| zerniozernio-dev/zernio-cli | Skill | 33 | 7d ago | MIT | A | 24 | Claude Code, Codex |
| schedule-social-postJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 87 | Claude Code |
| website-auditepicx-labs/keytomic-mcp | Skill | 1 | 5d ago | MIT | A | 53 | Claude Code |
| film-once-week-of-shortsJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 96 | Claude Code |
| blog-to-a-week-of-postsJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 100 | Claude Code |
| notes-to-carouselJackVitick/socialync-mcp | Skill | 0 | yesterday | MIT | A | 89 | Claude Code |