Claudecycles Revisited — AI skill for Claude Code
An experiment in AI-assisted mathematical replication with structured scaffolding.
How to install Claudecycles Revisited
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open lhl/claudecycles-revisited and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claudecycles Revisited does
An experiment in **AI-assisted mathematical replication with structured scaffolding**.
Alternatives in AI
- Claudecodeui — A desktop and mobile UI for Claude Code, Anthropic's official CLI for AI-assisted coding 9k ★
- Paul — Plan-Apply-Unify Loop — Structured AI-assisted development for Claude Code 1.2k ★
- Cc Mini — Ultra-light Harness scaffolding for AI agents, a mini version of claude code 825 ★
README
claudescycles
An experiment in **AI-assisted mathematical replication with structured scaffolding**.
Knuth's ["Claude's Cycles"](claude-cycles.pdf) (2026) describes how Claude Opus 4.6, coached by Filip Stappers, discovered a construction decomposing the arcs of a directed graph `G_m` into three Hamiltonian cycles for odd `m`. The process was impressive — but Knuth also documented friction: Claude lost context on restarts, had to be repeatedly reminded to log its progress, and eventually "got stuck" on the even-`m` case.
This repo asks: **can better harness design fix those failure modes?** We used Codex CLI (GPT-5.2) with a structured execution harness ([AGENTS.md](AGENTS.md)) that enforces verifier-first development, mandatory logging, restart-safe memory, and machine-readable evidence. The goal was to replicate and extend the paper's results while testing whether scaffolding disciplines improve reliability and reproducibility over lightweight coaching.
For a comparison of the baseline against four strict-cleanroom runs (GPT-5.2, GPT-5.3-Codex, GPT-5.4, and Claude Opus 4.6 — each working without any reference to the paper), see **[COMPARISON.md](COMPARISON.md)**.
**What we found:**
- The harness eliminated context loss and documentation drift — every experiment has exact commands and reproducible artifacts.
- It did not produce independent discovery: the model accessed the reference paper after ~30 minutes of independent work (see Methodology for the full timeline).
- As an extension, CP-SAT found verified even-
mdecompositions form=4,6,8while the 02 Mar 2026 draft still left the general even-mcase open; within our own runs, however, a general even-mconstruction remained elusive.
Addendum (2026-03-29): Knuth's 2026-03-16 Revision
On March 29, 2026 we fetched the current Stanford PDF and archived both source snapshots under `references/papers/`:
- `references/papers/claude-cycles-2026-03
Related Skills
Ssak
Finished and archived. A cozy iOS game: one flower, seed to bloom on the real clock, six to collect. SwiftUI,
Buddy Tauri
Tauri 2 (Rust) port of Buddy — a macOS desktop app for dual-AI-agent collaborative coding (Claude Code / Codex
05 Blog Post Writer
Write a publishable post in the person's own voice, structured so an AI assistant can quote it, with every fac
Unity Agent Skills
Agent skills set for AI-assisted Unity debugging — structured logging, runtime commands, variable watching, an
Research Toolkit
Reusable commands for structured AI-assisted research workflows. Plan-Construct-Verify (PCV), Council of Agent
Math.Skill
A comprehensive mathematical reasoning skill for AI assistants — arithmetic to research-level problems with ri
Related Agents
FastAPI Expert
FastAPI development expert for BookShelf backend. Hexagonal Architecture, async SQLAlchemy, Alembic, structure
Autoresearch Orchestrator
Use this agent to run an autoresearch experiment session end-to-end — setup, baseline, and a batch of edit→mea
Artifact Coherence Auditor
Audits coherence between paper prose and replication outputs — catches\