home/categories/mobile/streamlit-agent-skills-developing-with-streamlit-skills-using-streamlit-session-state-skill-md
mobiledevelopment
using-streamlit-session-state
Using st.session_state to manage state across Streamlit reruns. Use when persisting data, handling widget state, implementing callbacks, or debugging state issues. Covers initialization patterns, widget-state association, and common gotchas.
maintainer
streamlit
Updated 1/19/2026
Stars
5
Forks
1
quick start
Installation and usage
Using st.session_state to manage state across Streamlit reruns. Use when persisting data, handling widget state, implementing callbacks, or debugging state issues. Covers initialization patterns, widget-state association, and common gotchas.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use using-streamlit-session-state