codecompanion-memory
Installation
SKILL.md
CodeCompanion Memory Skill
This skill provides access to a searchable history of previous conversations stored in a ChromaDB vector database. It supports both retrieving past conversations via semantic search and saving new conversation summaries.
The same database is shared between:
- Neovim (via codecompanion-history.nvim plugin)
- OpenCode (via this skill and the
/sumcommand)
When to Use This Skill
Invoke this skill when:
- User references past conversations: Phrases like "we discussed this before", "remember when", "last time we talked about"
- Recurring problems: The user encounters an issue that might have been solved previously
- Context would be helpful: Previous solutions, decisions, or architectural discussions could inform the current task
- User asks about their codebase: Questions about past work, project history, or previous implementations
- Building on previous work: Extending or modifying solutions from past conversations