using-the-think-step

using-the-think-step is a skill for Claude Code, Codex from Hoja-Solutions/agent-stdlib. It costs 216 tokens per session (1,260 once invoked), scanned A, original, MIT.

Guidance for deciding when an agent should pause to reason during a task. It explains extended thinking before actions, interleaved thinking between tool calls, and a no-op think tool that records a reasoning checkpoint.

In plain words
What is it for?
Choosing a reasoning approach for multi-step agent tasks and deciding when to add a mid-workflow checkpoint before another tool call.
Why use it?
It helps place reasoning where it can improve decisions, especially after receiving a tool result and before taking the next action. The think tool itself does not change data or perform work.

Skill for Claude CodeCodex

Part of the agent-stdlib plugin — 14 skills, 2 commands, 1 agent, 2 hooks, 2 MCP servers shipped together

Install

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.

agentmods
npx agentmods add skills/hoja-solutions/agent-stdlib/using-the-think-step
Any agent
npx skills add Hoja-Solutions/agent-stdlib --skill using-the-think-step
Clone the repo
git clone --depth 1 https://github.com/Hoja-Solutions/agent-stdlib

Made for: Claude Code, Codex.

Or install agent-stdlib, the plugin that ships this one along with the rest of its 14 skills, 2 commands, 1 agent, 2 hooks, 2 MCP servers.

Wrote 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.

agentmods badge for using-the-think-step

README.md
[![agentmods](https://agentmods.dev/badge/skills/hoja-solutions/agent-stdlib/using-the-think-step.svg)](https://agentmods.dev/skills/hoja-solutions/agent-stdlib/using-the-think-step)
Your own site
<a href="https://agentmods.dev/skills/hoja-solutions/agent-stdlib/using-the-think-step"><img src="https://agentmods.dev/badge/skills/hoja-solutions/agent-stdlib/using-the-think-step.svg" alt="Measured on agentmods" height="20"></a>
Per session 216 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,260 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00216 $0.01260
Opus 5 $0.00108 $0.00630
Sonnet 5 $0.00043 $0.00252
Haiku 4.5 $0.00022 $0.00126

Measured 3d ago against content hash 22748c172016, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

using-the-think-step 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 3d 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.

skills/using-the-think-step/SKILL.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using the think step

Source: The "think" tool, with the cross-mode decision drawing on the extended thinking docs. The pattern ships as MCP servers around the web; none package the judgment of when to use it, how it relates to extended and interleaved thinking, and how to prompt it. This pack ships the tool itself under mcp-servers/think/; this skill is about reaching for it well.

The think tool is a no-op the model can call to reason in the middle of a tool-use chain. It changes no state and returns nothing useful; its only job is to give the model a moment to lay out its reasoning before the next action. That makes it different from extended thinking, which happens once before the agent acts. The think step happens between actions, after the agent has seen a tool result and before it commits to what comes next.

Where the reasoning goes

A model can reason in three places, and each does a different job:

  • Extended thinking, before the turn. The model plans before it acts or fires off parallel, independent tool calls. On recent models, turn on adaptive thinking and set an effort level; on older ones, set a token budget below max_tokens. Reach for it when the hard part is the plan you make up front.
  • Interleaved thinking, between tool calls. The model reasons after each tool result, inside the same turn, before it picks the next call. Use it when the next action depends on reading the last result and the agent has to adapt as results arrive.
  • The think tool, a logged checkpoint. A no-op call the model makes to write its reasoning into the transcript at a point you choose. Use it in long sequential or policy-heavy chains where you want the reasoning on the record and the model to check a rule before the action it gates. It works whether or not the model supports interleaved thinking.

The think tool and interleaved thinking both reason between actions, so they overlap. The think tool leaves an inspectable record and takes a prompt you control; interleaved thinking is lighter and needs no tool call. Reach for the think tool when you want to audit or shape the reasoning, and for interleaved thinking when you want the model to adapt on its own.

Read the full file on GitHub · 71 lines

Changes

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.

  1. 3d ago First seen · 71 lines · 216 tokens per session scan A 22748c172016

Subscribe to this mod's changes

using-the-think-step is a skill published in the GitHub repository Hoja-Solutions/agent-stdlib (1 stars, last pushed 1mo ago), licensed MIT. It adds 216 tokens to every session and 1,260 once invoked, about $0.0011 per session on Opus 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-08-31.

Related

Other skills, from other repositories

unified_meta_agent_skill

A foundational meta-agent skill for generating Multi-Agent Systems (MAS). It systematically drives the process from conceptual task decomposition to agent engineering, and finally to workflow orchestration.

linhh29/Skill_MAS · 39 tokens

controlflow-verify

Use after /controlflow-claude-code:controlflow-plan produces a plan, before implementation. Runs adversarial pre-execution verification inline in the main context (zero subagents): structural audit, assumption/mirage detection, and executability cold-start simulation. Emits APPROVED / NEEDSREVISION / REJECTED with…

Smithbox-ai/ControlFlow · 73 tokens

controlflow-planning

Use when a repository task needs a strict ControlFlow-style implementation plan before coding, especially for small, medium, or large scope, cross-file edits, risky migrations, architectural uncertainty, or any work that should produce a saved Markdown plan artifact in plans/.

Smithbox-ai/ControlFlow · 55 tokens

controlflow-router

Use when a task broadly matches ControlFlow for Codex and you need to decide whether to start with spec capture, strict workflow, strict planning, pre-execution plan review, orchestration, code review, or memory hygiene, or whether to combine several of those skills in sequence.

Smithbox-ai/ControlFlow · 60 tokens

controlflow-plan

Use when a repository task needs a high-quality ControlFlow plan before coding — small, medium, or large scope, cross-file edits, risky migrations, architectural uncertainty, or any work that should produce a saved Markdown plan artifact in plans/. Single-sources the plan format from schemas/planner.plan.schema.json…

Smithbox-ai/ControlFlow · 69 tokens

controlflow-spec

Use before planning non-trivial Codex work when the requirements, acceptance criteria, boundaries, constraints, or success measures are not yet clear enough for a safe implementation plan.

Smithbox-ai/ControlFlow · 38 tokens