@yibie: 360 PRs in 30 Days, Can't Code, Doesn't Read Plans: How Matt Van Horn Designed His Agent Loop. Last month, a person named Matt Van Horn caught my attention. • No CS degree • Can't code • Doesn't read …
Summary
The article introduces how Matt Van Horn achieved 360 PRs in 30 days by designing an agent loop rather than writing prompts, and details his three tools and eight LAW rules, emphasizing the shift from prompt writer to loop designer.
View Cached Full Text
Cached at: 06/18/26, 10:22 PM
30 Days, 360 PRs, Can’t Code, Doesn’t Read Plans: How Matt Van Horn Designed His Agent Loop
Last month, a guy named Matt Van Horn caught my attention.
- No CS degree
- Can’t write code
- Doesn’t read AI-generated plans
Yet in the past 30 days, he merged 360 PRs on GitHub across 40 repos — an average of 12 per day.
His project last30days hit 30,000+ GitHub stars and was #1 trending. The Printing Press tweet got 3,447 likes. Agent Cookie has 522 stars.
How did he do it? One sentence: Stop prompting the Agent, and start designing a loop where the Agent prompts itself.
One Sentence Assessment
Matt Van Horn isn’t writing code. He turned “prompting the Agent to do things” itself into a loop. He’s designing the Agent’s operating system, not the Agent’s instruction. This is the same logic as Tibo making Codex support any model: it’s not about competing on prompt quality — it’s about competing on Agent runtime quality.
Three Projects, One Methodology
Matt built three tools that perfectly cover three layers of an Agent Loop:
| Layer | Project | What it does | Stars |
|---|---|---|---|
| Perception | last30days | Multi-source social media search, 13 platforms in parallel, tells the Agent what the external discussion is | 30K+ |
| Execution | Printing Press | CLI factory, turns any API into a tool interface that Agents can efficiently call | 3.4K likes |
| Infrastructure | Agent Cookie | Cross-machine browser session sync, keeps the Agent logged in forever | 522 |
The relationship between the three layers: last30days tells the loop what to do → Printing Press gives the loop tools to execute → Agent Cookie keeps the loop running on unattended machines.
Essentially, this is a prototype of an Agent OS.
How to Design the Loop: Deconstructing last30days’ 1400-line SKILL.md
last30days is not a “tool.” It’s Matt’s most complete expression of “how to design an Agent Loop.”
Its architecture has two layers:
- Python engine: handles mechanical work — parallel searching 13 platforms, sorting by engagement, cross-source clustering/merging, denoising. It’s the “muscle.”
- 1400-line SKILL.md: handles judgment — how to interpret results, how to synthesize output, what format is correct. It’s the “brain.”
Key design: constraining the LLM with 8 LAWS
SKILL.md is not documentation. It’s a finite state machine written in natural language. The core is 8 LAWS, each with a “named failure mode”:
| LAW | Constraint | Corresponding Regression |
|---|---|---|
| LAW 1 | Don’t output a Sources section at the end | Peter Steinberger disaster #3 |
| LAW 2 | Don’t invent titles | v3.0.6 0/8 public regression |
| LAW 3 | Don’t use em-dashes | Generic AI-slop tell |
| LAW 4 | Don’t use ## section headings | Peter Steinberger disaster #2 |
| LAW 6 | Don’t output raw evidence directly | Hermes 2026-04-19 disaster |
Every LAW is backed by a specific, namable failure case. This follows the exact same logic as a software team’s postmortem: bug found → name it → add rule → verify.
Loop flow: from raw topic to final output
Input "Kanye West"
↓
STEP 0: Engine self-check (are you reading the latest SKILL.md or a stale clone?)
↓
STEP 0.45: Query quality check ("gift for a 42-year-old man" → reframe, no one posts that)
↓
STEP 0.55: Parse entities → @kanyewest + r/Kanye + GitHub connections
↓
STEP 0.75: LLM generates JSON query plan (search strategy, weight allocation)
↓
STEP 1: Python engine searches 13 sources in parallel → sort by engagement → cross-source clustering
↓
STEP 2: LLM supplements with WebSearch to fill blog/news gaps
↓
Judge: LLM synthesizes final output according to the 8 LAWS
↓
Feedback loop: every regression has a name → fix in the next cycle
The power of this flow isn’t in any single step — it’s in the hybrid of “code + natural language contract.” Code handles mechanical searching/sorting, LLM handles judgment-based synthesis. The interface between them is SKILL.md.
Stop Prompting the Agent, Start Designing the Loop — What Does This Mean?
Matt summarized his 20-point methodology in a tweet on June 3:
- Have an idea →
/ce-plangenerates a plan (don’t read it yourself, the plan is for the Agent) - Vague ideas →
/ce-brainstormfirst - Make the plan, don’t read it
- Use voice, not typing
- Run 4-6 tabs of parallel tasks
- Don’t set permission limits for the Agent (YOLO)
- You are taste, Agent is hands
- Anything done twice → write a skill
- Laptop never shuts down
- Run last30days before making a plan
The core of these 20 points is one sentence: You are no longer a prompt writer. You are a loop designer.
- Old workflow: Human has idea → Human writes prompt → Agent executes → Human sees result → Human writes next prompt
- New workflow: Human has idea → Loop reads signals → Loop generates prompt → Agent executes → Loop checks result → Loop decides next step
Human goes from operator to supervisor.
Practical Implications for Content Studios
Back to our scenario: the entire process of topic selection, research, and creation can also be designed as a loop:
- Perception layer: scheduled triggers → parallel fetching of materials via
agent_search+last30days - Execution layer: LLM scores and recommends → generates drafts → human reviews and adjusts taste
- Infrastructure layer: all processes written into skills, solidify after two repetitions
The essence of what Matt did with last30days is turning “manually searching Reddit + X + YouTube” into a loop. The essence of what content studios do is gradually turning manual material searching, draft writing, and publishing into loops — one loop at a time.
Today’s prompt engineering is just a rehearsal for this. The real compound effect is: every time you write a skill, the automation of the loop deepens.
#AIEngineering #AgentLoop #AgenticEngineering #OpenSource
Similar Articles
@cxjwin: Found a very practical website collecting various ready-made Agent Loop templates. Core idea: stop manually prompting all the time; design the loop so the agent runs the task on its own. It includes Test Until Green, Fix CI Until G…
Shared a practical website that collects ready-made Agent Loop templates. The core idea is to let the AI agent automatically complete tasks. It includes common loops like Test Until Green, and is suitable for use with Claude Code and Cursor.
@cellinlab: Loop Engineering is replacing the practice of personally writing prompts for agents. Its core idea: you no longer prompt the agent directly, but design a system that prompts the agent.
Loop Engineering is replacing the direct way of writing prompts for agents, focusing on designing a system to write prompts for the agent.
@cellinlab: https://x.com/cellinlab/status/2064144608242679822
This article introduces the concept of Loop Engineering — instead of directly writing prompts for AI agents, it designs a system (loop) that recursively lets the agent iterate on tasks until completion. The article provides a detailed comparison of how Claude Code and Codex implement five building blocks: automations, worktrees, skills, sub-agents, etc. It suggests this could be the future trend of collaborating with coding agents, but also warns about token costs and AI slop issues.
@li9292: 我推荐这个网址: https://loops.elorm.xyz 收录了几十个大神的 loop engineering的思路
A curated collection of pre-built agent loops (closed-loop workflows) for coding agents like Claude Code and Cursor, including triggers, feedback gates, and exit conditions for self-paced task execution.
@uniswap12: I'm truly impressed by how far Claude Code can be used. Matt Van Horn recently wrote a long article revealing all his tips and workflows for using Claude Code. This article sparked considerable discussion in the developer community because what he showed goes far beyond 'using AI...'
Matt Van Horn shares advanced workflows for using Claude Code: first plan in detail via plan.md, then use voice input and multi-window parallel execution, demonstrating how to deeply integrate AI into the development process, greatly improving efficiency.