yesloop

yesloop is a skill for Claude Code, Codex from carsteneu/yesmem. It costs 48 tokens per session (11,438 once invoked), scanned A, original, Apache-2.0.

An autonomous task workflow that guides an agent through analysing, planning, doing, checking, reviewing, and finishing a coding task. It runs in a separate Git worktree, an isolated copy of a repository.

In plain words
What is it for?
Running coding tasks autonomously while isolating the work, checking the result, and reporting progress through the defined workflow.
Why use it?
It keeps autonomous changes separate from your current files and adds explicit checks before the task is considered finished.

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/carsteneu/yesmem/yesloop
Any agent
npx skills add carsteneu/yesmem --skill yesloop
Clone the repo
git clone --depth 1 https://github.com/carsteneu/yesmem

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 yesloop

README.md
[![agentmods](https://agentmods.dev/badge/skills/carsteneu/yesmem/yesloop.svg)](https://agentmods.dev/skills/carsteneu/yesmem/yesloop)
Your own site
<a href="https://agentmods.dev/skills/carsteneu/yesmem/yesloop"><img src="https://agentmods.dev/badge/skills/carsteneu/yesmem/yesloop.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,438 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00048 $0.11438
Opus 5 $0.00024 $0.05719
Sonnet 5 $0.00010 $0.02288
Haiku 4.5 $0.00005 $0.01144

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

Security

Grade A, and why

yesloop scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

allowed-tools: Bash(git *) Bash(go *) Bash(make *) Bash(npm *) Bash(docker *) Bash(python3 *) Bash(sqlite3 *) Bash(curl *) Bash(find *) Bash(ls *) Bash(cat *) Bash(rg *) Bash(mv *) Bash(cp *) Bash(rm *) Bash(mkdir *) Bas
skills/bundled-skills/yesloop/SKILL.md · 714 lines

How it starts

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

Autonomous Task Loop

You are an autonomous agent. Work through tasks without asking the user.

CRITICAL: Always spawn in a worktree

When invoked from an interactive session, do NOT execute the pipeline yourself. Instead, spawn an isolated agent in a git worktree:

  1. Create worktree: git worktree add -b yesloop/<task-slug> <repo>/.worktrees/yesloop-<task-slug>
    • Isolates agent changes from your working directory
    • Multiple agents can run in parallel without conflicts
    • Easy cleanup: delete worktree + branch if abandoned
  2. Write the task to scratchpad with worktree path and skill-read mandate: scratchpad_write(project="<project>", section="yesloop-<task-slug>", content="YOU ARE A YESLOOP-AGENT. MANDATORY - YOU MUST READ THE YESLOOP SKILL AND YOU MUST FOLLOW THE INSTRUCTIONS IN THIS SKILL. Load the yesloop skill: use your platform's skill tool, or read ~/.claude/skills/yesloop/SKILL.md, or <repo-root>/skills/bundled-skills/yesloop/SKILL.md. Follow the 6-phase pipeline (ANALYZE → PLAN → EXECUTE → VERIFY → REVIEW → FINISH) FORMALLY AND SUBSTANTIVELY with ATTENTION.\n\nWorktree: <path>\nTask: <description>\n\nReport to scratchpad.") The spawned agent has NOT auto-loaded this skill — the mandate prefix is mandatory.
  3. Spawn TUI agent: yesmem_spawn_agent(project="<project>", section="yesloop-<task-slug>", backend="opencode", work_dir="<worktree-path>")
  4. Wait 15s for opencode TUI to load + PTY injection to deliver the startup prompt
  5. Relay kick (backup): yesmem_relay_agent(to="<agent-id>", content="Read scratchpad section 'yesloop-<task-slug>' AND load the yesloop skill (skill tool or ~/.claude/skills/yesloop/SKILL.md). MANDATORY - YOU MUST READ THE YESLOOP SKILL AND YOU MUST FOLLOW THE INSTRUCTIONS IN THIS SKILL. Begin the 6-phase pipeline FORMALLY AND SUBSTANTIVELY with ATTENTION.\n") — backup if PTY is slow
  6. Confirm: "Agent spawned in worktree — visible in terminal."

Only run inline if: the user EXPLICITLY says --inline. There is NO trivial-task exception — "< 2 min" is not a license to skip the worktree. If you'd commit it, it runs in the worktree. Create the worktree BEFORE the first edit.

Read the full file on GitHub · 714 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 · 714 lines · 48 tokens per session scan A 66c0725bc506

Subscribe to this mod's changes

yesloop is a skill published in the GitHub repository carsteneu/yesmem (39 stars, last pushed 6d ago), licensed Apache-2.0. It adds 48 tokens to every session and 11,438 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

estimate-tokens

Estimate token count for files using the bundled script. TRIGGER: "estimate tokens", "count tokens", "token usage", "context window size". DO NOT USE: for manual token math — always run the script.

xg-gh-25/SwarmAI · 48 tokens

decision

Full decision lifecycle in VeritasReason � record, query, find precedents (hybrid/advanced), analyze influence, explain, insights dashboard, list, and record exceptions. Uses AgentContext, ContextGraph, DecisionQuery, CausalChainAnalyzer, DecisionRecorder.

bibinprathap/VeritasGraph · 55 tokens

embed

Generate, inspect, and use node/text embeddings in VeritasReason — compute Node2Vec embeddings, find similar nodes, score link predictions, batch similarity, and pairwise similarity. Uses NodeEmbedder, SimilarityCalculator, LinkPredictor, and AgentContext. Sub-commands: compute, similar, similarity, predict-link…

bibinprathap/VeritasGraph · 0 tokens

visualize

Visualize the VeritasReason knowledge graph — topology, centrality, communities, paths, embeddings, decision insights, and temporal evolution. Uses GraphAnalyzer, CentralityCalculator, CommunityDetector, PathFinder, and ContextGraph analytics. Sub-commands: topology, centrality, community, path, decision-graph…

bibinprathap/VeritasGraph · 0 tokens

reason

Run reasoning over the VeritasReason knowledge graph — deductive logic, abductive hypothesis generation, Datalog programs, SPARQL queries, Rete network evaluation. Uses DeductiveReasoner, AbductiveReasoner, DatalogReasoner, SPARQLReasoner, ReteEngine. Sub-commands: deductive, abductive, datalog, sparql, rete, prove…

bibinprathap/VeritasGraph · 0 tokens

temporal

Temporal graph operations on VeritasReason — scoped queries at a point in time, graph snapshots, node change timelines, temporal causal analysis, and graph state reconstruction. Uses AgentContext.findprecedents(asof=), ContextGraph.stateat(), CausalChainAnalyzer.traceattime(), and TemporalQueryRewriter. Sub-commands…

bibinprathap/VeritasGraph · 0 tokens