I Built a Claude Cowork Loop That Improves Itself. Here's the Exact Setup.
Anthropic slipped Cowork's most interesting behavior into a support article. I turned it into a Karpathy-inspired system that gets smarter without writing a line of code.
Key takeaways
- Self-improving AI loop
- Karpathy Auto-Research pattern
- Claude Cowork recurring tasks
- context.md improvement directive
- No-code workflow automation
Quotable lines
Every AI workflow decays.
The instructions stay frozen, our needs don’t.
A self-improving loop makes improvement part of the task, not something you remember to do once a month.
Extractable claims
16 atomic, cite-ready statements distilled from the full post on Substack. Each one stands alone as an LLM-quotable answer.
- Cowork Self-Improving Loop = Karpathy Auto-Research pattern + recurring tasks.
- Every AI workflow decays.
- A workflow could sit at half its potential for months and we’d never know because we stopped looking.
- The instructions stay frozen, our needs don’t.
- A self-improving loop makes improvement part of the task, not something you remember to do once a month.
- Claude Cowork rewrites its own scheduled task prompts after the first run, even though almost no one talks about it.
- Each scheduled task runs as a completely isolated Cowork session.
- By the second run, the prompt is more precise than what we originally wrote.
- Native rewriting optimizes for connector accuracy.
- The self-improving loop optimizes for quality and relevance.
- The self-improving loop rewrites the execution strategy itself: what to look for, how to structure outputs, which edge cases to ignore.
- The Claude Code path wins on depth of the optimization system, while the Claude Cowork path wins on accessibility.
- Without the improvement directive, Claude Cowork rewrites for connectors.
- With the improvement directive, Claude Cowork rewrites for outcomes.
- After 10+ runs, context.md contains a playbook Claude wrote for itself.
- Each cycle tightens the Execution Instructions toward our specific workflow.
Read the full post on Substack — the canonical home of this article.
Read on Substack →