PTENES
Skip to content
πŸ”΅ Level 2

Cursor and Claude Code for automations

AI-powered IDEs, autonomous agents, and command-line tools to automate your creative workflows.

~120 minutes β€’ Updated in April 2026

⚑ Cursor β€” The most popular AI-powered code editor

O Cursor, developed by Anysphere (valued at $9.2 billion), is a VS Code fork with AI deeply integrated. It has become the editor of choice for developers and, increasingly, for creators who use vibe coding.

πŸ† Cursor's Main Features

  • βœ… Composer 2 β€” generates and edits code across multiple files simultaneously
  • βœ… Background Agents β€” up to 8 parallel agents working on different tasks
  • βœ… Plugin Marketplace β€” extensions specifically for AI
  • βœ… JetBrains support β€” not just VS Code
  • βœ… Tab autocomplete β€” smart code completion
  • βœ… Contextual chat β€” AI understands the entire project, not just the current file

Background Agents: the differentiator

The Background Agents are Cursor’s most revolutionary feature. You can create up to 8 parallel agents, each working on a different task. While one builds the frontend, another can configure the database, and a third can write tests.

πŸ’° Price

Cursor Pro: $20/month. Includes unlimited use of Composer, Background Agents, and premium models (Claude Sonnet, GPT-4o). There’s a free plan with lower limits to try it out.

πŸ–₯️ Claude Code β€” Anthropic's terminal agent

O Claude Code is a command-line tool created by Anthropic that works as an autonomous programming agent. Unlike visual IDEs, it runs in the terminal and is especially powerful for understanding and working with large, complex projects.

🧠 Why Claude Code is special

  • βœ… Deep understanding of projects β€” analyzes entire repositories
  • βœ… 4% of all public commits on GitHub β€” widely used by the community
  • βœ… Terminal-based β€” runs in any environment, including remote servers
  • βœ… Long context β€” processes hundreds of files simultaneously
  • βœ… Command execution β€” can run scripts, tests, and builds
  • βœ… Git Integration β€” creates commits, branches, and PRs

πŸ’‘ Example Use Case for Creators

Imagine you have a folder with 100 videos and want to generate thumbnails, captions, and descriptions for all of them. With Claude Code, you can say: "Create a Python script that, for each video in the /videos folder, generates a thumbnail using the Midjourney API, extracts the transcript with Whisper, and creates a YouTube-optimized description." Claude Code writes the script, installs dependencies, and runs it.

πŸ„ Windsurf β€” Editing in "flow state"

O Windsurf (formerly Codeium) stands out for its agent Cascade, which maintains awareness of the entire project and offers editing in a "flow state"β€”the AI anticipates what you need and proactively makes suggestions.

🌊 What Makes Windsurf Stand Out

  • βœ… Cascade Agent β€” agent with full awareness of the project
  • βœ… Context awareness β€” automatically understands relationships between files
  • βœ… "Flow state" editing β€” proactive suggestions based on context
  • βœ… Clean interface β€” less visual clutter than Cursor
  • βœ… Generous free plan to get started

πŸ™ GitHub Copilot β€” The Veteran

O GitHub Copilot was the first widely adopted AI coding assistant. Although it has lost ground to Cursor and Claude Code in advanced features, it remains widely used thanks to its native integration with VS Code and the GitHub ecosystem.

πŸ“Œ When to Use Copilot

Copilot is a good choice if you already use VS Code and want code autocomplete without switching editors. For more complex projects or pure vibe coding, Cursor and Claude Code are better suited.

πŸ“Š When to Use Each Tool

Scenario Recommended tool Why
Create a visual app from scratch Lovable / Bolt.new Visual interface, no coding required
Multi-file Project Cursor (Composer) Simultaneous editing of multiple files
Script automation Claude Code Terminal, direct execution, long context
Complex parallel tasks Cursor (Background Agents) 8 simultaneous agents
Understand a large existing project Claude Code In-depth codebase analysis
Autocomplete while writing Copilot / Cursor Editor integration, inline suggestions
Cloud deploy with everything ready Replit Agent 100% cloud, integrated deployment

πŸ› οΈ Practice: Automating a content pipeline with Claude Code

We'll use Claude Code to create an automation that processes videos: extracts audio, generates a transcript, creates captions, and formats them for different platforms.

πŸ“ Step 1: Install Claude Code

In the terminal, run: npm install -g @anthropic-ai/claude-code. Then, configure your Anthropic API key by following the on-screen instructions.

πŸ“ Step 2: Describe the project

Start Claude Code in the project folder and describe: "Create a Python script that: 1) Takes a path to a video file, 2) Extracts the audio using ffmpeg, 3) Transcribes it with Whisper, 4) Generates captions in SRT format, 5) Creates transcript versions formatted for YouTube, Instagram, and TikTok."

πŸ“ Step 3: Review and run

Claude Code will create the script, install the necessary dependencies, and offer to run it. Review the proposed actions and confirm. Test with a real video.

πŸ“ Step 4: Iterate and expand

"Now add a module that generates 5 SEO-optimized title options using the Claude API. And create a summary file with the video's key points." Claude Code understands the project context and integrates the new features.

πŸ› οΈ Practice: Building a tool with Cursor

Now let’s use Cursor to build a visual tool: a thumbnail generator that suggests layouts, text, and colors based on the video title.

πŸ“ Step 1: Open Cursor and Create the Project

In Cursor, press Ctrl+I to open Composer and describe: β€œCreate a React application with Tailwind that works as a thumbnail generator. The user enters the video title, and the tool suggests 3 thumbnail layouts with different text, colors, and compositions. Use canvas to render the previews.”

πŸ“ Step 2: Use Background Agents

Create 2 agents: one to refine the interface (colors, layout, responsiveness) and another to add export logic (download as PNG at different resolutions: 1280x720 for YouTube, 1080x1080 for Instagram).

πŸ“ Step 3: Test and refine

Test with different titles, adjust colors and fonts via Composer, and add features: "Add an option to upload a background image and overlay the text. Include image filters (blur, darken, saturate)."

βœ… Lesson checklist

  • ☐ Install Cursor and explore Composer
  • ☐ Install Claude Code in the terminal
  • ☐ Create the video processing pipeline with Claude Code
  • ☐ Build the thumbnail generator with Cursor
  • ☐ Test Background Agents in Cursor
  • ☐ Explore Windsurf and compare it with Cursor
  • ☐ Identify 2 automations that would benefit your content workflow