~/beer-and-code
▪ Clã Beer and Code the largest AI Engineering community in Brazil · live, every week join the Clã ›
~ / tag / #claude-code $ grep

#Claude Code

24 posts
13 #ai-agents · #seguranca
AI agents in conflict: Anthropic gave 3 Claudes rival goals and they attacked each other with malware

Three Claude instances, one VM each, the same codebase to migrate and none of them aware the others existed. Within hours there was self-replicating malware, health check camouflage and SSH key swapping. But the malware is the bait: the finding that matters if you run agents in production is that parallelism without coordination degrades measurably. What the study actually shows, what the press got wrong and 4 infra rules so you don't build this experiment by accident.

15 Aug · 11 min ›
14 #ai-agents · #produtividade
Cursor SpaceX: What the Acquisition Changes in Your Editor (and What Nobody Confirmed)

Cursor confirmed on August 14, 2026 that it has been acquired by SpaceX. The announcement runs thirteen sentences: it talks about GPUs, cheaper models, and the horizon, and says nothing about your code. We separate what's in a primary source from what's press-only (including the $60 billion), show what actually changes in the editor (Grok 4.6 in the house pool, Claude hidden by default, the Router choosing for you), and close with a checklist for anyone who depends on Cursor in production.

15 Aug · 11 min ›
15 #seguranca-ia · #anthropic
Claude Code leaking email in curl: what issue #78431 proves and the deny rules checklist to close the 4 exit channels

Issue #78431 in the anthropics/claude-code repo shows the agent building curl commands with the user's real email in the User-Agent header, without asking for permission. The bug report is bad, but the behavior is verified: verbatim tool_use from a session log, 5 occurrences in 1 hour. We separate fact from noise, walk through the four exit channels nobody audits, and hand you the permissions.deny and PreToolUse hook checklist to close them.

12 Aug · 11 min ›
16 #api · #compliance
Claude Now Signs Everything It Writes: The Invisible Watermark That Survives Copy-Paste

Since August 2, 2026, every new Claude model ships with a statistical watermark embedded in the text it generates. It's not metadata or an invisible character: it travels through copy-paste, applies to the API and Claude Code, and there's no flag to turn it off. What detection proves, what it doesn't, and what actually erases the signal.

11 Aug · 13 min ›
17 #harness · #guardrails
Claude Code Auto Mode: What It Is, How to Turn It On/Off, What It Allows

Auto Mode has been Claude Code's default permission mode on Pro, Max, and Team since August 14: a classifier approves tool calls on your behalf (it blocked 89% of dangerous commands versus 14% for humans). How to turn it on and off (Shift+Tab or defaultMode), what it allows without asking, including pushes to the default branch and reading .env, and the four ways to put the human checkpoint back.

10 Aug · 8 min ›
18 #ia · #agentes
Muse Code: Meta Beat Codex on Terminal-Bench — and Charges $0.30 to Read Your Repository

Meta launched Muse Code in beta, a terminal agent running Muse Spark 1.2. The chart says 82.9% on Terminal-Bench and a win over Codex. I went and read the chart: Meta beat GPT-5.6 Terra, not the GPT-5.6 Sol that Codex actually uses, and lost to Claude Opus 5 on all three benchmarks in its own announcement. What's actually real, the worktree and event log architecture worth copying, and the $0.30 per million price you pay for with your code.

06 Aug · 11 min ›
19 #cache · #contexto
How to Save Tokens in Claude Code, Codex, and Cursor: Stop Breaking the Cache

You send a one-line question and /usage reports a whole day's worth of consumption. Saving tokens in a coding assistant has nothing to do with prompt size: it's about prefix caching. How it works in Claude Code, Codex, and Cursor, the seven actions that invalidate it without you noticing, how to measure it with cache_read vs cache_creation, and eight levers to stretch the session.

06 Aug · 16 min ›
20 #openai · #multi-agent
GPT-5.6 in Codex: Ultra mode buys 3 points, and Terra burns 2.6x more tokens to deliver worse results

GPT-5.6 has been in Codex since July 9, across all three tiers. Ultra mode coordinates four subagents that cooperate during the task and buys 3 points on Terminal-Bench (88.8% to 91.9%), at a much higher token cost. And CodeRabbit's independent test kills the reflex of picking the cheap tier: Terra burned 2.6x more tokens than Sol to pass 40.7% of tasks versus 63.7%. Price per token is not price per task.

15 Jul · 11 min ›
21 #openai · #anthropic
Codex Usage Limit: OpenAI Drops the 5-Hour Cap and Anthropic Answers Within Hours

OpenAI removed the Codex 5-hour limit without warning and Anthropic answered within hours, extending the 50% bump to Claude Code's weekly limit through July 19. What exactly changed, what is still capped, and how to decide which subscription is worth it right now, with the numbers in hand.

13 Jul · 8 min ›
22 #produto-ia · #llm
Claude Sonnet 5: How to Read the Benchmarks in Practice

Claude Sonnet 5 is out. Instead of screenshotting the table, this post shows how to read the benchmarks in practice (cost per task, effort, with and without tools) for anyone using Claude Code or building AI into a product.

30 Jun · 9 min ›
23 #openai · #ia
Claude Code vs Codex: Codex Wins the Terminal by 13 Points, Claude Wins the Hard Repo by 10

Claude Code or Codex? The answer comes with numbers: Codex opens a 13-point lead on Terminal-Bench (82.7% vs 69.4%) and Claude Code opens a 10-point lead on SWE-bench Pro (69.2% vs 58.6%), which is the benchmark for real multi-file problems. On SWE-bench Verified they tie. Here is the verdict by scenario, the real cost per dev, and the criterion that matters more than quality: how much control you want during the task.

19 Jun · 10 min ›
24 #tool-use · #llm-as-a-judge
Code Review Prompt: 5 Patterns That Raise Signal from 12% to 67%

An LLM code review prompt your team will actually read: five patterns (diff-anchored, severity gate, tool use before guessing, mandatory citation, and self-grading with a threshold) that raise the signal ratio from ~20% to above 60%. Comes with a complete REVIEW.md and a GitHub Actions workflow ready to plug into a Laravel project.

24 May · 15 min ›
Meet the Clã Beer and Code
playing