Other v0.1.0

context-scope-tags

Context-scoping protocol using explicit tags to prevent context bleed in chat (especially Telegram). Use when the user...

Context Scope Tags 更新于 2026-11-23 1 浏览
下载 SKILL

技能说明

Context-scoping protocol using explicit tags to prevent context bleed in chat (especially Telegram). Use when the user asks to isolate a topic, scope the assistant to a specific project/topic, request a /ctx or /context_def cheat sheet, or mentions tags like [Isolated Context], [ISO], [SCOPE], [GLOBAL], [NOMEM], [REM].

使用场景

Context-scoping protocol using explicit tags to prevent context bleed in chat (especially Telegram). Use when the user asks to isolate a topic, scope the assistant to a specific project/topic, request a /ctx or /context_def cheat sheet, or mentions tags like [Isolated Context], [ISO], [SCOPE], [GLOBAL], [NOMEM], [REM].

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

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

技能文件内容

3 个文件 · 13 kB
SKILL.md text/markdown
---
name: context-scope-tags
description: "Context-scoping protocol using explicit tags to prevent context bleed in chat (especially Telegram). Use when the user asks to isolate a topic, scope the assistant to a specific project/topic, request a /ctx or /context_def cheat sheet, or mentions tags like [Isolated Context], [ISO], [SCOPE], [GLOBAL], [NOMEM], [REM]."
---

# Context Scope Tags (Chat Protocol)

## Tag parsing rules

- Tags must appear **at the start** of the user's message (one per line or chained).
- Prefer short tags, but accept long-form equivalents.
- Tags **do not override** safety policies, tool policies, or access controls.

## Supported tags

### Isolation / scope

- `\[ISO: <topic>\]` or `\[Isolated Context: <topic>\]`
  - Treat as a **fresh topic**.
  - Do **not** pull in other conversation/project context unless the user explicitly re-provides it.
  - Allowed implicit carry-over: universal safety rules + a few stable user prefs (timezone, “don’t overwrite configs”, etc.).

- `\[SCOPE: <topic>\]` or `\[Scoped Context: <topic>\]`
  - Restrict reasoning to the named scope.
  - If missing details inside the scope, ask clarifying questions.

- `\[GLOBAL\]` or `\[Global Context OK\]`
  - Cross-topic reuse is allowed.
  - When reusing prior context, **call out what you reused**.

### Memory intent

- `\[NOMEM\]` or `\[No Memory\]`
  - Do not store durable/long-term memories from this exchange.

- `\[REM\]` or `\[Remember\]`
  - If the message contains a preference/decision/setting, store it as a short durable memory.

## Default behavior (no tags)

- Be conservative about cross-topic mixing.
- If the user complains about context mixing, suggest using the tags above.

## Command-style cheat sheet responses

When the user sends `/ctx` or `/context_def`, respond with a short, copy/pasteable cheat sheet:

- Tags + one-line meaning
- 2 examples:
  - `\[ISO: token-currency\]\[NOMEM\] write a manifesto`
  - `\[SCOPE: openclaw-mem\] implement feature flag wiring`

## Telegram note (optional)

Telegram slash commands cannot contain dashes.
Use `/context_def` (underscore), not `/context-def`.

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