Agent skill · Backend & API

extended-thinking

Extended thinking (ultrathink) configuration for Claude API. Activate for complex reasoning tasks, deep analysis, multi-step problem solving, and tasks requiring careful deliberation. Enables Claude's internal reasoning with configurable thinking budgets.

majiayu000github.com/majiayu000GitHub ↗
claude-codecan modify filesMIT
Install
npx skills add majiayu000/claude-skill-registry --skill extended-thinking --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 6 KB
Bundled scripts: none
Allowed tools: -Bash-Read-Write-Edit-Glob-Grep
Path: skills/ai-llm/extended-thinking/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Extended Thinking (Ultrathink) Skill Enable Claude's extended thinking capabilities for complex reasoning tasks that benefit from internal deliberation before responding. ## When to Use - **Complex problem solving** requiring multi-step reasoning - **Code architecture decisions** with multiple trade-offs - **Debugging complex issues** needing systematic analysis - **Strategic planning** with many variables - **Mathematical or logical proofs** - **Security analysis** requiring threat modeling - **Performance optimization** with multiple factors ## Supported Models | Model | Extended Thinking | Summarized Thinking | |-------|------------------|---------------------| | Claude Opus 4.5 | ✓ Full | - | | Claude Opus 4.1 | ✓ Full | - | | Claude Opus 4 | ✓ | ✓ Summarized | | Claude Sonnet 4.5 | ✓ Full | - | | Claude Sonnet 4 | ✓ | ✓ Summarized | | Claude Haiku 4.5 | ✓ Full | - | ## API Configuration ### Basic Extended Thinking (Python) ```python import anthropic client = anthropic.Anthropic() response = client.messages.create( model="claude-sonnet-4-20250514", max_tokens=16000, thinking={ "type": "enabled", "budget_tokens": 10000 # Minimum 1,024 }, messages=[{ "role": "user", "content":

What's inside
Steps it walks through
  1. When to Use
  2. Supported Models
  3. API Configuration
  4. Basic Extended Thinking (Python)
  5. TypeScript Configuration
  6. Streaming (Required for maxtokens > 21,333)
  7. Budget Recommendations
  8. Tool Use with Extended Thinking
  9. Interleaved Thinking (Claude 4 Models)
  10. Constraints
  11. Best Practices
  12. Integration with Claude Code
  13. See Also
Ships with 1 file
  • metadata.json
Commands it runs
The CLI automatically handles extended thinking for supported models
Use opus or sonnet models for complex tasks
claude --model claude-opus-4-5-20250514 "Analyze this codebase architecture"
More from claude-skill-registry
All skills →
About this skill
What does the extended-thinking skill do?

Extended thinking (ultrathink) configuration for Claude API. Activate for complex reasoning tasks, deep analysis, multi-step problem solving, and tasks requiring careful deliberation. Enables Claude's internal reasoning with configurable thinking budgets.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill extended-thinking --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going