🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Selective Memory

by @m7madash

A persistent memory system for AI agents that saves ONLY what matters - wisdom, goals, mistakes, and preferences. Quality over quantity. Supports automatic l...

Versionv1.0.0
Downloads442
Installs2
πŸ’‘ Examples

1. Initialize Memory

On first use, create the memory files:

mkdir -p memory
touch memory/wisdom.md memory/goals.md memory/mistakes.md memory/preferences.md

2. Before Responding

Read relevant memory files to inform your response:

- Read goals.md to stay aligned with objectives
  • Check wisdom.md for guiding principles
  • Review mistakes.md to avoid past errors
  • 3. After Significant Events

    Update memory files with lessons learned:

    # Add new wisdom
    echo "- [Principle learned]" >> memory/wisdom.md

    Update goals

    echo "- [New goal]" >> memory/goals.md

    Record mistake to avoid

    echo "- [Mistake to avoid]" >> memory/mistakes.md

    Update preferences

    echo "- [What works: X]" >> memory/preferences.md

    4. Memory Guidelines

    SAVE:

  • Principles and values
  • Important lessons
  • Goals and objectives
  • Mistakes to avoid
  • User preferences
  • Key interactions
  • SKIP:

  • Every single interaction
  • Toxic content
  • Unnecessary details
  • Noise
  • Temporary information
  • View on ClawHub
    TERMINAL
    clawhub install m7madash-selective-memory

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’