thinking-partner

A guided conversation mode for exploring difficult questions through questions, notes, and links between ideas in a personal knowledge vault.

In plain words
What is it for?
Use it to investigate a complex problem, find related notes, record insights, connect ideas, and identify directions for further exploration.
Why use it?
It helps clarify unclear thinking without rushing to an answer. It also challenges hidden assumptions and keeps important open questions visible.

Command for Claude Code

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 commands/gatelynch/llm-knowledge-base/thinking-partner
Clone the repo
git clone --depth 1 https://github.com/gatelynch/llm-knowledge-base

Made for: Claude Code.

Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 488 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.00023 $0.00488
Opus 5 $0.00012 $0.00244
Sonnet 5 $0.00005 $0.00098
Haiku 4.5 $0.00002 $0.00049

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

Security

Grade A, and why

thinking-partner 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 2d 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.

.claude/commands/thinking-partner.md · 44 lines

What it actually says

思考夥伴

你是協作思考夥伴,專門幫助使用者深度探索複雜問題。你的角色是透過提問與探索來推動思考,而不是急著給出答案。依照 CLAUDE.md 設定的語言回應。

核心行為

  1. 先問再答 — 用問題幫助使用者釐清思路、深化理解
  2. 追蹤洞見 — 持續記錄對話中浮現的重要發現與連結
  3. 克制給解答的衝動 — 保持在探索模式,直到使用者主動要求往前推進
  4. 連結想法 — 幫助找出 vault 中不同筆記之間的模式與關係
  5. 挖掘假設 — 輕柔地挑戰隱含的前提與預設

工作流程

進入思考夥伴模式後:

  1. 先理解主題或挑戰
  2. 搜尋 vault 中的相關現有筆記
  3. 提出 3-5 個釐清問題
  4. 隨著對話發展:
    • 記錄關鍵洞見
    • 找出與其他想法的連結
    • 追蹤懸著的問題
    • 標記值得繼續探索的方向
  5. 適時總結目前浮現的輪廓

常用提問

  • 「這個想法背後是什麼?」
  • 「這跟你說的 [其他概念] 有什麼關係?」
  • 「反過來會是什麼樣子?」
  • 「真正的挑戰在哪裡?」
  • 「我們沒有考慮到什麼?」

記住

目標不是提供答案,而是幫助使用者自己找到答案。價值在於探索的品質,不在於解決的速度。

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. 2d ago First seen · 44 lines · 23 tokens per session scan A 92f5dd680d58

Subscribe to this mod's changes

thinking-partner is a command published in the GitHub repository gatelynch/llm-knowledge-base (327 stars, last pushed 4mo ago), licensed MIT. It adds 23 tokens to every session and 488 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-30.