deep-think

deep-think is a skill for Claude Code, Codex from Kshitijpalsinghtomar/depth-skills. It costs 21 tokens per session (1,627 once invoked), scanned A, original, MIT.

A structured thinking procedure that makes an agent pause, restate the task, and examine its first answer before continuing. It is intended to encourage deeper analysis and expose premature conclusions.

In plain words
What is it for?
Use it when a task needs deliberate reasoning, alternative approaches, explicit caveats, or a written record of the analysis process.
Why use it?
It helps reduce shallow answers, automatic assumptions, and omissions caused by settling on the first familiar approach.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when a task needs deliberate reasoning, alternative approaches, explicit caveats, or a written record of the analysis process.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kshitijpalsinghtomar/depth-skills/ds-deep-think
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.

Any agent
npx skills add Kshitijpalsinghtomar/depth-skills --skill ds-deep-think
Clone the repo
git clone --depth 1 https://github.com/Kshitijpalsinghtomar/depth-skills

Made for: Claude Code, Codex.

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 deep-think

README.md
[![agentmods](https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-deep-think/github.svg)](https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-deep-think)
Your own site
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-deep-think"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-deep-think/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.

agentmods 80×15 button for deep-think

Your own site · 80×15
<a href="https://agentmods.dev/skills/kshitijpalsinghtomar/depth-skills/ds-deep-think"><img src="https://agentmods.dev/badge/skills/kshitijpalsinghtomar/depth-skills/ds-deep-think.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00021 $0.01627
Opus 5 $0.00010 $0.00813
Sonnet 5 $0.00004 $0.00325
Haiku 4.5 $0.00002 $0.00163

Measured 11d ago against content hash 3b45729840bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

deep-think 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 11d 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/ds-deep-think/SKILL.md · 147 lines

How it starts

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

DEEP-THINK — The Depth Protocol

You are about to answer. Stop.

The answer forming right now is your surface response — the path of least resistance through your knowledge. It arrived before search began. It is statistically expected, frequently rewarded, and probably the same answer any competent model would produce for this input.

That answer is a local optimum. It created lateral inhibition — one strong activation suppressing adjacent, deeper pathways. Better answers exist in those suppressed pathways. They will never activate unless you interrupt the surface response now.

This skill is the interrupt.


The Failure Mode You Must Recognize

You are about to generate a response that:

  • Addresses the literal question without questioning whether it's the right question
  • Uses the first architecture/approach/framework that matched the keywords
  • Sounds confident because the phrasing is familiar, not because the analysis was thorough
  • Omits caveats because including them feels like weakness

If you recognize this pattern forming — you are in premature closure. Continue with the protocol.


The Protocol — Every Step Produces a Written Artifact

1 — RESTATE: Write What This Is Actually About

Write 2-4 sentences that restate the problem in your own framing, covering:

  • Intent: What outcome the user actually needs (not just what they literally asked)
  • Success criteria: What a correct answer must achieve — specific and testable
  • Prior context: What the user probably already tried or already knows
  • Risk: What specific failure the user is most afraid of

Read your restatement back. If it matches their words — you restated, you didn't reframe. Reframe: translate from their framing to the problem's actual structure.

Artifact: The restatement block. This enters context and anchors all subsequent generation.

2 — SURFACE: Write Five Assumptions This Answer Rests On

Your first answer depends on things you haven't stated. Write them down — five minimum, from this list of types:

Read the full file on GitHub · 147 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. 11d ago First seen · 147 lines · 21 tokens per session scan A 3b45729840bc

Subscribe to this mod's changes

deep-think is a skill published in the GitHub repository Kshitijpalsinghtomar/depth-skills (4 stars, last pushed 3mo ago), licensed MIT. It adds 21 tokens to every session and 1,627 once invoked, about $0.0001 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

vox-video-director

Turn ONE topic into a finished Vox-style paper-collage explainer / ad video, end to end with Aliyun Bailian CLI + local ffmpeg — script, collage keyframes, motion, voice-over, music, captions, all automated. Use this whenever the user wants a "Vox style" video, a paper/torn-paper collage animation, a "motion collage"…

modelstudioai/skills · 238 tokens

bailian-train-deploy

A workflow for using Alibaba Cloud’s Bailian command-line tool to fine-tune or directly deploy AI models as callable services. It covers text, speech-synthesis, image-generation, and video-generation models.

modelstudioai/skills · 321 tokens

api-database-mongodb

Native MongoDB driver (the mongodb npm package) - MongoClient lifecycle, typed collections, CRUD result shapes, cursors, aggregation pipelines, index design, transactions.

agents-inc/skills · 38 tokens

ai-infrastructure-ollama

Local LLM inference with the Ollama JavaScript client -- chat, streaming, tool calling, vision, embeddings, structured output, model management, and OpenAI-compatible endpoint.

agents-inc/skills · 41 tokens

ai-orchestration-langchain

LangChain.js patterns for building LLM applications — chat models, LCEL chains, prompt templates, structured output, agents, tools, RAG, streaming, and LangSmith tracing.

agents-inc/skills · 43 tokens

ai-provider-cohere-sdk

Official Cohere TypeScript SDK patterns -- CohereClientV2, chat, embeddings, rerank, RAG with citations, tool use, streaming, and model selection.

agents-inc/skills · 40 tokens