Skill files ·
Publish, then read it back
Rules for jobs that publish on their own: approval per schema instead of per post, every publish read back from its URL, silence raises an alarm.
DOWNLOADWhat it helps you do
- Exposes the job that runs green for a month and publishes nothing
- Turns per-post approval into a one-time schema approval
- Keeps the learning loop from widening its own permissions
Installation
Save the file as .claude/skills/<name>/SKILL.md in your project (or ~/.claude/skills/<name>/SKILL.md for personal use). Claude Code loads it when the trigger in the description matches; for Codex and similar tools, paste the body into AGENTS.md.
File preview
---
name: publish-readback
description: Use when an agent or scheduled job publishes content on its own (social posts, blog posts, emails). Approval is given once per schema, every publish is read back from the live URL, and a kill switch is checked right before sending.
---
# Publish, then read it back
A scheduled job can run green for a month and publish nothing. We know because it happened to us. These rules are what we changed afterwards.
## 1. Approve the schema, not each post
Write down, per account:
- which accounts the job may post to
- which content types, and how many per day
- what is forbidden (topics, claims, tagging people)
- which comment types it may answer
A human approves that document once and it is versioned. Inside the schema the job posts without asking. Anything outside it (a new account, a new type, a higher frequency) waits in a queue for a human.
## 2. Check the gate right before sending
- Is there an approved schema for this account, and does this item fit it?
- Is the kill switch off? One file or flag that stops every job, checked at send time, not only at start.
- Does the item have everything the platform needs (image present, text within limits)?
An item that fails is skipped with a reason from a fixed list. No silent skips.
## 3. Read back the result
- A 200 response and a post id are not proof.
- Fetch the public URL. Confirm the text and the media are there.
- Store the URL with the item. An item without a verified URL is not published.
## 4. Do not trust the clock you were given
- Hosted schedulers can fire hours late. If your publish window is narrow, late triggers become silent misses.
- Either add catch-up logic (publish what is overdue, up to a limit) or trigger from a clock you control.
## 5. Make silence visible
- Alert on absence: "this account had due items and published none for N days".
- Run that check from a different scheduler than the publisher. A dead job cannot report its own death.
## 6. Let the loop learn inside the envelope only
Engagement data may change weights between approved types and time slots. It may not add a type, an account or frequency. The model tunes; it does not expand its own permissions.
---
From The Kai · thekai.co/library · Free to use and adapt.