← 返回 Skills 市场
phenomenoner

Context Scope Tags

作者 phenomenoner · GitHub ↗ · v0.2.0
cross-platform ✓ 安全检测通过
1327
总下载
0
收藏
6
当前安装
3
版本数
在 OpenClaw 中安装
/install context-scope-tags
功能描述
Use when: you chat across topics and want explicit boundaries to prevent topic bleed. Tags: [ISO], [SCOPE], [GLOBAL], [NOMEM], [REM]. (Memory tags are signal...
使用说明 (SKILL.md)

Context Scope Tags (Chat Protocol)

A lightweight, portable convention for explicit context boundaries in chat.

Copy/paste cheat sheet (one screen)

  • [ISO: \x3Ctopic>] fresh slate for this message (no prior project/topic context)
  • [SCOPE: \x3Ctopic>] restrict to one named scope
  • [GLOBAL] cross-topic reuse allowed (call out what was reused)
  • [NOMEM] do not store long-term memory from this exchange
  • [REM] persist preferences/decisions (requires a memory backend; otherwise advisory)

Examples:

  • [ISO: marketing][NOMEM] Draft 5 ad angles for OpenClaw; don't store memory.
  • [SCOPE: openclaw-mem] Explain why lane A is failing; keep it scoped.
  • [GLOBAL][REM] Remember: display times in Asia/Taipei unless I say otherwise.

Quick start

  1. Put one or more tags at the very start of your message.
  2. Prefer this order: scope tag(s) then memory tag(s).
  3. Write normally.

Optional: if your assistant supports command-style shortcuts, /ctx or /context_def can print this cheat sheet.

Tag parsing rules

  • Tags must appear at the start of the user's message.
  • Multiple tags are allowed.
  • Tags do not override safety policies, tool access controls, approvals, or platform rules.

Conflicting tags

Some combinations conflict (for example [ISO] + [GLOBAL], or [REM] + [NOMEM]).

Recommended policy:

  • Last tag wins for the conflicting dimension.
  • If the combination is ambiguous, ask a clarifying question rather than guessing.

Supported tags

Isolation / scope

  • [ISO: \x3Ctopic>] / [Isolated Context: \x3Ctopic>]

    • 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 apply changes without approval", etc.).
  • [SCOPE: \x3Ctopic>] / [Scoped Context: \x3Ctopic>]

    • Restrict reasoning to the named scope.
    • If missing details inside the scope, ask clarifying questions.
  • [GLOBAL] / [Global Context OK]

    • Cross-topic reuse is allowed.
    • When reusing prior context, call out what was reused.

Memory intent

  • [NOMEM] / [No Memory]

    • Do not store durable/long-term memories from this exchange.
  • [REM] / [Remember]

    • Signal that preferences/decisions in the message should be persisted.
    • Dependency note: actual persistence requires the host agent to have a memory subsystem enabled.

Default behavior (no tags)

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

Cross-platform / chat-surface notes

  • Telegram slash commands cannot contain dashes.
    • Use /context_def (underscore), not /context-def.
  • Slash commands may collide with other bots/skills.
    • If /ctx is already taken, use the tag syntax directly (it works everywhere).
  • The tags themselves are just text; they work the same on Telegram/Discord/Slack/WhatsApp.
  • If a surface auto-formats brackets, it's fine - just keep the tags at the very beginning.
安全使用建议
This skill is a harmless, textual convention for marking message scope and memory intent. It cannot itself enforce storage or deletion—'[REM]' only works if your agent has a memory backend and the agent honors the tag, and '[NOMEM]' is advisory. Before relying on these tags for privacy or persistence guarantees, verify how your particular agent implementation interprets them and test on non-sensitive data. Also remember tags do not override platform safety policies or tool access controls.
功能分析
Type: OpenClaw Skill Name: context-scope-tags Version: 0.2.0 The OpenClaw skill 'context-scope-tags' defines a protocol for users to manage conversational context and memory with an AI agent. The `SKILL.md` file, which serves as instructions for the agent, explicitly states that these tags 'do not override safety policies, tool access controls, approvals, or platform rules.' All instructions are focused on managing conversation flow and memory persistence, with no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts designed to subvert the agent's security or intended behavior. The skill's purpose and implementation are clearly aligned with benign utility.
能力评估
Purpose & Capability
The skill's name and description describe a lightweight chat tagging convention; the SKILL.md only contains tag definitions and usage guidance and requests no binaries, credentials, or installs, which is proportionate and expected.
Instruction Scope
Runtime instructions are limited to tag semantics, placement rules, conflict resolution, and surface-specific notes. There are no commands, file accesses, network calls, or instructions to read unspecified environment variables—no scope creep detected.
Install Mechanism
No install spec and no code files are present. This is instruction-only, so nothing is written to disk or fetched during install.
Credentials
The skill declares no environment variables, credentials, or config paths. The memory-related tags are advisory and correctly note that persistence depends on the host agent's memory backend.
Persistence & Privilege
always is false and the skill does not request persistent presence or elevated privileges. The SKILL.md advises that '[REM]' requires a memory backend—this is a hosted-agent concern, not a capability of the skill itself.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install context-scope-tags
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /context-scope-tags 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.2.0
Add conflict-handling + clarify memory-tag dependency; improve quick-start + portability notes.
v0.1.1
Generalize for native OpenClaw: add full front-matter (slug/version/license), clarify multi-tag usage, and add cross-platform chat-surface notes.
v0.1.0
Initial release: ISO/SCOPE/GLOBAL/NOMEM/REM tag protocol + /ctx cheat sheet behavior.
元数据
Slug context-scope-tags
版本 0.2.0
许可证
累计安装 6
当前安装数 6
历史版本数 3
常见问题

Context Scope Tags 是什么?

Use when: you chat across topics and want explicit boundaries to prevent topic bleed. Tags: [ISO], [SCOPE], [GLOBAL], [NOMEM], [REM]. (Memory tags are signal... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1327 次。

如何安装 Context Scope Tags?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install context-scope-tags」即可一键安装,无需额外配置。

Context Scope Tags 是免费的吗?

是的,Context Scope Tags 完全免费(开源免费),可自由下载、安装和使用。

Context Scope Tags 支持哪些平台?

Context Scope Tags 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Context Scope Tags?

由 phenomenoner(@phenomenoner)开发并维护,当前版本 v0.2.0。

💬 留言讨论