Skip to content

feat(agent-context-optimizer): add community skill for multi-agent memory optimization#58

Open
roymaste wants to merge 2 commits intoMiniMax-AI:mainfrom
roymaste:main
Open

feat(agent-context-optimizer): add community skill for multi-agent memory optimization#58
roymaste wants to merge 2 commits intoMiniMax-AI:mainfrom
roymaste:main

Conversation

@roymaste
Copy link
Copy Markdown

@roymaste roymaste commented Apr 2, 2026

What

Add agent-context-optimizer skill for zero memory loss in LLM agents.

Why

Multi-agent systems suffer from context overflow and memory loss. This skill provides:

  • Hot layer (<500 tokens) stores recent summaries, decisions, tasks
  • Cold layer (unlimited) stores full history with vector indexing
  • 60-70% token reduction for multi-agent systems

⚠️ Critical: This Update Fixes "Installed But Not Working" Issue

Problem: Previous version was missing integration instructions. Users installed the skill but it didn't auto-trigger, causing continued context loss despite installation.

Solution: Added behavioral integration guide in SKILL.md explaining:

  1. Skill is a TOOL, NOT auto-triggering — must be explicitly called
  2. Agent must add startup rules to SOUL.md/AGENTS.md to call
  3. Agent must add end-of-session rules to HEARTBEAT.md to call

Key Lesson: Tool + Rules + Execution = All three required. Installation alone is insufficient.

Files

  • skills/agent-context-optimizer/SKILL.md (with integration guide)
  • skills/agent-context-optimizer/scripts/ (4 JS modules)
  • skills/agent-context-optimizer/references/ (architecture doc)

Test User added 2 commits April 2, 2026 21:56
…mory optimization

- Add agent-context-optimizer skill for zero memory loss in LLM agents
- Hot layer (<500 tokens) stores summaries, decisions, tasks
- Cold layer (unlimited) stores full history with vector indexing
- 60-70% token reduction for multi-agent systems

Closes: context-optimizer社区贡献
…tion guide

Updated from roymaste/context-optimizer@30fffb0
Added behavioral integration guide explaining:
- Skill is a tool, NOT auto-triggering
- SOUL.md/AGENTS.md rules required for startup behavior
- HEARTBEAT.md rules required for end-of-session behavior
Lesson (2026-04-03): Even with skill installed, if agent doesn't
call memory_search on wake, context loss continues.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant