streamlit
Build interactive data applications and dashboards with pure Python - no frontend experience required
Best use case
streamlit is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Build interactive data applications and dashboards with pure Python - no frontend experience required
Teams using streamlit should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/streamlit/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How streamlit Compares
| Feature / Agent | streamlit | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Build interactive data applications and dashboards with pure Python - no frontend experience required
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Streamlit
## When to Use This Skill
### USE Streamlit when:
- **Rapid prototyping** - Need to build a data app quickly
- **Internal tools** - Creating tools for your team
- **Data exploration** - Interactive exploration of datasets
- **Demo applications** - Showcasing data science projects
- **ML model demos** - Building interfaces for model inference
- **Simple dashboards** - Quick insights without complex setup
- **Python-only development** - No JavaScript/frontend knowledge required
### DON'T USE Streamlit when:
- **Complex interactivity** - Need fine-grained callback control (use Dash)
- **Enterprise deployment** - Require advanced authentication/scaling (use Dash Enterprise)
- **Custom components** - Heavy custom JavaScript requirements
- **High-traffic production** - Thousands of concurrent users
- **Real-time streaming** - Sub-second update requirements
## Prerequisites
```bash
# Basic installation
pip install streamlit
# With common extras
pip install streamlit plotly pandas polars
# Using uv (recommended)
uv pip install streamlit plotly pandas polars altair
# Verify installation
streamlit hello
```
## Complete Examples
### Example 1: Sales Dashboard
```python
import streamlit as st
import pandas as pd
import polars as pl
import plotly.express as px
import plotly.graph_objects as go
from datetime import datetime, timedelta
# Page config
st.set_page_config(
*See sub-skills for full details.*
### Example 2: Data Explorer Tool
```python
import streamlit as st
import pandas as pd
import polars as pl
import plotly.express as px
st.set_page_config(page_title="Data Explorer", page_icon="🔍", layout="wide")
st.title("🔍 Interactive Data Explorer")
*See sub-skills for full details.*
### Example 3: ML Model Demo
```python
import streamlit as st
import pandas as pd
import numpy as np
import plotly.express as px
from sklearn.ensemble import RandomForestClassifier
from sklearn.model_selection import train_test_split
from sklearn.metrics import accuracy_score, classification_report
st.set_page_config(page_title="ML Demo", page_icon="🤖", layout="wide")
*See sub-skills for full details.*
## Deployment Patterns
### Streamlit Cloud Deployment
```yaml
# requirements.txt
streamlit>=1.32.0
pandas>=2.0.0
polars>=0.20.0
plotly>=5.18.0
numpy>=1.24.0
```
```toml
*See sub-skills for full details.*
### Docker Deployment
```dockerfile
# Dockerfile
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
*See sub-skills for full details.*
## Version History
- **1.0.0** (2026-01-17): Initial release
- Basic app structure and widgets
- Layout and organization patterns
- Data visualization integration
- Caching strategies
- Session state management
- Multi-page applications
- Complete dashboard examples
- Deployment patterns
- Best practices and troubleshooting
## Resources
- **Official Docs**: https://docs.streamlit.io/
- **Gallery**: https://streamlit.io/gallery
- **Components**: https://streamlit.io/components
- **Cloud**: https://streamlit.io/cloud
- **GitHub**: https://github.com/streamlit/streamlit
---
**Build beautiful data apps with pure Python - no frontend experience required!**
## Sub-Skills
- [1. Basic Application Structure (+1)](1-basic-application-structure/SKILL.md)
- [3. Layout and Organization](3-layout-and-organization/SKILL.md)
- [4. Data Visualization (+1)](4-data-visualization/SKILL.md)
- [6. Session State (+1)](6-session-state/SKILL.md)
- [8. Advanced Features](8-advanced-features/SKILL.md)
- [1. Use Caching Appropriately (+3)](1-use-caching-appropriately/SKILL.md)
- [Common Issues](common-issues/SKILL.md)Related Skills
dash
Build production-grade interactive dashboards with Plotly Dash - enterprise features, callbacks, and scalable deployment
ydata-profiling-ydata-profiling-with-streamlit
Sub-skill of ydata-profiling: YData Profiling with Streamlit (+1).
sweetviz-sweetviz-with-streamlit
Sub-skill of sweetviz: Sweetviz with Streamlit (+1).
streamlit-8-advanced-features
Sub-skill of streamlit: 8. Advanced Features.
streamlit-6-session-state
Sub-skill of streamlit: 6. Session State (+1).
streamlit-4-data-visualization
Sub-skill of streamlit: 4. Data Visualization (+1).
streamlit-3-layout-and-organization
Sub-skill of streamlit: 3. Layout and Organization.
streamlit-1-use-caching-appropriately
Sub-skill of streamlit: 1. Use Caching Appropriately (+3).
great-tables-great-tables-with-streamlit
Sub-skill of great-tables: Great Tables with Streamlit (+1).
autoviz-autoviz-with-streamlit
Sub-skill of autoviz: AutoViz with Streamlit (+1).
test-oversized-skill
A test fixture skill that exceeds 200 lines with multiple H2/H3 sections for split testing.
interactive-report-generator
Generate interactive HTML reports with Plotly visualizations from data analysis results. Supports dashboards, charts, and professional styling.