It's
ultrathink one word, not
ultra-think. (See below).
I use Claude Code with Opus, and had same experience - was pushing it hard to implement complex test, and it gave me an empty test function with test plan inside in a comment (lol).
I do want to try Gemini 2.5 Pro, but I don't know a tool which would make experience compatible to Claude Code. Would it make sense to use with Cursor? Do they try to limit context?
~/.nvm/versions/node/v22.16.0/lib/node_modules/@anthropic-ai/claude-code $ npx prettier cli.js | ack ultrathink -C 20
var jw1 = { HIGHEST: 31999, MIDDLE: 1e4, BASIC: 4000, NONE: 0 },
Yk6 = {
english: {
HIGHEST: [
{ pattern: "think harder", needsWordBoundary: !0 },
{ pattern: "think intensely", needsWordBoundary: !0 },
{ pattern: "think longer", needsWordBoundary: !0 },
{ pattern: "think really hard", needsWordBoundary: !0 },
{ pattern: "think super hard", needsWordBoundary: !0 },
{ pattern: "think very hard", needsWordBoundary: !0 },
{ pattern: "ultrathink", needsWordBoundary: !0 },
],
MIDDLE: [
{ pattern: "think about it", needsWordBoundary: !0 },
{ pattern: "think a lot", needsWordBoundary: !0 },
{ pattern: "think deeply", needsWordBoundary: !0 },
{ pattern: "think hard", needsWordBoundary: !0 },
{ pattern: "think more", needsWordBoundary: !0 },
{ pattern: "megathink", needsWordBoundary: !0 },
],
BASIC: [{ pattern: "think", needsWordBoundary: !0 }],
NONE: [],
},