Codecompanion History.Nvim banner
ravitemer ravitemer

Codecompanion History.Nvim

AI community

Description

A history management extension for codecompanion AI chat plugin that enables saving, browsing and restoring chat sessions.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

CodeCompanion History Extension

[![Neovim](https://img.shields.io/badge/Neovim-57A143?style=flat-square&logo=neovim&logoColor=white)](https://neovim.io) [![Lua](https://img.shields.io/badge/Lua-2C2D72?style=flat-square&logo=lua&logoColor=white)](https://www.lua.org) [![Tests](https://github.com/ravitemer/codecompanion-history.nvim/actions/workflows/ci.yml/badge.svg)](https://github.com/ravitemer/codecompanion-history.nvim/actions) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](./CONTRIBUTING.md)

A history management extension for [codecompanion.nvim](https://codecompanion.olimorris.dev/) that enables saving, browsing and restoring chat sessions.

✨ Features

πŸ€– Chat Management

  • πŸ’Ύ Flexible chat saving:
    • Automatic session saving (can be disabled)
    • Manual save with dedicated keymap
  • 🎯 Smart title generation for chats
  • πŸ”„ Continue from where you left
  • πŸ“š Browse saved chats with preview
  • πŸ” Multiple picker interfaces
  • βŒ› Optional automatic chat expiration
  • ⚑ Restore chat sessions with full context and tools state
  • 🏒 Project-aware filtering: Filter chats by workspace/project context
  • πŸ“‹ Chat duplication: Easily duplicate chats to create variations or backups

πŸ“ Summary System

  • Manual summary generation: Create summaries for any chat with gcs
  • Intelligent content processing: Extracts meaningful conversation content while filtering noise
  • Chunked summarization: Handles large conversations by splitting into manageable chunks
  • Customizable generation: Configure adapter, model, and system prompts
  • Summary browsing: Dedicated browser with gbs to explore all summaries

🧠 Memory System (@memory tool)

  • Vector-based search: Uses VectorCode