heartbeat

heartbeat is a skill for Claude Code from wotai-dev/woterclip. It costs 64 tokens per session (3,384 once invoked), scanned A, original, MIT.

A routine for checking assigned GitHub issues, choosing the appropriate WoterClip persona, completing available work, and reporting the result.

In plain words
What is it for?
Use it to run the agent loop, preview available work with a dry run, or limit processing to issues matching a specific persona.
Why use it?
It turns a list of GitHub tasks into a repeatable work cycle instead of requiring manual checking and dispatch each time.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the woterclip plugin — 7 skills, 3 commands shipped together

Good fit Use it to run the agent loop, preview available work with a dry run, or limit processing to issues matching a specific persona.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add wotai-dev/woterclip
Claude Code
/plugin install woterclip

Made for: Claude Code.

Or install woterclip, the plugin that ships this one along with the rest of its 7 skills, 3 commands.

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 heartbeat

README.md
[![agentmods](https://agentmods.dev/badge/skills/wotai-dev/woterclip/heartbeat/github.svg)](https://agentmods.dev/skills/wotai-dev/woterclip/heartbeat)
Your own site
<a href="https://agentmods.dev/skills/wotai-dev/woterclip/heartbeat"><img src="https://agentmods.dev/badge/skills/wotai-dev/woterclip/heartbeat/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 heartbeat

Your own site · 80×15
<a href="https://agentmods.dev/skills/wotai-dev/woterclip/heartbeat"><img src="https://agentmods.dev/badge/skills/wotai-dev/woterclip/heartbeat.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,384 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.00064 $0.03384
Opus 5 $0.00032 $0.01692
Sonnet 5 $0.00013 $0.00677
Haiku 4.5 $0.00006 $0.00338

Measured 9d ago against content hash 85ef99dd9476, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

heartbeat 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 9d 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/heartbeat/SKILL.md · 179 lines

How it starts

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

WoterClip Heartbeat

Execute the WoterClip heartbeat cycle: pick up assigned GitHub issues, resolve the right persona, do the work, and report back with structured comments. All GitHub operations go through the gh CLI — no MCP server required.

Arguments:

  • --dry-run — Show what would be picked up without doing work
  • --persona <name> — Only pick issues matching a specific persona

Reference files (consult as needed during execution):

  • ${CLAUDE_PLUGIN_ROOT}/references/comment-format.md — Comment templates and rules
  • ${CLAUDE_PLUGIN_ROOT}/references/label-conventions.md — Label lifecycle and atomic label operations
  • ${CLAUDE_PLUGIN_ROOT}/references/status-mapping.md — GitHub state model, sort order, inbox filtering
  • ${CLAUDE_PLUGIN_ROOT}/references/sub-issues.md — Canonical create/attach/verify procedure for sub-issues
  • ${CLAUDE_PLUGIN_ROOT}/references/persona-dispatch.md — Subagent dispatch, outcome contract, and fallback rules
  • ${CLAUDE_PLUGIN_ROOT}/references/beat-economics.md — Clock capture, time ceiling, stop reasons, log fields

All gh issue / gh api calls below target the repo from config github.repo (pass --repo <owner/name> explicitly — never rely on the working directory's default remote).

Step 1: Load Config & Lock

  1. Read .woterclip/config.yaml. If missing, stop and instruct the user to run /woterclip-init. Nothing is created yet, so this exit records nothing.
  2. Check for lockfile at .woterclip/.heartbeat-lock.
    • Exists and less than stale_lock_hours old → stop: "Previous heartbeat still active. Skipping." This beat never took the lock — do not delete it and do not record a beat line.
    • Exists and older than stale_lock_hours → delete it, log: "Cleaned stale lockfile."
    • No lockfile → proceed.
  3. Take the lock. This one command creates it and prints it, so the beat observes its own id and start epoch:
    printf '{"beat_id":"%s","started_at":"%s","started_epoch":%s}\n' \
      "$(date -u +%s)-$$" "$(date -u +%Y-%m-%dT%H:%M:%SZ)" "$(date -u +%s)" \
      | tee .woterclip/.heartbeat-lock
    
    Carry the printed beat_id and started_epoch forward — they are the beat's identity and its clock.
  4. Ownership rule, applied at every exit from here on. Re-read .woterclip/.heartbeat-lock. Delete it only if it still carries this beat's beat_id; if it is missing or carries another id, a later beat cleaned and re-took it — leave it alone. Deleting a lock this beat does not own hands two beats the same repo.
  5. Every exit from here on records one beat line (step 9 format) naming that exit's stop reason, then applies the ownership rule. --dry-run and a superseded beat record none. The exit-to-reason map is in ${CLAUDE_PLUGIN_ROOT}/references/beat-economics.md. Beat elapsed is $(date -u +%s) minus started_epoch.

Read the full file on GitHub · 179 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. 9d ago First seen · 179 lines · 64 tokens per session scan A 85ef99dd9476

Subscribe to this mod's changes

heartbeat is a skill published in the GitHub repository wotai-dev/woterclip (57 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 3,384 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

decision-map

Turn a loose idea into a git-tracked, session-resumable map of typed investigation tickets, then drive them to resolution one at a time. The planning-loop engine for work that is still being figured out — too fuzzy for a campaign, too big for a single intake item. Resolved tickets graduate into .planning/intake/ for…

SethGammon/Citadel · 77 tokens

work

Execute Elixir/Phoenix plan tasks with progress tracking. Use after /phx:plan to implement features with mix compile and mix test verification after each step, or --continue to resume interrupted work.

oliver-kriska/claude-elixir-phoenix · 43 tokens

catchup

Summarize and review what changed while you were away. Use after a weekend, vacation, or flight to check missed PRs, git commits, Linear tickets, and meetings — one prioritized brief, not a firehose.

oliver-kriska/claude-elixir-phoenix · 48 tokens

phx-deps-update

Bump outdated Hex deps — inventory, snapshot changelogs, update, fix breaks, split reviewable PRs (patches bundled, majors solo). Use to upgrade/bump Elixir dependencies or when versions fall behind. NOT for deps.get failures (phx-investigate).

oliver-kriska/claude-elixir-phoenix · 62 tokens

pilot

One autonomous Pilot cycle - fetch the agenda, execute the top item, journal, exit. Injected by the terminal host - not for manual invocation loops.

suxrobGM/jobpilot · 33 tokens

project-update

Update project configuration to match the latest HCF plugin defaults. Use when the HCF plugin has been updated and you want to sync your project's config.

markshust/hcf · 33 tokens