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 the app.py entry point with any helper modules and data files bundled beside it.
安装
npx skills add PostHog/ai-plugin --skill writing-streamlit-appsnpx skills add PostHog/ai-plugin --skill writing-streamlit-apps -a claude-code -gnpx skills add PostHog/ai-plugin --skill writing-streamlit-apps -a codex -ggemini skills install https://github.com/PostHog/ai-plugin.git --path skills/writing-streamlit-appsgh skill install PostHog/ai-plugin writing-streamlit-appsgit clone --depth 1 https://github.com/PostHog/ai-plugin /tmp/PostHog__ai-plugin
mkdir -p ~/.claude/skills ~/.agents/skills
cp -R /tmp/PostHog__ai-plugin/skills/writing-streamlit-apps ~/.claude/skills/writing-streamlit-apps # Claude Code
cp -R /tmp/PostHog__ai-plugin/skills/writing-streamlit-apps ~/.agents/skills/writing-streamlit-apps # Codex, Cursor, Gemini CLI, Copilot, OpenCode