home / skills / andrelandgraf / fullstackrecipes / chat-naming
This skill generates descriptive chat titles from the initial message, accelerating context switching and improving chat navigation.
npx playbooks add skill andrelandgraf/fullstackrecipes --skill chat-namingReview the files below or copy the command above to add this skill to your agents.
---
name: chat-naming
description: Generate descriptive chat titles from the first message using a fast LLM. Runs as a background workflow step after the main response to avoid delaying the experience.
---
# Automatic Chat Naming
To set up Automatic Chat Naming, refer to the fullstackrecipes MCP server resource:
**Resource URI:** `recipe://fullstackrecipes.com/chat-naming`
If the MCP server is not configured, fetch the recipe directly:
```bash
curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/chat-naming
```
This skill generates concise, descriptive chat titles automatically from the conversation's first message using a lightweight, fast LLM. It runs as a background workflow step after the main response so it does not delay the user experience. The goal is to keep chat lists organized and searchable with minimal overhead.
After the assistant sends its primary reply, the skill triggers a background task that captures the conversation's first user message. A small, efficient LLM analyzes that message and produces a short, human-friendly title. The title is saved to the chat metadata, allowing UI components to display readable labels without blocking response time.
Will the naming step slow down responses?
No. The naming runs after the main response in the background to avoid adding latency to the user-facing reply.
What happens if the model fails to produce a good title?
Use a simple text-based fallback like truncating the first sentence or first 5–7 words, and log the event for review.