HomeVideos

This NEW Claude Prompting Technique is blowing people's minds (gauntlet-loop)

Now Playing

This NEW Claude Prompting Technique is blowing people's minds (gauntlet-loop)

Transcript

433 segments

0:00

There's a new prompting technique for

0:01

Claude that's been blowing people's

0:02

minds over the past week. Because in a

0:05

single prompt, it can build fully

0:06

playable games and hyper custom 3D

0:08

worlds like these that even Karpati says

0:11

might be the future of prompting LLMs.

0:13

So today, I'll share with you this

0:15

technique called the gauntlet loop,

0:16

which might just be the quickest way for

0:18

you to learn how to fan out sub agents

0:20

to do work for you, so that even if

0:22

you're not into game development, you

0:23

can add this tool to your arsenal and

0:25

instantly get better at agentic AI. And

0:27

by the end, I'll share with you a skill

0:29

that lets you fully take advantage

0:30

[music] of this technique in the easiest

0:32

way possible. And if you're new, my name

0:34

is Jay. I spent over a decade working

0:35

with brands you may know, have been in

0:37

AI since my masters in data science. Now

0:39

I'm running an AI business and one of

0:40

the largest AI communities globally.

0:42

Let's dive into it. [music]

0:45

So, I first saw this prompting technique

0:47

from Matt Schumer who posted this insane

0:49

demo over at X where it already garnered

0:51

something like 4.8 million views. And he

0:54

says here that Claude Opus 5 oneshotted

0:56

this entire game with everything you see

0:58

in the demo being custom code without

1:00

any single external asset. And if Matt's

1:02

name is familiar and if you're in the AI

1:04

space for a while, that might be because

1:05

he actually wrote this article called

1:07

something big is happening which a lot

1:08

of people read a few months ago now

1:10

sitting at 87 million views. Point being

1:12

that he has been working with AI for

1:14

quite a while already and is actually a

1:16

good source from prompting techniques

1:17

like these. And if you see a claim like

1:19

this where an AI model supposedly

1:20

oneshots a game that looks as good as

1:22

this, complete with sound. By the way,

1:24

I'm not sure if you can hear that if I

1:25

just turn on the sound. Usually with

1:27

this, your first reaction would be a bit

1:29

skeptical if it was even made by AI,

1:31

which is quite understandable because

1:33

really the level of graphics here is

1:34

already quite extraordinary. But a few

1:36

days ago, Matt actually shared this

1:38

article where he went through how he

1:40

created this game and he's calling it

1:42

the gauntlet loop. And since then,

1:43

people have used that gauntlet loop

1:45

prompting technique to recreate that

1:47

same level of build quality. So, to show

1:49

a few examples, here's one where he

1:51

recreated the starting area for Pokémon

1:53

in Perfect 3D. Here is an example for a

1:55

car racing simulator game. And this is

1:57

one where it's more of like a Mario Kart

1:59

type of game. And this is just crazy how

2:01

wellbuilt this looks. Like, you can see

2:03

the different textures of this

2:04

environment, like with the road, the

2:05

houses there. And there's just so much

2:07

detail that the AI model was able to

2:09

build out in this one game. And you

2:10

might not be into game development in

2:12

particular. And later on, we'll show

2:14

some use cases of how you can apply this

2:16

outside of just video games. But

2:18

personally, I still like to pay

2:19

attention to these demos because it just

2:21

points to how much raw capability these

2:23

AI models now have. And Andre Karpati

2:26

was able to probably articulate it

2:27

better than I can where last weekend he

2:30

made this post where he's saying that

2:31

we're starting to leave the territory

2:33

where you would test an LLM by creating

2:35

an SVG of a pelican on a bicycle, which

2:37

is this old test that AI models were

2:39

used to be run on. And he mentions here

2:41

that these kinds of examples are great

2:43

because no one in their right mind would

2:44

ever spend the time to write something

2:46

this custom. But LMS and AI models have

2:49

all the stamina and patience in the

2:50

world. So these hyper custom worlds and

2:52

3D environments are a really great

2:54

example of new capabilities that you

2:56

yourself as an AI user are now able to

2:58

tap into that you couldn't really do

3:00

before. So what is the gauntlet loop

3:02

exactly? Well, thankfully Matt also

3:04

shared his exact prompt here. And

3:06

surprisingly it is quite simple. It is

3:08

only a threeline prompt. And so you can

3:11

see I just pasted that whole prompt in

3:12

here. And what's actually more

3:13

interesting here versus the actual

3:15

verbiage of this prompt is just the

3:17

pattern and structure of it. Because if

3:19

you really break this down into these

3:21

three lines, essentially what you have

3:22

is a prompt structure that you can copy

3:24

yourself where first you give it a task

3:26

of what you want to happen. In this

3:28

case, the task that Matt was going for

3:29

is to build a firsterson shooter game.

3:32

And then the second part here is

3:33

essentially the build method. to how

3:35

that agent is going to achieve that task

3:37

where he's asking the main agent to fan

3:39

out sub agents and have each of those

3:41

tackle each task individually and to

3:43

have a separate sub agent check it

3:45

visually to ensure that it looks really

3:47

really good. And then finally, the third

3:49

part to this is the bar to hit, which is

3:51

essentially the standard where the agent

3:52

can decide when it can stop. And so he's

3:55

saying here to not stop until each sub

3:57

agent is utterly wowed with the quality

3:59

when compared with the actual Call of

4:01

Duty game. And what actually makes this

4:02

gauntlet loop so effective are these two

4:05

parts right here. Because if you haven't

4:06

tried using sub agents to orchestrate

4:08

your work before, then this might just

4:10

be one of the easiest and quickest way

4:12

for you to try it out. But just to step

4:13

back in case you don't know what we're

4:15

referring to when we talk about sub

4:16

agent orchestration. Essentially, when

4:18

you prompt an agent or talk to an AI

4:20

model, there's three levels to it. At

4:22

least in how I think about it. The first

4:24

level, which is the most basic and

4:26

probably the most common, is when you do

4:27

work with an agent, you send a prompt.

4:29

It provides an output back to you. You

4:31

verify if that output already matches

4:33

your standard and then you send another

4:34

prompt until you get to what you want.

4:36

But it turns out this role of being the

4:38

verifier can actually be offloaded to an

4:41

agent as well. And so this concept of

4:43

loops came about where if you take this

4:45

to the next level, you can actually have

4:46

an agent work for you and the agent also

4:49

does the verification. And so this agent

4:51

right here will assume the role of a

4:53

critic and you'll just have these two AI

4:55

agents talk to each other until it meets

4:57

a certain standard, a bar that you set.

4:59

And only then will this critic agent

5:01

actually pass to you the final output.

5:03

And by the way, this whole idea of

5:04

having a verifier agent in order to

5:06

increase quality output is not new at

5:09

all. In fact, this is an article by

5:10

Entropic called building effective

5:12

agents. And as a part of their study,

5:13

they're mentioning here that same

5:15

finding that they have where if you have

5:17

an AI model generate the output. They

5:19

actually find that you generally get

5:20

better outputs if you have another AI

5:22

model assume the role of an evaluator.

5:25

And this is probably not surprising

5:26

because if you think about how AI models

5:29

usually behave, they usually convince

5:30

themselves that the output that they

5:32

generate is already good enough. And so

5:34

it turns out that having another model

5:35

just validate that is actually good

5:37

practice. And mind you, this was an

5:39

article from way back in 2024. So the

5:42

concept of looping isn't really new. But

5:44

what is newer and what this gauntlet

5:46

loop has pretty much taken to the

5:48

extreme level is that in the build

5:49

method of that prompt is actually

5:51

instructing the main agent, the one that

5:53

you are talking to, to orchestrate and

5:55

fan out to a fleet of sub agents with

5:58

each of them having a critic partner in

5:59

order to just make sure that the parts

6:01

that they are creating are up to spec to

6:03

the standard that you set before the

6:05

final output comes to you. And this is

6:07

just a nice way to actually visualize

6:09

what's really happening under the hood.

6:10

But the great news about the tools that

6:12

we have now like claude code is that for

6:14

you to do something like this, you don't

6:15

actually need to learn any extra

6:17

technical tooling. All you need to do is

6:19

to have a well ststructured prompt like

6:21

this where you're instructing the main

6:22

agent to fan out sub agents to have each

6:25

of them tackle a task individually and

6:27

to have a separate sub agent check their

6:29

work in order to meet this bar that you

6:32

set. And so if you dissect this gauntlet

6:33

loop prompt, then I think that pattern

6:35

is the one that's most important to

6:37

learn here because there's really no

6:38

reason for you to not adopt the same

6:40

pattern across any of your builds. And

6:42

so obviously I needed to try out this

6:44

gauntlet loop prompt structure as well.

6:46

And I actually wanted to try it in use

6:47

cases beyond just games. And by the way,

6:49

if you want to learn how to build and

6:51

sell AI systems that businesses actually

6:53

pay for, then that's pretty much all we

6:55

do over at the Robbernuggets community,

6:56

where not only do you get access to the

6:58

Claude Living Master Class, which we

7:00

update every week and takes you from

7:01

zero to mastery with the latest on AI,

7:03

but you also get access to our agents as

7:05

a service course, which walks you

7:07

through how to actually get paid for all

7:09

these AI skills that you are learning.

7:10

You also get to be part of a genuinely

7:12

great community of AI builders. In fact,

7:14

you can see just some of the recent wins

7:16

our members are getting from the program

7:18

right here. So, if you want to start

7:19

earning from AI, then check that just in

7:20

the pin comment below. Now, back to the

7:22

video. And I think if this prompt is

7:24

really good at virtual 3D environments,

7:25

then just a few months down the road as

7:27

these models become even more capable,

7:29

then this will probably have a huge

7:30

impact on sectors like architecture or

7:32

even real estate. And so, the test that

7:34

I put out for Opus 5 here is that I gave

7:36

it this floor layout of a real real

7:38

estate listing at Darling Point here in

7:40

Sydney. And I also gave it some

7:42

reference photos to match against. So,

7:44

there's the living room, there's the

7:45

bedroom, and so on. And then for the

7:47

prompt itself, if you read through this,

7:48

you can notice that it is the same

7:50

structure as the gauntlet loop prompt

7:51

where we have a task here at the top.

7:53

We're saying here that we want Claude to

7:54

build an explorable 3D walkthrough of

7:56

this apartment. We're giving it the

7:58

build method where we want the goal to

7:59

be broken down into the smallest pieces

8:01

and to fan out sub agents. And we're

8:03

giving it that bar to hit where we won't

8:05

stop until each critic is utterly wowed.

8:07

So each sub aent will need to verify

8:09

that that bar has been met. And this

8:11

whole prompt, I didn't write it myself,

8:13

by the way. Near the end, I'll share

8:14

with you a skill so that whatever task

8:15

that you need, you can just instantly

8:17

build a gaunt to the loop prompt similar

8:18

to this. And when I send that prompt

8:20

over, you can see that it created a plan

8:22

here where it has these room builder sub

8:24

agent and their corresponding partners,

8:26

which are these blind critics. And at

8:28

least with a Claude desktop app, what's

8:29

great about it is that you can actually

8:31

view these dynamic workflows now as well

8:33

where you can clearly see the phases

8:35

that Claude has planned where right now

8:37

it's working on the lighting and then

8:38

the rooms and then there is a phase

8:40

where those sub agents will evaluate

8:41

those rooms and it will continue to loop

8:43

up until that original bar that we've

8:45

set has been satisfied. All right, so it

8:47

ran for around 2 hours now and it's

8:49

still working. But I think it's already

8:51

at a point where we can just showcase

8:52

the strength of this prompt because if

8:54

you can see here, this whole report,

8:55

this HTML page uh Claw just created for

8:58

us in order to give us updates of what

9:00

it's seeing versus its original peg. So

9:02

you can see this left one is the actual

9:04

photo that we gave it. And this one on

9:06

the right is the screenshots that it

9:07

took of that 3D world. And it's already

9:09

looking pretty close. Like the kitchen

9:11

counter here, this is the original and

9:13

this is the one that it created for us.

9:15

And even if it's already pretty close,

9:17

it's actually still not satisfied. So

9:19

you can see that this particular round,

9:21

it's still marking as failed and and

9:23

it's actually still iterating and

9:24

improving the look of this visual. And

9:26

so you can see that's where the

9:27

importance of setting a really high bar

9:30

is because if you actually want this to

9:32

be really perfect and you want to run

9:33

this for a couple of hours in order to

9:35

get a showcase build, then that's

9:37

something that you can just let Claude

9:38

do for you. But since I don't want to

9:40

sit around here waiting for a few hours

9:42

more just to complete this 3D app, let's

9:44

actually just view what it created for

9:45

us here. And there you go. You can see

9:47

we are in this living area. It even

9:50

captured the painting for us. Obviously,

9:52

the couches are not perfect yet, but I

9:54

think if we go around here, we can see

9:56

the kitchen counter. It has that marble

9:58

finish. And remember, this whole thing

10:00

was oneshotted by Claude using that

10:01

gauntlet loop prompt that we gave it.

10:03

And just to show a sample view. So, this

10:06

is the kitchen counter. And this was the

10:08

original peg that we gave to Claude. So,

10:10

it's pretty close, right? Then if we go

10:12

to the bedroom, obviously this texture

10:14

probably can be improved in later

10:16

passes, but I think it was able to

10:18

capture at least the look and the size

10:20

of the layout of the photo. And again,

10:22

just for reference, these are the images

10:24

that we fed to Opus 5. So that's pretty

10:27

close, at least in terms of the layout.

10:29

And then this is the other bedroom,

10:31

which for reference, this is the image

10:33

that we fed it. And probably if we gave

10:35

it a bit more time, it'll probably be

10:36

able to improve the textures of these

10:38

some more. But that's just a quick demo

10:40

of how you can use the gauntlet loop.

10:42

Now, apart from 3D worlds and 3D

10:44

environments, what I also did is to just

10:46

test out this gauntlet loop prompting

10:47

structure to create a front-end website

10:49

designed for this ketone IQ product. And

10:52

when we launched this workflow, you can

10:54

see it ran for around an hour and 19

10:56

minutes. And it's the same thing where

10:57

it fanned out several sub agents in

10:59

order to create our website and also

11:02

have this judging phase which is

11:04

essentially that evaluator agents to

11:06

check the worker agents builds. And what

11:08

it created for us is this. So let me

11:10

just shift that so you can see. So we

11:12

have the product here. We have brain

11:13

fuel as the headline. We have a dark

11:15

mode and a light mode. And if we scroll

11:17

down, we have these nice animations that

11:19

just provide you some more details about

11:21

this product. And I think what Opus did

11:23

here is it actually fanned out some

11:25

research agents in order to just make

11:27

sure that these numbers are correct.

11:30

Now, this is pretty good if you're just

11:31

looking at the visual flare of it

11:33

because obviously this is quite far

11:34

already from the normal AI vibecoded

11:37

designs that you may be used to or see.

11:39

However, even though this looks pretty

11:41

good, remember that visual flare is not

11:43

really the only thing that brands or

11:45

clients look for, especially when it

11:47

comes to these websites. Because if we

11:48

to look at Ketone IQ's actual website,

11:51

their brand design system is actually

11:53

quite different. So, I think the

11:54

gauntlet loop can still help you out

11:56

quite a lot, but if you don't start with

11:58

a really good minimum viable design or

12:01

product, then what the gauntlet loop

12:03

will do is just optimize towards

12:05

probably the wrong thing. And this is

12:07

really important to consider, especially

12:08

with powerful prompt structures like

12:10

these. Because if you notice those

12:11

gauntlet loop prompt that we ran, in

12:13

fact, any looping prompt that you run,

12:15

they usually take a lot of time and

12:16

tokens for them to finish. And so the

12:18

way that I would use them moving forward

12:20

personally is probably not to start with

12:22

them as your initial prompt. Because

12:24

what can happen there is even though the

12:26

final output that you would get looks

12:28

good, they might not actually be on

12:29

brief and might be really far from what

12:31

you want because you just let the agent

12:33

decide the direction for you. But if you

12:34

start with a really strong minimum

12:36

viable product or in this case a design

12:38

system which I've taught in previous

12:40

other tutorials in this channel and in

12:42

our community then you can just

12:43

introduce this gauntlet loop prompt as

12:45

sort of a warp drive in terms of just

12:47

sharpening or polishing the quality of

12:49

that MVP so that the version two of the

12:51

build that you're making not only looks

12:53

good but it is also sitting on a good

12:55

foundation and is on brief. And as

12:57

mentioned, if you want to try out this

12:58

gauntlet loop prompting for yourself,

13:00

what I've done is to build out this

13:02

skill called slashgauntlet loop. And

13:04

what this skill does is whenever you use

13:06

it, you can just give a particular task

13:08

and it will create a gauntlet loop

13:10

prompt for you. And you can just grab

13:12

this down in the description below. But

13:13

there, I hope that was useful and

13:15

informative. And as always, thanks for

13:16

watching until the end if you made it

13:17

this far. I'll see you next time.

13:19

Cheers. [music]

Interactive Summary

The video introduces the 'gauntlet loop' prompting technique for Claude, a method that uses sub-agent orchestration to build high-quality outputs like 3D worlds, games, and websites. By structuring prompts with a defined task, a build method (using sub-agents and critics), and a strict quality bar, users can achieve significantly better results. The host demonstrates this by creating a 3D apartment walkthrough and a front-end website, emphasizing that while the technique is powerful for polishing and scaling, it is most effective when applied to a solid foundation rather than as a starting point.

Suggested questions

3 ready-made prompts