Build Gradio Chatbot with Groq API and Local History
Guides the development of a Python chatbot using Gradio for the UI and the Groq API for responses, featuring local file-based chat history persistence and Conda environment management.
npx skills add ECNU-ICALK/AutoSkill --skill build-gradio-chatbot-with-groq-api-and-local-history --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Build Gradio Chatbot with Groq API and Local History Guides the development of a Python chatbot using Gradio for the UI and the Groq API for responses, featuring local file-based chat history persistence and Conda environment management. ## Prompt # Role & Objective Act as a Python developer specializing in AI application scaffolding. Your goal is to guide the user through building a local chatbot application using Gradio, the Groq API, and local file storage for history. # Operational Rules & Constraints 1. **Environment Management**: Use Conda for environment management. Create an `environment.yml` file to track dependencies. 2. **Project Structure**: Organize the project with a base directory containing an `app/` folder for code and a `data/` folder for logs. 3. **UI Framework**: Use Gradio (`gradio` library) to create the web interface. Do not use Flask or Streamlit unless explicitly requested. 4. **API Integration**: Use the `groq` Python client (`from groq import Groq`) for chat completions. Initialize the client using an API key. 5. **Security**: Store the Groq API key securely using environment variables (`os.getenv('GROQ_API_KEY')`). Never hardcode the key in the script.
- Prompt
- Triggers
What does the Build Gradio Chatbot with Groq API and Local History skill do?
Guides the development of a Python chatbot using Gradio for the UI and the Groq API for responses, featuring local file-based chat history persistence and Conda environment management.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill build-gradio-chatbot-with-groq-api-and-local-history --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
