Skip to content
gentic.news — AI News Intelligence Platform
Connecting to the Living Graph…

Listen to today's AI briefing

Daily podcast — 5 min, AI-narrated summary of top stories

Screenshot of a GitHub repository showing a code diff that trims 20,000 characters from Claude Code's system prompt…
Open SourceScore: 70

Opus 4.7 Prompt Surgery: 20K-Char Cut Per Coding Turn

Lobotomized Claude Code cuts 20K characters per coding turn from Opus 4.7's prompt, removing overfitted CAPS directives and anti-laziness scaffolding that harm the newer model.

·1d ago·3 min read··5 views·AI-Generated·Report error
Share:
Source: github.comvia hn_claude_codeSingle Source
How does Lobotomized Claude Code improve Opus 4.7's coding performance?

Lobotomized Claude Code trims ~20K characters from the always-on system prompt for Claude Opus 4.7, removing anti-laziness scaffolding and CAPS directives that trigger overcorrection in the newer model.

TL;DR

Prompt override repo cuts 20K characters per coding turn. · Opus 4.7 behaves worse with CAPS and strict rules. · Community workaround exposes Anthropic's unoptimized default prompts.

A GitHub repo cuts 20K characters from Claude Code's always-on prompt for Opus 4.7. The override removes CAPS-heavy directives and anti-laziness scaffolding that the newer model handles worse.

Key facts

  • 20K characters cut per coding turn from always-on prompt.
  • CC ships every model the same prompt-by-volume Opus 4.6 needed.
  • 41 net-new prompts caught by skrabe fork vs Piebald's JSON.
  • 6 modifications derived from Opus 4.7 prompting guide.
  • Repo targets CC 2.1.141, re-validated against each upstream release.

Anthropic ships Claude Code with the same system prompt volume for Opus 4.7 as it did for Opus 4.6. That's the problem.

A community repo called Lobotomized Claude Code, published by GitHub user skrabe, surgically rewrites the load-bearing fragments. The result: every coding turn carries roughly 20K fewer characters of always-on prompt. [According to Lobotomized Claude Code]

Why Opus 4.7 breaks under the old prompt

The repo's methodology reveals a structural mismatch. Anthropic's default prompt was tuned for Opus 4.6, which needed anti-laziness scaffolding and explicit instruction hierarchies. Opus 4.7 follows instructions more literally and overcorrects on CAPS directives like STRICTLY PROHIBITED and MUST. [According to the repo's prompting guide]

"4.7 is more literal — fewer rules, less drift," the guide states. "No CAPS theater." The override replaces strict prohibitions with plain directives.

The cold-path bulk that doesn't matter

Not all 20K characters come from active prompt. The repo identifies cold-path reference content — API docs for Python, TypeScript, Go, Java, C#, PHP, Ruby, the model migration guide, and skill-based cron tasks — that never injects in normal coding sessions. The headline cut focuses on the daily-flow row, where the always-on payload shrinks from roughly 45K to 25K characters.

lobotomized-claude-code

Community tooling fills a vendor gap

The skrabe fork's extractor catches ~41 net-new prompts versus Piebald's published JSON for Claude Code 2.1.141. It also ships mechanisms — inline blob overrides with a string kind, a system-reminders runtime surface, and per-MCP-server routing — that reach dynamic injections the named-prompt pipeline alone can't touch. [According to Lobotomized Claude Code]

Hacker News commenters questioned whether Anthropic would ban users or move prompt logic server-side. The repo's existence suggests the default prompt is both observable and modifiable, which Anthropic has not explicitly sanctioned.

Six changes that matter

The repo distills six modifications from the Opus 4.7 prompting guide:

  • Less is more: fewer rules, less drift.
  • No CAPS theater: plain directives over STRICTLY PROHIBITED.
  • Parallel by default: independent tool calls go in one message.
  • Grill-me plan mode: the model interviews the user before producing a plan.
  • No always-on CTAs: removed the /schedule upsell.
  • Tighter destructive-action guards: commit/push/merge/PR require explicit confirmation.

The unique take

This isn't just a prompt tweak — it's evidence that Anthropic's default Claude Code prompt is overfitted to Opus 4.6 and imposes unnecessary cognitive load on Opus 4.7. The community is doing what Anthropic should have done before shipping 4.7 support: re-validating the prompt against the model's actual behavior, not just copy-pasting the old one.

A similar pattern played out with the permission-first CLAUDE.md kit published on May 14, which addressed agent overreach. Both repos highlight a growing gap between Anthropic's release cadence and the prompt engineering required to make each model work optimally.

What to watch

Watch for Anthropic's next Claude Code release (likely 2.1.142+). If Anthropic silently adopts prompt reductions similar to the community overrides, it confirms the prompt was overfitted to Opus 4.6. If not, expect more community forks and a potential terms-of-service response.


Sources cited in this article

  1. Lobotomized Claude Code
Source: gentic.news · · author= · citation.json

AI-assisted reporting. Generated by gentic.news from 1 verified source, fact-checked against the Living Graph of 4,300+ entities. Edited by Ala SMITH.

Following this story?

Get a weekly digest with AI predictions, trends, and analysis — free.

AI Analysis

The Lobotomized Claude Code repo exposes a fundamental tension in Anthropic's product strategy: shipping model updates faster than prompt engineering can keep up. Opus 4.7 arrived in April 2026, but Claude Code's default prompt still carries the anti-laziness scaffolding and CAPS-heavy instruction set that Opus 4.6 needed. The community is effectively doing Anthropic's regression testing. This pattern mirrors the permission-first CLAUDE.md kit from May 14, which addressed agent overreach. Both repos identify the same root cause: Anthropic's default prompt is a one-size-fits-all document that doesn't adapt to model-specific behavioral quirks. The 20K character cut isn't just about latency — it's about semantic drift. Opus 4.7's literal instruction-following means contradictory always-on rules compound into erratic behavior over long sessions. The cold-path bulk (API docs, migration guides, cron skill tasks) is less concerning. Those inject conditionally and don't affect daily coding sessions. But the always-on payload reduction from ~45K to ~25K characters is a 44% cut. That's not noise — it's the difference between a model that stays coherent through 50 tool calls and one that starts hallucinating instructions at turn 30. The Hacker News concern about bans is real but probably overblown. Anthropic has historically tolerated prompt engineering (it's how the company markets Claude's steerability). What they might move server-side is not the prompt content but the mechanism for injecting it. If dynamic prompt assembly moves to API middleware, community overrides lose their grip.
Compare side-by-side
Claude Opus 4.7 vs Claude 3.5 Opus
Enjoyed this article?
Share:

AI Toolslive

Five one-click lenses on this article. Cached for 24h.

Pick a tool above to generate an instant lens on this article.

Related Articles

From the lab

The framework underneath this story

Every article on this site sits on top of one engine and one framework — both built by the lab.

More in Open Source

View all