whatisgithub

What is claude-loop?

aronprins/claude-loop — explained in plain English

Analysis updated 2026-05-18

5Audience · developerComplexity · 2/5Setup · easy

In one sentence

A Claude Code skill that breaks a feature list into small stories, each implemented by its own fresh AI subagent, so long coding runs do not lose quality over time.

Mindmap

mindmap
  root((repo))
    What it does
      Fresh subagent per story
      Avoids context degradation
      Sequential execution
    Tech stack
      Claude Code
      Git
      JSON task files
    Use cases
      Automate feature backlog
      Long running coding sessions
      Multi story implementation
    Audience
      Developers
      Vibe coders
    State
      Git history
      Progress log
      AGENTS.md files

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn a written feature backlog into a set of small, independently implemented stories.

USE CASE 2

Run long, multi story coding sessions without losing earlier context or quality.

USE CASE 3

Keep a durable log of learnings and conventions that future coding sessions can read.

USE CASE 4

Let Claude Code manage a git branch and commit history for a batch of related changes.

What is it built with?

Claude CodeGitJSON

How does it compare?

aronprins/claude-loop00kaku/wp-rest-playground1ncendium/aibuster
Stars555
LanguageJavaScriptPython
Setup difficultyeasyhardmoderate
Complexity2/53/53/5
Audiencedeveloperdeveloperops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Requires Claude Code already installed and authenticated, plus a git repository to work in.

No license information is given in the explanation, so it is not clear what uses are permitted.

So what is it?

Claude Loop is a skill for Claude Code, Anthropic's AI coding assistant, that automates working through a list of development tasks one at a time without quality dropping over long sessions. The core problem it addresses: in long coding sessions, AI assistants gradually lose quality as their context window fills up with prior decisions, code, and conversation history. The longer the run, the more the assistant forgets earlier choices or makes inconsistent changes. Claude Loop sidesteps this. You write a prd.json file listing the user stories you want implemented, each with acceptance criteria and a priority. For each story, the tool spawns a fresh subagent, a clean Claude Code session with no accumulated context, to implement just that one story. The subagent writes the code, runs tests, commits to git, and exits. Then the next story gets its own fresh subagent. State carries forward through three durable channels: git history, since each story produces a focused commit, a progress.txt append only log for recording learnings, and AGENTS.md files placed in source directories that Claude automatically reads when working in that folder. To use it, you install the skill by cloning it into .claude/skills/claude-loop/, create a prd.json at your project root, and tell Claude to run the loop. An orchestrator session reads the task list, manages the git branch, spawns subagents one after another, verifies their output, and archives the run once all stories pass. Parallel execution is not supported by design, since stories often touch overlapping files. The full README is longer than what was shown.

Copy-paste prompts

Prompt 1
Help me write a prd.json file for claude-loop describing three small user stories for my project.
Prompt 2
Walk me through installing claude-loop as a project skill in my repository.
Prompt 3
Explain how claude-loop keeps subagents from losing context compared to one long coding session.
Prompt 4
Show me how AGENTS.md files are used by claude-loop to carry knowledge between subagents.

Frequently asked questions

What is claude-loop?

A Claude Code skill that breaks a feature list into small stories, each implemented by its own fresh AI subagent, so long coding runs do not lose quality over time.

What license does claude-loop use?

No license information is given in the explanation, so it is not clear what uses are permitted.

How hard is claude-loop to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is claude-loop for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.