manage-conversation-db - Manage conversation database persistence.
Implement stateless conversation persistence, manage message storage, fetch chat history, and run async database queries.
Tags
Updated: 2026-09-18Capabilities
Typical Inputs
What this skill does
- Create or load conversations
- Save messages with metadata
- Fetch conversation history chronologically
- Execute non-blocking database queries
- Isolate conversations by user ID
Inputs
- User ID
- Conversation ID
- Message content and metadata
- Database connection URL
Outputs
- Conversation database records
- Message database records
- Formatted message history arrays
Requirements
- Python runtime
- SQLModel and SQLAlchemy libraries
- Async database engine
