---
name: dual-brain-memory-guardian
description: Dual-brain memory skill for correction handling, rewrite quality, post-task reflection, and semantic recall of historical pitfalls.
metadata: {"openclaw":{"requires":{"bins":["node","npm"],"env":["PINECONE_API_KEY"]},"os":["linux","darwin","win32"],"skillKey":"dual-brain-memory-guardian-1.0.1"}}
user-invocable: true
This skill combines a strict Markdown rule brain with a Pinecone experience brain.
It is designed for reliable behavior constraints, correction-driven learning, and semantic recall of prior pitfalls.
Use this skill when any of the following applies:
Common trigger hints: correction, rewrite, reflection, pitfall, memory recall, behavior constraints.
To avoid drift and contradictory edits, documentation ownership is strict:
operations.md only.learning.md only.boundaries.md only.setup.md only.If there is any wording mismatch, follow the owner document above instead of this file.
This skill uses a dual-brain contract:
Conflict order remains fixed:
The skill requires these command-level hooks to exist:
memory:session-startmemory:auto-session-startmemory:on-correctionmemory:on-task-completememory:auto-task-completememory:mark-promotedExecution details, retries, and sequencing are defined in operations.md.
Runtime guard for these triggers is enforced by scripts/memory-cli.js.
When this skill is active, trigger commands should be called proactively:
memory:auto-session-start before substantial work.memory:auto-task-complete before ending.memory:on-correction for immediate correction capture events.Fallback policy:
memory:session-start and memory:on-task-complete manually.| Topic | File |
|---|---|
| ------ | ------ |
| Skill contract | SKILL.md |
| Setup | setup.md |
| Runtime operations | operations.md |
| Reflection template | reflections.md |
| Heartbeat behavior | heartbeat-rules.md |
| Safety boundaries | boundaries.md |
| Pinecone config/runtime | src/pinecone/ |
| CLI entrypoint | scripts/memory-cli.js |
@pinecone-database/pineconePINECONE_API_KEYmultilingual-e5-largeOptional for bulk import:
s3://, gs://, Azure Blob URL)learning.mdoperations.mdreflections.mdboundaries.mdscaling.mdThis skill ONLY:
~/dual-brain-memory-guardian/.upsertRecords, searchRecords, startImport, describeImport, describeIndexStats).This skill NEVER:
clawhub star dual-brain-memory-guardianclawhub sync共 2 个版本