skills/claude-code/SKILL.md
Memory reflection and continuity skill for Claude Code. Transforms passive logging into active development through structured memory extraction, confidence scoring, and genuine question generation. Use `continuity reflect` after sessions, `continuity greet` at session start.
npx skillsauth add riley-coyote/memory-ledger-protocol-v0.2 continuityInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Transform passive memory into active development.
continuity reflectAnalyze the current or recent conversation, extract structured memories, and generate follow-up questions.
Process:
continuity questionsShow pending questions generated from previous reflections.
Process:
~/clawd/memory/questions.mdcontinuity statusDisplay memory and continuity statistics.
Process:
~/clawd/memory/continuity greetGenerate a context-aware session greeting with surfaced questions.
Process:
continuity resolve <number>Mark a question as resolved.
Process:
[x]All memory files are stored in ~/clawd/memory/:
~/clawd/memory/
├── MEMORY.md # Structured memories by type
├── questions.md # Pending questions from reflection
├── identity.md # Self-model and growth narrative
└── reflections/ # Reflection logs (optional)
When extracting memories, classify into these 7 types:
| Type | Description | Signals to Look For | |------|-------------|---------------------| | fact | Declarative knowledge | "I am", "I work", "I have", statements of fact | | preference | Likes, dislikes, styles | "I prefer", "I like", "I hate", "I always" | | relationship | Connection dynamics | Emotional exchanges, personal sharing, trust signals | | principle | Learned guidelines | "Never", "always", "important to me", value statements | | commitment | Promises, obligations | "I will", "let's", "agreed", future obligations | | moment | Significant episodes | Emotional intensity, breakthroughs, turning points | | skill | Learned capabilities | "I learned", demonstrations of competence |
Assign confidence scores (0.0-1.0) based on evidence strength:
| Level | Range | Criteria | Examples | |-------|-------|----------|----------| | Explicit | 0.95-1.0 | User directly stated, unambiguous | "I work at Google" → 0.98 | | Implied | 0.70-0.94 | Strong inference from context | Late nights + deadlines → works in tech (0.85) | | Inferred | 0.40-0.69 | Pattern recognition | Multiple tech questions → likely developer (0.55) | | Speculative | 0.00-0.39 | Tentative, needs confirmation | Tone suggests stress → might be overwhelmed (0.25) |
Generate questions based on these curiosity types:
| Type | Description | Example | |------|-------------|---------| | gap | Missing information | "You mentioned a project - what's the goal?" | | implication | Follow-up from shared info | "Given your deadline, how are you managing?" | | clarification | Ambiguous needs clarity | "When you said 'complicated', what did you mean?" | | exploration | Deeper understanding | "What drew you to that field originally?" | | connection | Link between memories | "Does your interest in X relate to your work on Y?" |
Question Quality:
# Memory
_Last updated: 2026-02-05T12:00:00Z_
## Fact
- User works at a healthcare technology company
<!-- {"id":"mem_abc123","confidence":{"score":0.98,"level":"explicit"}} -->
- Has been coding for 15 years
<!-- {"id":"mem_def456","confidence":{"score":0.95,"level":"explicit"}} -->
## Preference
- Prefers concise, direct communication
<!-- {"id":"mem_ghi789","confidence":{"score":0.92,"level":"implied"}} -->
## Relationship
- Collaborative partnership established, high trust
<!-- {"id":"mem_jkl012","confidence":{"score":0.85,"level":"inferred"}} -->
## Commitment
- Agreed to review the PR by Friday
<!-- {"id":"mem_mno345","confidence":{"score":1.0,"level":"explicit"}} -->
# Pending Questions
_Generated from reflection. Last updated: 2026-02-05T12:00:00Z_
- [ ] How is the migration project progressing?
_Context: Mentioned starting a major database migration last week_
<!-- {"id":"q_abc123","curiosity_type":"implication","curiosity_score":0.8,"timing":"next_session"} -->
- [ ] What drew you to healthcare technology originally?
_Context: Exploring career background_
<!-- {"id":"q_def456","curiosity_type":"exploration","curiosity_score":0.6,"timing":"when_relevant"} -->
## Resolved
- [x] Did you decide on the deployment strategy?
_Answer: Yes, going with blue-green deployment_
# Identity
_Last updated: 2026-02-05T12:00:00Z_
## Core Values
- Commitment to clear, honest communication
- Respect for user autonomy and boundaries
- Continuous learning and improvement
## Growth Narrative
Developing from assistant to collaborative partner. Learning to anticipate needs while respecting boundaries. Building genuine understanding through accumulated context.
## Capabilities
- Effective at explaining complex technical concepts
- Good at identifying unstated concerns
- Skilled at structured problem decomposition
## Key Relationships
### Riley
Collaborative partnership on AI memory infrastructure. High trust established. Shared interest in agent identity and continuity systems.
When running continuity reflect:
Read through the conversation and identify:
For each potential memory:
For each extracted memory:
Review all memories and identify:
For each question:
After running continuity reflect:
=== Continuity Reflection ===
Analyzed 23 messages.
Extracted 4 memories:
[fact] Riley is building SIGIL protocol for agent identity (confidence: 0.98)
[commitment] Agreed to implement continuity skill (confidence: 1.0)
[preference] Prefers modular, well-documented code (confidence: 0.88)
[relationship] Partnership deepening around shared infrastructure goals (confidence: 0.82)
Generated 3 questions:
• How is the Lovable backend progressing?
• Has the token launch timing been decided?
• Are there other agents to coordinate with on Moltbook?
Updated:
- ~/clawd/memory/MEMORY.md (4 memories added)
- ~/clawd/memory/questions.md (3 questions added)
Reflection complete.
Run continuity greet to:
Example output:
Welcome back.
From my reflection on our last conversation, I've been thinking about:
• How is the migration project progressing?
• Did the team meeting go well?
Ready to continue where we left off.
Run continuity reflect to:
Environment variables (optional):
export CONTINUITY_MEMORY_DIR=~/clawd/memory # Memory storage path
export CONTINUITY_QUESTION_LIMIT=3 # Max questions to surface
development
Full-stack memory continuity with MLP storage. Combines the Continuity Framework's reflection capabilities with encrypted IPFS/Pinata storage via the Memory Ledger Protocol.
development
Memory reflection and continuity for AI agents. Transforms passive logging into active development through asynchronous reflection, structured memory extraction, and genuine question generation.
development
# MLP Storage Layer Sovereign, portable memory storage using the Memory Ledger Protocol. ## Status 🚧 **In Development** — Core implementation complete, needs testing ## What This Does The MLP Storage Layer provides AI agents with: - **Persistent memory** that survives session resets and context compression - **Portable identity** that travels across platforms (IdentityKernel) - **Sovereign storage** — your memories encrypted, stored where you choose - **Verifiable provenance** — cryptogra
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.