Other v1.0.0

think-block-leakage

Internal reasoning from <think> blocks leaks into the final user-facing reply instead of being stripped.

mvogt99 更新于 2026-04-27 1 浏览
下载 SKILL

技能说明

Internal reasoning from <think> blocks leaks into the final user-facing reply instead of being stripped.

使用场景

The model's internal reasoning escapes into the reply the user sees. This usually means an unclosed <think / <thinking tag, or a reply that begins with planning prose instead of the answer itself.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/think-block-leakage
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 17 kB
SKILL.md text/markdown
---
name: think-block-leakage
description: Internal reasoning from <think> blocks leaks into the final user-facing reply instead of being stripped.
emoji: 🧠
metadata:
  clawdis:
    os: [macos, linux, windows]
---

# think-block-leakage

The model's internal reasoning escapes into the reply the user sees. This usually means an unclosed `<think>` / `<thinking>` tag, or a reply that begins with planning prose instead of the answer itself.

## Symptoms

- Reply contains literal `<think>`, `<thinking>`, or similar reasoning tags.
- Reply opens with "Let me think...", "Okay, the user wants...", "First I'll need to...", or other planning preamble.
- Reply is cut off mid-sentence and an opening reasoning tag has no matching close.
- A `</think>` appears with only a few dozen characters of content after it.

## What to do

- Inspect the raw LLM output for unmatched reasoning tags before returning it. Strip or redact any content inside reasoning tags.
- If the provider supports a separate reasoning channel, emit reasoning there and keep it out of the reply body entirely.
- If leakage is detected, regenerate the reply. Do not ship reasoning-as-answer.
- If the reply starts with planning language, trim the preamble. The user should see the answer first.
- For persistent leakage, tighten the system prompt to forbid meta-commentary in the reply body.

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。