Context Bridge - No more re-explaining things on model change.

# Context Bridge

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Context Bridge - No more re-explaining things on model change." with this command: npx skills add loudmouthedmedia/context-bridger

Context Bridge

The unified continuity system for OpenClaw.

Ensures context persists across sessions, models, and time. Prevents "starting from zero" on every /new.

Version: 1.0
Created: 2026-04-03


Quick Start

Installation

# 1. Install the skill
openclaw skills install https://github.com/loudmouthedmedia/context-bridge

# 2. Run setup to create registry files
cd ~/.openclaw/workspace/skills/context-bridge/scripts
./setup.sh

# 3. Update AGENTS.md (see below)

Setup Script

The setup.sh script auto-discovers and populates all existing skills, crons, and agents:

  1. Scans ~/.openclaw/workspace/skills/ for local skills
  2. Scans ~/.openclaw/skills/ for system skills
  3. Checks openclaw cron list for active cron jobs
  4. Checks openclaw agents list and ~/.openclaw/agents/ for agents
  5. Creates and populates all registry files with actual data

What It Does

Before Context Bridge:

You: /new
Model A: "Hello! How can I help?" [blank slate]
You: [re-explain everything]

You: /new  
Model B: "Hello! How can I help?" [blank slate again]
You: [re-explain everything again]

After Context Bridge:

You: /new
Model C: "📧 [email-skill] available, 📈 [analytics-skill] ready. 
          Working on [Your Project]. Previous model 
          (GPT-X) scheduled a meeting 30 min ago. 
          Ready to continue."

Components

1. Registries (The "What Exists")

RegistryFileTracks
Skills~/.openclaw/skills-registry.jsonAll installed skills
Crons~/.openclaw/cron-registry.jsonActive scheduled jobs
Agents~/.openclaw/agents/*/agent.mdAgent configurations
Discovery~/.openclaw/skills-discovery.jsonSkill capabilities

2. Handoff Memory (The "What Happened")

File: ~/.openclaw/model-agnostic-memory/model-handoff.md

  • Session-to-session context
  • What previous models did
  • Active projects
  • Recent actions

3. SOPs (The "Rules")

Documentation: ~/.openclaw/workspace/notes/openclaw-reliability-issues.md (Issue #9)

  • File responsibility assignments
  • Before-adding-content checklist
  • Cross-reference comments

Session Startup Protocol

Required by AGENTS.md:

1. Read SOUL.md
2. Read USER.md  
3. Read memory files
4. READ CONTEXT BRIDGE FILES:
   - ~/.openclaw/skills-discovery.json
   - ~/.openclaw/model-agnostic-memory/model-handoff.md
   - ~/.openclaw/cron-registry.json
   - ~/.openclaw/skills-registry.json
5. ACKNOWLEDGE context in first response

File Responsibilities (SOP)

FileResponsibilityMust NOT
AGENTS.mdSession startup rulesPeriodic checks
HEARTBEAT.mdPeriodic health checksSession setup
SOUL.mdPersonality/vibeTechnical instructions
Context BridgeRegistries & discoveryImplementation

Usage

Automatic

On /new or model switch: Registries auto-load via AGENTS.md

Manual Fallback

If needed, say: load context

Update Workflow

When adding skills/crons/agents:

  1. Update appropriate registry
  2. Update discovery (if new capabilities)
  3. Update handoff (log the change)
  4. Git commit

Why "Context Bridge"?

  • Context = What the model knows
  • Bridge = Connection between isolated sessions/Models

Builds bridges across the memory gap.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

🧠 Tiered Recall - 分层回忆系统

分层回忆系统,解决上下文长度限制,保持项目延续性。默认自动加载最近7天记忆,支持手动全量回忆、自定义天数、项目回忆和主题回忆。当前版本采用 slim index,只保留文件名、行号和标题,不存摘要,避免 token 膨胀。

Registry SourceRecently Updated
1780Profile unavailable
Automation

Claw Recall

Searchable conversation memory that survives context compaction. Indexes session transcripts into SQLite with full-text and semantic search so your agent can...

Registry SourceRecently Updated
3481Profile unavailable
Automation

Openclaw Memory Master

AI Memory System with LLM Wiki

Registry SourceRecently Updated
2231Profile unavailable
Research

Central Intelligence

Persistent memory across sessions. Remember facts, recall them later with semantic search, and share knowledge between agents. Use when you need to store inf...

Registry Source
930Profile unavailable