Stop Prompting Claude. Start Loop Engineering.
Austin Marchese · 2026-06-19 · 12м 15с · 87 164 просмотров · YouTube ↗
Топики: ai-loop-engineering
🎧 Аудио
📝 Summary
model=deepseek-v4-flash · prompt=summary-v7 · 5 256→2 268 tokens · 2026-07-20 11:46:13
🎯 Главная суть
Loop-инжиниринг — это подход, при котором вы не пишете отдельные промпты для Claude, а создаёте циклы (loops), которые сами запускают подчинённые промпты и повторяются до достижения цели. Два разработчика AI-инструментов — Boris Churney (создатель ClawedCode) и Peter Steinberger (создатель OpenClaw) — независимо пришли к одному выводу: пора перестать «промптить» вручную и начать проектировать циклы, которые управляют агентами.
Что такое loop и когда его стоит применять
Обычный промпт выполняется один раз и останавливается. Loop — это промпт, который запускается снова и снова, пока конкретная задача не будет завершена. По словам Boris, его работа теперь сводится только к написанию loops, а сам Claude внутри цикла решает, что делать дальше.
Чтобы понять, стоит ли превращать задачу в loop, нужно проверить четыре условия:
- Задача повторяется. Для одноразовых действий достаточно обычного промпта.
- Есть чёткое определение «готово». Loop работает эффективно, когда можно количественно или качественно проверить, что задача выполнена.
- Вы можете позволить себе «расточительность». Цикл использует много токенов, так как автоматически перезапускается. Если лимиты токенов уже напряжены, loop не лучший выбор.
- У цикла есть все необходимые инструменты. Например, для создания сайта loop должен уметь проверять, что сайт жив и доступен.
Если все четыре условия выполняются — задача кандидат на построение loop. В видео даётся промпт, который анализирует ваше рабочее пространство и ранжирует кандидатов по этим критериям.
Четыре строительных блока успешного loop
Триггер (Trigger)
То, что запускает цикл. Три способа настроить триггер в Claude:
- /loop — запускает loop локально с заданным интервалом (например, «/loop каждые 6 часов проверять погоду»). Работает только пока открыт ноутбук.
- /schedule — запускает loop в облаке по расписанию (например, каждый день в 8 утра). Не зависит от локальной машины.
- Кастомный loop orchestration skill — единый навык (команда вроде «/check-weather-loop»), который при запуске стартует весь цикл. Этот способ рекомендуется автором как самый гибкий.
Исполнительные навыки (Execution Skills)
Каждый специфический навык — это фактически сохранённый промпт, который выполняет одно специализированное действие. Loop не должен запускаться без предварительно протестированных навыков. Например, если у вас нет навыка «/analyze-workout», AI может отменить пробежку из-за дождя, не зная, что вы любите бегать под дождём. Правильный подход — сначала наработать и проверить навыки, а затем объединить их в цикл.
Цель и верификация (Goal & Verification)
Цикл должен знать, что нужно сделать, и как подтвердить, что это сделано. Для технических задач верификация тривиальна: «сайт загружается за <2 сек», «домен отвечает», «навык /engineer-review одобрил». Для нетехнических задач (например, написание писем) нужно превратить абстрактное в верифицируемое: использовать навыки /email-review, /writing-voice, /fact-checker, которые на выходе ставят «одобрено/не одобрено» или оценку. Хороший приём — поручить проверку отдельному AI (через Codex или суб-агента), чтобы снизить предвзятость.
Вывод и память (Output & Memory)
Loop что-то производит: документ, обновление кода, сообщение в Telegram. Но критично запоминать, что произошло в предыдущих итерациях. Как сказал Addy Asmani: «Агент забывает, репозиторий помнит». Рекомендуется вести простой Markdown-файл с историей и извлечёнными уроками. Это предотвращает повторение одних и тех же ошибок и экономит токены.
Skill-driven loop development: почему это ключ
Главное правило: не стройте loop, не имея за плечами боевых навыков. Каждый навык уже знает, как именно вы хотите выполнять задачу. Если вы сначала создаёте навыки, а затем оборачиваете их в цикл, то верификация становится естественным расширением: добавьте в конец навыка строку «approved/not approved» или числовую оценку. Так цикл может самостоятельно оценить результат. В видео даётся промпт, который превращает обычный навык в навык с верификацией.
Как построить первый loop: от тренировочного режима к полной автоматизации
Начните с самого маленького повторяющегося действия, которое вы уже делаете и которое прошло тест четырёх условий. Используйте предоставленный в видео промпт (достаточно скриншота, отправленного в Claude), который сгенерирует loop orchestration skill со всеми четырьмя блоками. Важная деталь — loop training mode: первые 2–3 запуска цикл останавливается на каждом шаге и ждёт вашего одобрения. Это позволяет убедиться, что логика верна и не тратятся токены впустую. Когда уверены — отключаете режим тестирования.
Верификация для нетехнических задач: искусство делать абстрактное измеримым
Если цель не квантифицируема, разбейте её на маленькие вехи, где результат можно проверить. Аналогия с планированием корпоративной вечеринки: не говорите «организуй вечеринку», а ставьте контрольные точки — дата, место, тема. Для loop то же самое: определите ключевые моменты, где неправильное решение сломает весь результат, и поставьте там человеческую проверку. Чем меньше измерима задача, тем чаще нужны такие точки контроля — иначе AI может уйти в неверном направлении.
Память и документирование результатов
Каждый loop запускается с чистого листа, если не фиксировать, что произошло раньше. Отсутствие памяти ведёт к повторению одних и тех же ошибок и лишней трате токенов. Решение простое: добавить в loop orchestration skill инструкцию записывать «извлечённые уроки» и историю запусков в отдельный Markdown-файл. В видео приводится промпт, который автоматически добавляет эту функциональность в уже существующие навыки.
📜 Transcript
en · 2 792 слов · 31 сегментов · clean
Показать текст транскрипта
Boris Churney, the creator of ClawedCode, just said something that should change how you use AI forever. He said, I don't prompt Clawed anymore. My job is to write loops. Then I found a tweet from Peter Steinberger, the creator of OpenClaw, saying the exact same thing. You shouldn't be prompting coding agents anymore. You should be designing loops that prompt your agents. There's endless AI hype out there, but when two people who literally build the tools that we're using tell you to stop prompting and start building loops, I listened. So I went deep on loop engineering and realized something. It's actually really f***ing weird. simple. Most people just overcomplicate it. So in this video, I'm breaking loop engineering down into three parts. Part one, what a loop actually is and when to use them. Part two, the four things every successful loop needs. And part three, the most important part, how you will build your first loop today, even if you have no technical experience. So part one, what actually is a loop and how does it compare to a normal prompt? Unlike a normal prompt, which runs once and then stops, a loop is a prompt that runs over and over again until a specific task or goal is complete. But listen to how Boris thinks about his day-to-day now. Now it's actually leveled up, I think again, to the next wave of abstraction where I don't prompt quad anymore. I have loops that are running. They're the ones that are prompting quad and kind of figuring out what to do. My job is to write loops. So it's clear instead of prompting Claude a hundred times to complete a task, you should now be thinking about how to create loops to accomplish clear goals. This sounds great, but when should you actually use it? Well, there's a four condition test that I run when determining if I should create a loop or not. The first condition is does the task repeat? For any one-time task, just use a prompt. Second is, is there a clear definition of done? When I was a COO of a $25 million tech startup, whatever task we were doing, we want to have a clear definition of how we would quantify if the task was done. And a lot like humans doing tasks, the most successful loops have a clear definition of done and a way to verify the results now this is an art and not necessarily science and we'll cover that in a bit three is can you afford to be wasteful so loops will automatically prompt itself until a task is complete so it can use a lot of tokens now there's ways to limit this which we will cover but if you're always running into token limit issues you want to be a bit more strategic using this and four is does the loop have all the necessary tools to complete a task for example if you're making a website does it have the ability to check that the website is live and accessible to anyone. These tools will be used in the verification and the implementation process. If the answer is yes to all four of these conditions, you now have a candidate for building a loop. Here is a prompt to audit your workspace and rank your loop candidates using this four condition test. The prompt's on screen and you know what loops are and you conceptually understand when to use them. But how do you build a loop that actually works? Part two is the four building blocks for successful loops. The first block is the trigger. This is what starts your loop. Every loop needs a trigger. This is the thing that kicks it off. And there are a lot of ways to set this up, but these are the three simplest ways. The first is actually slash loop. If you type slash loop into Claude, it will let you automatically run something at a set interval. For example, slash loop every six hours, check today's weather and notify me if I need to change my plans based on my calendar. This is nice because it's very simple, but it's running on your local machine. So if you close your laptop, it'll just stop. The second is slash schedule. This lets you run something automatically in the cloud at any time or day in whatever. cadence you want. So you can run the prompt that I just mentioned for the loops, but instead have it run at 8 a.m. every day and it'll run remotely instead of on your machine. And the third is custom loop orchestration skills. It's a mouthful, but this is actually how I run all of my loops. I create a single loop orchestration skill that I run that kicks off the entire loop. It has all the settings configured about what the goal is, how to complete the loop, how to verify it. In that same weather example I mentioned, I would have a single skill that would be slash check weather loop, and I would just type that into my terminal and I would hit enter. Here's a prompt to help you create that custom loop orchestration skill. Block one is a trigger and the next block is about actually doing the work. And I know we're going through these concepts pretty quickly. So I put together a free five day email series where I walk through a lot of the concepts we cover in this video. That's linked below and based on over 6,000 people that have gone through it, I'm highly confident that you're going to love it. But if you don't, you can unsubscribe at any time. Block two is the execution skills. I have extensive videos on my channel about Claude's skills, but in short, it is a safe set of instructions. that allows Claude to run the same thing every single time. Simply put, it's like a prompt that you have saved that you can easily rerun instead of having to type it. In the first block, we created a slash check whether loop, an orchestration skill that runs the whole loop. Execution skills are different. These are the things that actually do the task. Each one is a single specialized job the orchestration calls. Of the four building blocks I'm going to cover, this is the most important. In my eyes, the rule is simple. you don't build a loop without battle-tested skills behind it. The reason for this is these skills know exactly how you want to get a task done. Back to the check weather loop. Say you didn't have a slash analyze workout skill, AI would just say, it's raining, cancel your run. But if I had a slash analyze workout skill that documented that I actually love running in the rain, the response would be entirely different. And this is why I use skill-driven loop development. Any loop I create has to have existing skills that I've already battle-tested. Here's a prompt to identify which skills make sense for your workspace. This will look at the current skills that you've already established and suggest loops based on those skills. This strategy is so important and it comes into play in the next block. Block number three is the goal and the verification. Every loop needs two things tied together, a goal, what you want done, and a verification, the rule that confirms you completed the goal. These go together, right? You can't have a goal unless you're able to verify the goal was complete. So here's how you can do this for both technical and non-technical tasks. The technical example is a lot more straightforward. The goal could be launch a website to this domain and make sure it loads in under two seconds. To verify, AI could hit that specific domain, make sure it can see the content that it expects, calculate the load time, and then make sure that the slash engineer review skill approves all the changes. AI will then know exactly what's needed and then can verify the results and repeat in a loop until it's complete. So that's for technical tasks, but what about for non-technical things? Well, this is where it becomes a bit of an art, not a science. You need to bridge the abstract to verifiable. Look at the end of the technical example that I just mentioned. The slash engineer review skill has to approve the changes. How does a loop actually know if code is good or not? Well, AI is very good at writing code, so it could just say approved or not approved. This skill, engineer review, is set up to bridge the abstract, if code is good, to something verifiable. approved or not approved and we used it in a technical example but this is actually the key to creating loops for non-technical tasks you have to figure out a way to verify the final result even if it's not quantifiable so for example let's say you have a slash draft emails loop the goal could be for any unread email draft response the verification could be make sure all emails that don't have response have a draft and that draft has been verified by the slash email review skill the slash writing voice skill and the slash fact checker skill you've now established key things you want to verify that are inherently abstract, but you've created a bridge to make them verifiable. And yes, quantifiable tasks are easier, no question. But if you choose the right non-technical tasks that you already have skills for, those can easily become quantifiable. And this is exactly why skill-driven loop development matters so much, because once you have a skill, you can actually convert it to include a verification element. And this verification element could be at the end of the output from that skill, you could say approved or not approved, or a score from one to 10, et cetera. Here is a prompt that I've run in the past to help me convert a normal skill. to a skill that can help with verification. And one pro tip here with the goals and the verification and all of this, if you can have a different AI analyze the output, you'll be able to get a less biased opinion. One easy way you can do this in Claude is you could use the Codex plugin or you can have Claude spin up sub-agents to analyze the work. Here's a prompt to enforce separate agent verification within your loop orchestration skills. Block four, the output and the memory. The output is obvious, right? A loop produces something, a document, updates code base, a live site, telegram messages, whatever you want the loop to produce. The non-obvious thing here that most people miss is the memory. Every loop starts from scratch unless you record what happened. And no memory means that there's no improvement and you'll end up wasting tokens because you keep hitting the same issues over and over again. Addy Asmani has one line that sticks with me. The agent forgets the repo doesn't. And from Anthropic Docs, they say, provide a place to write notes. as simple as a markdown file. And so you really don't need to overthink this thing, but you need to document what the results of the loop are. Just use this prompt, which will update any of your loop orchestration skills to write any lessons learned and run history in a specific document. Here you can see the prompt. It'll create an output and memory files. Now we know the four key building blocks, a trigger, execution skills, goals and verification, and output and memory. And before we apply this to build our first loop end to end, if this is your first video of mine, welcome the channel. But if this is your... second or more, here is our anti-slop agreement. The visuals, the testing, the hours of research that went into this, this is entirely built for humans like you, not for AI robot scrapers. So all I ask is you subscribe as part of this agreement to help this content reach more people so I can keep doing these videos. Also, every video, I give away a Claude Max subscription, so comment below with what you're building to enter. This video's winner is the goat, Bob Dobbs, who's working on a home management app. All right, that's enough of that. Let's go to part three, build your first loop today. The key here is you need to start small and follow skill-driven loop development. Ask yourself, what is the smallest thing you've already done and proved works that you can create a loop for? Once you've identified that, use the four condition tests that I mentioned earlier, which again, quickly you can see on screen. And if it passes all that, it's time to create a loop. So if you already have an idea, here is a prompt to build out a loop with all of the concepts that I've mentioned in this video. Baked into that is everything that I've covered. Now, if you have no idea idea what to build. Here is a prompt that leans on skill-driven loop development. to identify candidates for your past session history. For either of these prompts, and for any prompt that I covered in this or previous videos, screenshot it and then just send it into Claude, and that's essentially the same as writing the prompt. And the best part of what this will create, which is a skill, is you don't have to think about using slash loop or slash goal to establish goals. You just get the loop orchestration skill that abstracts all this complexity away from you. You just type that into Claude, hit enter, and then monitor the results. When you do this, one of my favorite features is that you'll notice both of these prompts have one important guardrail. I call it loop training mode. The first couple of times you use a new loop, you want to make sure the loop pauses at every step until you approve the process. The reason for this is you want to verify that it's actually doing what you want it to be doing, and it's not just burning through all of your tokens. When you have this loop training mode set up, the output could look something like this. Quick check before I burn the tokens. Then it waits for your approval and continues on the process. After you've done this and you know that the loop is doing what you want it to do, you can just turn testing mode off by running this prompt. And this is really important because you're going to get a deeper understanding of the process. And ultimately these tokens aren't free. So this will save you money and it will save you time because. you'll know the output is what you want. Now, before you go crazy with all these loops, I have one rule of thumb. If a goal is less quantifiable, then you need to break down loops into much smaller goals where the output is at key checkpoints in the process. Think of AI like an intern. If you just said plan a corporate party, it could do anything, but you would probably want to have key checkpoints at what date to pick, where the venue is and the theme of the party. And as somebody who throws an annual Christmas party, that's the party of the year in New York city. I know how to throw a party. It needs a theme. But anyway, those decisions shape the entire party. It's the same with loops. What are the key moments where if the loop picks the wrong direction, the rest of the loop is entirely shot. Those are your human verification checkpoints. Ultimately, the more of these key verification checkpoints that you don't actually verify, the more the AI can go off course. So be very much. mindful of that, specifically for non-measurable tasks. With all that, my favorite thing about loop engineering is the problem-solving muscle. It'll force you to flex. So go pick something small and build a loop orchestration skill for it. Now, if you like this video, you will love this video where I do a deep dive on the only clawed skills you need to 10x your output. The topics I cover there will help your loops go from good to great. I'll see you in the next one. Peace.
⚙️ Pipeline jobs
| Stage | Status | Att. | Updated | Error |
|---|---|---|---|---|
| download | done | 1/3 | 2026-07-20 11:45:37 | |
| transcribe | done | 1/3 | 2026-07-20 11:45:47 | |
| summarize | done | 1/3 | 2026-07-20 11:46:13 | |
| embed | done | 1/3 | 2026-07-20 11:46:16 |
📄 Описание YouTube
Показать
Get my free 5-day AI playbook (what I used to build a $25M+ startup): https://the-ai-playbook.com/loop In this video, I break down Loop Engineering (Claude Loops), the shift Boris Cherny and Peter Steinberger both made when they stopped prompting their AI and started loop engineering instead. You'll learn what a loop actually is, when to use one, the 5 building blocks every successful loop needs, and how to build your first loop today even if you have zero technical experience. Timestamps: (0:00) - Stop Prompting Claude, Start Writing Loops (0:46) - Part 1: What a Loop Actually Is (2:34) - Part 2: The 5 Building Blocks (2:38) - Block 1: The Trigger (4:01) - Block 2: Execution Skills (5:15) - Block 3: Goal and Verification (7:53) - Block 4: Output and Memory (9:16) - Part 3: Build Your First Loop Today What to watch next ⤵️ - The only skills you need to 10x: https://www.youtube.com/watch?v=AfKoqFwC7Ew - Stop prompting, start agentic engineering: https://www.youtube.com/watch?v=7zZy1QTvokM - Karpathy's 10x Claude Code method: https://www.youtube.com/watch?v=yfeHoOkn2TI -------- FOR INDIVIDUALS: - Free 5-day AI playbook (what I used to build a $25M+ startup): https://the-ai-playbook.com/loop - Use BuildPartner to build 10x faster with Claude Code (try free): https://buildpartner.ai/loop FOR BUSINESSES, Ways to work with me: - Apply for my Executive AI Coaching Program: https://www.theincubator.xyz/apply/loop - Want to build a SaaS product without hiring a CTO? https://www.theincubator.xyz/eng/loop -------- If you're new here, I'm Austin Marchese. How I got here... 16: First business (SAT Math Tutor) 22: Graduated Stevens Tech, 4.0, College Basketball, software engineering job at JPM 23: Bitcoin ATM company + building algorithms for a professional gambler (fun story) 24: Started creating content, grew 100k+ followers, built first agency, The Incubator 25: Scaled agency to 15+ team members, $75K/M while working full time 26: Quit my job, joined a startup called IYK 27: Became COO of a $25M+ tech startup, worked with Ed Sheeran, Chance the Rapper and more 28: Built a $20M+ real estate portfolio in the background 29: Transitioned from IYK, re-launched The Incubator, grew it to a 6-figure biz in 30 days. Now building BuildPartner.ai To everyone who's spending time learning and putting the work in, cheers. Anyone can make comments from the sidelines but not everyone can build... - Austin Follow/Subscribe - Instagram: https://www.instagram.com/austin.marchese/ - Youtube: https://www.youtube.com/@austin.marchese