Model / Commands (reference)

Every model family in TPEE's catalogue has its own command sheet — the slash commands and CLI flags that run outside TPEE, in the model vendor's own tool (Claude Code, Codex, Gemini CLI, Kimi CLI, qwen, DeepCode, Ollama…). Pick a family below to see its sheet exactly as it ships with the app (Build 294, reference as of 2026-08-11). Looking for context windows instead? See the model context & character limits table.

WHY TPEE IS BASED ON SCIENCE

Claude (Anthropic)

Slash commands for Claude Code and the Claude Agent SDK — /help, /plan, /diff, /undo, /review, /compact, /think, /critique, /refactor, /agents and more, including the Opus 5 /patch and /grind additions.

GPT (OpenAI)

Codex CLI commands (codex, codex run, codex apply, codex revert, codex review) plus the in-session slash menu and Responses API hints, with the July 2026 GPT-5.6 price cuts noted.

Gemini (Google)

Gemini CLI commands (gemini, gemini run, gemini --model, gemini auth) and in-session slashes — /think, /tools, /files, /image — plus Vertex AI / AI Studio programmatic hints.

Kimi (Moonshot AI)

Kimi CLI flags and sessions (kimi --yolo, --model, --think, --skills-dir), the full interactive slash command list (/model, /sessions, /skill:…, /flow:…, /yolo, /compact) and the OpenAI-compatible API hints.

DeepSeek

DeepSeek chat and the official DeepCode CLI (deep-thinking + Agent Skills), the model list (V4-Pro, V4-Flash-0731 GA) and the in-chat slashes — /help, /think, /file, /code.

Qwen (Alibaba)

Qwen Code CLI (binary qwen) with qwen3.8-max and the Qwen3-Coder family, in-session slashes (/file, /dir, /diff, /apply) and DashScope API parameters.

Mistral

Mistral Vibe CLI (renamed from the mistral CLI in 2026), Codestral fill-in-the-middle, the model list (Medium 3.5, Large 3, Small 4, Codestral, Devstral) and Le Chat notes.

Grok (xAI)

Grok Build CLI commands (plan/review mode, subagents, headless -p) and the Grok 4.5 / 4.3 model notes, plus the in-session /think and /web slashes.

Llama (Meta)

Open-weights family — run it locally with Ollama (ollama run llama4:scout), llama.cpp (llama-cli) or vLLM; the sheet covers the local runtimes and their commands.

Sonar (Perplexity)

Perplexity's Sonar models with built-in web search — /focus, /image, /file, /share in the app, plus the API's return_citations and search_mode parameters.

Command (Cohere)

Cohere Command family via the v2 API — /v2/chat with tools and documents (native RAG), plus rerank and embed endpoints.

MiniMax

MiniMax M-series (M3, M2.5) via the OpenAI-compatible API and the mmx multimodal CLI — text, image, video, music and speech.

Nova (Amazon)

Amazon Nova on Bedrock — aws bedrock list-foundation-models, the Converse API and the Bedrock Agents / Knowledge Bases console flow. Nova runs from a terminal via the Amazon Q CLI (q).

GLM (Z.AI)

Z.AI GLM family (GLM-5.2 flagship) — the GLM Coding Plan consumed through Claude Code / Codex / Cline with a base-URL swap, plus the OpenAI-compatible z.ai API.

Hermes (Nous Research)

Nous Research Hermes family (Hermes 4 / 4.3 / 3) — the hermes agent CLI, OpenRouter API routes and fully local Ollama / llama.cpp / vLLM serving.

The command sheets are updated weekly in the real app — download TPEE to always carry the latest reference with you, fully offline. TPEE itself never launches these CLIs and never connects to any vendor API or MCP service — the sheets are static reference text only.

All 16 model-family command sheets — 187 commands, the full reference in plain text (for search engines, and for readers without JavaScript)

Every built-in command TPEE's References window lists, one section per model family. The app is offline: this is the same offline copy the window shows.

Claude

Slash commands work in Anthropic Claude Code (terminal/desktop) and in the Claude Agent SDK — they are NOT TPEE editor commands. Type / at the start of the input line.

Built-in Claude Code commands (offline copy)

CommandWhat it does
/helpShow the live in-app command list (authoritative).
/clearReset the current conversation context.
/compact [focus...]Summarise context to free tokens; optional focus topic.
/contextShow what is in the current context window.
/costShow running token / dollar cost for the session.
/modelShow or switch the active Claude model.
/effort [low|med|max]Tune reasoning depth. /effort max needs Opus 4.6 or newer.
/planAsk Claude to draft a step-by-step plan first.
/diffShow a unified diff of pending changes.
/undoRoll back the last applied edit.
/reviewSelf-review the current change set.
/testRun the project's test command.
/run <cmd>Run a shell command in the project workspace.
/search <q>Search the workspace for <q>.
/open <path>Open a file in the editor pane.
/memoryShow / edit the project memory (CLAUDE.md / AGENTS.md).
/settingsOpen the settings UI.
/login | /logoutAuth helpers.
/exitExit Claude Code.

Build 184 note: with Claude Opus 5 (Jul 24, 2026) you can also use

CommandWhat it does
/think<task> Force a longer 'extended thinking' pass.
/critiqueAsk Claude to critique its own previous answer.
/refactor <file>Repo-aware refactor of a target file with safety checks.
/agentsList installed sub-agents (custom .claude/agents/*.md).
/patchSend Claude Code a patch file directly (Opus 5 +).
/grindDeep multi-hour autonomous coding session (Opus 5 +).

GPT

OpenAI exposes commands through (a) the Codex CLI for coding workflows, (b) ChatGPT chat shortcuts and (c) the Responses API 'tools' field. None of these are TPEE editor commands.

Codex CLI (the official OpenAI coding CLI) — common commands

CommandWhat it does
codexStart an interactive Codex session.
codex run <task>Run a one-shot task non-interactively.
codex applyApply pending diff to the working tree.
codex revertRevert the last applied diff.
codex reviewHave Codex review its own diff.
codex testRun the project's test command.
codex login | logoutAuth helpers.
codex --model <id>Pick a model (e.g. gpt-5.6, gpt-5.3-codex).
codex --effort {low,med,high}Tune reasoning effort (Codex / o-series only).

Build 184 note: Jul 30, 2026 price cuts — gpt-5.6-luna $0.20/$1.20,

gpt-5.6-terra $2.00/$12.00, gpt-5.6-sol $5/$30 (Fast mode 2x = $10/$60).

GPT-5.4 / 5.4-mini retire from Codex on Aug 31, 2026.

gpt-5.6-cyber (Daybreak Red) is a restricted cybersecurity model —

requires separate approval; not available in the standard Codex flow.

Inside an interactive Codex session

CommandWhat it does
/helpShow in-app help.
/clearReset the current conversation.
/modelSwitch model.
/diffShow pending diff.
/run <cmd>Run a shell command.
/exitQuit the session.

ChatGPT (web/desktop)

CommandWhat it does
@<gpt-name>Mention a custom GPT.
/Open the slash-menu (model, search, image, etc.).

Responses API (programmatic)

'tools':[{type:'web_search'}, {type:'file_search'}, {type:'code_interpreter'}, ...]

CommandWhat it does
'reasoning':{'effort':'high'}For o-series and GPT-5.x reasoning models.

Gemini

Google exposes a Gemini CLI (gemini) for coding/agentic work and the Vertex AI / AI Studio APIs for programmatic use. None of these are TPEE editor commands.

Gemini CLI — common commands

CommandWhat it does
geminiStart an interactive session.
gemini run <task>Run a one-shot task.
gemini --model <id>Pick a model (e.g. gemini-3.6-flash, gemini-3.5-pro).
gemini auth loginAuth.
gemini configOpen / edit the CLI config.

Build 184 note: Jul 21, 2026 — Gemini 3.6 Flash ($1.50/$7.50, 1M ctx)

and Gemini 3.5 Flash-Lite ($0.30/$2.50, 1M ctx) were added to the API.

Inside the interactive session

CommandWhat it does
/helpShow in-app help.
/clearReset the conversation.
/modelSwitch the active model.
/thinkToggle 'thinking' mode (Gemini 3.x).
/toolsList/toggle available tools (search, file, code).
/files <pattern>Attach files / a glob to the next message.
/image <path>Attach an image to the next message.
/exitQuit.

Vertex AI / AI Studio (programmatic)

generation_config={'response_mime_type':'application/json'} for strict JSON.

tools=[{'google_search':{}}, {'code_execution':{}}, ...]

CommandWhat it does
safety_settings=[...]Per-category safety thresholds.

Kimi

Moonshot exposes Kimi via (a) the Kimi chat web/app, (b) a 'kimi' CLI for coding workflows and (c) an OpenAI-compatible API. None of these are TPEE editor commands.

Kimi CLI / VS Code Kimi — CLI flags & sessions

CommandWhat it does
kimiStart interactive session.
kimi run <task>Run a one-shot coding task.
kimi --yoloSkip confirmations on startup (pairs with default_yolo in ~/.kimi/config.toml).
kimi --model <id>Examples: kimi-k3, kimi-k2.7-thinking, kimi-k2.6-instruct, kimi-for-coding.
kimi --thinkForce thinking-heavy replies where supported.
kimi --skills-dir <path>Add skill directories (repeat flag for multiple roots).
kimi auth login | logoutAuthentication helpers.

Build 184 note: Kimi K3 (Jul 16, 2026, 1M ctx, $3/$15) is the 2.8T

open-weight flagship — kimi-k3 works with this CLI. K2.7 Code remains

the dedicated agentic-coding model (kimi-for-coding alias).

Interactive slash commands (type `/` for autocomplete — `/help` is authoritative)

CommandWhat it does
/helpHelp, shortcuts, loaded skills (fullscreen pager; press q).
/versionShow version metadata.
/changelogRecent product changelog.
/feedbackSubmit feedback to Moonshot.
/login | /setupConfigure provider credentials.
/logoutSign out of current provider.
/modelInteractive picker for models + thinking modes.
/editorChoose external editor integration.
/theme dark | /theme lightToggle UI themes.
/reloadReload configuration from disk.
/debugEmit debug diagnostics.
/usage | /statusToken / quota style usage summaries.
/mcpMCP server status **inside Kimi CLI** (Moonshot feature).

NOTE FOR TPEE USERS: Toptronic Prompt Engineering Editor never launches MCP — this row documents Kimi only.

CommandWhat it does
/hooksInspect configured automation hooks.
/newStart a fresh session transcript.
/sessions | /resumeList or resume older sessions.
/title <text> | /renameRename the active session tab.
/undoRoll back to the previous assistant turn.
/forkFork the conversation state.
/exportExport the transcript (Markdown).
/import <file>Pull external context into the session.
/clear | /resetWipe working context.
/compactManual context compaction (similar spirit to Claude /compact).
/yoloToggle YOLO mode during runtime (auto-approve tool usage).
/add-dir <path>Expand workspace roots Kimi may edit/read.
/skill:<name> [args...]Invoke bundled skill packs (example: /skill:git-commits fix login).
/flow:<name>Run scripted multi-step flow skills.

Chat macros often mirrored between CLI + VS Code extension

CommandWhat it does
/thinkToggle extended reasoning traces where UI exposes them.
/file <path>Attach a project file to the next message.
/web <query>Web lookup tool when tenant enables browsing.
/code <lang>Hint upcoming fenced code language.
/diffReview pending workspace diff.
/applyApply assistant-proposed diff hunks.
/exitLeave the interactive session.

OpenAI-compatible HTTP API (programmatic)

CommandWhat it does
POST /v1/chat/completionsModels such as kimi-k2.6 or kimi-k2.6-code.

'extra_body':{'thinking':true} when you need explicit reasoning channels.

Keep temperature ≤0.3 for register-level firmware edits; higher for brainstorming.

Build 143 note: Any model whose name starts with 'Kimi' opens this panel — refresh text whenever Moonshot ships new slashes.

DeepSeek

DeepSeek exposes its models via the deepseek chat app, the OpenAI-compatible API and a 'deepseek-coder' CLI for coding workflows.

DeepSeek chat / DeepCode CLI — common commands

CommandWhat it does
deepcodeOfficial terminal coding assistant (deep-thinking + Agent Skills).
deepseekInteractive chat session.
deepseek --model <id>deepseek-chat (V4-Flash / V3.2) | deepseek-reasoner (R1) |

deepseek-v4-pro | deepseek-v4-flash.

CommandWhat it does
deepseek run <task>One-shot task.

Build 184 note: deepseek-v4-flash-0731 (Jul 31, 2026) is the official

V4-Flash GA — 1M ctx, $0.14/$0.28 (cache-hit $0.0028). deepseek-chat /

deepseek-reasoner map to V4-Flash non-thinking / thinking modes.

DeepSeek announced an upcoming pricing INCREASE (not yet effective).

Inside the chat / CLI

CommandWhat it does
/helpIn-app help.
/clearReset conversation.
/modelSwitch model.
/thinkToggle reasoning mode (R1 family).
/file<path> Attach a file to the next message.
/codeMark the next message as code.
/exitQuit.

API hints

'response_format':{'type':'json_object'} for strict JSON.

For deepseek-r1: prepend 'Let's think step by step.' for explicit reasoning traces.

Qwen

Alibaba ships Qwen via the Tongyi / Qwen Chat app, the qwen-coder CLI, the DashScope API and via Hugging Face for self-hosting.

Qwen Code CLI — common commands

CommandWhat it does
qwenInteractive chat session (binary 'qwen' since 2026).
qwen-codeCoding-focused interactive session (legacy binary name).
qwen --model <id>qwen3.8-max | qwen3-max | qwen3-coder | qwen3-coder-plus |

qwen3-coder-flash | qwen-plus | qwen-turbo.

CommandWhat it does
qwen run <task>One-shot task.

Build 184 note: Qwen3.8-Max (Aug 3, 2026) is the 2.4T MoE flagship —

1M ctx, $2.00/$6.00 (cache read ~$0.25).

Inside the session

CommandWhat it does
/helpIn-app help.
/clearReset conversation.
/modelSwitch model.
/file<path> Attach a file.
/dir<path> Attach a whole directory tree (qwen3-coder).
/diffShow pending diff.
/applyApply pending diff.
/exitQuit.

DashScope API hints

CommandWhat it does
parameters={'result_format':'message'}OpenAI-style response.
parameters={'enable_search':true}Enable web search where allowed.

Mistral

Mistral exposes its models through Le Chat (web/app), the 'mistral' / 'codestral' CLIs and the Mistral API. Magistral models support an explicit reasoning mode.

Mistral / Codestral CLI — common commands

CommandWhat it does
mistralInteractive chat session.
codestralCoding session (uses Codestral).
codestral fim <prefix>Fill-in-the-middle for a code snippet.
mistral --model <id>mistral-large-2512 | mistral-medium-3.1 |

mistral-small-4 | codestral-2508 | devstral-2 |

magistral-medium | ministral-3b/8b/14b.

Inside the session

CommandWhat it does
/helpIn-app help.
/clearReset conversation.
/modelSwitch model.
/thinkToggle reasoning mode (Magistral).
/file<path> Attach a file.
/exitQuit.

API hints

'response_format':{'type':'json_object'} for strict JSON.

'tool_choice':'auto' with 'tools':[...] for function-calling.

Grok

xAI exposes Grok via the Grok app on X, a 'grok' CLI and an OpenAI-compatible API. Grok 4.3 (May 2026) has reasoning + document generation. Grok 4.20 has reasoning mode and Grok Code Fast is tuned for inline completions.

Grok CLI — common commands

CommandWhat it does
grokInteractive chat session.
grok --model <id>grok-4.3 | grok-4 | grok-4.1-fast | grok-4-fast |

grok-3 | grok-3-mini | grok-code-fast.

CommandWhat it does
grok --thinkForce think mode.

Inside the session

CommandWhat it does
/helpIn-app help.
/clearReset conversation.
/modelSwitch model.
/thinkToggle think mode (visible reasoning).
/file<path> Attach a file.
/web<q> Web search (where enabled).
/exitQuit.

API hints

'reasoning':{'effort':'high'} for Grok 4.20 deep reasoning.

Llama

Llama is open-weights and you usually run it locally with Ollama, llama.cpp, vLLM, TGI or MLX. There is no single 'official' CLI — the commands below are the most common ones across those runtimes.

Ollama (local) — common commands

CommandWhat it does
ollama pull llama4:scoutPull Llama 4 Scout for long-context tests.
ollama run llama4:maverickInteractive chat with a model.
ollama list | rm | cpManage local models.
ollama serveStart the local API on :11434.

Inside `ollama run` (interactive)

CommandWhat it does
/?Help.

/set parameter ... Tune sampling parameters.

CommandWhat it does
/show infoShow model info.
/save | /loadSave / load a conversation.
/clearReset conversation.
/byeQuit.

llama.cpp (CLI)

llama-cli -m model.gguf -p "..." -n 512 -t 8 --temp 0.2

llama-server -m model.gguf -c 8192 --host 0.0.0.0

vLLM / TGI (server)

CommandWhat it does
vllm serve meta-llama/Llama-4-ScoutStart an OpenAI-compatible server.

Sonar

Perplexity exposes Sonar through the Perplexity app and an OpenAI-compatible API. Sonar models include built-in web search and citations.

Perplexity / Sonar — common usage

Inside the Perplexity app

CommandWhat it does
/focusPick the search focus (web, academic, social, ...).
/imageUpload an image for visual Q&A.
/fileUpload a file for document Q&A.
/shareShare the current thread.

Sonar API

CommandWhat it does
POST /chat/completions'model': 'sonar' | 'sonar-pro' |

'sonar-pro-search' | 'sonar-deep-research' |

'sonar-reasoning-pro'.

CommandWhat it does
'search_mode'Influences the retrieval pipeline.
'return_citations': trueAlways ask for citations on factual claims.

Command

Cohere exposes Command-family models via the Cohere API, dashboard and SDKs. There is no end-user 'slash command' surface — interactions happen through the API and the dashboard chat playground.

Cohere Command — common API surface

CommandWhat it does
POST /v2/chatmodel: command-a | command-r-plus | command-r
messages=[...]Standard chat protocol.
tools=[...]Function-calling.
documents=[{...}]Native RAG: pass documents inline; the model

will cite them in its answer.

CommandWhat it does
safety_mode'CONTEXTUAL' | 'STRICT' | 'NONE'.
POST /v2/rerankmodel: rerank-v3.5
query='...', documents=[...]Rerank a candidate set after retrieval.
POST /v2/embedmodel: embed-v4 (multilingual + multimodal).

Dashboard chat playground

Use the 'Tools' and 'Documents' panels for tool-use and inline RAG.

MiniMax

MiniMax exposes its M-series models through the MiniMax app and an OpenAI-compatible API. There is no slash-command surface in the API itself.

MiniMax — common usage

CommandWhat it does
POST /v1/chat/completionsmodel: MiniMax-M2.5 | M2.1 | M2 | M1.
stream=trueStreaming responses.
tools=[...]Function-calling.
max_tokensThe M-series supports very long contexts —

don't be shy.

Inside the MiniMax app

File upload / web tool buttons in the input bar.

Nova

Amazon Nova is consumed via Bedrock (AWS API) and the AWS console. There is no end-user slash-command surface.

Amazon Nova on Bedrock — common usage

CommandWhat it does
aws bedrock list-foundation-modelsList available Nova models.
bedrock-runtime invoke-modelmodelId: amazon.nova-premier-v1:0

amazon.nova-pro-v1:0

amazon.nova-lite-v1:0

amazon.nova-micro-v1:0

Bedrock Converse API (recommended)

CommandWhat it does
messages=[...]Standard chat protocol.
toolConfig={tools:[...]}Function-calling.

inferenceConfig={maxTokens, temperature, topP, stopSequences}

Bedrock Agents / Knowledge Bases

Configure Agents in the AWS console for tool-use + RAG without writing

orchestration code.

GLM

Z.AI (Zhipu AI) exposes GLM models through the GLM Coding Plan subscription (consumed via Claude Code / Codex / Cline with a base-URL swap), the Z.AI chat app and the z.ai OpenAI-compatible API. There is no standalone 'zai' CLI binary — the coding plan plugs into the agent CLIs you already use.

GLM Coding Plan — common usage

The GLM Coding Plan (GLM-5.2 / GLM-5 / GLM-5-Turbo, credits-based since

Jul 30, 2026) is consumed THROUGH Claude Code / Codex / Cline by pointing

the agent at the z.ai OpenAI-compatible endpoint (docs.z.ai/devpack).

Peak hours consume 3x quota for GLM-5.2 / GLM-5-Turbo.

z.ai API (OpenAI-compatible)

CommandWhat it does
POST /v1/chat/completionsmodel: glm-5.2 | glm-5.1 | glm-5 | glm-5-turbo |

glm-4.7 | glm-4.6 | glm-4.5.

GLM-5.2: 1M ctx, $1.40 / $4.40 per 1M (GLM-5 same pricing).

GLM-4.7-Flash: free tier; GLM-4.5-Flash: free tier.

GLM-4.6V / GLM-4.5V: vision variants ($0.30/$0.90 and $0.60/$1.80).

Inside the Z.AI chat app

GLM-5.x supports deep thinking, web search and long documents.

Use / in the app for quick actions where exposed.

Hermes

Nous Research exposes the Hermes family as open weights (served via OpenRouter, Nebius, DeepInfra and the Nous Portal) plus a first-party 'hermes' agent CLI. Hermes models are instruction-tuned Llama/ByteDance-base models with strong function-calling and general reasoning.

Hermes Agent CLI (Nous Research) — common commands

CommandWhat it does
hermesStart an interactive Hermes Agent session.
hermes run <task>Run a one-shot task.
hermes --model <id>Pick any of 300+ models across providers

(Hermes 4, Hermes 4.3, Hermes 3, ...).

CommandWhat it does
hermes auth loginAuth (API key / provider token).
hermes skillsManage skills (reusable prompt/action packs).

OpenRouter (primary API route)

CommandWhat it does
POST /api/v1/chat/completionsmodel: nousresearch/hermes-4-405b ($1/$3),

nousresearch/hermes-4-70b ($0.13/$0.40),

nousresearch/hermes-4.3-36b (512K ctx),

nousresearch/hermes-3-405b ($1/$1).

Hermes 4 / 4.3 / 3: 131K ctx (4.3 = 512K).

Local (Ollama / llama.cpp / vLLM)

CommandWhat it does
ollama pull hermes4:70bRun Hermes 4 70B locally.
ollama run hermes4:70bInteractive local chat (fully offline).
vllm serve NousResearch/Hermes-4-70BOpenAI-compatible local server.

Model

This model family is not in TPEE's offline command sheet yet. The notes below are generic prompting guidance that works across most modern LLMs.

Generic prompting checklist

1) Role: 'You are a ...'

2) Context: paste the smallest sufficient slice of code/docs.

3) Goal: one sentence describing the deliverable.

4) Constraints: what NOT to do (libraries, files, side-effects).

5) Format: ask for a specific output format (JSON, diff, markdown).

6) Verify: ask the model to self-check before returning the answer.

Tutorial

1) WHERE: These commands belong to the model vendor's own CLI / chat / API — they are NOT TPEE editor commands.
2) HOW: Type / at the start of the input line in that vendor's tool, or pass the flag/parameter to the CLI/API.
3) DISCOVER: Each tool's own /help is authoritative because the live list can change between versions and plans.
4) PROMPT THEM HERE: TPEE's job is to help you craft the prompt you will paste into that tool. The reference below is offline so you can write better prompts even with no internet.

How to write a custom command

Custom commands
-------------------------------------------------------------
Drop a Markdown file with YAML frontmatter into:
.claude/commands/<my-command>.md
Inside the file, $1, $2, $ARGUMENTS are filled from the user's call.
Example: .claude/commands/explain.md
---
description: Explain a file in plain English.
---
Read the file '$1' and explain what it does, line by line.

Agent SDK
-------------------------------------------------------------
The Claude Agent SDK exposes built-in commands on the init system message; you can send '/your-command args' as the user prompt text.