kvdomingo/dotrepo/using-streamlit-cli
Claude Code and agent skill by kvdomingo/dotrepo
- community
Checking that the SKILL.md file is still in the repository.
Documents Streamlit CLI commands for running apps, managing configuration, and diagnostics. Use when starting Streamlit apps, configuring runtime options, or troubleshooting CLI issues.
Install
npx vskill@latest install kvdomingo/dotrepo/using-streamlit-cliSKILL.md
The same SKILL.md was published earlier as kvdomingo/dotrepo/using-streamlit-cli.
Using the Streamlit CLI
The Streamlit CLI is the primary tool for running Streamlit applications and managing configuration. This skill covers all essential commands and configuration options.
Running Streamlit apps
Basic syntax
Entrypoint options
| Argument | Behavior | |
|---|---|---|
| (none) | Looks for streamlit_app.py in current directory | |
| Directory path | Runs streamlit_app.py within that directory | |
| File path | Runs the specified file directly | |
| URL | Runs a remote script (e.g., from GitHub) |
Examples
Running with uv (recommended)
Use uv run to run Streamlit in a virtual environment with automatic dependency management:
Using uv run is the recommended approach because it:
- Automatically manages virtual environments
- Resolves and installs dependencies from
pyproject.toml - Ensures reproducible environments across machines
- Avoids manual activation/deactivation of virtual environments
Setting configuration with streamlit run
Configuration options follow the pattern --<section>.<option>=<value> and must come after the script name.
Recommendation: For persistent configuration, use.streamlit/config.tomlin yourproject directory instead of command-line flags. This keeps your run command simpleand makes configuration easier to manage and share with your team.
Examples
Combining multiple options
Passing arguments to your script
Script arguments come after configuration options. Use sys.argv to access them:
In your script:
Other CLI commands
View configuration
Cache management
Diagnostics and help
Project scaffolding
Demo app
Configuration precedence
Configuration can be set in multiple places. Order of precedence (highest to lowest):
- Command-line flags (
--server.port=8080) - Environment variables (
STREAMLIT_SERVER_PORT=8080) - Local config (
.streamlit/config.tomlin project directory) - Global config (
~/.streamlit/config.toml)
References
Concepts and methods for running Streamlit apps
Complete configuration options reference
- CLI reference - Full CLI
command documentation
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude/skills/developing-with-streamlit/skills/using-streamlit-cli/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kvdomingo/dotrepo/using-streamlit-cli)