Skip to content
Back to skills

Agent Loop

ASecurity

Execute lean TODO tasks through native CLI models with independent product review and targeted repairs; no procedural contract chain for new work.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 7, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add PapeMati98/Ai-Stack --skill agent-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agent Loop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agent Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/papemati98-agent-loop-ai-stack/badge)](https://www.skillsdirectory.com/skills/papemati98-agent-loop-ai-stack)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agent-loop
description: Execute lean TODO tasks through native CLI models with independent product review and targeted repairs; no procedural contract chain for new work.
---

# Agent Loop: targeted product repair

The default loop lives inside one TODO task: maker -> deterministic checks ->
independent reviewer -> actionable REPAIR to maker -> retest -> ACCEPT.
For a single small task use `agent-graph/scripts/todo_pair.py --todo <todo.json>
--run-dir <absolute-evidence-dir>`. It reuses this loop without graph scheduling.
Use TODO Graph only for real parallel branches or dependencies.

Do not create a separate Loop contract or graph for each repair. Retain the
workspace, exact findings and relevant tests. No recursive Fleet, no audit of
the reviewer, no new architecture planning for a local defect.
Stop blind repetition after the same artifact and findings occur twice.
Diagnose infrastructure errors separately from product defects. Malformed review
must not trigger recoding. Token totals are telemetry; actual provider limits and
explicit owner limits are not bypassed.
An unchanged artifact and identical checks retain their successful test evidence
when only the review/report transport is repaired. A changed artifact invalidates
that evidence. Neither a valid report nor an ACK grants product acceptance.

Legacy search/training/certified loops remain available for their existing
scientific contracts. Do not silently migrate or weaken those contracts.

Files in this skill

  • SKILL.md1.5 KB
  • adapters/antigravity/discovery.py2 KB
  • adapters/antigravity/scheduler_trigger.py4.9 KB
  • adapters/antigravity/test_antigravity_adapter.py10.8 KB
  • adapters/antigravity/win_lock.py1.3 KB
  • agents/openai.yaml444 B
  • references/contract.md5.4 KB
  • references/example-gate.json841 B
  • references/example-loop.json1.6 KB
  • references/gate.schema.json2 KB
  • references/l2-contract.md3.1 KB
  • references/l2-contract.schema.json4.7 KB
  • references/l2-search-contract.md3.5 KB
  • references/l2-search-contract.schema.json6.5 KB
  • references/loop.schema.json7.4 KB
  • references/runs-entry.schema.json5 KB
  • references/runtime-adapters.md2.6 KB
  • references/state.schema.json4.2 KB
  • scripts/agent_loop.py88.1 KB
  • scripts/agent_loop_l2.py76.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.