pre-loop-checklist

pre-loop-checklist is a skill for Claude Code, Codex from lamenting-hawthorn/SkillLoop. It costs 60 tokens per session (2,091 once invoked), scanned A, original, Apache-2.0.

A checklist for deciding whether a coding task should become a cron job, an automatic task that runs on a schedule.

In plain words
What is it for?
Use it before creating a new coding cron job or turning a manual task into a recurring loop.
Why use it?
It helps determine whether the task repeats often enough and provides enough value to justify unattended agent runs and their token cost.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it before creating a new coding cron job or turning a manual task into a recurring loop.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lamenting-hawthorn/skillloop/pre-loop-checklist
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 lamenting-hawthorn/SkillLoop --skill pre-loop-checklist
Clone the repo
git clone --depth 1 https://github.com/lamenting-hawthorn/SkillLoop

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 pre-loop-checklist

README.md
[![agentmods](https://agentmods.dev/badge/skills/lamenting-hawthorn/skillloop/pre-loop-checklist/github.svg)](https://agentmods.dev/skills/lamenting-hawthorn/skillloop/pre-loop-checklist)
Your own site
<a href="https://agentmods.dev/skills/lamenting-hawthorn/skillloop/pre-loop-checklist"><img src="https://agentmods.dev/badge/skills/lamenting-hawthorn/skillloop/pre-loop-checklist/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 pre-loop-checklist

Your own site · 80×15
<a href="https://agentmods.dev/skills/lamenting-hawthorn/skillloop/pre-loop-checklist"><img src="https://agentmods.dev/badge/skills/lamenting-hawthorn/skillloop/pre-loop-checklist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,091 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.00060 $0.02091
Opus 5.5 $0.00024 $0.00836
Sonnet 5.5 $0.00012 $0.00418
Haiku 4.5 $0.00006 $0.00209

Measured 3mo ago against content hash 1f759c4aca2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pre-loop-checklist 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 3mo 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.

references/hermes-skills/pre-loop-checklist/SKILL.md · 232 lines

How it starts

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

Pre-Loop Checklist

Load this skill BEFORE creating any new cron job. It encodes the decision framework from loop engineering: should this task be a loop, or should it stay as a manual prompt?

The honest answer: most developers don't need a loop yet. This checklist saves you from building loops that cost more than they return.

When to Use

  • Before calling cronjob(action='create', ...)
  • When a user says "schedule this" for a coding/automation task
  • Before wrapping a manual task into an unattended loop

Skip this checklist for:

  • Pure watchdog scripts (no_agent=true) — those don't use LLM tokens
  • One-shot scheduled messages (e.g., "remind me at 9am") — no loop involved
  • Non-coding cron jobs (weather reports, news briefs, daily summaries)

Tier 1: The 4-Condition Test (Strategic)

Run this first. Miss one condition and the loop costs more than it returns.

Condition 1: The task repeats at least weekly

"If the work does not recur weekly, you don't have a loop — you have a script you ran once."

Ask: Will this task fire at least once per week?

  • YES → continue to condition 2
  • NO → keep it as a manual prompt or one-shot. A loop setup cost will never amortize.

Condition 2: Verification is automated

"The loop needs something that can fail the work without you in the room."

Ask: Is there a test suite, type checker, linter, or build that can reject bad output?

  • YES → continue to condition 3
  • NO → STOP. A loop with no real check is the agent agreeing with itself on repeat. You're back in the chair reading every diff — the exact job the loop was supposed to remove.

Condition 3: Your token budget can absorb the waste

"Loops re-read context, retry, explore. That burns tokens whether or not the run ships anything."

Ask: If this loop burns 3-5x more tokens than a single manual run (retries, re-reading context, exploration), will you still be happy?

  • YES → continue to condition 4
  • NO → STOP. The technique scales with budget. Solo builders on consumer plans get the token bill before the productivity gain.

Read the full file on GitHub · 232 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. 3mo ago First seen · 232 lines · 60 tokens per session scan A 1f759c4aca2a

Subscribe to this mod's changes

pre-loop-checklist is a skill published in the GitHub repository lamenting-hawthorn/SkillLoop (9 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 2,091 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-08-31.

Related

pre-loop-checklist compared with skills from other repositories

pre-loop-checklist next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pre-loop-checklistlamenting-hawthorn/SkillLoopSkill94mo agoApache-2.0A60Claude Code, Codex
model_finetuningvuralserhat86/antigravity-agentic-skillsSkill4311mo agononeA67Claude Code, Codex
model_finetuningDonggangChen/antigravity-agentic-skillsSkill210mo agononeA67Claude Code, Codex
openloreaakarim/OpenLoreSkill2.0ktodayApache-2.0A42Claude Code, Codex
llm-finetuningj4flmao/agent-skillsSkill4614d agoMITA99Claude Code, Codex
wikiskill-proposerashutoshsinghpr7/wikiskillSkill2942mo agoMITA18Claude Code, Codex
cortadelcortadel/cortadelSkill76d agoApache-2.0A178Claude Code