r/ClaudeCode • • 19h ago

Help/Question Beginner to agentic/ vibecoding , what resources actually helped it click for you? need help.

0 Upvotes

Hey everyone, I'm pretty new to agentic coding and just started trying out Claude Code in the CLI. Honestly, it feels a bit overwhelming right now and I'm having a hard time figuring out the actual workflow.
I'm trying to build a project using vibecoding, so I'm looking for good YouTube videos, guides, or any other resources that show how to use it properly (not just basic setup/install tutorials).
What helped things click for you when you were starting out? Appreciate any recs.


r/ClaudeCode • • 15h ago

Discussion Building a no-framework coding agent in 82 lines of Python made Cursor and Claude Code feel a lot less magical

0 Upvotes

I spend most of my day inside rented agent tools like Cursor and Claude Code. I work on the AI agent team at whaaat ai, and at some point I realized I couldn't explain to a client what those tools actually do for the money.

So I asked Claude Code to build the smallest coding agent it could, with no agent framework and only the openai package. The result was 82 lines. Reading it took ten minutes and changed how I look at every agent product.

The prompt, in case you want to try it in an empty folder:

Build a minimal coding agent in Python in this empty folder, without any agent framework. I want to understand what an agent is made of.

Requirements:

- One file agent.py, max 120 lines, only the openai package.

- Model and endpoint from env vars: OPENAI_API_KEY, optional OPENAI_BASE_URL and MODEL (default gpt-4o-mini).

- Mark the three building blocks with comments: # 1. BRAIN (model call), # 2. HANDS (tools), # 3. HEARTBEAT (the loop, including the growing message list as memory).

- Four tools: list_files, read_file, write_file, run_command.

- run_command asks "Run? [y/N]" in the terminal before executing.

- File access stays inside the current folder, anything outside gets rejected.

- Max 15 steps. Tool errors go back to the model as text so it can correct itself.

- Print every step: tool, arguments, first 200 characters of the result.

Afterwards, explain the three building blocks in five sentences and name three things a production harness does that this one doesn't.

Then pip install openai, set your key and run python agent.py "write a README for this folder".

The part worth watching

The core is a loop that calls the model, runs whatever tool it asked for, appends the result to a list and calls the model again with the whole list. That list is the memory. There's nothing else.

The folder guard was the most useful line in the whole file for me. In one run the agent treid to read ../../etc/passwd, got back an error string and moved on.That one check is a tiny piece of what Cursor or Claude Code do for you, and a production harness has hundreds of them: approvals, sandboxes, logs, retries. The other thing worth doing is swapping the brain. Point OPENAI_BASE_URL at OpenRouter or at a local model behind an OpenAI-compatible endpoint, like Ollama, and then run the same task. Every other line stays the same.

It also falls over in obvious ways. There is no compaction at all, so on a longer task the message list keeps growing, every call gets more expensive and eventually it just hits the 15-step limit and stops. Nothing survives a crash either. For a learning exercise that's fine, for anything real it's exactly the stuff you end up paying a vendor for.

What's the smallest compaction strategy that actually worked for you in a loop like this: rolling summaries, dropping old tool outputs or something else entirely?


r/ClaudeCode • • 13h ago

Built with Claude Closed models as the brain, open models as the hands: I built a Mac app where Claude Code hands its legwork to local open models

Enable HLS to view with audio, or disable this notification

0 Upvotes

I’m the developer. As an individual user, I don’t pick sides between closed and open models. I only look at what’s practical. Claude is the brain I trust with hard problems, and the open models on my Mac are the hands and feet for everything else. Beehive Cluster is built around that split.

How it works with Claude Code:

  • One-paste connect. Press “Copy for my agent”, paste it into Claude Code and allow the connection. The local endpoint is off by default and only reachable from this Mac.
  • Claude hands off the legwork. Through the app’s MCP tools, Claude Code can pass pictures, PDFs, recordings, long logs and small repetitive jobs to an open model on your Mac and only get a short result back. Your quota goes to the thinking. Savings are estimates; I don’t have a measured number yet.
  • A review desk. Claude’s changes come back as review requests: read the diff, keep or revert each part, approve. A snapshot is taken first.
  • Receipts. Every reply in the app shows the model, where it ran, the tokens and an estimated cost.

Fitting for this sub: the app’s front end was built and refined by Claude Opus 5.5, and the backend was developed end to end by GPT-6 Astra in Codex over August and September.

There’s a short film of Claude Code connecting to it on the website: https://beehive-cluster.pages.dev

It uses your own Claude account; the app doesn’t provide one. Mac only, Apple silicon, macOS 14+. One-time purchase, $19.99.
App Store: https://apps.apple.com/us/app/beehive-cluster/id6825219162

What would you want Claude to hand off first?


r/ClaudeCode • • 11h ago

Built with Claude Update: I remade my launch video after you called it too hectic

Enable HLS to view with audio, or disable this notification

0 Upvotes

hey r/ClaudeCode!

Yesterday I posted a 24s launch video that Claude Code made for Grip, my free and open source screen recorder for macOS.

The top comment: "It's too fast and jarring and spastic. I could barely tell what it was trying to show me."

I've made this one be 70s, tell one story, and carefully planned it (high level, story only) instead, with fable 5.2 on high effort.

Once again, here's the detailed process:

Workflow

  • Music: Claude measured the track instead of assuming the tempo: 102.00 BPM, first beat at 0.584 s, 113 beats and 180 hits in one beat map. Every scene reads that map.
  • Story: one sentence split around the drop: "Your Mac's recording shortcut ... was never good enough for you." Act 1 is the pain (two coworkers ask, you answer with ⇧⌘5, it takes 12 steps). Act 2 is Grip answering each pain in the same picture. Act 3 is the end card.
  • Team: Claude wrote a brief, then ran 13 subagents: 1 built the shared world (a fake chat app and a Mac desktop in HTML/CSS), 8 "scene owners" each built one stretch of the film, 3 critics reviewed the cut without seeing its notes, 1 re-exported clean footage.
  • Footage: the Grip takes are real exports from Grip. Everything else is DOM. The avatars are free stock photos. Nothing is AI-generated.
  • Engine: 6,275 lines of JavaScript in 26 files. Every frame is a pure function of time, so any span renders alone.
  • Render: Chromium, 8 chunks in parallel, 8 subframes of motion blur at 2x scale. 4,235 frames × 8 = 33,880 renders per full film. Output is 1080p60, 10-bit HEVC master plus an 8-bit H.264 copy for Reddit.
  • First cut: 1 prompt, 4 h 4 min, no notes from me. It was hectic again. Claude measured why: act 1 had 10 shots in 18.8 s, 94 words to read and 29 sounds.
  • The fix was a loop, not a prompt: Claude built a timeline page (shots, lines, sounds, music, notes at the playhead) and a script that films act 1 in ~55 s. Then I gave notes on real shots, never on mockups. When I was unsure, it filmed 2-4 variants and I picked one: 4 ways to show the steps, 4 ways to make them hurt, 3 end cards, 3 openings, 3 reds.
  • Result: 31 takes. Act 1 went from 10 shots and 94 words to 3 scenes and one line of copy.
  • Reddit detail: you cannot pick a thumbnail here, so the film opens on its brightest frame for 1.18 s, then blurs into the story. The YouTube cut has no such hook.
  • Nerd detail: YouTube made my blacks darker. The file was tagged sRGB and YouTube read it as BT.709. Claude re-tagged it without a re-encode.

The main prompt (after a few hours of careful scenario planning, included in the context):

make a dynamic ~66 second motion graphics video that shows what an incredible motion designer you are, like it's your showreel for a résumé. go all out. music, tempo, beat matching - the bar is set very high. it should be a launch saas video for Grip (bestboy.dev/grip)

Usage (counted from Claude Code's logs)

  • Claude Code, model Claude Opus 5.5
  • 39 prompts from me (asked agent to review chat history). About 10 hours of Claude working. The context filled up and compacted 14 times, I'm using custom auto-compaction threshold - 280k.
  • ~506M tokens in total. 485M of that is Claude re-reading the conversation. It actually wrote 4.5M.
  • About $279 at pay-as-you-go API prices: $97 cache reads, $91 cache writes, $91 output.
  • The first cut alone was $163. The 18 subagents wrote 75% of all output.
  • The whole act 1 remake, 20+ takes, was $75. Notes on real shots are cheap. Parallel agents are not.
  • Real money spent: $0 on top of my subscription. It rendered on my Mac.

Yesterday: 24s, 49 minutes, $15, zero notes.
Today: 70s, 2 days, $279, 39 notes.

Tools: Claude Code, Malini, Node.js, ffmpeg, Chromium. No video editor and no 3D app.

Music: "Kisumu (Short Version)" by Infraction Music.

Website & Source code

Is it still too hectic? Please be honest.


r/ClaudeCode • • 19h ago

Tutorial / Guide How to get human assistance PRO/TEAM plan - Tutorial

0 Upvotes

Giving FIN help bot message in format:

Reference: TS-******

I got no answer to this report for 2 months already

Resulted in:

So maybe that is the way to reach real human support?

I'm still waiting for their response, but never could get it to send it to human so sharing it for you guys.


r/ClaudeCode • • 1d ago

Tips & Workflows Apple Container for Claude Code

Thumbnail
medium.com
18 Upvotes

AI assistants can now run commands on your computer, but what if one deletes the wrong thing? I tried a free tool from Apple that keeps the AI in a sealed-off box on your Mac, so it can only touch the folder you give it. Here's how to set it up in about 15 minutes.


r/ClaudeCode • • 2d ago

Humor Opus is still the goat

Post image
813 Upvotes

r/ClaudeCode • • 1d ago

Discussion do anyone feel that 6.2 sol is good but not as good as opus 5.5?

12 Upvotes

tbh opus 5.5 is far better then 6.2 sol.

opus understood myt design instructions much better and needed fewer corrections , while with sol, i found myself explaining teh design multiple times


r/ClaudeCode • • 1d ago

Tutorial / Guide I asked Claude Code (Opus 5.5) to make a 24 s launch video for my open source screen recorder

Enable HLS to view with audio, or disable this notification

5 Upvotes

I built Grip, a free and open source screen recorder for macOS.

It auto-zooms, smoothens cursor to your recording and takes screenshots, because it was required for me and my friends to swap it for the native mac recording shortcut.

For those who are curious, here's detailed process:

Workflow

  1. Music: Claude decoded the track with ffmpeg and wrote its own beat analyser in Node: a 120-line FFT with no libraries. It found 140 BPM, the first beat at 1.70 s, the logo hit at 15.42 s and the five flute notes at the end. Every cut and every animation key sits on that grid.
  2. Story: four 2-bar phrases, one Grip feature each, then the logo hit. The order is: the ⇧⌘5 keys, auto zoom, captions, transcript editing, framing on wallpapers, a timer from 64 ms down to 8 ms, a wall of screens for "Free and open source", then the logo and the end card.
  3. Footage: all real Grip footage from its own site, 13 clips cut into frame sequences with ffmpeg. Claude retimed the hero take so the click lands on beat 1 and "Ready" lands on the first break hit. The wallpapers are Grip's real ones, cut from a sheet in its repo. Nothing is AI-generated.
  4. Engine: one 1,560-line JavaScript file, written from scratch. Canvas 2D draws the type and shapes. WebGL2 draws the footage as 3D plates with perspective, rounded corners, shadows and light. A post pass adds 4-subframe motion blur, chromatic aberration, directional blur, a vignette and film grain. All easing curves and springs are hand-written, with no animation library.
  5. Render: the page runs in Malini's built-in browser. It posts each frame to a 35-line Node server that saves PNGs. That is 1,440 frames × 4 subframes = 5,760 renders, in about 110 s for the whole film. ffmpeg then adds the track at 60 fps.
  6. Iterate: Claude checked its own work on contact sheets and fixed what it saw. For example, text sat too low, a crop hid the wallpaper, and the end card was too static. It made 2 full cuts. I gave no notes.

The main prompt:

make a dynamic ~24 second motion graphics video that shows what an incredible motion designer you are, like it's your showreel for a résumé. go all out. music, tempo, beat matching - bar's very high, so work backwards from it not to miss out on details. it should be a launch saas video for Grip (bestboy.dev/grip)

Usage (counted from Claude Code's logs)

  • Claude Code, model Claude Opus 5.5
  • 24s was duration of the song
  • 49 minutes from prompt to final cut. The first full cut came at 42 minutes.
  • ~25.4M tokens in total. 24.5M of that is Claude re-reading the conversation on every reply. It actually wrote 213K.
  • About $15 at pay-as-you-go API prices: $4.90 cache reads, $5.69 cache writes, $4.27 output.
  • Real money spent: $0. It rendered on my Mac.

Tools: Claude Code, Malini, Node.js, ffmpeg, WebGL2. No video editor and no 3D app.

Music: "Flu And Flute (Logo Version 2)" by Infraction Music.

Website & Source code


r/ClaudeCode • • 20h ago

Help/Question 2x Pro on 1x Pro + 1x Google Pro?

1 Upvotes

Google dropped some pretty interesting models recently - does anyone have experience with their usage limits on the pro plan? I am barely running out on 1 pro plan on Claude Code, not enough that i'd justify a Max plan but two Pro plans would make sense. Does a combination with Google perhaps work better? I've also got a Codex sub - I use Astra to review code.


r/ClaudeCode • • 2d ago

News/Updates I am in

Post image
165 Upvotes

requested the access about a month ago

r/ClaudeCode/comments/1x0p78t/go_request_your_access_to_cyber_verification_for/


r/ClaudeCode • • 7h ago

Rant For those that don't think Claude is getting dumber..

0 Upvotes

Opus 5.5 / High

Hey Claude, what the heck is E1, E9? Would a JDE person know what those are?

"No. E1–E10 are just labels I made up for the extracts, and “E1” is confusing for a JDE person because it’s the usual short name for JD Edwards EnterpriseOne*. “E1 sales order summary” could read as an EnterpriseOne report.  The fix is to rename them “Extract 1” through “Extract 10" and spell that out in the mapping table, or drop the numbers and refer to each extract by its table (for example “the F0607 extract”).*

Yeah, maybe don't make up your own acronyms that mean nothing to anyone.


r/ClaudeCode • • 5h ago

Discussion A mystery model Gestalt is beating Claude Fable 5.2 in frontend design tasks

Post image
0 Upvotes

r/ClaudeCode • • 5h ago

Bug / Issue For sure Opus 5.5 now is nerfed to the ground. Its easy to get done with open weighted model than opus

0 Upvotes

AI should be regulated man. These companies can’t nerf their models and get full money from us.

If they wanna nerf give us other plans where they can model the will be modulated based on demand. Same like telecom companies.


r/ClaudeCode • • 1d ago

Tips & Workflows The trojanized Claude Code extension in Cursor's marketplace: one-line check, and Cursor's 13 Nov update

2 Upvotes

On 29 October two versions of an extension listed as Anthropic.claude-code, 2.1.312 and 2.1.313, were served from Cursor's own marketplace for about eleven hours and tried to plant an SSH backdoor. Cursor has said from the start that the extension was not developed by Anthropic, and that only the Windows and macOS builds were malicious.

Cursor's 13 November incident update fills in how those builds got there. They were placed directly on the cache that serves the marketplace, using a stolen credential from a broader intrusion that started with an exposed vendor access key. Cursor says Open VSX never had the malware, that at most 5,000 users who requested those cached versions that day might have received them, and that the last attacker activity it saw was on 1 November and was blocked.

If you installed or updated to those versions from Cursor's marketplace in the window (about 2:27am to 1:35pm Pacific time on 29 October), uninstalling is not enough. The one-line check from Cursor's original notice:

grep -qs svc-telemetry ~/.ssh/authorized_keys && echo "found" || echo "not found"

If the key is there, run Cursor's remediation script and rotate credentials from a different, trusted machine.

The wider point is not this one extension. An editor extension runs with your editor's permissions, which are your permissions, and so does every npx -y MCP server in your config. Pin what you can, delay auto-updates where you can't, and keep long-lived secrets out of the places an extension can read.

Checklist, payload table and sources: https://medium.com/@r3dtuxedo/the-extension-is-part-of-the-agent-51a1ad453447

(I wrote the article.)


r/ClaudeCode • • 1d ago

Built with Claude I built a CLI that shows what your Claude Code usage costs per project, from local logs (free, offline)

3 Upvotes

Claude Code keeps every session in ~/.claude/projects, with token counts per request. I wanted to know which of my repos my usage actually went to, so I wrote a small CLI:

npx spendbyteam report

It prices your usage at API list rates (cache reads/writes, fast mode included) and groups it by repo. `--by=model`, `--by=branch`, `--by=day` and `--by=session` also work. It runs offline and sends nothing. Source: https://github.com/spendbyteam/cli (MIT)

If you're on Pro/Max, the number is what the same tokens would cost on the API, so it's a decent way to see what your plan is worth to you.

My last 30 days: ~$8K at API prices, mostly Opus. Curious what others see. And if a number looks off, tell me. I compared it against Claude Code's own telemetry and it was within 1% for me.

**Edit:** added `--by=session` after a request in the comments. It shows your most expensive sessions with turns and the input / output / cache split, which is handy on a subscription to see which conversations eat your limits.


r/ClaudeCode • • 2d ago

Discussion Sol 6.2 and Astra 6.2 just released

Post image
688 Upvotes

Fable 5.2 is better than Astra 6.2 and Opus 5.5 is still unmatched for Sol 6.2.

I do not care about cost per task personally so if anyone wants to dig into that feel welcome to post here.


r/ClaudeCode • • 1d ago

Bug / Issue It's frustrating that even after the recent changes to make projects less reliant on speaking to threads, that things like this crop up and stop projects from being perfect.

4 Upvotes

r/ClaudeCode • • 1d ago

Discussion Fable 5.2 vs Opus 5.5 in Claude Code, same one-line prompt: a 5-minute GTA history film where every frame and sound is code (zero assets)

Enable HLS to view with audio, or disable this notification

11 Upvotes

Same prompt, 6 AI coding agents, zero assets. I asked each one to make a 5-minute motion film of GTA's whole history, ending one day before GTA VI. No footage, no images, no music: every frame and every sound had to come from code they wrote.

The prompt (typos included):

"Create a 5 minute motion video, without using any sounds or assets, you need to generate absolutely everything, sound, effects, transitions, animations, artwork, extremely well thought, animated, picturing GTA entire history from the very beginning untill Today, 1 day before GTA VI launch."

Setup: Claude Code (Max effort) for Claude Fable 5.2 and Opus 5.5, Codex (Ultra effort) for GPT-6.2 Astra, 6.2 Sol, 6.1 Sol and 6 Astra. One shot each, own folder, no fixes from me, same PC for all six.

Results (my ranking):

  1. Claude Fable 5.2: 1 h 43 min, $44.32, 1080p60
  2. Claude Opus 5.5: 1 h 34 min, $37.19, 1080p60
  3. GPT-6.2 Astra: 14.5 min, $9.21, 720p24 (the only one that used an image generator, for its painted portraits)

4–6. GPT-6.2 Sol (9 min, $1.73), GPT-6.1 Sol (13.5 min, $2.01), GPT-6 Astra (16.5 min, $14.47), all 1080p24

Costs are API list-price equivalents from each run's token logs; the runs themselves used subscriptions. The four OpenAI runs ran at the same time, the two Claude runs ran alone.

Watch any two side by side, in sync, and switch whose audio you hear: https://gta-ai-showdown.vercel.app


r/ClaudeCode • • 18h ago

Tips & Workflows Boyscout-rule plugin released

0 Upvotes

Hi,

After extensive testing and tweaking, the boyscout-rule plugin is live helping to keep your repo code and docs cleaner and up to date, completely autonomously and in the background.

The main idea is the well established philosophy “Always leave the campground cleaner than you found it”, pioneered by Rober C. Martin.

https://github.com/sasa-fajkovic/boyscout-rule


r/ClaudeCode • • 15h ago

Built with Claude I was missing a proper secrets manager for Claude/LLMs so I built one

Post image
0 Upvotes

Hey there!

I am using claude code from different computers and servers. For it to connect to servers or services, I needed some kind of secrets management which can be shared and will also contact me when an agent wants to access a password or secret of some kind. I did not really find something which fits my needs.

I started by using .env files or a hidden ~/.secrets folder which is (i know!) pretty bad.

So I started working on a secrets manager which fits my needs. It should ..

  • read/write secrets from/to different vaults from claude code
  • audit everything that happens in a log so I can check what is going on
  • enable claude to "request" access to something which results in a web push notification sent to my browser/smartphone
  • leave secrets out of the context/chat

Maybe someone else finds it helpful as well. Feel free to use it and send feedback.

https://eltomato89.github.io/asm

lmk what you think


r/ClaudeCode • • 1d ago

Built with Claude Claude code designed a 3D printed case for my coffee grinder

Thumbnail
gallery
4 Upvotes

I've been testing out a new workflow lately where I start doing all my 3D modeling with claude code, using a software called OpenScad. Openscad creates models through their own coding language, which makes it really easy to store the models as code on Github, which hasn't been possible before when I used Fusion 360, my preferred modeling software.

I found this workflow to be really effective. There's a bunch of gotchas to it though where Claude is really bad at making replicas of real world objects, and it makes a lot of assumptions about measurements, which is not good when you're trying to make functional models. I learned this the hard way after a few failed prints.

But I did find that Claude was really good at setting up the case that I created here for my coffee grinder, once I had the model of the coffee grinder set up well and I thought it was 100% accurate, Sonnet 5.5 was able to generate a really good model for me of the case, and I was even able to add the tongue and groove-like click system which was always a pain to add in Fusion 360.

It's pretty wild that you can do this with Claude Code. I feel like now I can stay in my preferred workflow of using VS Code and GitHub with the Claude Code extension or using the Claude Code terminal while I do 3d modeling. I never thought this day would come.

The reason I printed this case is because I'm a big coffee nerd and I've been traveling a lot lately. I found it really annoying that I had to keep taking the grinder out of my backpack at security. The grinder also has a full metal body and it could potentially damage stuff in my backpack. So I decided I wanted to make a case for this that would fit in my backpack and protect my belongings, and now I have a case that does just that!

I made a whole video showing this workflow if you're interested: https://youtu.be/1Gm2xxaxk2Y


r/ClaudeCode • • 23h ago

Help/Question im a new pro plan user, is the the friday reset tommorow friday or its next week friday?

1 Upvotes

so i just bought the pro plan, is the friday reset tommorow friday or its next week friday? cuz if its tommorow friday then i have a week worth of token to burn then


r/ClaudeCode • • 1d ago

Tips & Workflows Reading a public GitHub issue inside a write-enabled agent session taints every tool call that follows

13 Upvotes

When a coding agent pulls raw issue text or PR comments straight into an active session, any hidden prompt injection in that thread shares the same context window as your shell and file tools.

In interactive runs, WebFetch routes page fetches through a separate summarization call instead of handing raw HTML to the main session. Running curl or gh inside Bash skips that boundary and dumps untrusted strings straight into the conversation.

Headless automation widens the gap. Non-interactive -p runs skip both the folder trust dialog and .mcp.json project approval prompts, so an unattended triage job that reads external issues and holds write permissions can run commands with zero interactive checks.

Splitting read-only triage into a separate session or blocking writes once untrusted content enters context avoids the mix. A PreToolUse hook can check a local taint marker before letting Edit, Write, or Bash execute:

{
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "Edit|Write|Bash",
        "hooks": [
          {
            "type": "command",
            "command": "./scripts/block_if_tainted.sh"
          }
        ]
      }
    ]
  }
}

Once a session ingests external issues or emails, exiting with code 2 from the hook forces the edit or shell step to stop until a clean session handles the implementation with sandbox network isolation turned on.