m2wise_skill

This skill enables long-term memory and evolving wisdom to personalize responses by recalling user preferences and past facts.
  • Python

2.5k

GitHub Stars

4

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill m2wise

  • _meta.json273 B
  • EXAMPLES.md8.1 KB
  • REFERENCE.md2.5 KB
  • SKILL.md4.2 KB

Overview

This skill provides a Memory-to-Wisdom engine that gives an AI agent long-term memory and the ability to evolve higher-level guidance from stored memories. It captures user facts, preferences, and commitments, retrieves relevant context before responses, and consolidates raw memories into reusable wisdom over time. The goal is safer, more personalized, and progressively smarter agent behavior.

How this skill works

The skill exposes an SDK and optional MCP tools to add conversational messages as memories, query a user's contextual memories when composing replies, and run background consolidation routines. Online calls (add_message, get_context) handle real-time storage and retrieval. Periodic background jobs (trigger_sleep, trigger_dream) group memories into wisdom drafts and verify them into principles, schemas, or skills.

When to use it

  • When a user states a preference or interaction rule (e.g., tone, format, content restrictions).
  • When a user shares personal facts or commitments you should recall later.
  • Before answering complex or personalized questions to fetch relevant context.
  • After finishing a major task or session to consolidate new patterns into wisdom.
  • When you want to expose or audit accumulated user guidance or behavioral rules.

Best practices

  • Proactively save strong preferences or commitments without waiting for explicit "remember" requests.
  • Always query retrieved context for ambiguous or personalization-sensitive replies.
  • Run consolidation (sleep and dream) periodically to convert repeated memories into stable wisdom.
  • Treat memories by type (preference, fact, commitment) and prefer recent, high-confidence items during retrieval.
  • Use the MCP tools if your runtime supports Model Context Protocol for lower-latency operations.

Example use cases

  • Remembering user formatting and tone preferences to apply across future answers.
  • Storing and recalling personal profile facts to personalize recommendations and reminders.
  • Consolidating repeated interaction patterns into a principle like "avoid emojis when user prefers concise prose."
  • Running background consolidation at the end of a workday to surface new skills the agent can apply.
  • Searching archived memories to resolve a user dispute about a previously stated commitment.

FAQ

Call the SDK's add_message with the user ID and message content when you detect a preference, fact, or commitment.

When should I run consolidation routines?

Trigger sleep/dream after major sessions or periodically (daily/weekly) to draft and verify wisdom from accumulated memories.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational