Skip to content

UMEssen/Claude-YOLO-Containers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Code Loop - Autonomous AI Coding

Containerized Claude Code automation system for running Claude Code in continuous loops.

Credits

This implementation is inspired by and based on the concepts from:

Usage instructions

# Build image
docker build -t claude-loop:v1 .

# On host, prepare directories
mkdir -p ./workspace ./logs
# Put your prompt.md into ./workspace

# Create a long-lived OAuth token (do this once)
claude setup-token

export CLAUDE_CODE_OAUTH_TOKEN=<token>

# This will start the non-interactive loop.
# You can keep the implementation planning separate by mounting /plans read-only.
# This way you nicely separate planning from implementation and potentially have multiple
# implementations based on the same plan.
docker run -it \
  --user $(id -u):$(id -g) \
  -e HOME=/workspace \
  -e CLAUDE_CODE_OAUTH_TOKEN="$CLAUDE_CODE_OAUTH_TOKEN" \
  -v "$(pwd)/logs:/logs" \
  -v "$(pwd)/workspace:/workspace" \
  -v "/Users/me/myprojects/new-project/plans:/workspace/plans:ro" \
  claude-loop:v1

Once done, the loop begins writing to /logs/loop.log which you can tail from host:

  tail -f ./logs/loop.log

About

Containerized Claude Code automation system for running Claude Code in continuous loops.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published