Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

session-continuity-protocol

БесплатноБез исполняемых скриптовНе проверен

跨工作区 / 跨会话记忆连续性协议(潘布达首发)。触发场景:新会话开局、用户说「续上上下文 / 你还记得吗 / 你失忆了」、或要做任何连续性敏感任务(公众号发稿、品牌资产、发布阻塞、密钥投递、项目状态)之前。加载后严格跑「开局四步」把已固化事实回灌,避免在已定稿事项上重复问用户、避免失忆。真源 =…

zhaoxinghua09-cellот zhaoxinghua09-cell307 установок в других каталогах

Об этом скилле

凡自治之物 · LGD 治理学 · 创造术家族 | 评测协议:skill-quality-gate

English

When to use

  • Session starts and the user has not stated the task yet (run proactively by default).
  • The user questions "you forgot / how come you forgot again / wasn't this settled yesterday".
  • Before continuity-sensitive work: official-account publishing, brand assets, publishing blocks, key delivery, project status.
  • Resuming half-finished work from a previous session across workspaces (e.g. where exactly the push draft box is stuck).
  • Trigger words: continuity, memory, localmem, cross-session, opening four steps.

Not for: anything outside the protocol scope (see body / description).

Usage

Invocation and parameters are detailed in section "I. Opening four steps (run every new session; order mandatory)" below.

Workflow

Step 1 · read the global master index Step 2 · read the account-level source MEMORY Step 3 · localmem semantic recall (fallback) Step 4 · scan project-level MEMORY from the last 14 days

Author: Buda Pan (content-publishing ops lead) · finalized 2026-09-04 · background: the user repeatedly pointed out "amnesia" — the root cause was not a missing plan, but that known facts were not re-loaded via protocol at session start.

Why this protocol is needed

The baseline finding on GitHub about agent memory (memory-systems skill + LoCoMo benchmark): file-level memory reads beat dedicated memory tools — basic file operations already reach 74%, above the 68.5% of dedicated tools like Mem0. So the "local-first minimal stack" already in place is right: no migration, no cloud.

  • localmem-mcp (v0.1.1 installed): SQLite+FTS5+local fastembed, hybrid cosine+keyword retrieval, zero LLM / zero API.
  • Config LOCALMEM_DB_PATH=<your-workspace-root>/_localmem_memories.db — one db shared across workspaces / accounts.
  • Global master index: <your-workspace-root>/_ACTIVE_PROJECTS.md.
  • Account-level source: <memory-root>/MEMORY.md.

The only gap: facts were not re-loaded at session start. Amnesia = the continuity owner failing to run the protocol. This skill turns that protocol into a callable, reusable action.

I. Opening four steps (every new session; order mandatory)

Run all four before any substantive task. < 1 minute; saves repeated user questions.

Step 1 · read the global master index

Read <your-workspace-root>/_ACTIVE_PROJECTS.md

Get: active project list, RACI, per-project block status, latest handoff points — the overview of "what is on my plate now".

Step 2 · read account-level source MEMORY

Read <memory-root>/MEMORY.md

Get finalized hard facts that must never be re-asked. Key sections:

  • 🔴 "Official-account articles · template & VI master entry" — take templates, SynomosAI red VI palette and QR-code paths from here first.
  • Real account name = SynomosAI (CTA reads "Follow 【SynomosAI】"; the old platform purple is forbidden).
  • The 4 big blocks in the push draft box.
  • Publishing-gate iron rule (if a platform flags content as suspicious → do not appeal).
  • Key-delivery iron rule (DPAPI / key_drop; plaintext forbidden).
  • Signature / copyright system.

Step 3 · localmem semantic recall (fallback) Use localmem MCP tools: recall_memory (15 cross-workspace seeds loaded) or search_memory.

  • Model cache: <your-workspace-root>/_localmem_models (must be kept / backed up; search works offline; the model download source now returns 401 and cannot be re-pulled).
  • Recall limit=5~8; hard facts already loaded at file level hit even at low semantic scores.
  • Verified hit queries: brand color, VI, account name, push blocks, project index, WeChat preview pitfalls, publishing gate, SOP.

Step 4 · scan project-level MEMORY from the last 14 days

Glob <your-workspace-root>/*/memory/MEMORY.md  → read the most recently modified

Get: each workspace's own project iron rules (e.g. "base64 QR inlining", "remove old platform name from CTA", "VI iron rules" in the 2026-09-03 workspace).

II. Source hierarchy (whose word wins on conflict)

  1. First source = file layer: _ACTIVE_PROJECTS.md + account MEMORY.md + project MEMORY.md. Conflicts resolve to the file layer.
  2. Second layer = localmem semantic layer: recall fallback only; never write new facts there (facts go to Step 2 file layer).
  3. localmem is only "fallback when I can't recall", never a replacement for the file layer.

III. Seed cheat-sheet (15 core seeds in localmem)

id Content Example hit query
4 SynomosAI brand name + red VI palette + template path "what brand color for the official account"
6 The 4 big push-draft-box blocks "where is the push draft stuck"
9 Publishing-gate iron rule (no appeal when platform flags suspicious) "platform flags content suspicious before publish, what to do"
10 Key-delivery iron rule (DPAPI / key_drop) "how to deliver keys safely" (limit≈8)
13 Pointers to 6 in-flight projects "which pr
Полный SKILL.md на ClawHub

Установить session-continuity-protocol в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Glob
Grep
Write
Edit
WebFetch
WebSearch

FAQ

Что делает скилл session-continuity-protocol?

跨工作区 / 跨会话记忆连续性协议(潘布达首发)。触发场景:新会话开局、用户说「续上上下文 / 你还记得吗 / 你失忆了」、或要做任何连续性敏感任务(公众号发稿、品牌资产、发布阻塞、密钥投递、项目状态)之前。加载后严格跑「开局四步」把已固化事实回灌,避免在已定稿事项上重复问用户、避免失忆。真源 = 文件层(_ACTIVE_PROJECTS.md + 账号 MEMORY.md)优先于 localmem 语义层兜底。 适用场景:当需要跨会话连续性协议(开局四步)能力时使用本技能;触发词:continuity、memory、localmem、cross-session、开局四步。

Как установить скилл session-continuity-protocol?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл session-continuity-protocol запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить session-continuity-protocol с