Context Scope Tags for Openclaw

A portable tagging protocol that defines explicit context boundaries and memory persistence rules for AI chat sessions.

phenomenoner
v0.2.0
Mar 1, 2026
0
2.2k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install context-scope-tags

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install context-scope-tags using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Context Scope Tags?

Context Scope Tags provides a lightweight, portable convention for managing explicit context boundaries within AI chat environments. By using a specific set of tags at the start of a message, developers can prevent topic bleed and dictate exactly how an agent handles memory and reasoning across different tasks.

This skill is an essential addition to any library of Openclaw Skills for users who frequently switch between multiple projects or require high-precision control over an agent's memory retention. It transforms free-form conversations into structured, predictable workflows by standardizing how context is isolated, scoped, or shared globally.

Context Scope Tags Use Cases

  • Switching between distinct projects in a single chat session without context leakage.
  • Performing sensitive or temporary tasks that should not be stored in long-term memory.
  • Explicitly defining project-specific reasoning boundaries for complex debugging.
  • Permanently saving user preferences and system decisions via memory signaling tags.

How Context Scope Tags Works

  1. The user places one or more standardized tags, such as [ISO] or [SCOPE], at the very beginning of their chat message.
  2. The AI agent parses these tags as Openclaw Skills routing rules before processing the rest of the message content.
  3. If an isolation tag is detected, the agent clears or ignores previous session context to ensure a fresh reasoning slate.
  4. If a memory tag like [NOMEM] is used, the agent bypasses its long-term storage logic for that specific interaction.
  5. The agent generates a response that adheres to the defined boundaries, acknowledging which context was used or reused.

Context Scope Tags Setup

Integrating these Openclaw Skills into your workflow requires no complex installation, as it is a text-based protocol. You can immediately begin prefixing messages with the supported tags. For assistant-style interfaces, you can implement a help command:

# Use the shortcut to print the tag cheat sheet if your agent supports it
/context_def

Context Scope Tags Data Schema & Taxonomy

The protocol uses a prefix-based metadata taxonomy to organize how information is handled.

Tag Category Identifier Behavioral Impact
Isolation [ISO: topic] Fresh slate; ignores all prior conversation context.
Scoped [SCOPE: topic] Restricts reasoning strictly to the named scope.
Global [GLOBAL] Permits and identifies cross-topic context reuse.
Ephemeral [NOMEM] Prevents the storage of the exchange in long-term memory.
Persistent [REM] Signals that decisions should be saved to the memory backend.

Context Scope Tags Advanced Features

  • Last-tag-wins logic to resolve conflicts between overlapping tags like [REM] and [NOMEM].
  • Multi-tag stacking for complex routing, such as combining isolation with memory suppression.
  • Cross-platform compatibility ensuring the protocol works on Telegram, Discord, Slack, and web-based IDEs.
  • Customizable slash command integration for quick access to the protocol cheat sheet.

SKILL.md


Loading

Related Openclaw Skills

Featured*