streamlit

streamlit is a skill for Claude Code from claude-dev-suite/claude-dev-suite. It costs 107 tokens per session (1,754 once invoked), scanned A, original, MIT.

A Python framework for making interactive web applications and data dashboards from scripts. It provides widgets, layouts, pages, session state, caching, and deployment guidance.

In plain words
What is it for?
Use it to build dashboards and data apps, add controls and pages, preserve values between interactions, cache datasets or models, and run the application.
Why use it?
It lets developers turn Python data-processing code into an interactive browser application without building a separate frontend.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to build dashboards and data apps, add controls and pages, preserve values between interactions, cache datasets or models, and run the application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/claude-dev-suite/claude-dev-suite/streamlit
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 claude-dev-suite/claude-dev-suite --skill streamlit
Clone the repo
git clone --depth 1 https://github.com/claude-dev-suite/claude-dev-suite

Made for: Claude Code.

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 streamlit

README.md
[![agentmods](https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/streamlit/github.svg)](https://agentmods.dev/skills/claude-dev-suite/claude-dev-suite/streamlit)
Your own site
<a href="https://agentmods.dev/skills/claude-dev-suite/claude-dev-suite/streamlit"><img src="https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/streamlit/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 streamlit

Your own site · 80×15
<a href="https://agentmods.dev/skills/claude-dev-suite/claude-dev-suite/streamlit"><img src="https://agentmods.dev/badge/skills/claude-dev-suite/claude-dev-suite/streamlit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,754 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.00107 $0.01754
Opus 5.5 $0.00043 $0.00702
Sonnet 5.5 $0.00021 $0.00351
Haiku 4.5 $0.00011 $0.00175

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

Security

Grade A, and why

streamlit 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 2mo 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/backend-frameworks/streamlit/SKILL.md · 281 lines

How it starts

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

Streamlit Core Knowledge

Installation & Run

pip install streamlit
streamlit run app.py
streamlit run app.py --server.port 8080

Core Concepts

App Execution Model

Streamlit re-runs the entire script top-to-bottom on every user interaction. Use caching and session_state to avoid redundant work.

Session State

import streamlit as st

# Initialize (always check first)
if "data" not in st.session_state:
    st.session_state.data = []

# Read and write
st.session_state.data.append(item)
st.write(st.session_state.data)

# Callback pattern (preferred for widget interactions)
def on_submit():
    st.session_state.result = process(st.session_state.input_val)

st.text_input("Input", key="input_val")
st.button("Submit", on_click=on_submit)

Caching

# @st.cache_data — serializable return values (DataFrames, dicts, lists)
@st.cache_data(ttl=600)  # cache expires in 10 min
def load_dataset(path: str) -> pd.DataFrame:
    return pd.read_csv(path)

# @st.cache_resource — non-serializable (DB connections, ML models)
@st.cache_resource
def get_model():
    return load_ml_model("model.pkl")

# Clear cache programmatically
load_dataset.clear()

Layout & Components

Columns

col1, col2 = st.columns(2)          # equal width
col1, col2, col3 = st.columns([3, 1, 1])  # weighted

with col1:
    st.metric("Revenue", "$12,345", delta="+5%")
with col2:
    st.image("logo.png")

Tabs

tab1, tab2, tab3 = st.tabs(["Overview", "Details", "Export"])
with tab1:
    show_overview()
with tab2:
    show_details()

Sidebar

with st.sidebar:
    selected = st.selectbox("Area", options=["11301", "11090", "27301"])
    date_range = st.date_input("Date range", value=(start, end))

Expander

with st.expander("Advanced Options", expanded=False):
    threshold = st.slider("Threshold", 0.0, 1.0, 0.5)

Input Widgets

# Text
name = st.text_input("Name", placeholder="Enter tag name")
text = st.text_area("Description", height=100)

# Numbers
n = st.number_input("Count", min_value=0, max_value=1000, value=10, step=1)
ratio = st.slider("Ratio", 0.0, 1.0, 0.5)

# Selection
choice = st.selectbox("Type", ["Motor", "Valve", "Analog"])
choices = st.multiselect("Areas", ["11301", "11090"])
flag = st.checkbox("Include alarms", value=True)
option = st.radio("Export format", ["CSV", "Excel", "JSON"])

# File upload
uploaded = st.file_uploader("Upload Excel", type=["xlsx", "xls"])
if uploaded:
    df = pd.read_excel(uploaded)

Read the full file on GitHub · 281 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. 2mo ago First seen · 281 lines · 107 tokens per session scan A 94c2caef10b4

Subscribe to this mod's changes

streamlit is a skill published in the GitHub repository claude-dev-suite/claude-dev-suite (51 stars, last pushed yesterday), licensed MIT. It adds 107 tokens to every session and 1,754 once invoked, about $0.0004 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

streamlit compared with skills from other repositories

streamlit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
streamlitclaude-dev-suite/claude-dev-suiteSkill51yesterdayMITA107Claude Code
accelerateNousResearch/hermes-agentSkill268ktodayMITA13Claude Code, Codex
jupyter-notebookNousResearch/hermes-agentSkill268ktodayMITA18Claude Code, Codex
python-envasgeirtj/system_prompts_leaksSkill74k3d agoCC0-1.0A89Claude Code
temporal-python-testingwshobson/agentsSkill43k2d agoMITA45Claude Code
test-generatorvstorm-co/pydantic-deepagentsSkill1.1k2d agoMITA12Claude Code, Codex
rust-python-boundaryBerriAI/litellmSkill64ktodaynoneA83Claude Code, Codex