Try “Claude Code skills”, “MCP servers for Cursor” or “Codex” · Esc to close

Agent Loop Skills 🧩 Skill Open source

Verification-gated improvement loops as Agent Skills for ML, code, SQL, prompts and research

Development workflow skills · Open source ★ 173 · +1 this week · MIT · updated 2026-06-30

6.6editor score
View on GitHub ↗
GitHub stars
173
Stars this week
+1
Forks
19
Licence
MIT
Last push
2026-06-30
Maintainer
gaasher
Installnpx skills add gaasher/agent-loop-skills

Third-party agent skills run with your permissions. Read the source before installing, and prefer pinned versions.

Works with

Built on the open Agent Skills standard, so it works in every app that supports Agent Skills.

About Agent Loop Skills

What it does

Agent Loop Skills packages iterative improvement loops as open-standard Agent Skills. Each loop is generic: when you invoke it you bind it to your own task by naming the artifact to improve, the command that measures it, and a budget. The agent then proposes one change, runs it in your environment, scores the result against a real signal such as tests, latency or a metric, keeps the change only if it is better, logs it to an append-only ledger and repeats until a plateau, budget or threshold stops it. The author labels the project experimental and is candid that unsupervised loops can drift, which is why every loop is gated by an objective check.

What is inside

  • Autoresearch: a minimal Karpathy-style loop plus analysis-first, exploratory, tournament, dueling and evolutionary variants for ML training code
  • Code and optimization: optimize-loop for refactors or SQL speedups behind a correctness gate, prompt-optimize, and a plan-loop / swe-loop pair that turns a request into tasks and implements them with separate engineer and QA roles
  • Research and writing: literature search over Semantic Scholar and arXiv, surveys, hypothesis generation, proposal grading, scientific writing and figures
  • Data: hypothesis-driven analysis, anomaly investigation, claim verification and table cleanup
  • Security: red, blue and purple team loops, explicitly for systems you own

Works with

The skills follow the Agent Skills format, so any compatible host can load them. Multi-role loops spawn real parallel subagents only on Claude Code; on Codex, Cursor and other hosts the same roles run inline, one after another.

How to install

npx skills add gaasher/agent-loop-skills

On Claude Code you can instead add the repo as a plugin marketplace and install agent-loops.

Maintenance and safety

The repo is MIT-licensed and was last updated in mid-2026. Loops shell out to commands you bind, so they can run code, train models and edit files for many iterations; set a budget and review what the ledger kept. Research loops call external paper APIs.

Who should use it

Developers and researchers who already have a measurable target, such as a test suite, a benchmark or a validation metric, and want an agent to iterate against it with a record of every attempt.

agentic-loops autoresearch optimization agent-skills red-teaming

Pros

  • Every loop keeps a change only when a real metric or test says it improved
  • Append-only run ledger records every attempt
  • Installs through the standard skills installer or a Claude Code plugin

Cons

  • Labelled experimental; parallel subagent roles only work on Claude Code
  • Many loops target ML and academic research rather than everyday app code

Superpowers 🧩 SkillFree

A skills library that makes coding agents plan, test-first and debug systematically

★ 294k · +2.7k this week

Matt Pocock's Skills 🧩 SkillOpen source

Small, composable engineering skills: grilling, TDD, specs, tickets and architecture review

★ 274k · +4.9k this week

8.4 Visit ↗

Agent Skills (Addy Osmani) 🧩 SkillOpen source

25 lifecycle skills and commands that make agents spec, test, review and ship with discipline

★ 100k · +1.4k this week

8.3 Visit ↗

Ponytail 🧩 SkillOpen source

Makes your coding agent write the minimum code a task needs, without cutting safety

★ 151k · +5.3k this week

8.0 Visit ↗

Understand Anything 🧩 SkillOpen source

Turns a codebase into an interactive knowledge graph with tours, search and Q&A

★ 85k · +858 this week

8.0 Visit ↗

Archify 🧩 SkillOpen source

Validated, interactive architecture, sequence and data-flow diagrams compiled from typed JSON

★ 76k · +4.5k this week

7.9 Visit ↗

Popular searches