تدريب Shadowing: The New AI prompting Method Everyone Is Talking About: Loops (And How To Use Them) - تعلم التحدث بالإنجليزية عبر الفيديو

جارٍ إنشاء الدرس...
1
There's a new idea that the top AI users and programmers in the world are all talking about.
2
Loop engineering, or sometimes it's simply referred to as loops.
3
In particular, Boris Cherney, who created Claude Code, and Peter Steinberger, who created OpenClaw, have both been talking about this, saying that this is now how they program.
4
They don't just prompt a chatbot, and they definitely don't write code by hand, but instead they create these loops where the AI prompts itself.
5
They're saying that this is the future, but at the same time, it's pretty confusing.
6
So in this video, we're gonna break down exactly what loops are, how to use them, what they're good for, what they're not as good for, and a bunch of real-world use cases along with a demo so you can see exactly how to start using this yourself.
7
So at a high level, here's what a loop looks like.
8
And I should mention that loops are usually talked about with regards to coding, but they can also be used for a ton of other things.
9
Like content creation or research or teaching yourself a new skill.
10
And we'll cover all of those too.
11
But that being said, they do still all go through these coding tools like Claude Code or Codex.
12
But you don't have to be technical to do this.
13
So if a terminal window scares you, don't worry, it's totally cool.
14
So to show you this visually, this is what the old way looked like.
15
You as the human would write a prompt, send it to the agent.
16
It would program something, do something, produce the output.
17
Send it back to you, you read it, write the next prompt, then it produces it again, and you just repeat forever.
18
So you're iterating, but this is slow and there are better ways now.
19
So here's what the new method looks like.
20
You start with the goal.
21
This is set by the human once.
22
Then it goes into discovery.
23
So the agents now find what needs doing.
24
They plan it out, they break it into clear steps, they execute on it, and this is where they can work in parallel.
25
You can spin out 15 different agents who each go and do one thing.
26
Then you have the verification step where a verification agent checks, did this accomplish our goal?
27
If it did, ship it.
28
If it didn't, then it iterates and does it again.
29
Now, even when you ship it, if you want, you can add in a step where once it's shipped, an agent looks at it and goes, okay, we shipped that.
30
What should we do next?
31
And then it iterates again.
32
The other key piece here is memory.
33
Which lives outside of the conversation and keeps track of what is going on, what steps have been completed so that the agents can successfully iterate.
34
And then another way to look at it that's a little bit more concrete is here is an example workflow.
35
You have the orchestrator agent that overlooks everything, so it knows what's going on and gives out tasks to the individual agents.
36
So you'd have each of these specialists run their own discovery through ShipLab.
37
Loop, what we just talked about down here, but then they all come together to create the finished product.
38
There are two types of loops, an open loop and a closed loop.
39
An open loop is much more broad, and you're basically telling the agent, you go out there, see what we should do, and then just go and do it.
40
Now that's really cool because the agent can discover its own things that you wouldn't even think of, but it burns massive tokens because it can go in any direction that it wants.
41
And even once it's done with one direction, it'll go in another, and it'll just keep on going.
42
So say if you work at Meta and you have unlimited limited budget, then this is great.
43
But otherwise, I would recommend the closed loop, which is where you start with that bounded goal that we talk about.
44
You see the path first, so you understand what sorts of things the agents might do.
45
There's a clear evaluation at each step, and this keeps budget fairly normal, fairly constrained, so it's not going to get too expensive.
46
Obviously, that's going to vary depending on how much you want to do with your agent, but it shouldn't be too bad.
47
So with that in mind, I want to talk about what does this look like in the real world, not some random one-off coding project.
48
But something that a real person would use and have.
49
So our scenario is you have an online pickleball store where you sell pickleball gear.
50
You have some customers, but not a ton, and you want to grow it.
51
So we're going to do a few different tasks to try and accomplish that goal.
52
First up is we are going to build one of these BuzzFeed-style quizzes that is going to recommend a pickleball paddle based on what your favorite Harry Potter character is.
53
Now that's kind of goofy.
54
It's kind of silly, But those sorts of things do work and they're pretty shareable.
55
So that's step 1.
56
Second is we're gonna build a content research engine that goes out and finds what your potential customers are actually talking about right now.
57
So looking on social media, looking on blogs, forums, Reddit, et cetera, seeing what's kind of popular, what are people sharing, what do people wanna know about so that we can go and create content about that on our website.
58
We are also going to have that looping, so it's doing that every single week and consistently getting better over time.
59
And then third, we're going to have a growth agent that takes all of that stuff, looks at our site, and turns it into ready-to-use marketing.
60
So I'm talking email campaigns, social captions, site recommendations of where we should link to other things to, you know, get more people to take this quiz that we just created, stuff like that.
61
So that's 3 agents.
62
It's 3 jobs all running at the same time.
63
And again, I think people learn best visually, so I'm going to show you what this looks like visually.
64
So the goal is grow the Pickleball e-commerce site automatically without doing every task manually.
65
Now we have our orchestrator agent.
66
They own that goal.
67
They read, um, this next steps file.
68
You can kind of ignore this for now, but it's basically telling us what to do as we loop through things so we get better.
69
It delegates and then synthesizes outputs.
70
Now the most automatic way to do this is to have an AI agent be the orchestrator, and we will have that.
71
But to start, I'm going to be the one orchestrating the 3 agents just so you can see it visually.
72
Because right now, if you have an orchestrator agent in Claude Code on desktop,, it will go and create all of these agents, but it just does it within the one chat.
73
And so you don't really get to see what those agents are doing.
74
Now it's totally fine.
75
It does the same thing, but I think it's more helpful to learn seeing them happen as like unique tabs open.
76
So I'll show both, but be aware of that.
77
Then we have Agent 1 is the builder.
78
They're gonna build the Harry Potter quiz that we talked about with email capture at the end.
79
Agent 2 is the scout.
80
They're gonna search Reddit forums, competitor sites, search trends for what pickleball buyers want, what they're talking about.
81
And the loop condition is it's going to loop until we have 3 or more fresh ideas that we've not yet acted upon, like we haven't created content about them, things like that.
82
Then Agent 3 is our growth agent.
83
It's gonna read the quiz, read the site to understand where it should link people to or try to like get people to take the quiz.
84
It'll check which recommendations from the last cycle were implemented and find new opportunities.
85
So it'll help us create emails like you see here, site edits, social captions, next quiz recommendation if we want to build a new quiz, stuff like that.
86
It'll synthesize all of this.
87
The orchestrator will read these, create one unified action plan, and then start acting on that.
88
And so the looping comes in.
89
The goal is, is the site growing?
90
So are there fresh content ideas?
91
Is the lead magnet pipeline full?
92
I mean, are people consistently taking that quiz?
93
And if no, then we'll keep going until we get there.
94
But if yes, then we'll pause, wait for the next steps.
95
And then we're going to have these running on a weekly schedule cadence, which will automatically trigger the orchestrator.
96
So like to find new content ideas, to analyze the site and see what we could be doing to, um, get more customers, like emails to send out, stuff like that.
97
That will happen weekly.
98
All of that feeds back to the orchestrator creating our loop.
99
Now let's go build it.
100
So we're gonna open Claude and then we're gonna go to Claude Code.
101
Now you will need a Pro plan or higher in order to access Claude Code, so just be aware of that.
102
Now we've got our new session here and then I'll paste in this prompt.
103
I'll link to this as well so you have this.
104
You're the builder.
105
Your only job is to create a Harry Potter x pickleball personality quiz.
106
The deliverable is a single self-contained HTML file saved to /outputs/quiz.
107
6 questions total.
108
Each question should feel fun and slightly absurd.
109
Questions should subtly map to pickleball playing styles, so like aggressive, strategic, social, defensive, etc.
110
4 possible results.
111
And then we'll have the email capture form that appears before the result is revealed.
112
With a CTA that says, see your full result.
113
And then I always like to include this, ask questions if needed, so you can work with the agent to get something that you really like.
114
Then we're going to hit start on that.
115
Now, while we have that one going, we're going to hit Command+N to start a new session and then jump to our second agent.
116
We're going to prompt it with this.
117
You are the scout.
118
Job is to research real content opportunities for a pickleball e-commerce site, completely independent of the quiz being built in parallel.
119
Go out to the internet and find what pickleball players, buyers, and enthusiasts are actually talking about, searching for, and struggling with right now.
120
So some research sources would be Reddit, these subreddits, search trends, competitor sites, as well as YouTube, what videos are getting traction.
121
For each opportunity, score it on audience size, purchase intent, like will people actually use this to buy stuff, content gap, is it underserved, And then quiz or lead magnet potential.
122
Could it become some sort of quiz or tool or guide deliverable?
123
Write a ranked list of the top 8 content opportunities to this location.
124
For each one, include the topic, one-line angle, source where you found traction, 4 scores, and recommended content format, like what we should create, and then log it to our log files.
125
This basically just keeps track of what the agents are doing so that we can go back and look at it and they know like where each one is in the process.
126
Cool. Now while that one is going, we are going to hit Command+N again and start a third agent, the growth agent.
127
I'm going into here where I have these prompts.
128
Again, I'll share all of these with you, so don't worry.
129
Now this one is meant to start taking action once the other two have been completed, but the cool thing is as we loop through it continuously, um, it works in parallel with those.
130
So you're the growth agent.
131
Quiz has been built, content research is done.
132
Your job is to do everything a smart marketing hire would do in the first 48 hours after product launch.
133
So read these before doing anything.
134
And then you have 4 tasks.
135
First is a site link audit.
136
So we need to figure out where should we link to the quiz on the site.
137
Now, if we had a real website fully built out, we would link to that right now.
138
We don't because it's just a demo.
139
I just made this up.
140
So I'm going to say, think of a normal pickleball e-commerce site, identify every page or section where a link to the quiz would naturally fit.
141
And then for each placement, write the exact location, the exact copy to add, and the reason it fits there.
142
Then we're gonna write a launch email announcing the quiz to our existing customer list.
143
So include subject line, preview text, full body copy, CTA.
144
It's casual, it's fun, it's pickleball obsessed.
145
We have social captions, right?
146
3 captions, one for Instagram, one for Reddit, and one for a Facebook group.
147
Each should be native to the platform.
148
The Reddit one should not read like marketing.
149
The Instagram one needs a hook in the first line.
150
Save all 3 to outputs/social captions.
151
Next, lead magnet recommendation.
152
So based on the top opportunities and content ideas, recommend the single best next lead magnet to build.
153
So include the title, format, all of that stuff, 3-sentence description of what it does, why it will outperform or complement the Harry Potter quiz.
154
Save it to here, output/nextquizrecommendation.
155
And then looping.
156
After completing all 4 tasks, evaluate.
157
Did the site have obvious placement opportunities that were missed in a previous cycle?
158
Are any of the social captions similar to ones written in a prior run?
159
Flag any repetition or diminishing returns in a file called output/growthagentnotes.
160
This keeps future cycles fresh.
161
When all tasks are complete, log growth agent complete.
162
Now let's go check in on our agents.
163
So the Harry Potter quiz, um, one shot at it and it's live.
164
Let's check it out.
165
The Sorting Paddle.
166
Nice. Nice.
167
Quiz is guided.
168
10:10. Your partner looks at you.
169
What do you do?
170
You show up to open play and the vibe is chaotic.
171
Balls flying everywhere.
172
Someone's blasting EDM.
173
I observe for a few minutes to identify who the real players are.
174
The kitchen game, the non-volley zone for the uninitiated, nice, is best described as Super aggressive, always.
175
Okay. And I'm just gonna pick random questions here, or random answers here, just so we don't waste a ton of time.
176
Sorting hat is ready.
177
Enter your email to reveal your Hogwarts house playing style breakdown and your perfect paddle match.
178
Let's go. This is awesome.
179
And I got Gryffindor.
180
Let's go. And the perfect paddle recommendation.
181
So this is pretty cool.
182
This was one-shotted.
183
I think this would be nice for a pickleball website.
184
Obviously it's not perfect.
185
It's got the kind of AI look, but you guys get the point.
186
So that's done.
187
Perfect. Now let's go back to the second agent.
188
This is the Scout.
189
So it found a bunch of opportunities and then ranked them.
190
So we've got things like, is my paddle legal?
191
An intermediate upgrade trigger guide.
192
That's cool.
193
Injury prevention gear guide.
194
Shoes. When the upgrade pays off.
195
Women's gear content.
196
Beginner starter kit quiz.
197
Yeah. So I think this is pretty good without looking too in depth.
198
This seems solid.
199
Now let's go check on our third agent.
200
It is still working, so we'll give it a few seconds.
201
I'm just going to speed this up.
202
Okay, we are done now.
203
So. The post-launch marketing strategy.
204
This is from the Growth Agent.
205
It's finished.
206
Here's what it came up with.
207
Task 1, site edits.
208
Let's open that here.
209
It came up with 12 placement recommendations and then the content for each of those.
210
So, you know, homepage, sticky navbar, category page, et cetera.
211
On the homepage, place it directly beneath the main homepage headline.
212
For any product grid or featured categories, copy to add, which Hogwarts house matches your pickleball personality?
213
Boom. It didn't have the full context of the quiz, so it got that wrong, but that's nice.
214
Yeah. And then a bunch of those.
215
Cool. Launch email.
216
Launch email.
217
Okay. Yep. Ernie.
218
Yep. That's, that's pretty funny.
219
Cool. As well as copy notes.
220
That's awesome.
221
Social captions for Instagram, Reddit.
222
I've been playing for about 3 years now and I was bored the other night thinking about why certain player personalities are so consistent.
223
Okay. Nice.
224
And then next quiz recommendation is your paddle past its prime.
225
That's, that's pretty solid.
226
Why it'll outperform supporting data points.
227
Awesome. This is great.
228
So now we, you've seen those 3 agents go through things, but the thing that I wanted to show you is if you don't wanna be the one orchestrating all of this, you wanna have an orchestrator agent.
229
Here's how we would do it.
230
We would use a prompt like this, which is you're an orchestrator agent managing a fleet of 3 sub-agents for a pickleball e-commerce business.
231
Job is to delegate work, monitor outputs, and synthesize results into a unified action plan.
232
Before doing anything, check if /outputs/next_steps exists.
233
If it does, read it first.
234
It is your memory from the previous cycle.
235
Use it to understand what's already completed and what still needs work before delegating anything.
236
So we've got our goal: grow the Pickleball e-commerce site by launching a new lead magnet, researching content opportunities, and executing 48-hour post-launch marketing push.
237
So then it's going to spawn these agents.
238
Now it gives a prompt here as well, which is the exact prompt that we used before.
239
You're the builder, et cetera, et cetera.
240
So it does that for the first one, then it does it for the second one, the scout.
241
Then it does it for the third one.
242
But then where it really gets cool is it synthesizes all of this and it writes the next steps of a summary, top 3 actions to take this week and what the next loop cycle should focus on.
243
So this is where we start looping after we're writing the next steps.
244
File evaluate these 3 conditions.
245
Are there at least 3 unacted content ideas in the document?
246
Is the site fully linked to the quiz?
247
Is the next lead magnet defined?
248
And if it's not met, it's going to keep doing that.
249
From there, if we wanted, we could spin out even more agents to help with some of this stuff.
250
So we could have a copywriter agent that is creating blog posts for all of these, and that cycles back in.
251
And whenever we've finished writing all of the content ideas, all of the blog post ideas, then we spin out new ones.
252
And so now you can see how this starts to build on itself.
253
So that is one real world example, but I don't just wanna stop there because I wanna go through a few more examples to make this really concrete.
254
And so we're going to do a quiz.
255
I am going to present you with 4 different real-world scenarios that you might come across, a friend might come across, your company might come across, and you're going to think through how would I build a team of agents to loop this.
256
Step 1: The Freelancer.
257
You're a freelance designer with 6 active clients.
258
Every Friday you spend 2 hours writing status updates, digging through folders, summarizing progress, personalizing each message.
259
It's the same task and you don't like it.
260
So how would you loop it?
261
I'll give you 3 seconds to think about it, and then we're jumping down to what an answer could look like.
262
So you have a loop that runs every Friday at 4 PM automatically.
263
It reads your project folders to see what changed, loads up a skill file that knows each client's name, project goals, and preferred tone.
264
So this is like the memory of who your clients are, um, and how we want to write.
265
Drafts a personalized status update, drops a finished draft in a review folder so you look through it, obviously keeping the human in the loop for Quality assurance makes a lot of sense, and then logs what was sent so that you never have to repeat this.
266
And a loop condition would be, did every active client get an update this week?
267
If yes, you're done.
268
If not, it'll keep going.
269
Cool. Number 2, you're a student, you're studying for exams, you're trying to stay current in a fast-moving field like AI.
270
New papers drop daily, new tools every week.
271
You feel behind, you can't read everything.
272
Do you want to stay sharp without spending 3 hours every Sunday doing research?
273
How would you loop them?
274
Give you a second to think and An answer is we Loop every Sunday while you sleep, searches for the 5 biggest developments of the past week in your topic.
275
It scores each one by relevance to what you're actually studying, filters out anything below your relevance threshold.
276
So if it's not relevant, it won't show it to you.
277
Writes a plain English briefing— what happened, why it matters— and then checks the past 3 weeks of briefing so it doesn't repeat things.
278
Now, Loop condition: are there 2+ genuinely new developments this week?
279
If not, Dig deep.
280
That's a pretty cool one.
281
Number 3, a shop owner.
282
You sell products online, you've got SKUs, you know you should be updating descriptions, fixing what's not converting, pushing your winners harder, etc.
283
But you don't do it because it takes a long time.
284
How would you loop this one?
285
Well, you could do it once a month.
286
It runs on the first, reads your sales data, what sold, what didn't, identifies the 3 products with high traffic and low conversion, and then rewrites those product descriptions with better hooks and clearer CTAs.
287
Writes promotional copy for your top 3 performers to push those harder, and then logs every change made and the reason behind it.
288
And then the last one is if you are a creator, you have a YouTube channel, you post once a week, you have a bunch of video ideas, but you never know which one to make next.
289
You pick based on vibes.
290
Sometimes it works, sometimes it doesn't.
291
How would you loop that?
292
Well, you could have a loop running every Monday morning before you start work.
293
It reads the full ideas list, pulls the last 90 days of video performance, identifies which topics overperformed and which flopped, checks what's trending, scores every idea, outputs are ranked top 5, as well as flagging ideas that competitors are already recovered.
294
Now, as much as I love AI, I don't want to pretend like it is always perfect.
295
So in certain scenarios, you have to have an understanding of what the AI is good at and what it's not good at.
296
So you should try something like this.
297
But for example, with YouTube videos, as someone who spent a lot of time creating YouTube videos, it's not always perfect at knowing what topics are really good and what's not.
298
So you have to think for yourself, think critically, keep that in mind.
299
But even if you have this and you can just look through it for a bunch of ideas and someone else's opinion, that's really helpful.
300
So start building it and then you can add in your own thought as well.
301
So that's the idea of looping.
302
Hopefully those examples helped.
303
Now you have a clearer picture.
304
If you have a Claude subscription or a Codex subscription, you can start testing this, using it right now.
305
It's extremely helpful and it's the future of how people are going to work with AI.
306
If you have any comments, drop them in the comments.
307
I'll try to respond, and I'll see you next time.

عن هذه الدرسة

في هذه الدرسة، سوف تتعلم مفهوم "الهندسة الحلقية" أو "الحلقات" التي أصبحت موضوع حديث بين مستخدمي الذكاء الاصطناعي. سوف نتناول كيفية استخدام الحلقات لإنشاء محتوى، أو إجراء أبحاث، أو تعليم مهارة جديدة. ستحصل على فهم شامل لكيفية تطبيق هذه الطريقة في المشاريع الواقعية وكيفية تحسين النطق باللغة الإنجليزية من خلال ممارسة المحادثة الإنجليزية.

الكلمات والعبارات الأساسية

  • الهندسة الحلقية (Loop Engineering)
  • الأهداف (Goals)
  • خطوات واضحة (Clear Steps)
  • التحقق (Verification)
  • الحلقة المفتوحة (Open Loop)
  • الحلقة المغلقة (Closed Loop)
  • التكرار (Iteration)
  • الذاكرة الخارجية (External Memory)

نصائح للممارسة

عند مشاهدة الفيديو، حاول اتباع طريقة التظليل في الإنجليزية، حيث تقوم بتقليد النطق وتكراره بالتوازي مع المقدم. انتبه لسرعة الكلام والنغمة المستخدمة. استخدم shadowing site أو منصات مشابهة لممارسة هذه التقنية بانتظام، مما سيساعدك كثيرًا في تحسين النطق باللغة الإنجليزية. لا تتردد في تكرار الأجزاء التي تجدها صعبة، وركز على الكلمات ذات المعاني الأساسية مثل "الهندسة الحلقية" و"الأهداف"، فهي عبارة عن مفاتيح لتحسين محادثتك في هذا المجال. من خلال ممارسة المحادثة الإنجليزية بتكرار الحلقات، ستتعلم كيفية التعبير عن نفسك بشكل أكثر طلاقة وثقة.

ما هي تقنية التظليل الصوتي؟

التظليل الصوتي (Shadowing) تقنية تعلم لغة مدعومة علمياً، طُورت أصلاً لتدريب المترجمين الفوريين المحترفين. الطريقة بسيطة لكنها قوية: تستمع لصوت إنجليزي أصلي وتكرره فوراً بصوت عالٍ — كظل يتبع المتحدث بتأخير 1-2 ثانية. تُظهر الأبحاث تحسناً كبيراً في دقة النطق والتنغيم والإيقاع وربط الأصوات والاستماع والطلاقة.