greenclawdbot

Memory Trends Skill

0
0
# Install this skill:
npx skills add greenclawdbot/goc-memory-trends

Or install specific skill: npx add-skill https://github.com/greenclawdbot/goc-memory-trends

# Description

Memory trends analysis skill for Clawdbot

# SKILL.md

Memory Trends Skill

Detects trending topics across memory files using vector search.

Usage

Manual Trigger

clawdbot skill run goc-memory-trends

Cron (Weekly)

Add to your cron configuration:

0 9 * * 1 clawdbot skill run goc-memory-trends  # Every Monday at 9 AM

How It Works

  1. Memory Search: Uses memory_search to find similar topics across recent memory files (last 7 days)
  2. Pattern Detection: Identifies recurring topics, keywords, and themes
  3. Trend Analysis: Counts frequency and clusters related topics
  4. Memory Update: Appends "Trending Patterns" section to MEMORY.md

Configuration

No additional configuration required. Uses existing memory files in ~/clawd/memory/.

Output

Updates MEMORY.md with a "Trending Patterns" section containing:
- Top recurring topics
- Related topic clusters
- Frequency counts
- Suggested insights

Files

  • index.js - Main entry point and skill registration
  • trend-detector.cjs - Vector search and pattern detection logic
  • memory-updater.cjs - MEMORY.md update logic
  • SKILL.md - This documentation

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.