Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add latestaiagents/agent-skills --skill thinking-and-effortgit clone --depth 1 https://github.com/latestaiagents/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/latestaiagents/agent-skills/thinking-and-effort)<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/thinking-and-effort"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/thinking-and-effort/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/thinking-and-effort"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/thinking-and-effort.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00144 | $0.01635 |
| Opus 5.5 | $0.00058 | $0.00654 |
| Sonnet 5.5 | $0.00029 | $0.00327 |
| Haiku 4.5 | $0.00014 | $0.00163 |
Grade A, and why
thinking-and-effort scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 26d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Thinking and Effort
Current Claude models decide for themselves when and how much to think. You steer that with the effort level, cap total output with max_tokens, and choose whether the thinking summary is returned with display. Per-model rules differ, so check the table in the docs for your model.
When to Use
- Multi-step reasoning: math, debugging, planning, code generation
- Agent loops where the model should evaluate tool results before acting
- Migrating code written for fixed
budget_tokensthinking - A request returns 400 on its
thinkingfield, or answers are truncated
Workflow
Step 1: Look up your model's thinking modes
The thinking documentation has a per-model table that shows what each model does with no thinking field, adaptive, enabled with budget_tokens, and disabled. As documented at the time of writing:
- On the newest models, thinking is on by default and
budget_tokensis rejected (400); some rejectdisabledtoo - On some previous-generation models, thinking is off until you send
thinking: { type: "adaptive" } - Older models support only the legacy manual mode:
{ type: "enabled", budget_tokens: N }
Do not copy a thinking object between models without checking that table.
Step 2: Turn thinking on and choose what you see
import Anthropic from "@anthropic-ai/sdk";
const client = new Anthropic();
const MODEL = process.env.ANTHROPIC_MODEL!; // a current model ID
const response = await client.messages.create({
model: MODEL,
max_tokens: 16000,
thinking: { type: "adaptive", display: "summarized" },
messages: [{ role: "user", content: "Find the bug in this function and explain it: ..." }],
});
for (const block of response.content) {
if (block.type === "thinking") console.log("[summary]", block.thinking);
if (block.type === "text") console.log(block.text);
}
display values:
| Value | Returns | Typical use |
|---|---|---|
"summarized" |
A readable summary of the reasoning | Showing reasoning to users or debugging |
"omitted" |
Thinking blocks with an empty thinking field and a signature |
Production paths that never show reasoning; text starts streaming sooner |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 26d ago First seen · 134 lines · 144 tokens per session scan A 97958ac3e23f
thinking-and-effort is a skill published in the GitHub repository latestaiagents/agent-skills (6 stars, last pushed 26d ago), licensed MIT. It adds 144 tokens to every session and 1,635 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-04.
thinking-and-effort compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| thinking-and-effortlatestaiagents/agent-skills | Skill | 6 | 26d ago | MIT | A | 144 | Claude Code |
| nexent-daily-testModelEngine-Group/nexent | Skill | 6.3k | yesterday | MIT | A | 78 | Claude Code, Codex |
| ai-humanizer-zhskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 81 | Codex |
| ai-account-research-sales-cardskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 71 | Codex |
| ai-account-researchskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 65 | Codex |
| ai-amazon-brand-analyticsskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 72 | Codex |
| ai-amazon-international-listingsskillsaiagent/aiskills | Skill | 5 | 5mo ago | none | A | 75 | Codex |