Autonomous Claude Code Loop Runs Open-Source GymCoach 24/7 — Triages, Codes, Merges

A developer posted a bold experiment on r/ClaudeAI: letting Claude Code autonomously run an open-source app 24/7. The app, GymCoach, is a self-hosted hypertrophy training tracker with an AI coach. The loop triages the codebase, files issues, implements them end-to-end on branches, passes a hard green-gate, self-reviews, auto-merges on CI green, and writes changelogs.
GymCoach Stack
- Next.js 14 + TypeScript
- Prisma + PostgreSQL
- Docker deployment
- Provider-agnostic LLM layer (Anthropic / OpenRouter / keyless demo mode)
- Zod-validated program suggestions from AI coach
Autonomous Loop Details
The Claude Code loop autonomously performs these steps:
- Triage codebase for TOdos, coverage gaps, small bugs, roadmap items → file scoped GitHub issues
- Implement an issue end-to-end on its own branch, following repo conventions
- Pass hard green-gate:
lint + typecheck + unit + buildlocally, integration/E2E in CI - Ship PR, wait for CI, self-review diff, auto-merge on green
- Write changelog and public playbook of what shipped
The developer keeps adding new loops, including a deep-research loop that scouts features, benchmarks competitors, and mines public reviews to create issues for the build loop.
AI Coach Payload
The coach builds a compact, structured payload from user profile, recent sessions, active program, and per-exercise progression. It suggests program changes that are Zod-validated before touching data. The LLM layer is provider-agnostic: Anthropic, OpenRouter, or a keyless demo mode.
Open Question
The developer asks: “Does the loop grind toward becoming the most advanced open-source fitness-tracking repo? Or does it quietly pivot on its own?” The repo is public at github.com/Julien-Au/gymcoach.
📖 Read the full source: r/ClaudeAI
👀 See Also

Claude as a Coding Mentor: From Zero to Shipped Full-Stack SaaS in a Month
A developer used Claude to learn SvelteKit 2, Stripe subscriptions, MongoDB, and AES-256 encryption, shipping a zero-knowledge encrypted pastebin called CloakBin in one month.

Agensi: A SKILL.md Marketplace Built with Claude in 3 Weeks
Agensi is a marketplace for SKILL.md skills built using Claude Code, Lovable, and Supabase. The platform includes 37 skills across 8 categories, with features like automated security scanning, download fingerprinting, and a bounty request system.

Using Claude with MCP for Content Creation and Publishing Workflow
A developer describes using Claude as a publishing platform via MCP integration, enabling article creation, editing, and publishing without leaving the chat interface. The workflow includes drafting, adding links, scheduling publication, and updating existing content.

Personal Finance Dashboard Built with Claude AI: Self-Hosted with Google Sheets Backend
A developer built a full-stack personal finance dashboard using Claude AI that aggregates investments across stocks, mutual funds, physical gold, and fixed deposits. The app runs on a spare PC, uses Cloudflare Tunnel for serving, and stores all data in the user's own Google Sheets.