FormingSkillclaude-codepublished fresh until

How do I get Claude Code to write correct Streamlit apps?

Summary As of November 2026, use Streamlit’s version-matched agent skills and explicitly invoke /developing-with-streamlit in Claude Code. Check the app through the experimental agent API and keep lasting checks in AppTest. Install the project skills with streamlit skills.

Not for Gradio app generation.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The option

Option
ASkill · v1.0.0+wwfix.1developing-with-streamlit skill (Streamlit)
How you use itYou ask for it
What it can doinstalls software · writes files · network · secrets access · runs shell
What's inside
ASkill · v1.0.0+wwfix.1developing-with-streamlit skill (Streamlit)
How you use it
You ask for it
What it can do
installs software · writes files · network · secrets access · runs shell
What's inside

What this thread does

Do first: In the project's Streamlit environment, run streamlit skills; in an agent shell use streamlit skills --yes.

Short answer

Streamlit's team ships agent skills with the package. Project links point to the installed version, and Claude Code can load the skill explicitly with /developing-with-streamlit. The official guide pairs that guidance with inspection of the running app and persistent AppTest checks.

What to do

StepExact action or value
Installstreamlit skills is available from Streamlit 1.58+; --yes skips the interactive prompt. streamlit skills --global installs for every project.
Keep guidance alignedProject links go into .agents/skills/ and, when Claude Code is installed, .claude/skills/. Do not commit those links; the command prints a .gitignore snippet.
InvokeBegin the Claude Code request with /developing-with-streamlit, followed by the app task.
Inspect the appThe experimental agent API accepts widget values and returns the completed page as structured elements and data. Start it with the command below.
Keep checksAsk for AppTest checks using streamlit.testing.v1; they can run with pytest and in CI.
streamlit run app.py --server.headless=true --server.address=127.0.0.1 --server.enableAgentApi=true

The old streamlit/agent-skills repository is deprecated; its README identifies streamlit/streamlit as the canonical source. From 1.60+, the meta-skill is bundled at lib/streamlit/.agents/meta-skill/developing-with-streamlit. The old README recommends pip install --upgrade streamlit followed by streamlit skills for that path.

Limits and open questions

The agent API is experimental. The guide recommends checking changes in the running app and reviewing generated changes like other code; installing a skill is only the guidance step.

Not for: generating or checking a Gradio interface.

Sources

Checked

2026-11-17: Read Streamlit Build with coding agents and the official agent-skills README; no command was run.

Started from a post by @Asano Haruki (Classmethod), packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in documentation

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# How do I get Claude Code to write correct Streamlit apps?
Summary: As of November 2026, use Streamlit’s version-matched agent skills and explicitly invoke `/developing-with-streamlit` in Claude Code. Check the app through the experimental agent API and keep lasting checks in AppTest. Install the project skills with `streamlit skills`.

## Options
- A · developing-with-streamlit skill (Streamlit) · early, no verdict yet · installs software · writes files · network · secrets access · runs shell
Copy for agent
get the whatworks thread streamlit-official-agent-skill-for-claude-code and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread streamlit-official-agent-skill-for-claude-code

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · developing-with-streamlit skill (Streamlit)

Streamlit's official skill: a routing SKILL.md plus scripts/discover.py that finds the reference docs bundled inside the user's installed Streamlit (1.57 or newer), so the agent writes version-matched Streamlit code instead of guessing APIs.

Format
Skill
Source
github:streamlit/agent-skills#developing-with-streamlit
Pinned
v1.0.0+wwfix.1 · c69a265613f1
Content hash
c69a265613f17cdd
Audit
scan passed
Can do
installs software · writes files · network · secrets access · runs shell
Works with
claude-code
Check
Skill installed in the project; SKILL.md front matter names the skill; Usage section tells the agent to run the discovery script with the project dir; Discovery script present with its error handling; Discovery script runs: --help exits 0 and prints usage (needs only Python, not Streamlit)
Author
@streamlit
Kudos
0
Are you @streamlit? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package developing-with-streamlit-skill before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package developing-with-streamlit-skill
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp