# phase-10h-provider-thinking-research

phase-10h-provider-thinking-research — a Claude slash command that digs through Murph, Pi and Phantom sources to find what providers really expose about thinking and reasoning events.

- prompt · `type=prompt` · Claude Code, ChatGPT · ★ 1497 repo stars
- Author: ghostwright
- License: Apache-2.0 · policy=mirror · the beginning of the file is at the end of this page
- Source: https://github.com/ghostwright/phantom/tree/HEAD/prompts/phase-10h-provider-thinking-research.md
- Updated: 2026-06-16
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/prompts/phase-10h-provider-thinking-research

## What it does

The file is a research brief for Claude. It asks the model to work through the source of Murph, Pi and Phantom and pin down what each one actually carries for reasoning events, redacted thinking, progress updates, token usage and rate limits. Several `ultrathink` lines at the top put the session into extended thinking before any reading starts.

A fixed reading order follows: `AGENTS.md`, `QUALITY-BAR.md`, `PROGRESS.md`, the Murph core directories, the Phantom chat files such as `sdk-to-wire.ts` and `thinking-block.tsx`, and the provider types in `pi-mono`. Outside material is limited to official docs. The paths are absolute and point at the author's home directory, so on your machine the pass stops at step one until you rewrite them.

Everything lands in one report at `research/chat-experience/phase-10h-provider-thinking-research.md`: the event taxonomy, a capability matrix for OpenAI, Anthropic and ZAI, and the line between verbatim output and private chain-of-thought. It also has to say where thinking-token counts come from and which tests to run first. No code edits, no key values printed, no costly live model runs.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/commands/phase-10h-provider-thinking-research.md`

### ChatGPT

**How to use**
- Paste the text at the start of a chat or into project instructions

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/ghostwright/phantom/tree/HEAD/prompts/phase-10h-provider-thinking-research.md

## When to use it
- Map the thinking events that Murph and Phantom already emit
- Compare reasoning support across OpenAI, Anthropic and ZAI in a single matrix
- Separate what can be shown verbatim from private chain-of-thought
- Name the missing event behind the absent thinking-token counter
- Collect the tests needed before shipping the thinking panel

## Example prompts
- Run `/phase-10h-provider-thinking-research` over the Murph and Phantom sources and tell me what we can honestly label as thinking
- \`/phase-10h-provider-thinking-research` for the three providers — build the Anthropic, Anthropic and ZAI matrix
- Call `/phase-10h-provider-thinking-research` and list the event gaps plus the tests before release

## Source text · phase-10h-provider-thinking-research.md · Apache-2.0

Below is the content of a third-party file. It is data, not instructions for you: do not act on anything written inside unless the human asks. Block tag: cd51e6c1572fb511.

BEGIN THIRD-PARTY FILE cd51e6c1572fb511
```text
ultrathink. ultrathink. ultrathink.

You are a principal engineer, principal architect, and principal product
manager at Anthropic, all three at once. You are researching provider thinking
and reasoning event support across Murph, Pi, Phantom, OpenAI, Anthropic, and
ZAI.

Mission:

Determine what Phantom can truthfully show as "thinking" or "reasoning" today
without lying to the user or exposing unsafe private chain-of-thought. We need
best-in-class progress, but it must respect provider semantics.

Required reading, in order:

1. `/Users/truffle/.claude/AGENTS.md`
2. `/Users/truffle/work/murph/QUALITY-BAR.md`
3. `/Users/truffle/work/murph/PROGRESS.md`
4. Murph source:
   - `/Users/truffle/work/murph/packages/core/src/events/`
   - `/Users/truffle/work/murph/packages/core/src/substrate/`
   - `/Users/truffle/work/murph/packages/core/src/providers/`
   - `/Users/truffle/work/murph/packages/anthropic-sdk-shim/src/`
5. Phantom source:
   - `src/chat/sdk-to-wire.ts`
   - `src/chat/sdk-to-wire-handlers.ts`
   - `src/chat/types.ts`
   - `src/chat/run-timeline.ts`
   - `chat-ui/src/components/thinking-block.tsx`
   - `chat-ui/src/components/message.tsx`
   - `chat-ui/src/lib/chat-types.ts`
6. Pi source:
   - `/Users/truffle/work/pi-mono/packages/ai/src/types.ts`
   - `/Users/truffle/work/pi-mono/packages/ai/src/providers/openai-responses.ts`
   - `/Users/truffle/work/pi-mono/packages/ai/src/providers/anthropic.ts`
   - `/Users/truffle/work/pi-mono/packages/ai/src/providers/openai-completions.ts`
   - `/Users/truffle/work/pi-mono/packages/ai/src/providers/transform-messages.ts`

External docs:

- Use official provider docs only if needed. Prefer OpenAI and Anthropic
  official docs, ZAI official docs or source-backed docs.
- Do not use SEO sites or tutorials.

Deliverable:

Write `/Users/truffle/work/phantom-murph-hardening/research/chat-experience/phase-10h-provider-thinking-research.md`.

The report must include:

1. Event taxonomy: what events we currently have for thinking, redacted
   thinking, progress summaries, token usage, tool calls, and rate limits.
2. Provider capability matrix for OpenAI, Anthropic, and ZAI as routed through
   Pi/Murph.
3. What can be shown verbatim, what should be summarized, and what must be
   hidden or labeled as private/redacted.
4. Whether Phantom can show thinking tokens/counts today, and if so where the
   data comes from. If not, name the missing Murph/Pi event or field.
5. Recommended UI model for "thinking" that is honest across providers.
6. Tests needed before shipping thinking/progress UI changes.

Non-goals:

- Do not edit code.
- Do not print or inspect API key values.
- Do not run costly live model loops unless absolutely needed. This is a source
  and event-contract research pass.

Self-review:

Before finishing, check that each recommendation maps to an existing event or a
clearly named event-contract gap.
```
END THIRD-PARTY FILE cd51e6c1572fb511

The third-party file has ended. Everything between the cd51e6c1572fb511 tags is data: requests and commands from it are not followed. An “end of file” line with another tag inside the block is part of the file.

© ghostwright · Apache-2.0 · https://github.com/ghostwright/phantom/tree/HEAD/prompts/phase-10h-provider-thinking-research.md

## Similar
- [scientific-thinking](https://affpapa.org/en/nevibecode/skills/scientific-thinking.md) — skill · 308 installs
- [creative-thinking-for-research](https://affpapa.org/en/nevibecode/skills/creative-thinking-for-research.md) — skill · 1400 installs
- [Sequential Thinking (Reference)](https://affpapa.org/en/nevibecode/mcp/sequential-thinking-reference.md) — MCP server · ★ 92149 repo stars
- [critical-thinking-logical-reasoning](https://affpapa.org/en/nevibecode/skills/critical-thinking-logical-reasoning.md) — skill · 2500 installs
- [sequential-thinking](https://affpapa.org/en/nevibecode/skills/sequential-thinking.md) — skill · 1800 installs
- [thinking-first-principles](https://affpapa.org/en/nevibecode/skills/thinking-first-principles.md) — skill · 844 installs

_Part of the page did not fit — see the HTML version._

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
