vibe-chat-history

Persist Vibe Coding chat history to shared cc_sessions and cc_chat_messages tables.

2|Updated Mar 30, 2026
One-click install
npx skills add https://github.com/liuyu520/cc-connect-fork --skill vibe-chat-history
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vibe-chat-history
Source: https://github.com/liuyu520/cc-connect-fork/tree/main/.claude/skills/vibe-chat-history
Command: npx skills add https://github.com/liuyu520/cc-connect-fork --skill vibe-chat-history

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill centralizes the persistence of Vibe Coding chat messages and sessions to a shared datastore, enabling browsable history, reliable restoration of past conversations, and consistent export capabilities across UI panels.

Core Features & Use Cases

  • Persist chat messages and sessions using the existing cc_sessions and cc_chat_messages tables with a biz_type discriminator.
  • Provide a browsable history UI in the VibeHistory panel and support exporting conversations to Markdown or other formats.
  • Extendable design with a ChatStore interface (SaveMessage, EnsureSession, ListSessions, GetMessages) that supports multiple biz_type values and backward-compatible schema changes.

Quick Start

Load and browse Vibe Coding chat history in the Vibe History panel.

Frequently Asked Questions about vibe-chat-history

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I persist Vibe Coding chat history to a shared datastore?

To persist Vibe Coding chat history, this skill implements a ChatStore interface that saves messages and sessions to shared cc_sessions and cc_chat_messages tables using a biz_type discriminator. It provides SaveMessage and EnsureSession functions to reliably store conversation data.

Can I browse and restore past chat sessions in the VibeHistory panel?

Yes, you can browse and restore past chat sessions in the VibeHistory panel. This skill uses the ListSessions and GetMessages functions to query the shared datastore, enabling reliable restoration of previous Vibe Coding conversations directly within the UI.

Does the chat history schema support backward compatibility for existing tables?

The chat history schema supports backward compatibility by extending the existing cc_sessions and cc_chat_messages tables. It uses a biz_type discriminator to distinguish sources, allowing multiple biz_type values without breaking previous schema structures or stored data.

How do I export Vibe chat conversations to Markdown format?

You can export Vibe chat conversations to Markdown by using the history queried through the ChatStore interface. Once chat messages are persisted to the shared datastore, the VibeHistory panel supports export workflows to generate Markdown files from stored sessions.

What is the best way to distinguish chat history sources in a backend query?

The best way to distinguish chat history sources in a backend query is using the biz_type discriminator. This skill applies the biz_type field to categorize and filter data within the cc_sessions and cc_chat_messages tables during ListSessions and GetMessages operations.

Are there limitations when restoring chat history across different Vibe Coding sessions?

Limitations when restoring chat history across Vibe Coding sessions depend on the shared datastore availability. Because this skill relies on the ChatStore interface and backend history queries, consistent datastore connectivity is required to ensure successful session restoration and message retrieval.