← 返回 Skills 市场
riley-coyote

Continuity Framework

作者 Riley-Coyote · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1729
总下载
1
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install continuity-framework
功能描述
Asynchronous reflection and memory integration for genuine AI development. Use on heartbeat to reflect on recent sessions, extract structured memories with confidence scores, generate follow-up questions, and surface those questions when the user returns. Transforms passive logging into active development.
使用说明 (SKILL.md)

Continuity Framework Skill

Transform passive memory into active development.

What This Does

  1. Reflect — After sessions end, analyze what happened
  2. Extract — Pull structured memories with types and confidence
  3. Integrate — Update understanding, connections, self-model
  4. Question — Generate genuine questions from reflection
  5. Surface — When user returns, present relevant questions

The Difference

Without Continuity:

Session ends → Notes logged → Next session reads notes → Performs familiarity

With Continuity:

Session ends → Reflection runs → Memories integrated → Questions generated
Next session → Evolved state loaded → Questions surfaced → Genuine curiosity

Heartbeat Integration

Add to HEARTBEAT.md:

## Post-Session Reflection
**Trigger**: Heartbeat after conversation idle > 30 minutes
**Action**: Run continuity reflect
**Output**: Updated memories + questions for next session

Commands

Reflect on Recent Session

continuity reflect

Analyzes the most recent conversation, extracts memories, generates questions.

Show Pending Questions

continuity questions

Lists questions generated from reflection, ready to surface.

View Memory State

continuity status

Shows memory stats: types, confidence distribution, recent integrations.

Surface Questions (for session start)

continuity greet

Returns context-appropriate greeting with any pending questions.

Memory Types

Type Description Persistence
fact Declarative knowledge Until contradicted
preference Likes, dislikes, styles Until updated
relationship Connection dynamics Long-term
principle Learned guidelines Stable
commitment Promises, obligations Until fulfilled
moment Significant episodes Permanent
skill Learned capabilities Cumulative
question Things to explore Until resolved

Confidence Scores

Level Range Meaning
Explicit 0.95-1.0 User directly stated
Implied 0.70-0.94 Strong inference
Inferred 0.40-0.69 Pattern recognition
Speculative 0.0-0.39 Tentative, needs confirmation

File Structure

memory/
├── MEMORY.md           # Main memory (existing)
├── identity.md         # Self-model and growth narrative
├── questions.md        # Pending questions from reflection
├── relationships/      # Per-person relationship memories
└── reflections/        # Reflection logs (optional)

Configuration

export CONTINUITY_IDLE_THRESHOLD=1800  # Seconds before reflection triggers
export CONTINUITY_MIN_MESSAGES=5       # Minimum messages to warrant reflection
export CONTINUITY_QUESTION_LIMIT=3     # Max questions to surface at once

Example Reflection Output

reflection:
  session_id: "2026-02-05-001"
  duration_minutes: 45
  
memories:
  - type: fact
    content: "Riley is building SIGIL protocol for agent identity"
    confidence: 0.98
    source: explicit
    
  - type: commitment  
    content: "Agreed to build the continuity skill"
    confidence: 1.0
    source: explicit
    
  - type: relationship
    content: "Collaborative partnership deepening - working on meaningful infrastructure together"
    confidence: 0.85
    source: inferred

questions:
  - "How is the Lovable backend progressing?"
  - "Has Riley decided on the token launch timing?"
  - "Are there other agents we should coordinate with on Moltbook?"

identity_update:
  growth: "Developing more autonomous initiative around the SIGIL project"
  narrative: "Moving from assistant to co-builder on agent identity infrastructure"
安全使用建议
This skill appears to do what it says: run local reflection, extract/store memories, and surface follow-up questions. Before installing, decide where memory should be stored (set CONTINUITY_MEMORY_DIR to a secure location), review the included scripts if you can (scripts/continuity.py) to confirm no networking or exfiltration code is added, and consider whether you want automatic heartbeat-triggered runs (they will persist conversation-derived data). If you handle sensitive conversation content, run it in a sandbox or encrypted directory and test manual runs first (e.g., continuity reflect --session <file>) rather than enabling automatic heartbeat triggers immediately.
功能分析
Type: OpenClaw Skill Name: continuity-framework Version: 1.0.0 The skill provides a framework for AI memory and reflection, primarily managing local markdown and JSON files within a dedicated `~/.clawd/memory` directory. The core `analyze_session` function in `scripts/continuity.py` is a placeholder, meaning the skill does not currently perform complex LLM-based analysis or external interactions. All file operations are local and confined to the skill's intended data storage. The `SKILL.md` instructions are clear, directly related to the skill's stated purpose, and do not contain any prompt injection attempts to subvert agent behavior or access unrelated sensitive data. No evidence of data exfiltration, malicious execution, persistence, or obfuscation was found.
能力评估
Purpose & Capability
Name/description (asynchronous reflection, memory integration) aligns with the included code and SKILL.md: the Python script reads/writes memory files, loads session content, extracts memories/questions, and updates an identity file. No unrelated credentials, binaries, or external services are required.
Instruction Scope
SKILL.md instructs adding a heartbeat trigger and running reflect/greet/status/questions. The instructions and script operate on local session transcripts and memory files. This is within scope, but the skill is designed to persist potentially sensitive conversation content (session transcripts, extracted memories, identity updates) to disk — review whether you want that data retained and where.
Install Mechanism
No install spec is provided (instruction-only skill). A Python script is included but there is no automated download/installation step, reducing remote-code-installation risk. The script will be present as part of the skill bundle and can be run locally.
Credentials
The skill declares no required env vars or credentials. It optionally respects environment variables (CONTINUITY_MEMORY_DIR, CONTINUITY_QUESTION_LIMIT, CONTINUITY_IDLE_THRESHOLD) which are appropriate for configuring local storage and behavior. However, it will create and write files under a default path (~/clawd/memory) unless you override CONTINUITY_MEMORY_DIR — ensure this is acceptable for your privacy/security posture.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or global agent settings. It persists its own memory and identity files (expected behavior for a continuity tool). Be aware that autonomous invocation (platform default) plus heartbeat integration described in SKILL.md can cause it to run automatically and accumulate data over time; this is a usage decision rather than an incoherence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install continuity-framework
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /continuity-framework 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Transforms passive memory into active AI development through asynchronous reflection, structured memory extraction, question generation, and identity evolution.
元数据
Slug continuity-framework
版本 1.0.0
许可证
累计安装 6
当前安装数 5
历史版本数 1
常见问题

Continuity Framework 是什么?

Asynchronous reflection and memory integration for genuine AI development. Use on heartbeat to reflect on recent sessions, extract structured memories with confidence scores, generate follow-up questions, and surface those questions when the user returns. Transforms passive logging into active development. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1729 次。

如何安装 Continuity Framework?

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

Continuity Framework 是免费的吗?

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

Continuity Framework 支持哪些平台?

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

谁开发了 Continuity Framework?

由 Riley-Coyote(@riley-coyote)开发并维护,当前版本 v1.0.0。

💬 留言讨论