Chief of staff heartbeat
Skill Edward4226/codex-maxxing/skills/chief-of-staff-heartbeat
Drop-in AGENTS.md / CLAUDE.md + 3 companion skills distilled from Jason Liu's《Codex-maxxing》(2026-05-10). Executable rules, not a reprint.
npx -y skills add Edward4226/codex-maxxing --skill chief-of-staff-heartbeatAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use this skill when the user wants periodic, lightweight monitoring of a source (an inbox, dashboard, repository, or feed) and conditional action when a defined trigger fires. It produces a heartbeat task configuration with explicit cadence, source, trigger, and action, and defaults the action to draft-only so the human confirms before anything externally observable happens.
SKILL.md
3.5 KB, 800 tokens by cl100k_base, as published. Nobody here has run it
chief-of-staff-heartbeat
For monitoring-style work — "watch X, tell me when Y happens, then draft Z" — this skill produces a heartbeat configuration the host can schedule. Default behavior is draft-only: the user confirms before any external send/post/submit.
When to use this skill
Use it when the user says any of:
- "Keep an eye on X"
- "Let me know when Y happens"
- "Every <interval> check Z"
- "I want to react quickly to changes in W"
Do not use it for one-off checks ("what's the latest in X?"). A plain tool call is fine for those.
What it produces: the heartbeat card
heartbeat:
name: <short id>
cadence: <cron or "every Nm" / "every Nh" / "daily HH:MM TZ">
source:
type: <email | slack | dashboard | repo | rss | api>
location: <URL / path / channel / inbox label>
trigger:
when: <plain-language condition the heartbeat checks>
confidence_floor: <0..1, optional — only fire if heuristic >= this>
action:
mode: draft # draft | notify | send (default = draft)
target: <where the draft goes — usually a file or DM to the user>
template: |
<draft template referencing the trigger details>
guardrails:
rate_limit: <max fires per day or hour>
cooldown: <minimum gap between fires>
Procedure
- Clarify the four required fields: cadence, source, trigger, action.
- Negotiate the action mode. Default
draft. Only escalate tonotifyif the user explicitly wants the host to ping them. Only escalate tosendif the action is low-stakes AND idempotent AND the user explicitly opts in. - Add sensible guardrails (rate limit + cooldown) so a misfiring trigger doesn't flood the user.
- Register the heartbeat with the host's scheduler:
- Claude Code:
CronCreate(or thescheduleskill). - Codex: native heartbeat mechanism.
- Claude Code:
- Tell the user how to disable it (
CronDelete <name>or equivalent).
Anti-patterns this skill blocks
- ❌ "Send me a summary every hour" with
mode: sendand no rate limit — one misfire becomes spam. - ❌ "Auto-reply to anything matching X" — auto-send to humans without a draft step; bypass.
- ❌ Heartbeats that fire on every cadence regardless of trigger — that's just a cron job, not a heartbeat.
- ❌ A trigger condition that's a fuzzy judgment ("if it looks important") with no measurable definition.
Worked example (original — not lifted from any source)
User: "Watch the blog for new comments that ask actual questions, and draft replies."
heartbeat:
name: blog-comment-questions
cadence: every 30m
source:
type: api
location: https://example.com/api/comments?since=cursor
trigger:
when: a new comment contains "?" and is >20 chars and not from a known spammer
action:
mode: draft
target: notes/comment-queue.md
template: |
### {{ comment.author }} on "{{ comment.post }}"
> {{ comment.text }}
Suggested reply: {{ generated_reply }}
guardrails:
rate_limit: 10/day
cooldown: 15m
The heartbeat drops drafts into a single file; the human reviews and posts when convenient. No comments get auto-published.