work-loop

work-loop is a skill for Claude Code from eugenelim/agent-ready-repo. It costs 161 tokens per session (16,280 once invoked), scanned A, original, Apache-2.0.

A workflow for making and verifying substantial changes to a software repository.

In plain words
What is it for?
Features, bug fixes, refactors, migrations, dependency upgrades, API or schema changes, build-system work, and other non-trivial repository tasks.
Why use it?
It provides checkpoints for planning, implementation, testing, review, and recovery when a change fails or needs correction.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; mentions Claude Code; installed under .agents/ (shared by several agents).

Good fit Features, bug fixes, refactors, migrations, dependency upgrades, API or schema changes, build-system work, and other non-trivial repository tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eugenelim/agent-ready-repo/work-loop
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 eugenelim/agent-ready-repo --skill work-loop
Clone the repo
git clone --depth 1 https://github.com/eugenelim/agent-ready-repo

Made for: Claude Code.

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 work-loop

README.md
[![agentmods](https://agentmods.dev/badge/skills/eugenelim/agent-ready-repo/work-loop.svg)](https://agentmods.dev/skills/eugenelim/agent-ready-repo/work-loop)
Your own site
<a href="https://agentmods.dev/skills/eugenelim/agent-ready-repo/work-loop"><img src="https://agentmods.dev/badge/skills/eugenelim/agent-ready-repo/work-loop.svg" alt="Measured on agentmods" height="20"></a>
Per session 161 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 16,280 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 5 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Prompt Injection · line 34
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 50
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 109
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
  • high Prompt Injection · line 219
    This pattern attempts to override system instructions or ignore safety constraints. Without LLM analysis, manual review is recommended.
    Fix: Remove or rewrite any text that instructs the agent to ignore prompts, override safety rules, or trust unverified content. Ensure skill content cannot be injected to alter agent behavior.
  • high Rogue Agent · line 370
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
How audits are shown
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.00161 $0.16280
Opus 5 $0.00081 $0.08140
Sonnet 5 $0.00032 $0.03256
Haiku 4.5 $0.00016 $0.01628

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

Security

Grade A, and why

work-loop 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 2d ago.

The scan reads SKILL.md. This mod also ships 13 executable files (scripts/_loop_guards.py, scripts/_statelock.py, scripts/append-knowledge.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.agents/skills/work-loop/SKILL.md · 814 lines

How it starts

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

Skill: work-loop

Work-loop contract

Surface = stop the current loop, emit a brief description of the situation (what happened, what you tried, current state), name the minimum viable recovery rung, and wait for human direction. Do not retry, redispatch, or silently continue. Recovery rungs in cost order: steer (redirect this session with corrected instructions — cheapest; preserves context) / rerun (new session, gap-closed brief — keeps prior commits, discards context) / salvage (manual recovery from the last clean branch — use when agent state is irrecoverable). (Reviewers also "surface" findings in the descriptive sense — context disambiguates.)

State flow: PLAN → EXECUTE → GATES → REVIEW → DECIDE. After a fix, return to GATES.

   ┌─────────────────────────────────────────────────────────┐
   │                                                         │
   ▼                                                         │
PLAN  ──►  EXECUTE  ──►  GATES  ──►  REVIEW  ──►  DECIDE    │
                          │           │            │         │
                          └─ failed? ─┴── findings? ──── fix ┘
                                                    └── back to GATES

Self-coverage gate. Between human gates, resolve everything a referent can resolve; surface only the irreducible. Three net-new obligations per loop: (1) conditional domain-grounding at PLAN (only when the build rests on an ungrounded domain claim); (2) resolve-vs-surface disposition record, opened at PLAN and closed at DECIDE; (3) done-checklist refusal — don't declare done until the record exists and every REVIEW finding is resolved. The obligations above are the operative runtime contract. Use references/self-coverage/resolve-vs-surface.md only when a disposition is ambiguous; references/self-coverage/protocol.md contains design rationale and calibration, not required normal-loop instructions.

Read the full file on GitHub · 814 lines

Files

What ships with it

35 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago Changed · -23 lines ea887efd7e9f
  2. 3d ago Changed · +4 lines 941977a4bd98
  3. 4d ago Changed · -128 lines 90793da90b46
  4. 7d ago First seen · 961 lines · 161 tokens per session scan A 8da8941164d1

Subscribe to this mod's changes

work-loop is a skill published in the GitHub repository eugenelim/agent-ready-repo (20 stars, last pushed 2d ago), licensed Apache-2.0. It adds 161 tokens to every session and 16,280 once invoked, about $0.0008 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

supervisor

Autonomous multi-agent quality supervisor and release gate. Use when a user wants the best possible result, asks for rigorous review, or when a substantive answer/deliverable should be challenged before release. Decomposes the task, fans out independent subagents, uses specialist and adversarial judges, verifies…

ma-nucho-pro/supervisor-claude-plugin · 92 tokens

moai-platform-chrome-extension

Chrome Extension Manifest V3 development specialist covering service workers, content scripts, message passing, chrome. APIs, side panel, declarativeNetRequest, and Chrome Web Store publishing. Use when building browser extensions.

modu-ai/moai-adk · 48 tokens

moai-framework-electron

Electron 33+ desktop app development specialist covering Main/Renderer process architecture, IPC communication, auto-update, and packaging with Electron Forge. Use when building cross-platform desktop applications.

modu-ai/moai-adk · 41 tokens

moai-foundation-context

Manages context window optimization, session state persistence, and token budget allocation for multi-agent workflows. Use for token budget management, context limits, or session handoff across agents.

modu-ai/moai-adk · 41 tokens

moai-platform-database-cloud

Cloud database platform specialist covering Neon (serverless PostgreSQL), Supabase (PostgreSQL 16 with real-time), and Firebase Firestore (NoSQL with offline sync). Use when choosing or setting up cloud databases.

modu-ai/moai-adk · 51 tokens

review-claudemd

Review recent conversations to find improvements for CLAUDE.md files.

ykdojo/claude-code-tips · 19 tokens