ai-chat

Create real-time streaming chat interfaces with PostgreSQL persistence.

3|Updated Feb 14, 2026
One-click install
npx skills add https://github.com/mattwoodco/skills --skill ai-chat-mattwoodco
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-chat
Source: https://github.com/mattwoodco/skills/tree/main/skills/ai-chat
Command: npx skills add https://github.com/mattwoodco/skills --skill ai-chat-mattwoodco

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides a robust foundation for building real-time, streaming chat applications powered by AI, complete with user authentication, session management, and data persistence.

Core Features & Use Cases

  • Streaming Chat UI: Delivers a dynamic, real-time chat interface.
  • Postgres Persistence: Stores chat sessions and messages for history and retrieval.
  • Session Management: Allows users to create, view, and manage multiple chat conversations.
  • Composable Architecture: Designed for extension by other AI skills for advanced features like memory, tools, and reasoning.
  • Use Case: Integrate a customer support chatbot into your application that can maintain conversation history and leverage other AI skills for complex queries.

Quick Start

Use the ai-chat skill to add a streaming chat interface to your Next.js application.

Frequently Asked Questions about ai-chat

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

FAQPage Schema
How do I build a real-time AI chat interface with streaming responses in Next.js?

You can build a streaming chat interface using this Skill with Next.js App Router, ai-core for model streaming, and shadcn/ui components. It provides the core UI and streaming logic needed for real-time AI responses.

Does this AI chat Skill persist conversation history in PostgreSQL?

Yes, this Skill stores chat sessions and messages in PostgreSQL, allowing users to create, view, and manage multiple conversations with full history retrieval and persistence.

Can I integrate user authentication and session management into my streaming chat application?

Yes, this Skill includes integrated user authentication and session management. It requires an auth dependency to securely manage user identities and multiple chat conversations.

What dependencies do I need to set up the real-time chat architecture?

You need Next.js, App Router, ai-core, auth, Docker, and shadcn/ui to run this Skill. Docker manages the PostgreSQL database, while auth handles user login and session management.

How do I add memory and reasoning tools to a Next.js streaming chatbot?

This Skill features a composable architecture designed for extension by other AI skills. You can integrate downstream skills to add advanced capabilities like memory, tools, and reasoning to your chatbot.

Why use a composable architecture for an AI chat application?

A composable architecture allows you to extend the base chat application by integrating downstream AI skills. This enables advanced features like memory, external tools, and complex reasoning without modifying the core.