Run these steps on the OpenClaw host to give the bot free, unlimited web search (no API key needed).
mkdir -p /opt/searxng
SECRET=$(openssl rand -hex 32)
cat > /opt/searxng/settings.yml << EOF| import os | |
| import subprocess | |
| from typing import List | |
| def get_conda_envs() -> List[str]: | |
| """ | |
| Get a list of conda environments and return their names. | |
| """ | |
| # Execute the `conda env list` command and capture its output |
| // brain of the whole thing. hard work is done here | |
| const mapNumber = (number, in_min, in_max, out_min, out_max) => { | |
| var rangeCalculation = (number - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; | |
| return Math.round(rangeCalculation); | |
| }; | |
| // Create an empty array to store the messages | |
| var messages = []; | |
| // Loop through the rooms in msg.lightControl because we know only rooms and devices are children of lightcontrol |
"This feels like I've been bait and switched TWICE now." — Claude Max subscriber, January 2026
What Anthropic Did:
| #!/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. | |
| # |
Add this file to your AI assistant's system prompt or context to help it avoid common AI writing patterns. Source: tropes.fyi by ossama.is