Writing Streamlit Apps

Write Streamlit app source code that runs well in a PostHog sandbox — the posthog_apps.query() bridge for reading PostHog data, the packages baked into the sandbox image, caching and session state across Streamlit reruns, layout and chart patterns, and single-file app.py structure. Use when authoring or debugging the Python source of a PostHog Streamlit app, when a query inside an app fails, or when asked to "write a streamlit app that shows PostHog data".

posthog fb0e2fd 5.5 KB Updated

File contents

posthog/ai-plugin/tree/main/skills/writing-streamlit-apps commit fb0e2fd1f3

Frequently asked questions

npx skillmds add posthog/writing-streamlit-apps