Back to Skills

moai-cc-memory

modu-ai
Updated 2 days ago
21 views
424
78
424
View on GitHub
Developmentai

About

This skill provides memory management, context persistence, and knowledge retention capabilities for Claude Code sessions. Developers should use it when managing session memory, maintaining context across interactions, or optimizing knowledge retention. Key features include memory cleanup, context budgeting, and persistence strategies using Read, Bash, and Grep tools.

Quick Install

Claude Code

Recommended
Plugin CommandRecommended
/plugin add https://github.com/modu-ai/moai-adk
Git CloneAlternative
git clone https://github.com/modu-ai/moai-adk.git ~/.claude/skills/moai-cc-memory

Copy and paste this command in Claude Code to install this skill

Documentation

Claude Code Memory Management

Skill Metadata

FieldValue
Skill Namemoai-cc-memory
Version2.0.0 (2025-11-11)
Allowed toolsRead, Bash, Grep
Auto-loadOn demand when memory issues detected
TierClaude Code (Core)

What It Does

Claude Code memory management, context persistence, and knowledge retention.

Key capabilities:

  • ✅ Session memory management
  • ✅ Context persistence strategies
  • ✅ Knowledge retention optimization
  • ✅ Memory cleanup processes
  • ✅ Context budgeting

When to Use

  • ✅ Managing session memory
  • ✅ Persisting important context
  • ✅ Optimizing knowledge retention
  • ✅ Handling memory constraints

Core Memory Patterns

Memory Architecture

  1. Working Memory: Current session context
  2. Long-term Memory: Persistent knowledge storage
  3. Context Windows: Token budget management
  4. Memory Compression: Efficient information storage
  5. Retrieval Systems: Quick knowledge access

Management Strategies

  • Context Seeding: Strategic context injection
  • Memory Consolidation: Knowledge organization
  • Forgetting Policies: Outdated content removal
  • Prioritization: Important content retention
  • Cleanup Automation: Memory maintenance

Dependencies

  • Claude Code session system
  • File-based persistence
  • Context management framework
  • Memory optimization tools

Works Well With

  • moai-cc-skills (Knowledge capsules)
  • moai-context7-integration (External knowledge)
  • moai-learning-optimizer (Retention optimization)

Changelog

  • v2.0.0 (2025-11-11): Added complete metadata, memory management patterns
  • v1.0.0 (2025-10-22): Initial memory management

End of Skill | Updated 2025-11-11

GitHub Repository

modu-ai/moai-adk
Path: src/moai_adk/templates/.claude/skills/moai-cc-memory
agentic-aiagentic-codingagentic-workflowclaudeclaudecodevibe-coding

Related Skills

sglang

Meta

SGLang is a high-performance LLM serving framework that specializes in fast, structured generation for JSON, regex, and agentic workflows using its RadixAttention prefix caching. It delivers significantly faster inference, especially for tasks with repeated prefixes, making it ideal for complex, structured outputs and multi-turn conversations. Choose SGLang over alternatives like vLLM when you need constrained decoding or are building applications with extensive prefix sharing.

View skill

evaluating-llms-harness

Testing

This Claude Skill runs the lm-evaluation-harness to benchmark LLMs across 60+ standardized academic tasks like MMLU and GSM8K. It's designed for developers to compare model quality, track training progress, or report academic results. The tool supports various backends including HuggingFace and vLLM models.

View skill

llamaguard

Other

LlamaGuard is Meta's 7-8B parameter model for moderating LLM inputs and outputs across six safety categories like violence and hate speech. It offers 94-95% accuracy and can be deployed using vLLM, Hugging Face, or Amazon SageMaker. Use this skill to easily integrate content filtering and safety guardrails into your AI applications.

View skill

langchain

Meta

LangChain is a framework for building LLM applications using agents, chains, and RAG pipelines. It supports multiple LLM providers, offers 500+ integrations, and includes features like tool calling and memory management. Use it for rapid prototyping and deploying production systems like chatbots, autonomous agents, and question-answering services.

View skill