streamlit-expert

Develop secure Streamlit apps with OIDC authentication and secrets management.

5|4|Updated Nov 9, 2025
One-click install
npx skills add https://github.com/takusaotome/claude-skills-library --skill streamlit-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: streamlit-expert
Source: https://github.com/takusaotome/claude-skills-library/tree/main/skills/streamlit-expert
Command: npx skills add https://github.com/takusaotome/claude-skills-library --skill streamlit-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Streamlit app builders need reliable guidance to implement modern features like authentication, secrets handling, performant data loading, and high-quality visualizations without rewriting best practices from scratch.

Core Features & Use Cases

  • Authentication with OIDC: Use Streamlit’s native login/logout and user APIs (st.login(), st.logout(), st.user) to secure apps with common identity providers (Google, Microsoft, Okta, Auth0).
  • Secrets management: Configure and use .streamlit/secrets.toml safely via st.secrets for credentials and configuration without committing secrets to source control.
  • Visualization & performance tuning: Choose appropriate chart libraries (native, Plotly, Altair), optimize for large datasets, and improve responsiveness with caching (st.cache_data, st.cache_resource), session state, and st.fragment.
  • Modern Streamlit app patterns: Apply modern multi-page/navigation patterns and component usage aligned with recent Streamlit versions (v1.42–1.52+).

Quick Start

Ask the skill for an implementation plan to add OIDC authentication to a new Streamlit dashboard and load protected user-specific data with caching and Plotly/Altair charts.

Frequently Asked Questions about streamlit-expert

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

FAQPage Schema
How do I implement OIDC authentication in a Streamlit dashboard?

Implement OIDC authentication in Streamlit using native APIs like st.login(), st.logout(), and st.user to secure dashboards with providers such as Google, Microsoft, or Auth0.

What is the best way to manage secrets configuration in Streamlit?

Manage secrets configuration in Streamlit by defining credentials in a .streamlit/secrets.toml file and accessing them securely via st.secrets, preventing sensitive data from entering source control.

How do I optimize Streamlit performance for large datasets?

Optimize Streamlit performance for large datasets by applying st.cache_data and st.cache_resource for data loading, and using st.fragment to improve UI responsiveness.

How do I choose between Plotly and Altair for Streamlit data visualization?

Choose between Plotly, Altair, and native Streamlit charts based on your interactivity needs and dataset scale, applying performance tuning to ensure fast rendering for large data.

Does Streamlit support modern multipage navigation and UI fragments?

Streamlit supports modern multipage navigation and UI fragments in versions v1.42 through v1.52+, allowing developers to build complex, responsive dashboard patterns.

Why is my Streamlit app slow when loading protected user-specific data?

Streamlit apps loading protected user-specific data become slow without caching; applying st.cache_data and st.cache_resource prevents redundant computations and accelerates dashboard responsiveness.