managing-streamlit-apps

managing-streamlit-apps is a skill for Claude Code, Codex from PostHog/skills. It costs 118 tokens per session (1,458 once invoked), scanned A, original, MIT.

A guide for creating and running Streamlit apps in PostHog. Streamlit is a Python tool for turning data code into interactive web apps, and the guide covers their versions, isolated runtime, status, and sharing links.

In plain words
What is it for?
It is for deploying dashboards and other data apps, starting or stopping them, checking their status, listing versions, deleting them, and sharing their PostHog URL.
Why use it?
It provides a defined lifecycle for getting a Python data app from source code to a running, shareable page. It also helps inspect failures and manage different app versions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for deploying dashboards and other data apps, starting or stopping them, checking their status, listing versions, deleting them, and sharing their PostHog URL.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/skills/managing-streamlit-apps
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PostHog/skills --skill managing-streamlit-apps
Clone the repo
git clone --depth 1 https://github.com/PostHog/skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for managing-streamlit-apps

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/skills/managing-streamlit-apps/github.svg)](https://agentmods.dev/skills/posthog/skills/managing-streamlit-apps)
Your own site
<a href="https://agentmods.dev/skills/posthog/skills/managing-streamlit-apps"><img src="https://agentmods.dev/badge/skills/posthog/skills/managing-streamlit-apps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for managing-streamlit-apps

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/skills/managing-streamlit-apps"><img src="https://agentmods.dev/badge/skills/posthog/skills/managing-streamlit-apps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 118 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,458 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00118 $0.01458
Opus 5.5 $0.00047 $0.00583
Sonnet 5.5 $0.00024 $0.00292
Haiku 4.5 $0.00012 $0.00146

Measured 1mo ago against content hash e4b2b1b2f831, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

managing-streamlit-apps scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/omnibus/managing-streamlit-apps/SKILL.md · 80 lines

How it starts

The opening of the file, as written. The whole thing — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Managing Streamlit apps

A Streamlit app is a Python data app running in an isolated sandbox inside PostHog. Each app has immutable versions of its code; one version is active; a sandbox process serves the active version. The full lifecycle is driven with the streamlit-apps-* MCP tools.

The happy path: create → set source → start → share

  1. streamlit-apps-create with a name (optionally description, cpu_cores 0.25–8, memory_gb 0.5–16, defaults 0.5 / 1). The app exists but has no code yet.
  2. streamlit-apps-set-source with the complete app.py source as one string. Extra files ride along in the same call: files maps a project-relative path to text (helper modules, CSV, JSON), assets maps a path to base64 (Parquet, images). This creates version 1 and activates it. Write the source per the writing-streamlit-apps skill — in particular use posthog_apps.query() for PostHog data, never import posthog.
  3. streamlit-apps-start. Returns immediately; the sandbox boots asynchronously.
  4. Poll streamlit-apps-status until status is running (typically well under a minute). If it lands on error, read last_error — see Troubleshooting below.
  5. Share the app: the _posthogUrl returned by create/get/start (/streamlit-apps/{short_id}) is the app's page in PostHog. That link is what you give humans. Viewers need to be logged into PostHog with access to the project (the app renders in an authenticated iframe; there is no public URL).

Whose data the app reads

The app's queries run with the data access of the person who authored the active version — set the source, and the app reads what you can read. Anyone who can view the app sees those results, so treat publishing an app as sharing that data with everyone on the project. An app whose version author has since been deleted can't start; upload a new version to fix it.

Updating code

Change an existing app in two steps, so you never ship an old copy over newer work:

Read the full file on GitHub · 80 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +18 lines · +6 tokens per session e4b2b1b2f831
  2. 2mo ago Changed · +3 lines 9a0b863e44d0
  3. 2mo ago First seen · 59 lines · 112 tokens per session scan A f7a882d95818

Subscribe to this mod's changes

managing-streamlit-apps is a skill published in the GitHub repository PostHog/skills (81 stars, last pushed today), licensed MIT. It adds 118 tokens to every session and 1,458 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

managing-streamlit-apps compared with skills from other repositories

managing-streamlit-apps next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
managing-streamlit-appsPostHog/skillsSkill81todayMITA118Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill25ktodayApache-2.0A60Claude Code, Codex
llm-evaluationsickn33/agentic-awesome-skillsSkill51ktodayMITA25Claude Code
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill25ktodayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill20kyesterdayMITA35Claude Code
foundry-config-setupmicrosoft/agent-frameworkSkill36todayMITA65Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.2ktodayApache-2.0A92Claude Code