WhoBuilt

How I Plan, Build, and Run Loops with Claude Code in 40 Minutes

Jul 19, 2026· 41 min· 35K views·Watch on YouTube

Speakers

Thariq Shihipar from the Claude Code team discusses planning, long-running agent workflows, and his use of Claude Code with Peter Yang on the Peter Yang channel.

Choose the right way to keep agents working

Thariq describes loops as ways to give agents feedback and let them work for longer. He says /goal helps an agent continue until it meets an exit condition, while workflows can split work among subagents and verify results. For design tasks, he suggests matching the approach to the available signal, such as comparing against a Figma file or using a rubric for a screenshot.

Plan by finding what you do not know

Thariq treats planning as an iterative process of exploring requirements, technical limits, and design options. For a video editing workflow, he asked Claude to explain Whisper’s edge cases, including silence being transcribed as speech and words being split into chunks. He also explored caption and overlay designs as HTML prototypes before committing to a more involved implementation.

Use workflows to make and review multiple outputs

For generating several Shorts, Thariq suggests having a coordinating agent select candidate segments, then assigning each clip to a subagent with a quality rubric. A separate agent can review each result, which gives the work a different context and adds a verification step. He says a workflow can be saved as a JavaScript file inside a reusable skill.

Keep focus and give capable models room

Thariq says he works best with one main project in focus while agents handle background tasks, since shallow multitasking and vague prompts can waste time. He also says Claude Code’s system prompt was cut by 80% as models improved, and recommends shortening instruction files and explaining the reason behind a preference instead of relying on many rigid rules.

Learn the system behind the output

Thariq argues that becoming more technical is about understanding constraints and trade-offs, not just learning syntax. He encourages asking Claude to teach and explain how a system works, then reading those explanations. Better results, he says, require learning the craft as well as using agents to move faster.

Takeaways

  • Use /goal when a task has a clear completion signal, and workflows when work needs parallel execution or rubric-based review.
  • Treat planning as repeated discovery: investigate unknowns, prototype options, and refine the spec as implementation reveals new information.
  • For subjective outputs like video clips, give agents a concrete rubric and assign review to a separate agent.
  • Protect focus by choosing one main task and delegating suitable background work to agents.
  • Keep instructions concise, and learn the technical constraints that shape the quality of an agent’s output.

Mentioned in this talk

Search inside this talk

What was claimed 9

  • role at
    Thariq Shihipar is Claude Code team member at Anthropic
    “Today I'm really excited to welcome Thariq from the Claude Code team.”
    YouTube
    Unverified1 source· Talk
  • feature
    Goals: Reminds the agent of its exit condition and allows it to exit once it knows the condition is met.
    “/goal helps the agent remind itself what its exit condition is, and only allows it to exit once it knows it.”
    YouTube
    Unverified1 source· Talk
  • feature
    workflow: Can use subagents to parallelize and verify work.
    “you can spin up subagents to do the work, parallelize the work, and verify the work.”
    YouTube
    Unverified1 source· Talk
  • uses
    “Then use Remotion to create a UI that shows the transcript.”
    YouTube
    Unverified1 source· Talk
  • uses
    “Transcribe it using Whisper.”
    YouTube
    Unverified1 source· Talk
  • feature
    Claude Code: Can create video captions and overlays from a prompt and render the video.
    “it's transcribed it ... created the caption and created the little overlay.”
    YouTube
    Unverified1 source· Talk
  • uses
    “My reviewer will get tagged in the same Slack channel, and we’ll be able to talk there.”
    YouTube
    Unverified1 source· Talk
  • feature
    workflow: Can assign separate agents to produce and verify work against a rubric.
    “If you have a rubric and a verification agent that reads it, reviews the Short, and gives feedback, that's something the workflow enables.”
    YouTube
    Unverified1 source· Talk
Show all 9 facts

Related talks