Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

managing-streamlit-apps

Skill by PostHog

Creates, deploys and operates Streamlit data apps inside PostHog through the streamlit-apps MCP tools. Aimed at people who want to ship dashboards or data apps in PostHog.

  • Score 83
  • 41k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install managing-streamlit-apps

Built from the published package, never by AI.

git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/streamlit_apps/skills/managing-streamlit-apps ~/.claude/skills/managing-streamlit-apps

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install managing-streamlit-apps in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill lets an AI assistant create, deploy and run Streamlit apps in PostHog using the streamlit-apps MCP tools. It covers creating an app, setting its source code, starting and stopping its sandbox, polling status, listing versions, reading and editing code, deleting apps and sharing the app's PostHog link. Each app keeps immutable versions, and one version is active at a time. A sandbox process serves that active version.

The skill is written for people who build data apps or dashboards in PostHog. It explains that app queries run with the data access of the person who authored the active version, so publishing an app shares that data with everyone who can view it. It also includes troubleshooting steps for failed starts and points to a separate writing-streamlit-apps skill for app code.

Written from the project's SKILL.md and checked against it.

What it can do

  • streamlit-apps-createCreates a new app with a name, optional description, CPU cores and memory.
  • streamlit-apps-set-sourceSets the app.py source and extra files, creating and activating a new version.
  • streamlit-apps-get-sourceReads the active version or an older version, including file contents.
  • streamlit-apps-edit-sourceApplies exact text replacements, new files and deletions to a specific base version.
  • streamlit-apps-startStarts the app sandbox, which boots asynchronously.
  • streamlit-apps-stopStops the sandbox while leaving code and versions untouched.
  • streamlit-apps-statusReports the app status, including last_error when something fails.
  • streamlit-apps-versionsLists the newest 50 versions of an app.
  • streamlit-apps-updateChanges the app name, description, CPU cores or memory.
  • streamlit-apps-deleteStops any sandbox and soft-deletes the app.

What you need

  • A PostHog account with access to the project
  • The streamlit-apps feature flag enabled for the organization
  • The streamlit-apps MCP tools available to the assistant

Try asking

  • Create a Streamlit dashboard app in PostHog that shows weekly signups
  • Restart my Streamlit app and tell me why it is not running
  • Give me a link to the Streamlit app so I can share it with my team

Good to know

  • Viewers must be logged into PostHog with access to the project; there is no public URL.
  • The tool calls return 403 if the streamlit-apps feature flag is off for the organization.
  • There is no rollback tool, and non-active versions older than 30 days are deleted.
  • Each query inside an app has a 30 second execution limit and a 256 MB memory cap.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: products/streamlit_apps/skills/managing-streamlit-apps/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB

Alternatives to managing-streamlit-apps

All alternatives →
kaggle-cliKaggle
94

Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.

AAA Skill 7.7k
bigquery-bigframesgoogle
94

Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.

AAA Skill 25k
data-loadingmicrosoft
94

Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.

AAA Skill 18k
data-manager-api-setupgoogle
94

Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.

AAA Skill 25k
managed-airflow-dag-authoringgoogle
94

Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.

AAA Skill 25k
data-feedsdavila7
94

Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.

AAA Skill 34k

Compare with kaggle-cli, bigquery-bigframes or data-loading

managing-streamlit-apps: common questions

Who can see the data a Streamlit app shows in PostHog?

The app runs queries with the data access of the person who authored the active version. Anyone who can view the app sees those results, so publishing an app shares that data with everyone on the project.

Why does my Streamlit app show old code after I set the source?

Setting the source stops the running sandbox so it cannot serve stale code. You need to call streamlit-apps-start again to serve the new version.

Can I roll back a Streamlit app to an older version in PostHog?

There is no rollback tool. You read the old version with streamlit-apps-get-source and set its files again with streamlit-apps-set-source.

How do I install managing-streamlit-apps?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is managing-streamlit-apps free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is managing-streamlit-apps safe to use?

It scores 83 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to managing-streamlit-apps?

Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.

managing-streamlit-apps Install

Add to stack

Loading.