loopops-protocol

loopops-protocol is a skill for Claude Code, Codex from markoblogo/abvx-agent-skills. It costs 74 tokens per session (943 once invoked), scanned A, original, MIT.

A guide for turning repeatable agent behavior into the smallest useful reusable method, such as a prompt, skill, checklist, script, workflow, or loop.

In plain words
What is it for?
Use it to design or audit agent workflows, decide whether repeated work needs retries and evaluation, and set limits for cost and stopping.
Why use it?
It helps avoid adding elaborate automation when a simpler reusable instruction would be reliable enough.

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/markoblogo/abvx-agent-skills/loopops-protocol
Any agent
npx skills add markoblogo/abvx-agent-skills --skill loopops-protocol
Clone the repo
git clone --depth 1 https://github.com/markoblogo/abvx-agent-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 loopops-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/loopops-protocol.svg)](https://agentmods.dev/skills/markoblogo/abvx-agent-skills/loopops-protocol)
Your own site
<a href="https://agentmods.dev/skills/markoblogo/abvx-agent-skills/loopops-protocol"><img src="https://agentmods.dev/badge/skills/markoblogo/abvx-agent-skills/loopops-protocol.svg" alt="Measured on agentmods" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 943 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.00074 $0.00943
Opus 5 $0.00037 $0.00472
Sonnet 5 $0.00015 $0.00189
Haiku 4.5 $0.00007 $0.00094

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

Security

Grade A, and why

loopops-protocol 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/loopops-protocol/SKILL.md · 158 lines

How it starts

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

LoopOps Protocol

Use this skill when reusable agent behavior should become more than a better prompt.

The goal is to choose the smallest durable artifact that improves future runs:

prompt -> skill -> checklist -> script -> workflow -> loop

Do not promote work upward unless the extra machinery buys reliability, reuse, or cheaper future execution.

Artifact Ladder

Classify the candidate method first:

  • Prompt: one-off instruction for this run.
  • Skill: compact reusable context, procedure, or tool adapter loaded on demand.
  • Checklist: ordered human/agent validation sequence.
  • Script: deterministic repeatable action with parameters.
  • Workflow: ordered tool/process execution with gates and evidence.
  • Loop: workflow plus evaluator, memory write, retry policy, and stop rule.

Prefer the lowest artifact that handles the task reliably.

Loop Suitability Gate

Promote a workflow into a loop only when all are true:

  • The goal has an observable completion condition.
  • Progress can be evaluated without trusting the worker agent blindly.
  • A retry is likely to improve the result.
  • Cost can be bounded by iteration, time, token, or tool budget.
  • Failure has a clear stop, rollback, or human-escalation path.

If any condition is missing, keep it as a supervised workflow or checklist.

Open vs Closed Loop

Use an open loop when:

  • the solution space is unknown,
  • discovery or exploration matters,
  • multiple valid approaches may exist,
  • the output is research, architecture, strategy, or design direction.

Use a closed loop when:

  • acceptance criteria are known,
  • tests, checks, or review criteria exist,
  • regression risk matters,
  • the task can be decomposed into verifiable steps.

Open loops need tighter budget limits. Closed loops need stronger evaluators.

Supervisor Contract

Every loop must define:

Goal:
Completion condition:
Loop type: open | closed
Worker action:
Evaluator:
Evidence:
Memory write:
Retry policy:
Budget:
Stop rule:
Rollback or escalation:

Read the full file on GitHub · 158 lines

Files

What ships with it

2 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. 4d ago First seen · 158 lines · 74 tokens per session scan A 97e00731c236

Subscribe to this mod's changes

loopops-protocol is a skill published in the GitHub repository markoblogo/abvx-agent-skills (15 stars, last pushed 10d ago), licensed MIT. It adds 74 tokens to every session and 943 once invoked, about $0.0004 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

ctx

Use ctx as working memory for prior agent work. Before starting or continuing work in an unfamiliar area, resuming earlier work, or revisiting an investigation, search prior sessions to ground yourself in earlier context. When ctx blame is available, use it to trace a line, file, commit, or PR to the agent session…

ctxrs/ctx · 91 tokens

source-command-latch-compact

Manually trigger a latch KB compaction for the current Codex session. Use when the user invokes $source-command-latch-compact, latch-compact, /latch-compact, asks to compact the current Codex session into latch, or wants the Codex equivalent of Claude Code's /latch-compact command.

open-latch/latch · 73 tokens

source-command-latch-heal

Run nightly latch heal with integrity sweep and contradiction resolver. Use when the user invokes $source-command-latch-heal, latch-heal, /latch-heal, or wants the Codex equivalent of Claude Code's /latch-heal command.

open-latch/latch · 58 tokens

source-command-latch-tree

Rebuild the hierarchical cluster and summary tree for this project's latch KB. Use when the user invokes $source-command-latch-tree, latch-tree, /latch-tree, or wants the Codex equivalent of Claude Code's /latch-tree command.

open-latch/latch · 56 tokens

source-command-latch-decay

Apply weekly decay and promote staging nodes that cleared the refcount bar. Use when the user invokes $source-command-latch-decay, latch-decay, /latch-decay, or wants the Codex equivalent of Claude Code's /latch-decay command.

open-latch/latch · 61 tokens

source-command-latch-pm

Seed one ruled-out decision, then show latch catch a future agent trying to revive it. Use when the user invokes $source-command-latch-pm, latch-pm, /latch-pm, or wants the Codex equivalent of Claude Code's /latch-pm command.

open-latch/latch · 65 tokens