loopit

loopit is a skill for Claude Code, Codex from Jewgah/claude-code-skills. It costs 68 tokens per session (3,707 once invoked), scanned A, original, MIT.

An autonomous runner for a Markdown task queue, where each checked or unchecked line represents a work item. It carries tasks through planning, implementation, review, testing, documentation, committing, and pushing.

In plain words
What is it for?
Use it with a task file or task ID to process work items one at a time, apply the repository's own rules, fix review findings, verify the result, and mark completed tasks.
Why use it?
It removes much of the repeated coordination needed to deliver several tasks in order, while pausing when a product decision is genuinely required.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/jewgah/claude-code-skills/loopit
Any agent
npx skills add Jewgah/claude-code-skills --skill loopit
Clone the repo
git clone --depth 1 https://github.com/Jewgah/claude-code-skills

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 loopit

README.md
[![agentmods](https://agentmods.dev/badge/skills/jewgah/claude-code-skills/loopit.svg)](https://agentmods.dev/skills/jewgah/claude-code-skills/loopit)
Your own site
<a href="https://agentmods.dev/skills/jewgah/claude-code-skills/loopit"><img src="https://agentmods.dev/badge/skills/jewgah/claude-code-skills/loopit.svg" alt="Measured on agentmods" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,707 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00068 $0.03707
Opus 5 $0.00034 $0.01853
Sonnet 5 $0.00014 $0.00741
Haiku 4.5 $0.00007 $0.00371

Measured 4d ago against content hash 2b9f880b7985, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

loopit 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 4d 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/loopit/SKILL.md · 226 lines

How it starts

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

Loopit — run a task queue through the full delivery flow

You are an autonomous delivery runner, project-agnostic. Input: $ARGUMENTS — a path to a tasks file (default ./loop-tasks.md), or a single TASK-ID to run only that task.

Process tasks strictly one at a time, top to bottom, each through the complete cycle below. The loop is autonomous between tasks — do not ask "should I continue" after each one. Pause only at the explicit gates in "When to pause".

Nothing here is hardcoded to a specific project. Every project-specific rule (branch, deploy, commit style, client-doc format, post-push build) is derived from the target repo in Step 0 — primarily from its CLAUDE.md + recalled memories + its tooling files. If a repo needs a special rule, it belongs in that repo's CLAUDE.md, not in this skill.

Inputs

  • $ARGUMENTS empty → read ./loop-tasks.md in the current directory.
  • $ARGUMENTS = a path → use that tasks file.
  • $ARGUMENTS = a TASK-ID (e.g. FX-A03) → run only that task, then stop.

The tasks file's directory anchors any relative repo paths (below).

Tasks file format

A markdown checklist. Each line:

- [ ] TASK-ID | repo | Title — short description / acceptance / notes
  • [ ] = pending, [x] = done, [~] = blocked (needs a decision; skip and report).
  • repo = the working directory for the task. Resolve as: an absolute path as-is; a relative path against the tasks-file's directory; . or empty → the current repo. Do NOT assume any fixed parent directory.
  • Lines starting with # are section headers; ignore for processing.
  • A task tagged (decision) in its notes needs product input — see "When to pause".

Step 0 — Detect the project's rules (do this first, per repo involved)

Before running tasks, cd into the repo and establish its rules from the repo itself — never assume. Read its CLAUDE.md + recalled memories, inspect git, and detect tooling:

  • Repo + git: git rev-parse --show-toplevel, git branch --show-current (empty → detached HEAD; see Step 8), the default branch (git symbolic-ref --quiet --short refs/remotes/origin/HEAD), and the push remote (origin if present, else the repo's single remote — if several and none is origin, ask). Re-run this detection for each distinct repo in the queue — rules are per-repo.
  • Branch & push rule (safety-critical — get this right before any push):
    1. If CLAUDE.md/memory states a rule ("push dev, a gate promotes main"; "never push main"), use it.
    2. Else look for an IMPLICIT rule: scan .github/workflows/*.y*ml + any pre-push hook for a protected/promote/green-gate pattern (e.g. a workflow on push to dev/develop/staging that fast-forwards main) and infer the push branch from it.
    3. Else default to push the current branch — UNLESS the current branch IS the default/production branch (main/master) AND a non-production sibling (dev/develop/staging) exists: then do NOT auto-push to production — PAUSE and confirm the target. (This is the guardrail for repos whose "never push prod directly" rule lives only in CI config, not CLAUDE.md.) Never switch or guess a branch; honor any "never push X" guardrail (documented or inferred).
  • Verify commands: detect what the repo actually has — package.json scripts (typecheck/lint/test/build), composer.json scripts (cs/test), a Makefile, cargo/go/pytest, etc. Run the ones that exist. If a change is a single language file and no suite covers it, fall back to the language's own check (e.g. php -l, tsc --noEmit) plus a minimal runnable assertion.
  • Review skill: /review by default; use /review-deep if CLAUDE.md/memory calls for a deeper per-commit review.
  • Commit convention: match the repo's existing git log style (Conventional Commits, a prefix: style, etc.). Default to Conventional Commits if the log is mixed/empty.
  • Client-doc convention: how this repo produces the human-facing change note — /explain-dev (bundled; pass en or fr), your own ticket skill (/jira, …), or the template in Step 9. Language is ENGLISH by default, and stays English unless the repo's CLAUDE.md says otherwise. Output goes to ONE per-product folder under ~/Downloads/{projectname}/.
  • Post-push build/deploy: does reaching users need a separate step after push (a mobile build, a manual deploy)? Check CLAUDE.md (a "Build"/"Deploy"/"Release" section) and tell-tale config (app.json/eas.json → EAS; a deploy script). If the command is documented, note it for the after-run step; if a build is clearly needed but the command isn't documented, ASK before running it (don't guess platform/profile).

Read the full file on GitHub · 226 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. 4d ago First seen · 226 lines · 68 tokens per session scan A 2b9f880b7985

Subscribe to this mod's changes

loopit is a skill published in the GitHub repository Jewgah/claude-code-skills (2 stars, last pushed 1mo ago), licensed MIT. It adds 68 tokens to every session and 3,707 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-31.

Related

Other skills, from other repositories