Skip to content

Instantly share code, notes, and snippets.

View DeadBranches's full-sized avatar

DeadBranch DeadBranches

  • North America
View GitHub Profile
#!/usr/bin/env bash
set -euo pipefail
# patch-claude-code.sh — Rebalance Claude Code prompts to fix corner-cutting behavior
#
# What this does:
# Patches the npm-installed @anthropic-ai/claude-code cli.js to rebalance
# system prompt instructions that cause the model to cut corners, simplify
# excessively, and defer complicated work.
#
@DeadBranches
DeadBranches / claude-holiday-bait-switch-token-theft-2026.md
Created April 12, 2026 05:13 — forked from LEX8888/claude-holiday-bait-switch-token-theft-2026.md
The Great Claude Token Heist: How Anthropic's "Holiday Gift" Became a Bait-and-Switch (60% Token Reduction, 490+ Upvotes on GitHub)

The Great Claude Token Heist: How Anthropic's "Holiday Gift" Became a Bait-and-Switch Nightmare

"This feels like I've been bait and switched TWICE now." — Claude Max subscriber, January 2026


🎄 TL;DR: The Christmas Trap

What Anthropic Did:

  1. December 25-31, 2025: Doubled usage limits as a "holiday gift"
@DeadBranches
DeadBranches / openclaw-searxng-setup.md
Created February 22, 2026 17:00 — forked from chilledpear/openclaw-searxng-setup.md
SearXNG web search setup for OpenClaw

SearXNG Web Search Setup for OpenClaw

Run these steps on the OpenClaw host to give the bot free, unlimited web search (no API key needed).

1. Create SearXNG config

mkdir -p /opt/searxng
SECRET=$(openssl rand -hex 32)
cat > /opt/searxng/settings.yml << EOF