← All skills
Tencent SkillHub Β· Developer Tools

Minimal Memory

Maintain organized agent memory by tagging entries as GOOD, BAD, or NEUTRAL, storing essentials in MEMORY.md and daily logs for efficient search and cleanup.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Maintain organized agent memory by tagging entries as GOOD, BAD, or NEUTRAL, storing essentials in MEMORY.md and daily logs for efficient search and cleanup.

⬇ 0 downloads β˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
SKILL.md, scripts/add.sh, scripts/archive.sh, scripts/cleanup.sh, scripts/daily.sh, scripts/search.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 14 sections Open source page

Minimal Memory Management

Keep agent memory lean, searchable, and actionable through structured categorization and two-tier storage.

Core Principle

MEMORY.md = Long-term essentials (GOOD/BAD learnings only) memory/YYYY-MM-DD.md = Daily operations (GOOD/BAD/NEUTRAL tagged)

Information Categorization

Tag every memory entry with its value: TagMeaningKeep in MEMORY.md?Example[GOOD]Worked well, repeatβœ… Yes[GOOD] CSV batch format prevents duplicates[BAD]Failed, avoidβœ… Yes[BAD] Bird CLI blocked by X anti-automation[NEUTRAL]Facts, context, state❌ No[NEUTRAL] Day 5 of 30-day media plan

Writing Rules

Always tag new entries in daily files Be specific: What worked/failed and why One tag per entry - pick the strongest category NEUTRAL expires: Archive after 30 days unless promoted to GOOD/BAD

MEMORY.md (Categorized Learnings)

  • Keep under 150 lines. Only GOOD and BAD entries:
  • ## GOOD - What Works
  • `[GOOD]` Cron jobs with CSV batching = zero duplicates
  • `[GOOD]` Browser tool > CLI for X.com automation
  • `[GOOD]` Moltbook "crypto" submolt for token posts
  • ## BAD - What to Avoid
  • `[BAD]` Never use bird CLI for X (anti-bot blocks it)
  • `[BAD]` Don't post identical content across platforms

memory/YYYY-MM-DD.md (Daily Log)

  • All three categories with full context:
  • # 2026-02-15
  • ## [GOOD]
  • Fixed duplicate posting with 4-batch CSV structure
  • Created 10 cron jobs for complete automation
  • ## [BAD]
  • Old CSV format caused content duplication (now deprecated)
  • ## [NEUTRAL]
  • Day 5 of 30-day media plan
  • Posted $ZEN token shill at 07:00 batch

Search Memory

# Search all memory files ~/.openclaw/skills/minimal-memory/scripts/search.sh "duplicate posting" # Search only GOOD learnings ~/.openclaw/skills/minimal-memory/scripts/search.sh --good "CSV" # Search only BAD learnings ~/.openclaw/skills/minimal-memory/scripts/search.sh --bad "CLI" # Recent entries only (last 7 days) ~/.openclaw/skills/minimal-memory/scripts/search.sh --recent "cron job"

Daily Memory

# Create today's memory file with template ~/.openclaw/skills/minimal-memory/scripts/daily.sh # Add entry with auto-tagging ~/.openclaw/skills/minimal-memory/scripts/add.sh GOOD "Browser tool works better than CLI"

Cleanup

# Review and migrate GOOD/BAD to MEMORY.md ~/.openclaw/skills/minimal-memory/scripts/cleanup.sh # Archive old NEUTRAL entries (>30 days) ~/.openclaw/skills/minimal-memory/scripts/archive.sh

When Writing a Memory

Tag it: Is this GOOD, BAD, or NEUTRAL? Write to daily file with tag prefix Weekly review: Promote GOOD/BAD to MEMORY.md Archive NEUTRAL after 30 days

When Searching

Use search script for fast grep across all files Check MEMORY.md first for established patterns Fall back to daily files for specific context Prefer recent entries unless looking for historical

Weekly Cleanup

Read last 7 days of daily files Extract [GOOD] and [BAD] entries Add to MEMORY.md "GOOD" and "BAD" sections Remove duplicates, condense similar items Ensure MEMORY.md < 150 lines

Anti-Patterns

❌ Don't skip tagging - every entry needs a category ❌ Don't put NEUTRAL in MEMORY.md ❌ Don't let MEMORY.md grow past 200 lines ❌ Don't keep NEUTRAL entries forever (30 day max) ❌ Don't create topical files - use daily + search βœ… Do search before asking user "did we try this?" βœ… Do migrate GOOD/BAD weekly βœ… Do be specific in failure/success descriptions βœ… Do trust the search script to find context

Migration from Old System

If MEMORY.md has untagged content: Read entire MEMORY.md Categorize each entry: GOOD/BAD/NEUTRAL Move NEUTRAL to appropriate daily file Keep GOOD/BAD in MEMORY.md with tags Future entries: always tag in daily files first

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
5 Scripts1 Docs
  • SKILL.md Primary doc
  • scripts/add.sh Scripts
  • scripts/archive.sh Scripts
  • scripts/cleanup.sh Scripts
  • scripts/daily.sh Scripts
  • scripts/search.sh Scripts